/* The two fonts, from this site (2026-10-19; Google Fonts' own files, latin and latin-ext, OFL: fonts/OFL-*.txt): one
   connection instead of two more to Google, so they arrive sooner and the page never waits on them (font-display: swap). */
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/fraunces-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/fraunces-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("/assets/fonts/fraunces-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("/assets/fonts/fraunces-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/inter-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/inter-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0e2233;
  --ink-2: #33475a;
  --muted: #677788;
  --bg: #fbf9f5;
  --surface: #ffffff;
  --line: #e7e1d6;
  /* The outline of a box they type in: 3:1 against white, so the boxes read as boxes for older eyes and outdoors. */
  --field-line: #958b7a;
  --brand: #1b5c55;
  --brand-2: #2a8577;
  --brand-soft: #eaf4f1;
  --accent: #e5a039;
  --accent-soft: #fdf3e2;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(14, 34, 51, 0.04), 0 8px 28px rgba(14, 34, 51, 0.07);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font: 600 1rem/1 var(--sans); text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(27, 92, 85, 0.28); }
.btn-primary:hover { background: #164d47; transform: translateY(-1px); }
.btn-ghost { color: var(--ink); background: transparent; border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 249, 245, 0.86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none; color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 1.28rem; letter-spacing: -0.01em; }
.logo img { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { padding: 11px 18px; font-size: 0.92rem; }
.nav .btn .short { display: none; }

/* Hero */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 620px; height: 620px; background: radial-gradient(closest-side, rgba(42, 133, 119, 0.14), transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; position: relative; }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero .lede { font-size: 1.18rem; color: var(--ink-2); margin: 22px 0 32px; max-width: 34em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { color: var(--brand-2); flex: none; }

.rate-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 28px; position: relative; }
.rate-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.rate-card .sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 22px; }
.fit { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); margin-top: 10px; }
.fit svg { flex: none; color: var(--brand-2); margin-top: 3px; }
.fit strong { display: block; font-size: 0.95rem; line-height: 1.35; }
.fit small { display: block; font-size: 0.84rem; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.fit.lead { border-color: rgba(42, 133, 119, 0.45); background: var(--brand-soft); }
.rate-card .foot { margin-top: 18px; font-size: 0.82rem; color: var(--muted); }
.badge-float { position: absolute; top: -14px; right: 22px; background: var(--accent); color: #3b2706; font-size: 0.78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 16px rgba(229, 160, 57, 0.35); }

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 24px 8px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); padding-left: 28px; }
.trust-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.trust-item strong { display: block; font-size: 1rem; }
.trust-item small { color: var(--muted); font-size: 0.88rem; }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { margin: 12px 0 14px; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; }
.card h3 { margin-bottom: 4px; }
.card .tag { font-size: 0.85rem; color: var(--brand); font-weight: 600; margin-bottom: 14px; }
.card p { color: var(--ink-2); font-size: 0.98rem; }
.card ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 0.95rem; }
.card li { display: flex; gap: 10px; align-items: flex-start; }
.card li::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 3px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b5c55' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.card .fine { margin-top: auto; padding-top: 18px; font-size: 0.78rem; color: var(--muted); }

.healthy { background: var(--ink); color: #e9eef3; }
.healthy h2, .healthy h3 { color: #fff; }
.healthy .eyebrow { color: #8fd3c5; }
.healthy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.healthy p { color: #c4d0db; }
.factors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.factor { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; padding: 18px; }
.factor strong { display: block; color: #fff; margin-bottom: 2px; font-size: 1rem; }
.factor small { color: #a9b7c5; font-size: 0.86rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); color: #9a6514; display: grid; place-items: center; font: 600 1.1rem var(--serif); }
.step::after { content: ""; position: absolute; top: 21px; left: 54px; right: -10px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 0.96rem; }

.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.portrait { aspect-ratio: 4 / 5; border-radius: 24px; background: linear-gradient(160deg, var(--brand-2), var(--brand)); display: grid; place-items: center; color: rgba(255, 255, 255, 0.9); font: 600 5rem var(--serif); box-shadow: var(--shadow); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { margin: 12px 0 18px; }
.about p + p { margin-top: 14px; }
.about p { color: var(--ink-2); font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { font-size: 0.86rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
/* A button to the lead page under a section (How it works, About). */
.section-cta { margin-top: 36px; }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; font: 600 1.12rem/1.4 var(--sans); display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--sans); color: var(--brand); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--ink-2); }

.cta-band { padding: 0 0 96px; }
.cta-box { background: linear-gradient(135deg, var(--brand), #123f3a); color: #fff; border-radius: 28px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(229, 160, 57, 0.18); }
.cta-box h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-box p { color: #cfe3de; margin-top: 10px; }
.cta-box .btn-primary { background: var(--accent); color: #2f1f05; box-shadow: none; position: relative; z-index: 1; }
.cta-box .btn-primary:hover { background: #f0b252; }

/* Footer */
.site-footer { background: #0b1b28; color: #a8b6c3; padding: 64px 0 40px; font-size: 0.92rem; }
.site-footer a { color: #d8e2ea; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-footer .logo { color: #fff; }
.site-footer h4 { color: #fff; font: 600 0.82rem var(--sans); letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.disclosure { margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.8rem; line-height: 1.65; color: #8596a6; }
.disclosure p + p { margin-top: 10px; }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }
.callout { background: var(--brand-soft); border: 1px solid rgba(42, 133, 119, 0.3); border-radius: 14px; padding: 18px 20px; margin: 22px 0; }
.states { list-style: none; padding: 0 !important; display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 0 !important; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.states li { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; align-items: baseline; align-content: start; padding: 12px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
/* The license number on its own line, never smaller than the footer's address (California's type-size rule). */
.states .license { grid-column: 1 / -1; margin-top: 2px; font-size: 0.92rem; color: var(--muted); }

/* Lead page (start.html): one question at a time, built for a phone */
.funnel-page { min-height: 100vh; display: flex; flex-direction: column; }
.funnel-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.funnel-header .wrap { height: 64px; display: flex; align-items: center; }
/* With very large text the brand gives way (…) instead of pushing Back off the phone and the page wider than it. */
.funnel-header .logo { min-width: 0; }
.funnel-header .logo span { overflow: hidden; text-overflow: ellipsis; }
.header-back { flex: none; }
.funnel { flex: 1; width: 100%; max-width: 580px; margin: 0 auto; padding: 32px 20px 40px; }
.funnel-intro { margin-bottom: 22px; }
.agent { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.agent .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-soft); flex: none; object-fit: cover; }
.agent strong { display: block; font-size: 0.98rem; line-height: 1.3; }
.agent small { display: block; color: var(--muted); font-size: 0.84rem; line-height: 1.4; }
.funnel-intro h1 { font-size: clamp(1.9rem, 6vw, 2.5rem); }
.funnel-intro p { color: var(--ink-2); margin-top: 10px; }
.funnel:not([data-at="0"]) .funnel-intro h1, .funnel:not([data-at="0"]) .funnel-intro p { display: none; }
.funnel:not([data-at="0"]) .agent { margin-bottom: 0; }
.funnel-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 26px 22px 22px; position: relative; overflow: hidden; }
.progress { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand-soft); }
.progress i { display: block; height: 100%; width: 0; background: var(--brand-2); transition: width 0.3s ease; }
.screen { padding: 0; } /* question screens are <section>s; not the page sections' spacing */
.screen h2 { font-size: clamp(1.4rem, 5vw, 1.7rem); margin-bottom: 18px; outline: none; }
.screen .sub { color: var(--ink-2); margin: -8px 0 18px; }
.choices { display: grid; gap: 10px; }
.choice { font: 500 1.05rem/1.3 var(--sans); color: var(--ink); text-align: left; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; min-height: 56px; cursor: pointer; transition: border-color 0.12s, background 0.12s; -webkit-tap-highlight-color: transparent; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.choice::after { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; }
.choice:hover { border-color: var(--brand-2); }
.choice.picked { border-color: var(--brand); background: var(--brand-soft); }
.choice.picked::after { border-color: var(--brand); background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.screen .go { width: 100%; margin-top: 18px; padding: 17px 22px; font-size: 1.05rem; border: 0; cursor: pointer; }
.screen .go:disabled { opacity: 0.6; cursor: default; transform: none; }
.screen .back { display: block; margin: 16px auto 0; background: none; border: 0; color: var(--muted); font: 500 0.92rem var(--sans); cursor: pointer; padding: 6px 10px; }
.screen .back::before { content: "← "; }
.select select, .fields input, .dob input, .code-field input { width: 100%; font: 400 1.05rem var(--sans); color: var(--ink); background: var(--surface); border: 1.5px solid var(--field-line); border-radius: 12px; padding: 15px 14px; min-height: 54px; }
.select select { appearance: none; -webkit-appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23677788' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 42px; }
.select select:focus, .fields input:focus, .dob input:focus, .code-field input:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(42, 133, 119, 0.15); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--ink-2); }
.fields .wide { grid-column: 1 / -1; }
/* The date of birth: month, day, year side by side, on phones too. */
.dob { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 10px; }
.dob label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--ink-2); }
.dob input { text-align: center; font-variant-numeric: tabular-nums; padding-left: 4px; padding-right: 4px; } /* centred: the room goes to the digits (they were cut off on narrow phones with large text) */
/* The date in words once it's real ("March 15, 1965"): a month or day split the wrong way shows before Continue. */
.date-words { margin-top: 10px; text-align: center; font-weight: 600; color: var(--ink-2); }
.date-words:empty { display: none; }
/* Easy to read, not fine print: consent buried in small grey type next to a big button doesn't hold up (Berman v. Freedom Financial, 2022). */
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 0.88rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--brand); }
.privacy-line { margin-top: 10px; font-size: 0.86rem; color: var(--ink-2); }
.turnstile.shown { margin-top: 14px; }
.script-failed { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); color: #6b4a10; font-weight: 600; }
/* Terms and Privacy over the lead page (start.js reader): the form stays where it is underneath. */
.reader { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--surface); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.funnel .reader[hidden] { display: none !important; }
.reader-bar { position: sticky; top: 0; display: flex; justify-content: flex-end; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.reader-close { font: 600 1rem var(--sans); color: #fff; background: var(--brand); border: 0; border-radius: 999px; padding: 12px 22px; min-height: 44px; cursor: pointer; }
.reader-body.legal { padding: 8px 0 48px; }
.reader-body.legal h1 { font-size: 1.8rem; margin-top: 12px; }
body.reading { overflow: hidden; }
.bot-ask { margin-top: 14px; font-size: 0.92rem; font-weight: 600; color: var(--ink); text-align: center; }
.code-field input { text-align: center; font: 600 1.9rem var(--sans); letter-spacing: min(0.4em, 2.6vw); padding-left: calc(4px + min(0.4em, 2.6vw)); padding-right: 4px; }
.code-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-top: 14px; }
.link { background: none; border: 0; color: var(--brand); font: 500 0.92rem var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 6px 2px; }
.link:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.screen .error { color: #b3261e; font-size: 0.92rem; margin-top: 12px; }
.screen .error:empty { display: none; }
.screen .hint { margin-top: 12px; font-size: 0.88rem; background: var(--accent-soft); border-radius: 10px; padding: 10px 12px; color: #6b4a10; }
.screen .fine { font-size: 0.84rem; color: var(--muted); margin-top: 12px; text-align: center; }
.done { text-align: center; padding: 12px 0 6px; }
.done .check { width: 60px; height: 60px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin: 0 auto 18px; }
.done .sub { margin: 0; }
.done .text-now { margin-top: 22px; }
.done .save-card-line { margin-top: 4px; }
.done .save-card-line .go { margin-top: 12px; border: 1.5px solid var(--brand); color: var(--brand); background: var(--surface); }
.funnel [hidden] { display: none !important; }
.funnel-trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: 0.86rem; color: var(--muted); }
.funnel-trust svg { color: var(--brand-2); flex: none; }
.funnel-footer { border-top: 1px solid var(--line); padding: 22px 0 28px; font-size: 0.76rem; line-height: 1.6; color: var(--muted); }
.funnel-footer p + p { margin-top: 8px; }
.funnel-footer a { color: var(--ink-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Back sits in the top bar on a phone (the screens after the first), so the screen itself has the room: see below. */
.header-back { display: none; }
/* Windows' Contrast themes draw no button backgrounds: an outline keeps Continue a button. */
@media (forced-colors: active) {
  .btn, .screen .go { border: 2px solid ButtonText; }
}
/* Phones held upright, and phones held sideways (500 px tall or less: the question would start below the screen). */
@media (max-width: 500px), (max-height: 500px) {
  /* Tighter on phones, the words and text sizes kept, so all of the first question's answers show without scrolling
     inside Facebook's and Instagram's browsers (2026-10-18: measured 360×650 and 390×664, every ad's headline; before,
     only 2 or 3 of the 4 did, and most ad visitors left there). Every phone held upright, the biggest iPhones (430 and
     440 wide) included: until 2026-10-19 this stopped at 420 and they got the desktop spacing. */
  /* --squeeze (0 to 1) is set by start.js (fitScreen) only when a screen runs past the bottom of the phone, and only as
     far as it takes: every size below goes from this phone layout at 0 to its tightest at 1, never under 12px text,
     16px in a box they type in (an iPhone zooms in on anything smaller) or a 44px tap target (Tanner, 2026-10-19: no
     scrolling on any screen where they answer or type). */
  .funnel-page { --s: var(--squeeze, 0); }
  html { font-size: calc(100% * var(--text, 1)); }
  .funnel-header .wrap { height: calc(52px - 12px * var(--s)); }
  .header-back:not([hidden]) { display: inline-flex; align-items: center; margin-left: auto; height: 100%; padding: 0 2px 0 14px; background: none; border: 0; color: var(--ink-2); font: 500 0.95rem var(--sans); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .header-back::before { content: "← "; white-space: pre; }
  .funnel .screen:not([data-step="unlicensed"]) .back { display: none; }
  .funnel { padding: calc(14px - 10px * var(--s)) calc(16px - 4px * var(--s)) 32px; }
  .agent { margin-bottom: calc(12px - 6px * var(--s)); gap: calc(12px - 2px * var(--s)); }
  .agent .avatar { width: calc(46px - 10px * var(--s)); height: calc(46px - 10px * var(--s)); }
  .agent strong { font-size: calc(0.98rem - 0.06rem * var(--s)); }
  .agent small { font-size: calc(0.84rem - 0.06rem * var(--s)); line-height: calc(1.4em - 0.1em * var(--s)); }
  .funnel-intro { margin-bottom: calc(16px - 8px * var(--s)); }
  .funnel-intro h1 { font-size: calc(1.7rem - 0.4rem * var(--s)); }
  .funnel-intro p { margin-top: calc(8px - 4px * var(--s)); font-size: calc(1rem - 0.1rem * var(--s)); line-height: calc(1.5em - 0.12em * var(--s)); }
  .funnel-card { padding: calc(20px - 10px * var(--s)) calc(16px - 4px * var(--s)) calc(18px - 10px * var(--s)); border-radius: 18px; }
  .screen h2 { font-size: calc(1.4rem - 0.22rem * var(--s)); margin-bottom: calc(12px - 6px * var(--s)); }
  .screen .sub { margin: calc(-8px + 2px * var(--s)) 0 calc(18px - 8px * var(--s)); font-size: calc(1rem - 0.1rem * var(--s)); line-height: calc(1.6em - 0.15em * var(--s)); }
  .choices { gap: calc(8px - 2px * var(--s)); }
  .choice { padding: calc(12px - 3px * var(--s)) 16px; min-height: calc(48px - 4px * var(--s)); font-size: calc(1.05rem - 0.1rem * var(--s)); }
  .screen .go { margin-top: calc(18px - 8px * var(--s)); padding: calc(17px - 5px * var(--s)) 22px; }
  .screen .back { margin-top: calc(16px - 10px * var(--s)); }
  .select select, .fields input, .dob input { min-height: calc(54px - 10px * var(--s)); padding-top: calc(15px - 5px * var(--s)); padding-bottom: calc(15px - 5px * var(--s)); font-size: calc(1.05rem - 0.05rem * var(--s)); }
  .fields { grid-template-columns: 1fr; gap: calc(12px - 4px * var(--s)); }
  .fields label, .dob label { gap: calc(6px - 3px * var(--s)); font-size: calc(0.88rem - 0.08rem * var(--s)); }
  .consent { gap: calc(12px - 2px * var(--s)); margin-top: calc(18px - 8px * var(--s)); font-size: calc(0.88rem - 0.13rem * var(--s)); line-height: calc(1.5em - 0.18em * var(--s)); }
  .privacy-line { margin-top: calc(10px - 4px * var(--s)); font-size: calc(0.86rem - 0.11rem * var(--s)); line-height: calc(1.6em - 0.28em * var(--s)); }
  .screen .fine { margin-top: calc(12px - 6px * var(--s)); font-size: calc(0.84rem - 0.09rem * var(--s)); line-height: calc(1.6em - 0.28em * var(--s)); }
  .screen .error, .screen .hint { margin-top: calc(12px - 6px * var(--s)); font-size: calc(0.92rem - 0.12rem * var(--s)); line-height: calc(1.6em - 0.25em * var(--s)); }
  /* An error on the number screen takes the place of the line about the code (it's said again on the code screen). */
  .screen .error:not(:empty) ~ .fine { display: none; }
  .code-field input { font-size: calc(1.9rem - 0.3rem * var(--s)); min-height: calc(54px - 6px * var(--s)); }
  .code-links { margin-top: calc(14px - 6px * var(--s)); }
  /* Still too tall at the tightest (a small phone, large text): on the screens after the first, the agent's line about
     families goes, then his row (his name and license are in the consent, and were on the first screen); on the first
     screen, that line, then the line under the headline (the ad said it). His row and the headline always stay there. */
  .funnel-page[data-tight] .funnel:not([data-at="0"]) .agent small + small { display: none; }
  .funnel-page[data-tight="2"] .funnel:not([data-at="0"]) .funnel-intro { display: none; }
  .funnel-page[data-tight="2"] .screen[data-step="contact"] .fine { display: none; }
  /* Chrome's own page zoom on Android (130% and up) leaves the narrowest phones less room still: the line about texts
     goes too (the line under the card says the information is never sold); the consent always stays. */
  .funnel-page[data-tight="2"] .screen[data-step="contact"] .privacy-line { display: none; }
  .funnel-page[data-tight="3"] .funnel[data-at="0"] .agent small + small, .funnel-page[data-tight="4"] .funnel[data-at="0"] .agent small + small { display: none; }
  .funnel-page[data-tight="4"] .funnel[data-at="0"] .funnel-intro p { display: none; }
  .states li { padding: 12px; }
}

/* Motion */
/* Only hide for the fade-in when JavaScript is running (html.js), so content is never invisible without it. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .healthy-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .portrait { max-width: 360px; }
}
/* The menu and "Talk with Tanner Hertzog" don't fit side by side just above the phone layout. */
@media (max-width: 860px) {
  .nav .btn .long { display: none; }
  .nav .btn .short { display: inline; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav { gap: 12px; }
  .logo { font-size: 1.08rem; gap: 8px; }
  .logo img { width: 28px; height: 28px; }
  .nav .btn { margin-left: auto; padding: 9px 14px; font-size: 0.86rem; }
  .nav .btn .long { display: none; }
  .nav .btn .short { display: inline; }
  .portrait { max-width: 240px; font-size: 3.6rem; }
  section { padding: 72px 0; }
  .hero { padding: 40px 0 40px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); padding-left: 8px; }
  .factors { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .states { grid-template-columns: 1fr 1fr; }
}
