/* SYAF free-training funnel: shared stylesheet for /free-training/ and /free-training-video/.
   Tokens follow the live SYAF /value/ page (brand decision recorded in the funnel intake).
   Structure and responsive behavior are modeled on the reference pages documented in
   workspace/drafts/syaf-free-training-reference-example-pages.md. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/poppins-normal-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/poppins-normal-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/poppins-normal-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/poppins-normal-700.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/poppins-normal-800.woff2") format("woff2"); }

:root {
  --cf-primary: #6800FC;
  --cf-primary-hover: #7D28FF;
  --cf-primary-edge: #4A00B4;
  --cf-lavender: #B794FF;
  --cf-lavender-light: #C9A6FF;
  --cf-ink: #121212;
  --cf-page: #FFFFFF;
  --cf-surface: #F5F5F5;
  --cf-text: #17171D;
  --cf-muted: #5C5C66;
  --cf-border: #E4E4E8;
  --cf-paper: #F4F4F6;
  --cf-font: "Poppins", -apple-system, "Segoe UI", sans-serif;
  --cf-shell: 1024px;
  --ft-col: 664px;
  --ft-radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cf-page);
  color: var(--cf-text);
  font-family: var(--cf-font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--cf-primary); }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

.cf-skip { position: fixed; left: 12px; top: -80px; z-index: 9999; background: var(--cf-ink); color: #fff; padding: 12px 16px; border-radius: 8px; }
.cf-skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cf-primary); outline-offset: 3px; }

.cf-shell { width: min(var(--cf-shell), calc(100% - 40px)); margin-inline: auto; }
.ft-col { width: min(var(--ft-col), 100%); margin-inline: auto; }
.ft-section { padding: 64px 0; border-top: 1px solid var(--cf-border); }
.ft-accent { color: var(--cf-primary); }
.ft-underline { text-decoration: underline; text-decoration-color: var(--cf-lavender); text-decoration-thickness: 4px; text-underline-offset: 6px; }

/* Header and footer */
.cf-topbar { padding: 22px 0 0; background: var(--cf-page); text-align: center; }
.cf-topbar .cf-logo { height: 15px; margin: 0 auto; }
.cf-logo { height: 22px; width: auto; }
.cf-footer { border-top: 1px solid rgba(244,244,246,.12); background: var(--cf-ink); color: rgba(244,244,246,.55); text-align: center; padding: 32px 0 40px; font-size: .8rem; }
.cf-footer .cf-logo { height: 16px; margin: 0 auto 14px; }
.cf-footer__legal { display: flex; justify-content: center; gap: 0 12px; flex-wrap: wrap; }
.cf-footer__legal a { display: inline-block; padding: 12px 4px; color: var(--cf-lavender); text-decoration: none; font-weight: 600; }
.cf-footer__legal a:hover { text-decoration: underline; }
.cf-footer__fineprint { max-width: 720px; margin: 18px auto 0; font-size: .7rem; line-height: 1.6; color: rgba(244,244,246,.6); }
.cf-footer__fineprint p + p { margin-top: 10px; }

/* Typeform popup close button (phones): 44px target */
.tf-v1-popup .tf-v1-close { width: 44px !important; height: 44px !important; font-size: 28px !important; line-height: 44px !important; opacity: 1 !important; }

/* Website header and footer (copied from the joinsyaf.com site chrome in source/website) */
.site-nav { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--cf-border); }
.site-nav__toggle { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.site-nav__inner { position: relative; max-width: 1100px; margin: 0 auto; padding: .65rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-nav__logo { display: inline-flex; flex: 0 0 auto; }
.site-nav__logo img { height: auto; width: auto; max-height: 22px; max-width: 58vw; }
.site-nav__links { display: flex; align-items: center; gap: 1.6rem; margin: 0; padding: 0; list-style: none; }
.site-nav__links a { font-size: .97rem; font-weight: 600; color: var(--cf-text); text-decoration: none; white-space: nowrap; transition: color .15s; }
.site-nav__links a:hover { color: var(--cf-primary); }
.site-nav__actions { display: flex; align-items: center; gap: .9rem; flex: 0 0 auto; }
.site-nav__cta { display: inline-flex; align-items: center; min-height: 44px; background: var(--cf-primary); color: #fff; font-weight: 700; font-size: .93rem; padding: .6rem 1.2rem; border-radius: 8px; text-decoration: none; white-space: nowrap; transition: background .15s, transform .15s; }
.site-nav__cta:hover { background: var(--cf-primary-hover); transform: translateY(-1px); }
.site-nav__burger { display: none; flex-direction: column; justify-content: center; gap: 5px; min-width: 44px; min-height: 44px; padding: 6px; cursor: pointer; }
.site-nav__toggle:focus-visible ~ .site-nav__inner .site-nav__burger { outline: 3px solid var(--cf-primary); outline-offset: 2px; border-radius: 6px; }
.site-nav__burger span { display: block; width: 24px; height: 2px; background: var(--cf-text); border-radius: 2px; transition: transform .22s, opacity .22s; }
@media (max-width: 900px) {
  .site-nav__burger { display: inline-flex; }
  .site-nav__cta { display: none; }
  .site-nav__links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--cf-border); padding: 0 1.25rem; max-height: 0; overflow: hidden; transition: max-height .3s ease; box-shadow: 0 16px 30px -20px rgba(0,0,0,.35); }
  .site-nav__links a { display: block; padding: .95rem 0; border-bottom: 1px solid var(--cf-border); }
  .site-nav__links li:last-child a { border-bottom: none; }
  .site-nav__toggle:checked ~ .site-nav__inner .site-nav__links { max-height: 460px; }
  .site-nav__toggle:checked ~ .site-nav__inner .site-nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-nav__toggle:checked ~ .site-nav__inner .site-nav__burger span:nth-child(2) { opacity: 0; }
  .site-nav__toggle:checked ~ .site-nav__inner .site-nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

.site-footer { background: var(--cf-surface); border-top: 1px solid var(--cf-border); color: var(--cf-muted); padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.75rem; text-align: left; }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.75rem 3rem; flex-wrap: wrap; max-width: 1000px; margin: 0 auto; padding: 0 1.5rem; }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; max-width: 360px; }
.site-footer__logo { height: auto; width: auto; max-height: 22px; max-width: 240px; }
.site-footer__addr { font-style: normal; font-size: .88rem; line-height: 1.65; color: var(--cf-muted); }
.site-footer__addr a { display: inline-block; padding: .75rem 0; color: var(--cf-primary); text-decoration: none; }
.site-footer__addr a:hover { text-decoration: underline; }
.site-footer__head { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--cf-text); margin: 0 0 .85rem; }
.site-footer__nav { display: flex; flex-direction: column; gap: .65rem; }
.site-footer__nav a { color: var(--cf-muted); text-decoration: none; font-size: .92rem; font-weight: 500; }
.site-footer__nav a:hover { color: var(--cf-primary); }
.site-footer__social { display: flex; gap: .55rem; align-items: center; flex-wrap: wrap; }
.site-footer__social a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; color: var(--cf-text); border: 1px solid var(--cf-border); border-radius: 8px; transition: color .15s, background .15s, border-color .15s; }
.site-footer__social a:hover { color: #fff; background: var(--cf-primary); border-color: var(--cf-primary); }
.site-footer__social svg { width: 18px; height: 18px; }
.site-footer__bottom { max-width: 1000px; margin: clamp(2rem, 4vw, 2.75rem) auto 0; padding: 1.5rem 1.5rem 0; border-top: 1px solid var(--cf-border); }
.site-footer__bottom p { font-size: .8rem; line-height: 1.65; color: #5C5C66; margin: 0; }
.site-footer__bottom p + p { margin-top: .75rem; }
@media (max-width: 600px) {
  .site-footer__nav a { padding: .625rem 0; }
  .site-footer__top, .site-footer__bottom { padding-inline: 18px; }
  .site-nav__inner { padding: .45rem 1rem; }
  .site-nav__logo img { max-width: calc(100vw - 110px); }
  .site-footer__social a { width: 44px; height: 44px; }
}

/* Headings */
.ft-h1 {
  font-size: clamp(2rem, 1.1rem + 3.4vw, 3.3rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cf-ink);
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}
.ft-h2 {
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cf-ink);
  text-align: center;
}
.ft-eyebrow {
  display: block;
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cf-primary);
  margin-bottom: 14px;
}
.ft-lede {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--cf-muted);
  text-align: center;
  max-width: 704px;
  margin: 20px auto 0;
}

/* Primary button (opt-in page) */
.ft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(100%, 496px);
  min-height: 76px;
  padding: 18px 32px;
  border: 2px solid var(--cf-primary-edge);
  border-radius: 8px;
  background: var(--cf-primary);
  color: #fff;
  font: 700 1.3rem/1.35 var(--cf-font);
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 0 0 var(--cf-primary-edge), 0 12px 24px rgba(104,0,252,.2);
  transition: transform .16s cubic-bezier(.23,1,.32,1), background-color .16s ease, box-shadow .16s ease;
}
.ft-btn:hover { background: var(--cf-primary-hover); transform: translateY(-2px); box-shadow: 0 8px 0 0 var(--cf-primary-edge), 0 14px 26px rgba(104,0,252,.24); }
.ft-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 0 var(--cf-primary-edge), 0 6px 14px rgba(104,0,252,.2); }
.ft-btn svg { width: 24px; height: 24px; flex: none; }
.ft-cta-row { display: flex; flex-direction: column; align-items: center; margin-top: 28px; }
.ft-hero .ft-cta-row { margin-top: 24px; }
.ft-hero .ft-lede { margin-top: 16px; }

/* Trust line */
.ft-trust { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; font-size: .85rem; font-weight: 600; color: var(--cf-muted); }
.ft-trust strong { font-weight: 800; color: var(--cf-text); }
.ft-trust__faces { display: flex; }
.ft-trust__faces img { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }
.ft-trust__dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34,197,94,.18); flex: none; }

/* Check cards */
.ft-checks { display: grid; gap: 10px; }
.ft-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--cf-border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: .98rem;
  line-height: 1.5;
  color: #3B3B44;
}
.ft-check svg { width: 22px; height: 22px; color: var(--cf-primary); margin-top: 1px; }
.ft-check strong { color: var(--cf-ink); font-weight: 700; }

/* ---------- Opt-in page ---------- */
.ft-hero { padding: 22px 0 64px; }
.ft-learn { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--cf-border); }
.ft-learn__list { max-width: 664px; margin: 18px auto 0; }

.ft-thumb {
  position: relative;
  display: block;
  width: 100%;
  max-width: min(600px, max(320px, calc((100svh - 500px) * 1.7778)));
  margin: 24px auto 0;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid var(--cf-border);
  box-shadow: 0 30px 60px -30px rgba(18,18,18,.5);
  border-radius: var(--ft-radius);
  overflow: hidden;
  background: radial-gradient(120% 120% at 0% 0%, #2A0A5E 0%, var(--cf-ink) 58%);
  color: #fff;
  cursor: pointer;
  text-align: left;
  font-family: var(--cf-font);
}
.ft-thumb__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ft-thumb__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,18,18,.88) 0%, rgba(18,18,18,.45) 34%, rgba(18,18,18,0) 62%), rgba(18,18,18,.12); }
.ft-thumb__copy { position: absolute; left: 5%; bottom: 8%; width: 62%; }
.ft-thumb__tag { display: inline-block; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cf-ink); background: var(--cf-lavender); border-radius: 4px; padding: 3px 7px; }
.ft-thumb__title { display: block; margin-top: 8px; font-size: clamp(.95rem, .6rem + 1.4vw, 1.3rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.ft-thumb__play { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 66px; height: 66px; border-radius: 50%; background: var(--cf-primary); border: 2px solid #fff; display: grid; place-items: center; box-shadow: 0 10px 22px rgba(0,0,0,.36); transition: transform .16s ease; }
.ft-thumb__play svg { width: 24px; height: 24px; margin-left: 3px; }
.ft-thumb:hover .ft-thumb__play { transform: translate(-50%, -50%) scale(1.06); }
.ft-thumb__length { position: absolute; right: 10px; bottom: 10px; font-size: .7rem; font-weight: 700; background: rgba(0,0,0,.72); border-radius: 4px; padding: 2px 6px; }


.ft-audience .ft-checks { max-width: 624px; margin: 28px auto 0; }
.ft-audience .ft-check { font-weight: 500; }

.ft-about__id { display: flex; align-items: center; gap: 14px; margin: 26px 0 20px; }
.ft-about__id img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--cf-primary); }
.ft-about__name { font-weight: 700; color: var(--cf-ink); line-height: 1.3; }
.ft-about__role { font-size: .85rem; color: var(--cf-muted); line-height: 1.4; }
.ft-prose { display: grid; gap: 18px; font-size: 1rem; line-height: 1.7; color: #3B3B44; }
.ft-prose strong { color: var(--cf-ink); }

.ft-closing { background: var(--cf-ink); color: #fff; padding: 72px 0; text-align: center; }
.ft-h1, .ft-h2, .ftv-panel__title, .ft-closing__statement { text-wrap: balance; }
.ft-closing__statement { max-width: 680px; margin: 0 auto; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: rgba(244,244,246,.78); }
.ft-closing__statement strong { color: #fff; font-weight: 800; }
.ft-closing .ft-trust { color: rgba(244,244,246,.7); }
.ft-closing .ft-trust strong { color: #fff; }

/* Opt-in modal */
.ft-modal { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--cf-border); border-radius: var(--ft-radius); background: #fff; color: var(--cf-text); overflow: auto; }
.ft-modal::backdrop { background: rgba(10, 6, 20, .62); }
.ft-modal__inner { position: relative; padding: 36px 28px 24px; }
.ft-modal__close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--cf-muted); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.ft-modal__close:hover { background: var(--cf-surface); color: var(--cf-ink); }
.ft-modal__title { font-size: 1.7rem; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; color: var(--cf-ink); padding-right: 32px; }
.ft-modal__sub { margin-top: 10px; font-size: .95rem; color: var(--cf-muted); }
.ft-modal__form { margin-top: 18px; min-height: 434px; }
.ft-modal__form iframe { width: 100%; height: 434px; border: 0; border-radius: 8px; }
.ft-modal__loading { display: grid; place-items: center; min-height: 434px; color: var(--cf-muted); font-size: .9rem; }

/* ---------- Training video page ---------- */
.ftv-hero { padding: 22px 0 64px; }
.ftv-hero .ft-h1 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.35rem); line-height: 1.12; max-width: 900px; }
.ftv-watch { color: var(--cf-primary); }
.ftv-sub { max-width: 704px; margin: 18px auto 24px; text-align: center; font-size: 1.08rem; line-height: 1.6; color: var(--cf-muted); }
.ftv-sub strong { color: var(--cf-primary); font-weight: 700; }

.ftv-video {
  position: relative;
  width: 100%;
  max-width: min(640px, max(320px, calc((100svh - 560px) * 1.7778)));
  margin: 0 auto 28px;
  aspect-ratio: 16 / 9;
  border-radius: var(--ft-radius);
  overflow: hidden;
  background: var(--cf-ink);
  box-shadow: 0 30px 60px -30px rgba(18,18,18,.5);
}
.ftv-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ftv-video wistia-player { position: absolute; inset: 0; width: 100%; height: 100%; }
.ftv-video__placeholder { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; padding: 20px; text-align: center; color: rgba(244,244,246,.8); background: radial-gradient(120% 120% at 0% 0%, #2A0A5E 0%, var(--cf-ink) 60%); }
.ftv-video__placeholder strong { color: #fff; font-size: 1.05rem; }
.ftv-video__placeholder span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cf-lavender); font-weight: 700; }

.ftv-panel { width: min(704px, 100%); margin: 0 auto; padding: 26px; background: var(--cf-surface); border: 1px solid var(--cf-border); border-radius: var(--ft-radius); text-align: center; }
.ftv-panel__title { font-size: 1.45rem; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; color: var(--cf-ink); }
.ftv-panel__sub { margin: 8px auto 18px; max-width: 560px; font-size: .97rem; line-height: 1.55; color: var(--cf-muted); }
.ftv-panel__sub strong { color: var(--cf-ink); }
.ftv-book {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 76px;
  padding: 16px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--cf-primary);
  color: #fff;
  font-family: var(--cf-font);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 0 0 var(--cf-primary-edge);
  transition: transform .16s cubic-bezier(.23,1,.32,1), background-color .16s ease, box-shadow .16s ease;
}
.ftv-book:hover { background: var(--cf-primary-hover); transform: translateY(-2px); box-shadow: 0 7px 0 0 var(--cf-primary-edge); }
.ftv-book:active { transform: translateY(3px); box-shadow: 0 2px 0 0 var(--cf-primary-edge); }
.ftv-book__main { text-wrap: balance; font-size: clamp(.95rem, .8rem + .6vw, 1.15rem); line-height: 1.25; font-weight: 800; letter-spacing: -0.005em; text-transform: uppercase; }
.ftv-book__sub { text-wrap: balance; font-size: .75rem; line-height: 1.3; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.84); }
.ftv-panel .ft-trust { margin-top: 16px; }
.ftv-hero-cta { width: min(560px, 100%); margin: 0 auto; text-align: center; }
.ftv-hero-cta .ft-trust { margin-top: 14px; }
.ftv-panel-wrap { padding: 0 0 64px; }
.nowrap { white-space: nowrap; }
.ft-nobreak-wide { white-space: nowrap; }

.ftv-id { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 28px; }
.ftv-id img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--cf-primary); }
.ftv-id__name { font-weight: 700; color: var(--cf-ink); line-height: 1.25; }
.ftv-id__role { font-size: .82rem; color: var(--cf-muted); }
.ftv-benefits { display: grid; gap: 16px; margin-top: 28px; }
.ftv-benefits li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 1rem; line-height: 1.6; color: #3B3B44; }
.ftv-benefits svg { width: 22px; height: 22px; color: var(--cf-primary); margin-top: 2px; }
.ftv-benefits strong { color: var(--cf-ink); }


.ftv-faq__list { margin-top: 24px; border-top: 1px solid var(--cf-border); }
.ftv-faq details { border-bottom: 1px solid var(--cf-border); }
.ftv-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 16px 4px; cursor: pointer; list-style: none; font-size: 1.05rem; line-height: 1.4; font-weight: 700; color: var(--cf-ink); }
.ftv-faq summary::-webkit-details-marker { display: none; }
.ftv-faq summary svg { width: 22px; height: 22px; flex: none; color: var(--cf-primary); transition: transform .26s cubic-bezier(.2,.7,.2,1); }
.ftv-faq details[open] summary svg { transform: rotate(45deg); }
.ftv-faq__answer { overflow: hidden; }
.ftv-faq__answer-inner { padding: 0 34px 20px 4px; font-size: .97rem; line-height: 1.6; color: #3B3B44; }
.ftv-faq details.is-closing summary svg { transform: rotate(0deg); }

.ftv-guarantee__box { width: min(var(--ft-col), 100%); margin: 0 auto; padding: 32px; border: 2px solid var(--cf-ink); border-radius: var(--ft-radius); }
.ftv-guarantee__box .ft-prose { margin-top: 22px; }


/* Video testimonials (modeled on joinsyaf.com/results): alternating quote + video rows */
.ftv-videos__sub { max-width: 600px; margin: 12px auto 0; text-align: center; color: var(--cf-muted); }
.ftv-vstack { max-width: 1000px; margin: 40px auto 0; }
.ftv-vrow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.ftv-vrow + .ftv-vrow { margin-top: clamp(2.5rem, 5vw, 4rem); }
.ftv-vrow--flip .ftv-vrow__body { order: 2; }
.ftv-vrow--flip .ftv-vrow__media { order: 1; }
.ftv-vrow__body, .ftv-vrow__media { min-width: 0; }
.ftv-vquote { font-size: clamp(1.15rem, 1.9vw, 1.5rem); font-weight: 600; line-height: 1.45; color: var(--cf-text); }
.ftv-vquote::before { content: "\201C"; display: block; font-family: Georgia, "Times New Roman", serif; font-size: 3.2rem; line-height: .8; color: var(--cf-primary); margin-bottom: .2rem; }
.ftv-vname { margin-top: 1rem; font-size: 1.1rem; font-weight: 800; color: var(--cf-text); }
.ftv-vrole { margin-top: .1rem; font-size: .93rem; font-weight: 600; color: var(--cf-primary); }
.ftv-vframe { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 26px 60px -34px rgba(18,18,18,.55); }
.ftv-vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) {
  .ftv-vrow { grid-template-columns: 1fr; gap: 1.25rem; }
  .ftv-vrow .ftv-vrow__media, .ftv-vrow--flip .ftv-vrow__media { order: 1; }
  .ftv-vrow .ftv-vrow__body, .ftv-vrow--flip .ftv-vrow__body { order: 2; }
}

/* Results: a tall wall of every result screenshot (masonry columns; tap to enlarge) */
.ftv-wall { column-count: 3; column-gap: 16px; width: min(1100px, calc(100% - 40px)); margin: 32px auto 0; }
.ftv-wall__item { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 1px solid var(--cf-border); border-radius: 10px; overflow: hidden; background: #fff; cursor: zoom-in; break-inside: avoid; box-shadow: 0 10px 24px -18px rgba(18,18,18,.45); transition: transform .16s ease, box-shadow .16s ease; }
.ftv-wall__item:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(18,18,18,.5); }
.ftv-wall__item img { width: 100%; height: auto; }
.ftv-results .ftv-wins__note { margin-top: 24px; }
@media (max-width: 860px) { .ftv-wall { column-count: 2; } }
@media (max-width: 520px) { .ftv-wall { column-count: 1; width: calc(100% - 36px); } .ftv-wall__item { margin-bottom: 12px; } }

/* Result cards (both pages): the result headline leads, then the name; the screenshot is recessed proof */
.ft-wins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; margin-top: 24px; }
.ft-win { margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--cf-border); border-radius: var(--ft-radius); overflow: hidden; }
.ft-win__head { padding: 22px 20px 18px; border-top: 4px solid var(--cf-primary); }
.ft-win__headline { font-size: 1.15rem; line-height: 1.32; font-weight: 800; letter-spacing: -0.015em; color: var(--cf-ink); text-wrap: balance; }
.ft-win__num { color: var(--cf-primary); white-space: nowrap; }
.ft-win__name { margin-top: 10px; font-size: .82rem; font-weight: 600; color: var(--cf-muted); }
.ft-win__proof { position: relative; display: block; width: 100%; margin-top: auto; padding: 14px 14px 0; height: 200px; overflow: hidden; border: 0; border-top: 1px solid var(--cf-border); background: var(--cf-surface); cursor: zoom-in; font-family: var(--cf-font); }
.ft-win__proof img { width: 100%; height: auto; border-radius: 8px 8px 0 0; border: 1px solid var(--cf-border); border-bottom: 0; filter: saturate(.85); }
.ft-win__proof::after { content: ""; position: absolute; inset: auto 0 0 0; height: 110px; background: linear-gradient(to bottom, rgba(245,245,245,0) 0%, var(--cf-surface) 78%); pointer-events: none; }
.ft-win__more { position: absolute; left: 50%; bottom: 14px; z-index: 1; transform: translateX(-50%); white-space: nowrap; font-size: .78rem; font-weight: 700; color: var(--cf-primary); background: #fff; border: 1px solid var(--cf-border); border-radius: 999px; padding: 7px 14px; box-shadow: 0 4px 12px rgba(18,18,18,.08); }
.ft-win__proof:hover .ft-win__more { border-color: var(--cf-primary); }
.ft-wins__note { margin-top: 18px; text-align: center; font-size: .78rem; color: var(--cf-muted); }
.ftv-wins__note { margin-bottom: 40px; }
.ft-lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 4vmin; background: rgba(10, 6, 20, .9); cursor: zoom-out; }
.ft-lightbox.open { display: flex; }
.ft-lightbox img { max-width: min(92vw, 720px); max-height: 90vh; width: auto; height: auto; border-radius: 10px; }
.ft-lightbox__close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }

/* Tablet and below (matches the reference pages' 810px switch) */
@media (max-width: 809.98px) {
  .ft-thumb { max-width: 600px; }
  .ft-wins { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

/* Phones */
@media (max-width: 600px) {
  .cf-shell { width: calc(100% - 36px); }
  .cf-topbar { padding-top: 18px; }
  .cf-topbar .cf-logo { height: 13px; }
  .ft-section { padding: 52px 0; }
  .ft-hero { padding: 18px 0 52px; }
  .ft-hero .ft-h1 { font-size: min(8.32vw, 40px); text-wrap: wrap; }
  .ft-nobreak-wide { white-space: normal; }
  .ft-lede { font-size: 1.02rem; }
  .ft-btn { width: 100%; min-height: 72px; padding: 16px 16px; font-size: 1.12rem; }
  .ft-learn { margin-top: 52px; padding-top: 52px; }
  .ft-check { font-size: .93rem; padding: 13px 14px; }
  .ft-thumb__play { width: 54px; height: 54px; }
  .ft-closing { padding: 56px 0; }
  .ft-modal__inner { padding: 32px 18px 18px; }
  .ft-modal__title { font-size: 1.45rem; }
  .ftv-hero { padding: 18px 0 52px; }
  .ftv-hero .ft-h1 { font-size: min(7vw, 2rem); text-wrap: wrap; }
  .ft-h2 { font-size: clamp(1.45rem, 6vw, 1.7rem); }
  .ftv-video { max-width: 100%; }
  .ftv-mobile-hide { display: none; }
  .ftv-sub { font-size: 1rem; margin: 14px auto 18px; }
  .ftv-video { margin-bottom: 20px; border-radius: 10px; }
  .ftv-panel { padding: 20px 16px; }
  .ftv-panel__title { font-size: 1.25rem; }
  .ftv-panel-wrap { padding-bottom: 52px; }
  .ftv-id { justify-content: center; }
  .ftv-guarantee__box { padding: 26px 20px; }
  .ftv-faq__answer-inner { padding-right: 4px; }
}

/* Short phones: compact the hero so the first button stays on the first screen */
@media (max-width: 600px) and (max-height: 760px) {
  .ftv-hero { padding-top: 14px; }
  .ftv-sub { font-size: .94rem; margin: 10px auto 14px; }
  .ftv-video { margin-bottom: 14px; }
  .ftv-hero .ft-trust { margin-top: 10px; }
}
/* Short phones (opt-in): keep the main button on the first screen */
@media (max-width: 600px) and (max-height: 620px) {
  .cf-topbar { padding-top: 12px; }
  .ft-hero { padding-top: 12px; }
  .ft-hero .ft-lede { font-size: .94rem; line-height: 1.5; margin-top: 10px; }
  .ft-hero .ft-thumb { max-width: 270px; margin-top: 14px; }
  .ft-hero .ft-cta-row { margin-top: 14px; }
  .ft-hero .ft-btn { min-height: 62px; padding: 12px 14px; }
  .ft-hero .ft-thumb__title { display: none; }
}
@media (max-width: 340px) {
  .ftv-hero .ft-h1 { font-size: 6.6vw; }
  .ft-h2 { font-size: 1.3rem; }
}
@media (max-width: 600px) and (max-height: 620px) {
  .ftv-sub { font-size: .88rem; line-height: 1.5; margin: 8px auto 12px; }
  .ftv-book { min-height: 64px; padding: 12px 14px; }
}
@media (max-width: 340px) and (max-height: 620px) {
  .ftv-hero { padding-top: 10px; }
  .ftv-hero .ft-h1 { font-size: 6.4vw; }
  .ftv-hero .ftv-book__main { font-size: .82rem; }
  .ftv-hero .ftv-book__sub { font-size: .64rem; }
  .ftv-hero .ftv-book { min-height: 56px; padding: 10px 12px; }
}
/* Tablet: keep testimonial rows readable */
@media (min-width: 601px) and (max-width: 860px) {
  .ftv-vrow { max-width: 560px; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Persona opt-in pages on phones (Peter, 2026-10-27). These sizes scale with the content width
   (100vw - 36px) so the line breaks hold on every phone width. persona-fit.js then grows the
   headline as far as it can without changing those breaks, and keeps the sub within 3 lines. */
@media (max-width: 600px) {
  .ft-hero .ft-h1--compact { font-size: min(calc((100vw - 36px) * .0771), 2.5rem); line-height: 1.12; }
  .ft-hero .ft-lede--niche { font-size: min(calc((100vw - 36px) * .0366), 1.02rem); }
  .ft-hero .ft-lede--referrals { font-size: min(calc((100vw - 36px) * .0404), 1.02rem); }
}
