/* TypeFlow: approved proof layout and compatibility label. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.rt-standalone-hero .rt-buy-row { position: relative; }
.rt-standalone-hero .tf-compatibility {
  position: absolute; bottom: calc(100% + 7px); left: 50%; transform: translateX(-50%);
  width: max-content; margin: 0; color: rgba(243,244,246,.66); font-size: 12px; line-height: 1.2;
}
.rt-standalone-hero .tf-compatibility span { margin-inline: 5px; }
.tf-compact-proof .rt-reviews-stars { margin-bottom: 24px; }
.tf-compact-proof h2 { margin: 0; }
.tf-compact-proof .tf-proof-intro { color: #c8c8d4; margin: 24px auto 0; }
.tf-compact-proof .tf-proof-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 44px 0 0;
}
.tf-proof-grid .rt-review-card {
  display: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
}
.tf-proof-grid [data-rystal-review-id="payhip-ZwzKpMZwB9"],
.tf-proof-grid [data-rystal-review-id="payhip-Q7zqZX7qBg"],
.tf-proof-grid [data-rystal-review-id="payhip-N9G84Ab5GV"] { display: flex !important; }
.tf-proof-grid .rt-review-title,
.tf-proof-grid .rt-review-quote {
  display: block !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  max-height: none !important;
}

#typeflow-all-reviews { scroll-margin-top: 120px; }
@media (max-width: 760px) {
  .tf-compact-proof .tf-proof-grid { grid-template-columns: 1fr; gap: 14px; }
  .tf-proof-grid .rt-review-card { padding: 24px !important; }

}

/* Existing homepage control styles, scoped to this TypeFlow instance. */
.tf-compact-proof .rsg-review-controls {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.tf-compact-proof .rsg-review-toggle {
  min-width: 150px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, background-color .2s ease, border-color .2s ease;
}

.tf-compact-proof .rsg-review-toggle:is(:hover, :focus-visible) {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.095);
}

.tf-compact-proof .rsg-review-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}


.tf-compact-proof { scroll-margin-top: 120px; }
.tf-compact-proof .tf-review-controls[hidden] { display: none; }
.tf-compact-proof .tf-review-controls { margin-bottom: 32px; }
.tf-compact-proof.rsg-expanded .tf-proof-grid .tf-review-extra { display: flex !important; order: 1; }
.tf-review-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .tf-compact-proof .rsg-review-toggle { transition: none; }
}
