/* SMS funnel pages (/v1, /v2, /v3). Sits on top of styles.css (tokens,
   hero, card, buttons, bands, footer) and confirm.css (the video frame). */
.fn .hero{padding-bottom:56px}
.fn [hidden]{display:none !important}

/* Tighter than the ad page (Berk, 1 Dec 2026): logo, banner and headline
   sit close together so the video starts higher on the screen. */
.fn .top{padding-bottom:12px}
.fn .hero-inner{padding-top:8px}
.fn h1{margin-top:12px}

/* ---------- under the video ---------- */
.cta-vsl{width:100%;max-width:420px;margin-top:28px}
.fn .card{margin-top:28px}
/* /v1's call to action. Not small print: white, bold and larger than the
   sub headline, with the reply word in the headline's violet. */
.cta-line{
  margin:28px auto 0;color:#fff;font-weight:700;
  font-size:clamp(18px,2.6vw,24px);line-height:1.3;letter-spacing:-.01em;text-wrap:balance;
}
.cta-line span{display:block;text-wrap:balance}
.cta-line em{font-style:normal;color:var(--accent-soft)}

/* ---------- /v2: contact details ---------- */
.lead-form .field-label{color:var(--ink);font-weight:600}
.lead-form .fit-other{margin-top:6px}
.lead-form .fit-other[aria-invalid="true"]{border-color:var(--danger)}
/* A red field keeps its red border when focused, so focus shows as the ring the buttons use. */
.lead-form .fit-other[aria-invalid="true"]:focus{outline:3px solid rgba(124,58,237,.45);outline-offset:2px}
.lead-row{display:grid;gap:0 12px}
/* The agreement checkbox, above the button. */
/* One line on every phone: the size follows the screen width, as .form-note does. */
.agree{display:flex;align-items:center;gap:10px;margin-top:16px;color:var(--body);font-size:min(15px,3.4vw);line-height:1.45;white-space:nowrap;cursor:pointer}
.agree input{flex:none;width:20px;height:20px;margin:0;accent-color:var(--accent);cursor:pointer}
.agree input[aria-invalid="true"]{outline:2px solid var(--danger);outline-offset:2px}
.agree input:focus-visible{outline:3px solid rgba(124,58,237,.45);outline-offset:2px}
.agree a{color:var(--accent-deep);text-decoration:underline;text-underline-offset:3px}
.btn[disabled]{opacity:.7;cursor:default}

/* ---------- testimonials: the Written Terms card, holding a quote ---------- */
.quotes > div{text-align:left}
.quotes blockquote{margin:0}
.quotes blockquote p{margin-top:0;max-width:none;color:var(--ink)}
/* styles.css centres every paragraph in a band; a quote card reads from the left. */
.quotes .who{margin:auto 0 0;max-width:none;padding-top:18px;color:var(--muted);font-size:15px}
.quotes .who strong{display:block;color:var(--ink);font-weight:700}
.quotes .tag{
  align-self:flex-start;margin:0 0 12px;padding:4px 10px;border-radius:999px;
  background:var(--accent-tint);color:var(--accent-deep);
  font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
}

/* ---------- FAQ ---------- */
.faq{max-width:720px;margin:32px auto 0;text-align:left;border-top:1px solid var(--line-strong)}
.faq details{border-bottom:1px solid var(--line-strong)}
.faq summary{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  min-height:56px;padding:16px 0;cursor:pointer;list-style:none;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"";flex:none;width:10px;height:10px;margin:0 6px 4px 0;
  border-right:2px solid var(--accent);border-bottom:2px solid var(--accent);
  transform:rotate(45deg);transition:transform .15s;
}
.faq details[open] summary::after{margin-bottom:-4px;transform:rotate(-135deg)}
.faq summary:focus-visible{outline:3px solid rgba(124,58,237,.45);outline-offset:2px}
.faq h3{color:var(--ink);font-size:20px;font-weight:700;letter-spacing:-.01em;line-height:1.3}
.faq details > p{padding-bottom:20px;max-width:62ch}

@media (min-width:480px){
  .lead-row{grid-template-columns:1fr 1fr}
}
@media (min-width:720px){
  .fn .hero{padding-bottom:80px}
}
@media (min-width:720px) and (max-width:959px){
  /* Two columns: an odd card left over sits centred, as on the confirmation page. */
  .quotes > :last-child:nth-child(odd){grid-column:1 / -1;width:calc(50% - 10px);justify-self:center}
}
@media (min-width:960px){
  /* Three across. The grid has six tracks and every card takes two, so a
     last row of two cards (five cards) or one card (four, seven) sits
     centred instead of hanging on the left. */
  .points.quotes{grid-template-columns:repeat(6,1fr);max-width:1040px}
  .quotes > div{grid-column:span 2}
  .quotes > :nth-last-child(2):nth-child(3n+1){grid-column:2 / span 2}
  .quotes > :last-child:nth-child(3n+1){grid-column:3 / span 2}
}

/* ---------- bottom of the page, colours swapped (Berk, 1 Dec 2026) ----------
   The FAQ sits on the dark ground the footer had, and the footer is white.
   Only on /v1, /v2 and /v3; the ad page keeps its own. Text and lines on the
   dark ground use the hero's values. */
.fn .band-alt{background:var(--black);border-color:var(--black);color:#CFC8E2}
.fn .band-alt h2,.fn .faq h3{color:#fff}
.fn .faq{border-top-color:rgba(167,139,250,.35)}
.fn .faq details{border-bottom-color:rgba(167,139,250,.35)}
.fn .faq summary::after{border-color:var(--accent-soft)}

.fn .foot{background:#fff;color:var(--body)}
/* The wordmark file is white; on the white footer it is shown dark. */
.fn .foot .logo{filter:brightness(0)}
.fn .foot-links a{color:var(--accent-deep)}
.fn .foot-small{color:var(--muted)}
