/* Cornerstone Life Assurance
   Brand: navy and antique gold from the agency logo.
   Layout concept: a deep navy slab opens every page and the quote form sits on it like a cornerstone block;
   everything below runs on a cool off-white ground with asymmetric two-column reading layouts. */
:root {
  --bg: oklch(0.985 0.003 250);
  --surface: oklch(0.96 0.008 250);
  --panel: oklch(1 0 0);
  --ink: oklch(0.23 0.045 252);
  --muted: oklch(0.44 0.03 252);
  --line: oklch(0.88 0.012 250);
  --brand: oklch(0.38 0.09 252);
  --brand-deep: oklch(0.28 0.06 250);
  --brand-soft: oklch(0.95 0.015 250);
  --gold: oklch(0.64 0.07 75);
  --on-brand: oklch(0.97 0.008 80);
  --on-brand-muted: oklch(0.86 0.02 250);
  --btn-bg: oklch(0.74 0.085 77);
  --btn-fg: oklch(0.22 0.05 250);
  --btn-hover: oklch(0.79 0.08 80);
  --ok: oklch(0.5 0.12 155);
  --err: oklch(0.5 0.18 27);
  --focus: oklch(0.55 0.16 245);

  --font-brand: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-display: "Libre Caslon Text", "Baskerville", Georgia, serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.33rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.8rem, 1.3rem + 1.9vw, 2.45rem);
  --step-4: clamp(2.15rem, 1.45rem + 2.9vw, 3.4rem);

  --radius: 6px;
  --wrap: 72rem;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --z-sticky: 20;
  --z-callbar: 30;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: oklch(0.17 0.025 252);
    --surface: oklch(0.205 0.03 252);
    --panel: oklch(0.235 0.033 252);
    --ink: oklch(0.95 0.008 250);
    --muted: oklch(0.77 0.02 250);
    --line: oklch(0.35 0.03 252);
    --brand: oklch(0.8 0.08 78);
    --brand-deep: oklch(0.24 0.05 250);
    --brand-soft: oklch(0.27 0.04 250);
    --gold: oklch(0.78 0.08 78);
    --on-brand: oklch(0.97 0.008 80);
    --on-brand-muted: oklch(0.85 0.02 250);
    --btn-bg: oklch(0.76 0.085 77);
    --btn-fg: oklch(0.22 0.05 250);
    --btn-hover: oklch(0.82 0.08 80);
    --ok: oklch(0.76 0.12 155);
    --err: oklch(0.74 0.15 27);
    --focus: oklch(0.78 0.12 240);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: oklch(0.17 0.025 252);
  --surface: oklch(0.205 0.03 252);
  --panel: oklch(0.235 0.033 252);
  --ink: oklch(0.95 0.008 250);
  --muted: oklch(0.77 0.02 250);
  --line: oklch(0.35 0.03 252);
  --brand: oklch(0.8 0.08 78);
  --brand-deep: oklch(0.24 0.05 250);
  --brand-soft: oklch(0.27 0.04 250);
  --gold: oklch(0.78 0.08 78);
  --on-brand: oklch(0.97 0.008 80);
  --on-brand-muted: oklch(0.85 0.02 250);
  --btn-bg: oklch(0.76 0.085 77);
  --btn-fg: oklch(0.22 0.05 250);
  --btn-hover: oklch(0.82 0.08 80);
  --ok: oklch(0.76 0.12 155);
  --err: oklch(0.74 0.15 27);
  --focus: oklch(0.78 0.12 240);
  color-scheme: dark;
}

/* logo swap: navy emblem on light surfaces, cream emblem on dark */
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-header .logo-light { display: none; } :root:not([data-theme="light"]) .site-header .logo-dark { display: block; } }
:root[data-theme="dark"] .site-header .logo-light { display: none; }
:root[data-theme="dark"] .site-header .logo-dark { display: block; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "kern";
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: var(--z-sticky); background: var(--panel);
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--brand); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--panel); color: var(--ink); padding: 8px 12px; z-index: 50; }
.skip:focus { top: 8px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.prose { max-width: 68ch; display: grid; gap: 1rem; }
.prose h2 { margin-top: 1.25rem; }
.prose h3 { margin-top: 0.75rem; }
.prose ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: var(--z-sticky);
  background: var(--panel); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; padding-block: 0.7rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { height: 46px; width: auto; flex: none; }
.brand-name { font-family: var(--font-brand); font-weight: 700; font-size: 1.32rem; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--ink);
  border-radius: var(--radius); padding: 0.45rem 0.75rem; font: inherit; font-size: var(--step--1); font-weight: 600; cursor: pointer;
}
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); }
.header-phone { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) {
  .js .nav-toggle { display: inline-block; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav { display: none; }
  .js .site-nav.open { display: flex; }
  .site-nav a { padding: 0.75rem 0; border-top: 1px solid var(--line); }
  .site-nav .btn { margin-block: 0.75rem; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--btn-bg); color: var(--btn-fg) !important; border: 0; border-radius: 999px;
  padding: 0.8rem 1.4rem; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color 180ms cubic-bezier(0.22, 1, 0.36, 1), transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink) !important; border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn-light { background: var(--btn-bg); color: var(--btn-fg) !important; }
.btn-light:hover { background: var(--btn-hover); }
.site-nav .btn { color: var(--btn-fg); padding: 0.6rem 1.1rem; font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hero { background: var(--brand-deep); color: var(--on-brand); }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2.5rem, 5vw, 4.5rem); align-items: start;
}
.hero-copy { display: grid; gap: 1.25rem; padding-top: 0.5rem; min-width: 0; }
.hero-copy h1 { color: var(--on-brand); }
.hero-copy .lede { font-size: var(--step-1); line-height: 1.45; color: var(--on-brand-muted); max-width: 34ch; }
.hero-points { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.7rem; max-width: 40ch; }
.hero-points li { display: grid; grid-template-columns: 22px 1fr; gap: 0.7rem; align-items: start; color: var(--on-brand); }
.hero-points svg { width: 22px; height: 22px; margin-top: 2px; color: var(--btn-bg); }
.hero-call { color: var(--on-brand-muted); font-size: var(--step--1); }
.hero-call a { color: var(--on-brand); font-weight: 700; font-variant-numeric: tabular-nums; }
.hero.compact .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
.crumbs { font-size: var(--step--1); color: var(--on-brand-muted); }
.crumbs a { color: var(--on-brand); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }
@media (max-width: 880px) {
  .hero .wrap, .hero.compact .wrap { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Quote form ---------- */
.quote {
  background: var(--panel); color: var(--ink); border-radius: 10px;
  padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 2px 0 oklch(0.2 0.05 30 / 0.25), 0 6px 8px oklch(0.15 0.05 30 / 0.18);
  min-width: 0; scroll-margin-top: 90px;
}
.quote-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.quote-head h2 { font-size: var(--step-2); }
.quote-progress { font-size: var(--step--1); color: var(--muted); font-variant-numeric: tabular-nums; }
.quote-bar { height: 4px; background: var(--surface); border-radius: 4px; margin-bottom: 1.25rem; overflow: hidden; }
.quote-bar span { display: block; height: 100%; width: 33.333%; background: var(--btn-bg); transition: width 400ms cubic-bezier(0.22, 1, 0.36, 1); }
.no-js .quote-bar, .no-js .quote-progress { display: none; }
.step { border: 0; margin: 0; padding: 0; display: grid; gap: 1rem; min-width: 0; }
.step + .step { margin-top: 1.5rem; }
.js .step + .step { margin-top: 0; }
.js .step:not(.active) { display: none; }
.step legend { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.25rem; padding: 0; }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-size: var(--step--1); color: var(--muted); }
.row-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 0.7rem 0.8rem; min-height: 48px;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px oklch(0.6 0.15 255 / 0.25); }
.field.invalid input, .field.invalid select, .choices.invalid { border-color: var(--err); }
.error-msg { color: var(--err); font-size: var(--step--1); font-weight: 600; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.5rem; border-radius: var(--radius); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: grid; gap: 2px; height: 100%; padding: 0.7rem 0.85rem; border: 1.5px solid var(--line); border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; line-height: 1.3; background: var(--bg); transition: border-color 150ms, background-color 150ms;
}
.choice span small { font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.choice input:hover + span { border-color: var(--muted); }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.choices.pills { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 0.6rem; align-items: start; font-size: 0.8rem; line-height: 1.5; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); }
.consent.invalid { color: var(--err); }
.step-actions { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; margin-top: 0.25rem; }
.step-actions .btn { flex: 1 1 auto; }
.btn-back { flex: 0 0 auto !important; }
.no-js .btn-next, .no-js .btn-back { display: none; }
.hp { position: absolute !important; left: -9999px !important; }
.form-note { font-size: 0.8rem; color: var(--muted); display: flex; gap: 0.4rem; align-items: center; margin-top: 0.9rem; }
.form-note svg { width: 14px; height: 14px; flex: none; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status.err { color: var(--err); }
.quote-done { display: grid; gap: 0.8rem; text-align: left; }
.quote-done h2 { font-size: var(--step-2); }
.quote-done svg { width: 44px; height: 44px; color: var(--ok); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section.alt { background: var(--surface); }
.section-head { display: grid; gap: 0.75rem; max-width: 46rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Products as an index, not a card grid */
.plan-index { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.plan-index li { border-bottom: 1px solid var(--line); }
.plan-index a {
  display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) auto; gap: 1.5rem; align-items: baseline;
  padding: 1.5rem 0.25rem; color: var(--ink); text-decoration: none; transition: background-color 200ms;
}
.plan-index a:hover { background: var(--brand-soft); }
.plan-index h3 { font-size: var(--step-2); }
.plan-index .for { color: var(--muted); }
.plan-index .for strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 0.15rem; }
.plan-index .go { font-weight: 700; color: var(--brand); white-space: nowrap; }
@media (max-width: 760px) {
  .plan-index a { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
}

/* Real three-step sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: s; }
.steps li { display: grid; gap: 0.6rem; align-content: start; counter-increment: s; }
.steps li::before {
  content: counter(s); font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1;
  color: var(--gold); font-variant-numeric: tabular-nums;
}
.steps p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Estimator */
.estimator { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.estimator form { padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem; }
.money { position: relative; }
.money::before { content: "$"; position: absolute; left: 0.8rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.money input { padding-left: 1.6rem; font-variant-numeric: tabular-nums; }
.est-result { background: var(--brand-deep); color: var(--on-brand); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem; align-content: start; }
.est-result .label { color: var(--on-brand-muted); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.est-total { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 1.8rem + 2.5vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.est-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.est-lines li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid oklch(1 0 0 / 0.14); padding-bottom: 0.35rem; }
.est-result p { color: var(--on-brand-muted); font-size: var(--step--1); }
@media (max-width: 820px) { .estimator { grid-template-columns: minmax(0, 1fr); } }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
table.compare { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.97rem; }
.compare th, .compare td { padding: 0.95rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-size: 1.1rem; background: var(--surface); }
.compare thead th.us { background: var(--brand-deep); color: var(--on-brand); box-shadow: inset 0 3px 0 var(--btn-bg); }
.compare td.us { background: var(--brand-soft); font-weight: 600; }
.compare tbody th { font-weight: 600; width: 32%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--ok); font-weight: 700; }

/* Cities */
.city-list { list-style: none; margin: 0; padding: 0; columns: 3 14rem; column-gap: 2rem; }
.city-list li { break-inside: avoid; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.city-list a { font-weight: 600; text-decoration: none; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; }
.city-list a span { color: var(--muted); font-weight: 400; font-size: var(--step--1); }
.city-list a:hover { color: var(--brand); }

/* FAQ */
.faq { display: grid; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 700; font-size: 1.08rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.5rem; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 0 1.25rem; max-width: 68ch; color: var(--muted); display: grid; gap: 0.75rem; }

/* Facts list for product pages */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); }
.facts div { padding: 1rem 1.15rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.facts dt { font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.facts dd { margin: 0.2rem 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.25; }
.aside-box { background: var(--surface); border-radius: 10px; padding: 1.5rem; display: grid; gap: 0.8rem; align-content: start; }
.aside-box h3 { font-size: 1.15rem; }
.aside-box ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.35rem; }
.sticky-aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); display: grid; gap: 1rem; }
@media (max-width: 820px) { .sticky-aside { position: static; } }

/* CTA band */
.cta-band { background: var(--brand-deep); color: var(--on-brand); border-top: 3px solid var(--btn-bg); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.cta-band h2 { color: var(--on-brand); max-width: 22ch; }
.cta-band p { color: var(--on-brand-muted); margin-top: 0.5rem; }
.cta-band .actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cta-band .phone-text { color: var(--on-brand); font-weight: 700; font-variant-numeric: tabular-nums; align-self: center; }

/* Footer */
.site-footer { background: oklch(0.22 0.05 250); color: var(--on-brand-muted); font-size: 0.93rem; }
.site-footer .wrap { padding-block: 3rem 2rem; display: grid; gap: 2rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.site-footer h2 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-brand); margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer a { color: var(--on-brand); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .brand { color: var(--on-brand); margin: 0 0 0.9rem; }
.site-footer .brand-name small { color: var(--btn-bg); }
.disclosure { border-top: 1px solid oklch(1 0 0 / 0.16); padding-top: 1.5rem; font-size: 0.8rem; line-height: 1.6; display: grid; gap: 0.6rem; max-width: 90ch; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-callbar);
    background: var(--panel); border-top: 1px solid var(--line);
    padding: 0.6rem max(12px, env(safe-area-inset-right, 0px)) calc(0.6rem + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  }
  .callbar .btn { padding: 0.7rem 0.5rem; font-size: 0.95rem; }
  body { padding-bottom: 74px; }
}

/* Simple pages */
.page-head { background: var(--brand-deep); color: var(--on-brand); }
.page-head .wrap { padding-block: clamp(2.25rem, 5vw, 3.5rem); display: grid; gap: 0.9rem; }
.page-head h1 { color: var(--on-brand); }
.page-head p { color: var(--on-brand-muted); max-width: 60ch; font-size: 1.1rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-lines { display: grid; gap: 1.25rem; }
.contact-lines dt { font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.contact-lines dd { margin: 0.15rem 0 0; font-size: 1.2rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Entrance: content is visible by default; motion only refines it */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: 60ms; }
  .hero-copy > *:nth-child(3) { animation-delay: 120ms; }
  .hero-copy > *:nth-child(4) { animation-delay: 180ms; }
  .hero .quote { animation: settle 800ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both; }
  .js .step.active { animation: stepin 360ms cubic-bezier(0.22, 1, 0.36, 1); }
}
@keyframes rise { from { transform: translateY(10px); } }
@keyframes settle { from { transform: translateY(16px); box-shadow: 0 0 0 transparent; } }
@keyframes stepin { from { transform: translateX(12px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media print { .site-header, .callbar, .quote, .cta-band { display: none; } }

/* Note shown when the visitor picks a state we are not licensed in yet */
.state-note { margin-top: -0.4rem; padding: 0.65rem 0.8rem; border-radius: var(--radius); background: var(--brand-soft); color: var(--ink); border: 1px solid var(--line); }
.state-grid { columns: 5 10.5rem; }
.state-grid li { padding: 0.4rem 0; }

/* Guides */
.byline { font-size: var(--step--1) !important; color: var(--on-brand-muted); }
.toc { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; font-size: 0.95rem; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--brand); text-decoration: underline; }
.prose h2 { scroll-margin-top: 90px; }
.prose .table-wrap { margin-block: 0.25rem; }
.prose table.compare { min-width: 520px; }
.inline-cta { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--brand-soft); border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.25rem; margin-block: 0.5rem; }
.inline-cta p { flex: 1 1 18rem; margin: 0; }
.guide-index a { grid-template-columns: minmax(0, 1fr) auto; }
.guide-index h3 { font-size: 1.25rem; }
.guide-index .for { grid-column: 1; }
.guide-index .go { grid-column: 2; grid-row: 1; }
#estimator { scroll-margin-top: 100px; }
.guide-index h3 { grid-column: 1; }
@media (max-width: 760px) { .guide-index a { grid-template-columns: minmax(0, 1fr); } .guide-index .go { grid-column: 1; grid-row: auto; } }
.guide-index a { row-gap: 0.4rem; padding-block: 1.25rem; }

/* Ad landing pages */
.lp-header .brand { margin-right: auto; }
.lp-header .header-phone { color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.lp-header .header-phone:hover { color: var(--brand); }
@media (max-width: 560px) { .lp-header .header-phone { display: none; } }
.lp-hero .wrap { padding-block: clamp(1.75rem, 4vw, 3.5rem); }
.lp-covers { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.lp-covers li { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 1.5rem; padding: 1.25rem 0.25rem; border-bottom: 1px solid var(--line); align-items: baseline; }
.lp-covers h3 { font-size: var(--step-1); }
.lp-covers p { color: var(--muted); }
@media (max-width: 640px) { .lp-covers li { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; } }
@media (max-width: 880px) {
  .lp-hero .wrap { gap: 1rem; }
  .lp-hero .hero-copy { display: contents; }
  .lp-hero h1 { order: 1; font-size: clamp(1.9rem, 1.4rem + 2.4vw, 2.4rem); }
  .lp-hero .lede { order: 2; font-size: 1.05rem; }
  .lp-hero .quote { order: 3; margin-top: 0.5rem; }
  .lp-hero .hero-points { order: 4; margin-top: 1rem; }
  .lp-hero .hero-call { order: 5; }
}

/* Trust: agents and reviews */
.trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.trust-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 820px) { .trust-grid { grid-template-columns: minmax(0, 1fr); } }
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.person { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; align-items: start; }
.person img, .person .avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.person .avatar { display: grid; place-items: center; background: var(--brand-deep); color: var(--on-brand); font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.person.sample .avatar { background: var(--surface); color: var(--muted); font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; border: 2px dashed var(--line); }
.person h3 { font-size: var(--step-1); }
.person p + p { margin-top: 0.5rem; }
.reviews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.review { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1.15rem 1.25rem; display: grid; gap: 0.5rem; align-content: start; }
.review.sample { border-style: dashed; }
.review blockquote { margin: 0; }
.stars { color: var(--gold); letter-spacing: 0.1em; font-size: 1.05rem; }
.sample-note { margin-top: 0.5rem; padding: 0.6rem 0.8rem; border-radius: var(--radius); border: 1px dashed var(--gold); color: var(--ink); font-size: var(--step--1); }
.prose .people { margin-block: 0.25rem; }
/* Mobile call bar with only the quote button (no phone number yet) */
.callbar:has(> :only-child) { grid-template-columns: 1fr; }
