/* CoveredAgain — calm, trustworthy, step by step. */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f6f3ec;
  --paper-2: #efebe1;
  --surface: #ffffff;
  --surface-2: #faf8f3;
  --ink: #15201b;
  --ink-2: #44514a;
  --ink-3: #6b7770;
  --line: #e3ded2;
  --line-2: #d4cdbf;
  --brand: #0f6b4f;
  --brand-2: #0b5940;
  --brand-soft: #e1efe7;
  --on-brand: #ffffff;
  --ring: rgba(15, 107, 79, 0.28);

  --state: #1f5da0;      --state-soft: #e5eef8;
  --federal: #87580b;    --federal-soft: #f6ecd8;
  --both: #5d44a2;       --both-soft: #eee9f8;
  --unclear: #56605a;    --unclear-soft: #eceeea;
  --soon: #a84d14;       --soon-soft: #fbe9da;
  --late: #b42318;       --late-soft: #fde7e4;

  --shadow-sm: 0 1px 2px rgba(21, 32, 27, 0.06);
  --shadow: 0 1px 2px rgba(21, 32, 27, 0.05), 0 10px 28px -12px rgba(21, 32, 27, 0.16);
  --shadow-lg: 0 2px 6px rgba(21, 32, 27, 0.05), 0 28px 56px -20px rgba(21, 32, 27, 0.24);

  --serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1512;
    --paper-2: #131b17;
    --surface: #18211c;
    --surface-2: #1c2621;
    --ink: #ebefea;
    --ink-2: #b6c1ba;
    --ink-3: #8b978f;
    --line: #26312b;
    --line-2: #34413a;
    --brand: #5ccaa1;
    --brand-2: #7fd8b6;
    --brand-soft: #16302a;
    --on-brand: #06120d;
    --ring: rgba(92, 202, 161, 0.32);
    --state: #93bdee;      --state-soft: #172537;
    --federal: #e8be6c;    --federal-soft: #2b2416;
    --both: #bea9f2;       --both-soft: #231d36;
    --unclear: #b0b8b3;    --unclear-soft: #222925;
    --soon: #f2a66e;       --soon-soft: #33241a;
    --late: #f59c92;       --late-soft: #3a1f1c;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 12px 28px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.35), 0 28px 56px -20px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
p { margin: 0 0 12px; }
h1, h2 { font-family: var(--serif); font-weight: 600; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 1.35rem + 3.2vw, 3.45rem); line-height: 1.06; letter-spacing: -0.025em; margin: 0 0 18px; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); line-height: 1.14; letter-spacing: -0.02em; margin: 0 0 22px; }
h3 { font-size: 1.08rem; line-height: 1.35; margin: 0 0 6px; letter-spacing: -0.005em; }
svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--brand-soft); }

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 760px; }
.eyebrow { font: 600 0.78rem/1.4 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.lead { font-size: 1.16rem; line-height: 1.55; color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.muted { color: var(--ink-3); }
.fine { font-size: 0.88rem; color: var(--ink-3); }
.fine p { margin-bottom: 8px; }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: 10px; z-index: 10; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Header and footer ---------- */

.site-head { border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 30px; height: 30px; }
.logo-mark rect { fill: var(--brand); stroke: none; }
.logo-mark path { stroke: var(--on-brand); stroke-width: 3.3; }
.wordmark { font: 600 1.28rem/1 var(--serif); letter-spacing: -0.02em; }
.wordmark span { color: var(--brand); }
.head-nav { display: flex; gap: 22px; font-size: 0.95rem; }
.head-nav a { color: var(--ink-2); text-decoration: none; }
.head-nav a:hover { color: var(--ink); }

.site-foot { border-top: 1px solid var(--line); margin-top: 72px; padding: 44px 0 56px; color: var(--ink-3); font-size: 0.9rem; }
.site-foot .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.foot-brand p { margin-top: 14px; max-width: 34ch; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--ink-2); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-2); color: var(--on-brand); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-quiet { height: 36px; padding: 0 12px; border-radius: 10px; font-size: 0.9rem; font-weight: 600; background: var(--surface); color: var(--ink-2); border-color: var(--line-2); }
.btn-quiet:hover { color: var(--ink); border-color: var(--ink-3); }
.btn-quiet.is-done { background: var(--brand-soft); color: var(--brand); border-color: transparent; }

/* ---------- Status badges ---------- */

.badge, .tag, .pill {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  font: 600 0.8rem/1 var(--sans); padding: 6px 10px; border-radius: 999px; white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-fully_insured, .tag-fully_insured { color: var(--state); background: var(--state-soft); }
.badge-self_funded, .tag-self_funded { color: var(--federal); background: var(--federal-soft); }
.badge-mixed, .tag-both { color: var(--both); background: var(--both-soft); }
.badge-unknown { color: var(--unclear); background: var(--unclear-soft); }
.pill { color: var(--ink); background: var(--paper-2); font-size: 0.88rem; padding: 7px 11px; }

/* ---------- Home: hero and search ---------- */

.hero {
  padding: 72px 0 56px;
  background: radial-gradient(900px 420px at 85% -10%, color-mix(in oklab, var(--brand) 12%, transparent), transparent 70%);
}
.hero h1 { max-width: 15ch; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: center; }
.sample { margin-top: 28px; }
.sample-label { font: 600 0.74rem/1.4 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px 4px; }
.sample-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px;
  box-shadow: var(--shadow-lg); transform: rotate(1.2deg);
}
.sample-top { display: flex; align-items: center; gap: 10px; }
.sample-name { font-weight: 600; font-size: 0.95rem; }
.sample-verdict { font: 500 1.08rem/1.35 var(--serif); margin: 14px 0 16px; letter-spacing: -0.01em; }
.sample-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sample-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; padding-top: 12px; border-top: 1px solid var(--line); }
.sample-steps b { display: block; font-size: 0.95rem; }
.sample-steps span:not(.sample-n):not(.tag) { font-size: 0.86rem; color: var(--ink-3); }
.sample-steps .tag { margin-right: 4px; }
.sample-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font: 600 0.9rem/1 var(--serif); }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } .sample { display: none; } }
.search { position: relative; max-width: 660px; margin-top: 32px; }
.search-box {
  position: relative; display: flex; align-items: center;
  height: 66px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px;
  box-shadow: var(--shadow-lg);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.search-box:focus-within { border-color: var(--brand); box-shadow: var(--shadow-lg), 0 0 0 4px var(--ring); }
.search-icon { position: absolute; left: 22px; width: 22px; height: 22px; color: var(--ink-3); }
.search-box input {
  width: 100%; height: 100%; border: 0; background: transparent; color: var(--ink);
  font: 500 1.16rem/1 var(--sans); padding: 0 56px 0 58px; outline: none; border-radius: 18px;
}
.search-box input::placeholder { color: var(--ink-3); font-weight: 400; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-spinner {
  position: absolute; right: 22px; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--line-2); border-top-color: var(--brand); opacity: 0;
  transition: opacity 120ms ease; animation: spin 600ms linear infinite;
}
.search-box.is-loading .search-spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.results {
  position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 8px);
  list-style: none; margin: 0; padding: 6px; max-height: 440px; overflow: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out);
  transform-origin: top center;
}
@starting-style { .results:not([hidden]) { opacity: 0; transform: translateY(-4px) scale(0.99); } }
.result a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 14px; border-radius: 12px; color: var(--ink); text-decoration: none;
}
.result[aria-selected="true"] a { background: var(--paper-2); }
.result-main { display: flex; flex-direction: column; min-width: 0; }
.result-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.result-sub { font-size: 0.88rem; color: var(--ink-3); }
.search-status { margin: 14px 0 0; color: var(--ink-2); font-size: 0.95rem; min-height: 1px; }

.try { margin: 16px 0 0; color: var(--ink-3); font-size: 0.95rem; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.try button {
  font: inherit; color: var(--ink-2); background: none; border: 0; padding: 2px 0; cursor: pointer;
  text-decoration: underline dotted var(--line-2); text-underline-offset: 4px;
}
.try button:hover { color: var(--brand); text-decoration-color: var(--brand); }

.proof {
  list-style: none; margin: 48px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 760px;
}
.proof li { display: flex; flex-direction: column; gap: 2px; }
.proof strong { font: 600 1.2rem/1.25 var(--serif); letter-spacing: -0.01em; }
.proof span { color: var(--ink-3); font-size: 0.9rem; }

/* ---------- Home: sections ---------- */

.band { padding: 72px 0; border-top: 1px solid var(--line); }
#how { background: var(--paper-2); border-top: 0; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-sm); }
.compare-card h3 { font: 600 1.4rem/1.2 var(--serif); letter-spacing: -0.015em; margin: 18px 0 8px; }
.compare-card p { color: var(--ink-2); margin: 0; }

.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.how-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 16px;
  background: var(--surface); border: 1px solid var(--line-2); font: 600 1.1rem/1 var(--serif); color: var(--brand);
}
.how p { color: var(--ink-2); margin: 0; }

.cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.case {
  position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 18px 48px 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
  transition: border-color 150ms ease, transform 160ms var(--ease-out);
}
.case::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-right: 1.7px solid var(--ink-3); border-top: 1.7px solid var(--ink-3); transform: rotate(45deg);
  transition: transform 160ms var(--ease-out), border-color 150ms ease;
}
.case:active { transform: scale(0.99); }
.case-title { font-weight: 600; }
.case-desc { color: var(--ink-3); font-size: 0.93rem; }
@media (hover: hover) and (pointer: fine) {
  .case:hover { border-color: var(--line-2); color: var(--ink); }
  .case:hover::after { transform: translateX(3px) rotate(45deg); border-color: var(--brand); }
}

.faq-col { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 1.06rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.7px; background: var(--ink-3);
  transition: transform 200ms var(--ease-out);
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq details p { color: var(--ink-2); padding: 0 40px 20px 0; margin: 0; max-width: 66ch; }

/* ---------- Waitlist and forms ---------- */

.waitlist { margin-top: 64px; }
.waitlist-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
  padding: 36px; border-radius: 24px; background: var(--brand-soft);
  border: 1px solid color-mix(in oklab, var(--brand) 18%, transparent);
}
.waitlist-card h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.85rem); margin-bottom: 10px; }
.waitlist-copy p:last-child { color: var(--ink-2); margin: 0; }
.field-row { display: flex; gap: 10px; }
.field-row input, .dates input {
  flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 1rem var(--sans);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field-row input:focus, .dates input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--ring); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 0.9rem; color: var(--ink-2); }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.form-status { margin: 10px 0 0; font-size: 0.92rem; min-height: 1.4em; color: var(--ink-2); }
.form-status[data-tone="ok"] { color: var(--brand); font-weight: 600; }
.form-status[data-tone="error"] { color: var(--late); }
.remove-form { margin: 8px 0 24px; max-width: 520px; }

/* ---------- Employer page ---------- */

.crumbs { margin: 28px 0 0; font-size: 0.95rem; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.page-head { margin: 22px 0 28px; }
.page-head h1 { margin-bottom: 10px; }
.page-meta { color: var(--ink-3); margin: 0; }

.plan-switch { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 24px; }
.plan-switch p { margin-bottom: 10px; color: var(--ink-2); }
.plan-switch ol { margin: 0; padding-left: 20px; }
.plan-switch li { margin: 4px 0; }
.plan-switch a { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.plan { margin-bottom: 40px; scroll-margin-top: 16px; }

.verdict {
  --tone: var(--unclear); --tone-soft: var(--unclear-soft);
  border-radius: 22px; padding: 26px 28px;
  background: color-mix(in oklab, var(--tone-soft) 70%, var(--surface));
  border: 1px solid color-mix(in oklab, var(--tone) 18%, transparent);
}
.verdict-fully_insured { --tone: var(--state); --tone-soft: var(--state-soft); }
.verdict-self_funded { --tone: var(--federal); --tone-soft: var(--federal-soft); }
.verdict-mixed { --tone: var(--both); --tone-soft: var(--both-soft); }
.verdict-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.verdict-plan { color: var(--ink-3); font-size: 0.9rem; }
.verdict-text { font: 500 clamp(1.2rem, 1.05rem + 0.6vw, 1.42rem)/1.4 var(--serif); letter-spacing: -0.01em; margin: 16px 0 0; text-wrap: pretty; }

.evidence { margin-top: 16px; font-size: 0.94rem; }
.evidence summary { cursor: pointer; color: var(--ink-2); font-weight: 600; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.evidence summary::-webkit-details-marker { display: none; }
.evidence summary::after {
  content: ""; width: 7px; height: 7px; border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 180ms var(--ease-out); margin-left: 2px;
}
.evidence[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.evidence ul { margin: 12px 0 8px; padding-left: 20px; color: var(--ink-2); }
.evidence li { margin-bottom: 6px; }

/* Numbered guide */
.steps { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: step; }
.step { position: relative; counter-increment: step; padding: 0 0 32px 56px; }
.step::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: var(--on-brand); font: 600 1.05rem/1 var(--serif);
}
.step::after { content: ""; position: absolute; left: 18.5px; top: 44px; bottom: 6px; width: 1.5px; background: var(--line-2); }
.step:last-child::after { display: none; }
.step-title { font-size: 1.2rem; margin: 4px 0 10px; outline: none; }
.step-lead { color: var(--ink-2); margin-bottom: 14px; }
.step.is-locked::before { background: var(--surface); color: var(--ink-3); border: 1px solid var(--line-2); }
.step.is-locked .step-title { color: var(--ink-3); }
.locked-hint { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 0.93rem; margin: 0; }

.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left;
  min-height: 58px; padding: 12px 14px 12px 16px; border-radius: 14px; cursor: pointer;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); font: 600 0.98rem/1.3 var(--sans);
  box-shadow: var(--shadow-sm);
  transition: transform 160ms var(--ease-out), border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}
.option:active { transform: scale(0.98); }
.option[aria-pressed="true"] { border-color: var(--brand); background: color-mix(in oklab, var(--brand-soft) 60%, var(--surface)); box-shadow: inset 0 0 0 1px var(--brand); }
@media (hover: hover) and (pointer: fine) {
  .option:hover { border-color: var(--ink-3); }
  .option[aria-pressed="true"]:hover { border-color: var(--brand); }
}
.tag { font-size: 0.74rem; padding: 5px 8px; }

.followup { margin-top: 16px; padding: 20px; border-radius: 18px; background: var(--paper-2); outline: none; }
.followup-q { font-weight: 650; font-size: 1.04rem; margin-bottom: 6px; }
.callout { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--brand-soft); color: var(--ink); }
.callout p:last-child { margin: 0; }

.route-banner { padding: 14px 16px; border-radius: 14px; background: var(--paper-2); margin-bottom: 12px; }
.route-banner p { color: var(--ink-2); margin: 0; }
.route-banner .route-title { color: var(--ink); font-weight: 650; margin-bottom: 2px; }

.send { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin-top: 12px; box-shadow: var(--shadow-sm); }
.send p { margin: 0; }
.send-what { font: 600 0.74rem/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.send-who { font-weight: 650; font-size: 1.06rem; margin-top: 4px !important; }
.send-names { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px !important; }
.address { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border: 1px dashed var(--line-2); }
.address address { font-style: normal; font-size: 0.95rem; letter-spacing: 0.02em; line-height: 1.55; }
.address-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.send-how { color: var(--ink-3); font-size: 0.92rem; margin-top: 12px !important; }

.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.field em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.dates input { font-variant-numeric: tabular-nums; }
.deadlines { list-style: none; margin: 16px 0 8px; padding: 0; }
.deadline { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.deadline-name { font-weight: 600; }
.deadline-when { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; text-align: right; }
.due-rule { color: var(--ink-3); font-size: 0.93rem; }
.due-date { font-variant-numeric: tabular-nums; font-weight: 600; }
.due-count { font: 600 0.8rem/1 var(--sans); padding: 6px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-variant-numeric: tabular-nums; }
.due-count.is-soon { background: var(--soon-soft); color: var(--soon); }
.due-count.is-late { background: var(--late-soft); color: var(--late); }

.next { list-style: none; margin: 0; padding: 0; }
.next li { padding: 12px 0; border-top: 1px solid var(--line); }
.next li:first-child { border-top: 0; padding-top: 0; }
.next p { margin: 0; color: var(--ink-2); }
.next .next-title { color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.help { list-style: none; margin: 0 0 14px; padding: 0; }
.help li { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.help li:first-child { border-top: 0; padding-top: 0; }
.help a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; }
.help a svg { width: 16px; height: 16px; transition: transform 160ms var(--ease-out); }
.help-phone { font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .help a:hover svg { transform: translateX(2px); } }

/* Things that appear after a choice slide in a few pixels; nothing moves on first paint. */
.animate .is-new, .animate .followup { animation: rise 260ms var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Prose (privacy) ---------- */

.prose h2 { font-size: 1.45rem; margin: 36px 0 10px; }
.prose p { color: var(--ink-2); max-width: 68ch; }

/* ---------- Small screens ---------- */

@media (max-width: 760px) {
  .compare, .cases, .how, .waitlist-card, .site-foot .wrap { grid-template-columns: 1fr; }
  .how { gap: 22px; }
  .waitlist-card { padding: 24px; gap: 18px; }
  .band { padding: 52px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .wrap { padding-inline: 16px; }
  .head-nav a[href="/#how"] { display: none; }
  .head-nav { gap: 16px; }
  .hero { padding: 40px 0 36px; }
  .search { margin-top: 24px; }
  .search-box { height: 60px; border-radius: 16px; }
  .search-box input { font-size: 1.06rem; padding-left: 52px; }
  .search-icon { left: 18px; }
  .result a { flex-direction: column; align-items: flex-start; gap: 8px; }
  .proof { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .proof li { display: grid; grid-template-columns: 10.5rem 1fr; align-items: baseline; gap: 10px; }
  .proof strong { font-size: 1.05rem; }
  .verdict { padding: 20px; border-radius: 18px; }
  /* Phones: number sits beside the title and the content gets the full width. */
  .step { padding-left: 0; padding-bottom: 28px; }
  .step::before { position: static; float: left; width: 30px; height: 30px; margin: 0 10px 0 0; font-size: 0.95rem; }
  .step::after { display: none; }
  .step-title { min-height: 30px; display: flex; align-items: center; margin-top: 0; }
  .step-body > :nth-child(2) { clear: left; }
  .dates { grid-template-columns: 1fr; }
  .deadline { flex-direction: column; align-items: flex-start; gap: 6px; }
  .deadline-when { justify-content: flex-start; text-align: left; }
  .field-row { flex-direction: column; }
  .field-row .btn { width: 100%; }
  .options { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .animate .is-new, .animate .followup { animation: fade 200ms ease both; }
  @keyframes fade { from { opacity: 0; } }
  .search-spinner { animation-duration: 1.6s; }
}

/* ---------- Print: the appeal route on paper ---------- */

@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-head, .site-foot, .crumbs, .plan-switch, .waitlist, .address-actions, .is-locked, .evidence summary::after, .skip { display: none !important; }
  .verdict, .send, .route-banner, .followup, .address { background: #fff !important; border-color: #999 !important; box-shadow: none !important; }
  .step::after { display: none; }
  a { color: #000; }
}
