/* ==== 00-base.css ==== */
/*
 * meadow.css — the site design (2026-09-30). BUILT FILE: edit site/css/*.css,
 * then run `npx tsx scripts/build-partials.ts` (concatenates them in name order).
 *
 * 00-base.css holds tokens, fonts, buttons, header, hero, forms, strip, cards,
 * steps, FAQ and footer (the /for-practices page).
 *
 * A standalone design system, NOT a theme: themes/_CONTRACT.md allows tokens
 * only, and this page does not use system.css at all. Malte picked the look
 * from injurytimeclaims.co.uk ("clone it exactly"); every size and colour here
 * was measured from that site with getComputedStyle, then rebuilt without
 * their Bootstrap (~230 KB) or JS. Breakpoint 992px = their `lg`.
 *
 * Fonts are self-hosted OFL subsets in /fonts (LICENSE-OFL.txt):
 * Fraunces SOFT 50 / opsz 72 / wght 700 stands in for Calvino (a paid font).
 */

@font-face { font-family: "Fraunces AH"; src: url(/fonts/fraunces-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url(/fonts/golos-text.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/fonts/geist-mono-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #25392a;
  --green: #2a4831;
  --muted: rgba(37, 57, 42, .8);
  --rule: rgba(37, 57, 42, .2);
  --cream: #fef9f2;
  --beige: #f7f0e4;
  --mint: #d7ecd4;
  --mint-2: #cae6c6;
  --leaf: #c6ebc1;
  --sage: #e9f1de;
  --orange: #fd9462;
  --orange-press: #f47f48;
  --p1: #dce3f9; --p2: #e9e9c4; --p3: #e5dbf2; --p4: #fae5c7; --p5: #f5d7ed;
  --p6: #d7f0ed; --p7: #f6dbda; --p8: #faf0c7; --p9: #d4eaf3; --p10: #f5d4df;
  --serif: "Fraunces AH", Georgia, serif;
  --sans: "Golos Text", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/24px var(--sans); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
p, li { text-wrap: pretty; }
.nw { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.sprite { display: none; }
.ico { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(1296px, 100% - 32px); margin-inline: auto; }
.sec { padding: 64px 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 4px 16px; border-radius: 8px; border: 1px solid rgba(37, 57, 42, .12); font: 600 16px/24px var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn.dark { background: var(--green); border-color: var(--green); color: #fff; font-weight: 500; }
.btn.dark:hover { background: var(--ink); }
.btn.out { background: transparent; border-color: var(--green); box-shadow: inset 0 0 0 .5px var(--green); color: var(--green); }
.btn.out:hover { background: rgba(42, 72, 49, .06); }
.btn.go { background: var(--orange); color: var(--ink); }
.btn.go:hover { background: var(--orange-press); }
.btn.ghost-inv { background: transparent; border-color: var(--orange); color: var(--orange); }
.btn.block { width: 100%; }

/* ---------- Page tints (reference: mint home, sky/lavender sub-pages) ---------- */
.tint-sky { --tint: #d3e9f1; --tint-2: #bfe2f2; }
.tint-lav { --tint: #dce3f9; --tint-2: #cbd5f4; }
.tint-cream { --tint: #fef9f2; --tint-2: #f7f0e4; }

/* ---------- Header ---------- */
.top { background: var(--tint, var(--mint)); padding: 13px 0; border-bottom: 1px solid rgba(37, 57, 42, .15); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand .name { display: block; font: 700 27px/1 var(--serif); letter-spacing: -.01em; }
.brand .by { display: block; text-align: right; font: 500 12px/1 var(--sans); margin-top: 4px; }
.links { display: none; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-list { display: grid; }
.menu-list { position: absolute; left: 16px; right: 16px; margin-top: 8px; background: var(--cream); border: 1px solid var(--ink); border-radius: 12px; padding: 8px 16px; z-index: 5; gap: 0; }
.menu-list a { display: block; padding: 10px 0; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rule); }
.menu-list a:last-child { border-bottom: 0; }
.top-btns { display: flex; gap: 10px; width: 100%; }
.top-btns .btn { flex: 1; min-height: 40px; }

/* Denial codes dropdown (desktop) */
.dd { position: relative; }
.dd summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 4px; font-weight: 500; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary svg { width: 16px; height: 16px; }
.dd[open] summary svg { transform: rotate(180deg); }
.dd-menu { position: absolute; right: 0; top: 40px; min-width: 280px; background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 8px 0; z-index: 5; box-shadow: 0 8px 24px rgba(37, 57, 42, .12); }
.dd-menu a { display: block; padding: 6px 16px; font-size: 15px; text-decoration: none; }
.dd-menu a:hover { background: var(--mint); }
.dd-menu .code { font: 600 13px var(--mono); margin-right: 6px; }

/* ---------- Hero ---------- */
.hero { background: var(--tint, var(--mint)); padding: 64px 0; }
.hero-grid { display: grid; gap: 40px; }
.hero h1 { font-size: 44px; line-height: 44px; margin-bottom: 16px; }
.lead { font-size: 14px; line-height: 20px; margin-bottom: 24px; }
.lead strong { font-weight: 600; }
.sample { font-size: 14px; margin-bottom: 24px; }
.sample a { font-weight: 600; }
.hero-icons { display: flex; justify-content: space-between; gap: 8px; }
.hero-icons svg { width: 22%; aspect-ratio: 1; height: auto; stroke-width: 1.35; }

/* Upload form card */
.card-form { background: var(--cream); border: 1px solid var(--ink); border-radius: 12px; padding: 24px; }
.card-form h2 { font-size: 18px; line-height: 26px; margin-bottom: 8px; letter-spacing: 0; }
.card-form .intro { font-size: 14px; line-height: 20px; margin-bottom: 24px; }
.fields { display: grid; gap: 16px 16px; }
.field label { display: block; font-size: 12px; line-height: 16px; margin-bottom: 6px; }
.field input { width: 100%; height: 52px; padding: 6px 12px; border: 1px solid var(--ink); border-radius: 8px; background: #fff; font: 400 16px/24px var(--sans); color: var(--ink); }
.field input::placeholder { color: rgba(37, 57, 42, .32); }
.field input[type=file] { padding: 0; line-height: 50px; cursor: pointer; }
.field input[type=file]::file-selector-button { height: 50px; margin-right: 12px; padding: 0 16px; border: 0; border-right: 1px solid var(--ink); background: var(--beige); font: 600 15px var(--sans); color: var(--ink); cursor: pointer; }
.field .hint { font-size: 12px; line-height: 16px; color: var(--muted); margin-top: 6px; }
.card-form .btn { margin: 24px 0 16px; }
.legal { font-size: 12px; line-height: 18px; color: var(--muted); }
.legal a { color: inherit; }

/* ---------- Trust strip ---------- */
.strip { background: var(--tint-2, var(--mint-2)); padding: 16px 0; }
.strip ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.strip li { display: flex; align-items: center; gap: 8px; font: 600 12px/18px var(--mono); text-transform: uppercase; letter-spacing: .02em; }
.strip svg { width: 24px; height: 24px; flex: none; color: var(--green); stroke-width: 1.8; }

/* ---------- Section heads ---------- */
.h2 { font-size: 34px; line-height: 40px; }
.center { text-align: center; }
.sub { font-size: 16px; line-height: 24px; margin-top: 16px; }
.head { margin-bottom: 40px; }
.eyebrow { display: block; font: 600 12px/16px var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }

/* ---------- Denial code cards ---------- */
.codes { background: var(--cream); }
.code-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.code-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--ink); border-radius: 12px; overflow: hidden; text-decoration: none; padding: 16px 16px 16px 32px; }
.code-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 16px; background: var(--bar, var(--p1)); }
.code-card:hover { box-shadow: 0 6px 18px rgba(37, 57, 42, .12); }
.code-card svg { width: 40px; height: 40px; stroke-width: 1.5; margin-bottom: 8px; }
.code-card .code { display: block; font: 600 13px/16px var(--mono); letter-spacing: .04em; margin: 4px 0 6px; }
.code-card h3 { font-size: 18px; line-height: 26px; margin-bottom: 4px; }
.code-card p { font-size: 14px; line-height: 20px; margin-bottom: 8px; }
.code-card svg, .code-card .code { align-self: flex-start; }
.code-card .more { margin-top: auto; font-size: 12px; line-height: 16px; font-weight: 700; }
.code-grid li:nth-child(1) { --bar: var(--p1); } .code-grid li:nth-child(2) { --bar: var(--p2); }
.code-grid li:nth-child(3) { --bar: var(--p3); } .code-grid li:nth-child(4) { --bar: var(--p4); }
.code-grid li:nth-child(5) { --bar: var(--p5); } .code-grid li:nth-child(6) { --bar: var(--p6); }
.code-grid li:nth-child(7) { --bar: var(--p7); } .code-grid li:nth-child(8) { --bar: var(--p8); }
.code-grid li:nth-child(9) { --bar: var(--p9); } .code-grid li:nth-child(10) { --bar: var(--p10); }

/* ---------- Statement: label + big line left, detail right ---------- */
.statement { background: var(--beige); }
.split { display: grid; gap: 32px; }
.split > * { min-width: 0; }
.statement .big { font-size: 28px; line-height: 34px; }
.statement .big + p { margin-top: 16px; }
.file { background: #fff; border: 1px solid var(--ink); border-radius: 12px; overflow-x: auto; }
.file-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--ink); font-size: 14px; }
.file-top code { font: 600 13px var(--mono); }
.file table { width: 100%; border-collapse: collapse; font-size: 14px; }
.file th, .file td { padding: 10px 8px; text-align: left; border-bottom: 1px solid #ece7dc; white-space: nowrap; }
.file th { font: 600 11px/16px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.file tr:last-child td { border-bottom: 0; }
.file .n { text-align: right; }
.note { margin-top: 16px; font-size: 14px; line-height: 20px; }
.note strong { font-weight: 700; }

/* ---------- Steps on dark ---------- */
.steps-sec { background: var(--green); color: var(--cream); }
.steps-sec h2 { color: var(--cream); }
.steps-sec .sub { color: var(--cream); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; max-width: 1076px; margin-inline: auto; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: center; padding: 24px 16px; border-radius: 12px; color: var(--ink); font-size: 14px; line-height: 20px; }
.step:nth-child(1) { background: var(--p5); } .step:nth-child(2) { background: var(--p2); } .step:nth-child(3) { background: var(--beige); }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font: 600 14px var(--sans); }
.step strong { display: block; font: 700 18px/24px var(--serif); margin-bottom: 2px; }
.step svg { display: none; width: 32px; height: 32px; stroke-width: 1.4; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }

/* ---------- Check grid (what you get back) ---------- */
.get { background: #fff; }
.get-head { display: grid; gap: 24px; align-items: start; margin-bottom: 40px; }
.checks3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.checks3 .dot { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; }
.checks3 .dot svg { width: 24px; height: 24px; stroke-width: 1.8; }
.checks3 li:nth-child(1) .dot { background: var(--mint); } .checks3 li:nth-child(2) .dot { background: var(--p7); } .checks3 li:nth-child(3) .dot { background: var(--p1); }
.checks3 h3 { font-size: 18px; line-height: 26px; margin-bottom: 4px; }
.checks3 p { font-size: 14px; line-height: 20px; }
.get .foot-note { margin-top: 40px; font-size: 14px; }

/* ---------- Why free ---------- */
.why { background: var(--cream); }
.why-grid { display: grid; gap: 20px; }
.why-top { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.why h3 { font-size: 18px; line-height: 26px; }
.why .copy p { margin-bottom: 16px; }
.why .copy p:last-child { margin-bottom: 0; }
.why hr { border: 0; border-top: 1px solid var(--rule); margin: 24px 0 16px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font: 500 12px/18px var(--mono); text-transform: uppercase; }
.ticks svg { width: 24px; height: 24px; flex: none; stroke-width: 2; }

/* ---------- Next steps (mint) ---------- */
.next { background: var(--mint); }
.next .sub { margin: 16px 0 24px; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.rows li { display: flex; gap: 12px; align-items: flex-start; background: var(--cream); border-bottom: 1px solid var(--ink); padding: 14px 16px; font-size: 14px; line-height: 20px; }
.rows svg { width: 16px; height: 16px; margin-top: 2px; flex: none; stroke-width: 2.4; }
.rows a { font-weight: 600; }

/* ---------- Dark form band ---------- */
.band { background: var(--green); color: var(--cream); overflow: hidden; }
.band .wrap { position: relative; }
.band h2, .band h3 { color: var(--cream); }
.band h3 { font-size: 18px; line-height: 26px; margin: 16px 0 12px; }
.band p { font-size: 14px; line-height: 20px; }
.band .hound { position: absolute; left: 0; bottom: -64px; width: 320px; opacity: .22; pointer-events: none; }
.band .card-form { background: transparent; border: 0; padding: 0; position: relative; }
.band .card-form h2 { display: none; }
.band .field label, .band .legal, .band .intro { color: var(--cream); }
.band .legal a { color: var(--cream); }
.band .hint { color: var(--cream); opacity: .8; }
.band p.legal { font-size: 13px; line-height: 18px; opacity: .85; }
.band .card-form .btn { width: auto; min-width: 280px; }
.band .mail { margin-top: 16px; }
.band .mail a { color: var(--cream); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq-grid { display: grid; gap: 0; }
.faq h2 { margin-bottom: 40px; text-align: center; }
.qa { border-bottom: 1px solid var(--ink); margin-bottom: 16px; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; font: 700 18px/26px var(--serif); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { width: 20px; height: 20px; flex: none; stroke-width: 1.5; transition: transform .15s; }
.qa[open] summary svg { transform: rotate(180deg); }
.qa p { padding: 0 0 16px; font-size: 14px; line-height: 20px; }
.faq-more { text-align: center; margin-top: 24px; }
.faq-more a { font-weight: 700; text-decoration: none; }
.faq-more a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.foot { background: var(--leaf); padding: 24px 0 48px; }
.foot-grid { display: grid; gap: 24px; }
.foot p { font-size: 12px; line-height: 18px; margin-top: 16px; }
.foot-h { font: 600 12px/20px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 12px; line-height: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .strong { font-weight: 700; }

/* ---------- Desktop (their lg = 992px) ---------- */
@media (min-width: 992px) {
  body { font-size: 18px; line-height: 28px; }
  .sec { padding: 104px 0; }
  .top { padding: 20px 0; }
  .top .wrap { flex-wrap: nowrap; }
  .brand img { width: 46px; height: 46px; }
  .brand .name { font-size: 31px; }
  .brand .by { font-size: 13px; }
  .menu { display: none; }
  .links { display: flex; align-items: center; gap: 32px; margin-left: auto; font-size: 16px; font-weight: 500; }
  .links > a { text-decoration: none; }
  .top-btns { width: auto; gap: 11px; margin-left: 32px; }
  .top-btns .btn { flex: none; min-height: 56px; }
  .top-btns .btn.out { width: 170px; } .top-btns .btn.dark { width: 164px; }

  .hero { padding: 104px 0; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .hero h1 { font-size: 84px; line-height: 84px; margin-bottom: 24px; }
  .lead { font-size: 16px; line-height: 24px; margin-right: 10px; }
  .hero-icons { justify-content: flex-start; gap: 16px; }
  .hero-icons svg { width: 147px; }
  .card-form { padding: 40px; }
  .card-form h2 { font-size: 24px; line-height: 30px; }
  .card-form .intro { font-size: 16px; line-height: 24px; }
  .fields { grid-template-columns: 1fr 1fr; }
  .field.full { grid-column: 1 / -1; }
  .legal { text-align: center; }

  .strip { padding: 32px 0; }
  .strip ul { display: flex; justify-content: space-around; }
  .strip li { font-size: 14px; line-height: 20px; }

  .h2 { font-size: 72px; line-height: 80px; }
  .sub { font-size: 18px; line-height: 26px; margin-top: 24px; }
  .head { margin-bottom: 64px; }

  .code-grid { grid-template-columns: repeat(5, 1fr); }
  .code-card { padding: 44px 16px 24px; }
  .code-card::before { right: 0; bottom: auto; width: auto; height: 20px; }
  .code-card h3 { font-size: 24px; line-height: 30px; }
  .code-card p { font-size: 16px; line-height: 24px; margin-bottom: 16px; }

  .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .statement .big { font-size: 40px; line-height: 44px; }
  .file { font-size: 16px; }
  .file table { font-size: 16px; }
  .file th, .file td { padding: 12px 20px; }
  .note { font-size: 16px; line-height: 24px; }

  .steps { grid-template-columns: 1fr 1fr; }
  .step { padding: 32px 24px; font-size: 16px; line-height: 24px; }
  .btn-row { margin-top: 64px; }

  .get-head { grid-template-columns: 2fr 1fr; }
  .get-head .btn { justify-self: end; }
  .checks3 { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .checks3 h3 { font-size: 24px; line-height: 30px; }
  .checks3 p { font-size: 16px; line-height: 24px; }

  .why .wrap { width: min(1076px, 100% - 32px); }
  .why-grid { grid-template-columns: 5fr 7fr; gap: 0 48px; }
  .why-top { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: flex-start; margin-bottom: 64px; }
  .why h3 { font-size: 24px; line-height: 30px; }
  .why .copy { font-size: 16px; line-height: 24px; }
  .ticks { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .ticks li { font-size: 14px; line-height: 20px; }

  .next .split { gap: 48px; }
  .next .sub { margin: 24px 0 40px; }
  .rows li { font-size: 16px; line-height: 24px; }

  .band .split { gap: 48px; }
  .band h3 { font-size: 24px; line-height: 30px; margin: 16px 0; }
  .band p { font-size: 16px; line-height: 24px; }
  .band .hound { width: 420px; bottom: -160px; }
  .band .fields { grid-template-columns: 1fr 1fr; }
  .band .legal { text-align: left; }

  .faq-grid { grid-template-columns: 5fr 7fr; gap: 48px; }
  .faq h2 { text-align: left; margin-bottom: 0; }
  .qa summary { font-size: 22px; line-height: 30px; }
  .qa p { font-size: 16px; line-height: 24px; }
  .faq-more { margin-top: 60px; }

  .foot { padding: 40px 0 56px; }
  .foot-grid { grid-template-columns: 6fr 2fr 2fr 2fr; gap: 24px; }
  .foot-grid > :first-child { grid-column: 1; }
  .foot p { font-size: 14px; line-height: 20px; }
  .foot-h { font-size: 14px; line-height: 24px; margin-bottom: 24px; }
  .foot ul { font-size: 14px; line-height: 20px; gap: 16px; }
}

@media (max-width: 639px) {
  main .btn, .band .card-form .btn { width: 100%; min-width: 0; }
}
@media (max-width: 991px) {
  .band .hound { display: none; }
}
@media (min-width: 640px) {
  .step { grid-template-columns: 40px 1fr 32px; }
  .step svg { display: block; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ==== 10-pages.css ==== */
/*
 * 10-pages.css — home (index), /for-billing-companies, /security, 404 and the
 * /brand styleguide. Layouts adapted from the reference: home template,
 * whiplash sub-page template, about template.
 */

/* ---------- Shared bits ---------- */
.pg-beige { background: var(--beige); }
.pg-plain { background: var(--cream); }
.pg-micro { font-size: 13px; line-height: 20px; color: var(--muted); margin-top: 16px; }
.pg-micro a { color: inherit; font-weight: 600; }

/* Status pill (sample cards, status columns) */
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--rule); background: var(--beige); font: 600 11px/18px var(--mono); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; color: var(--ink); }
.tag.ok { background: var(--mint); border-color: #9fcf99; }
.tag.info { background: var(--p1); border-color: #b3c1ee; }
.tag.warn { background: var(--p4); border-color: #eec98f; }
.tag.bad { background: var(--p7); border-color: #e7b2b0; }

/* ---------- Sample review card (cream, reference style) ---------- */
.rv { background: var(--sage); }
.rv-card { display: block; max-width: 880px; margin-inline: auto; background: var(--cream); border: 1px solid var(--ink); border-radius: 12px; padding: 20px 16px; text-decoration: none; color: var(--ink); }
a.rv-card:hover { box-shadow: 0 6px 18px rgba(37, 57, 42, .12); }
.rv-card > span { display: block; }
.rv-top { display: flex !important; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; line-height: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.rv-top b { font-weight: 700; }
.rv-sum { display: flex !important; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--ink); }
.rv-sum > span { display: block; }
.rv-k { display: block; font: 600 11px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rv-big { display: block; font: 700 44px/48px var(--serif); margin-top: 4px; }
.rv-rows { display: block; }
/* One grid for every row, so all columns line up (the old CO 29 row did not). */
.rv-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "code why amt" "code tag tag"; column-gap: 12px; row-gap: 6px; align-items: center; padding: 12px 0; border-bottom: 1px solid #ece7dc; font-size: 14px; line-height: 20px; }
.rv-row:last-child { border-bottom: 0; }
.rv-code { grid-area: code; align-self: start; font: 600 13px/20px var(--mono); }
.rv-why { grid-area: why; min-width: 0; }
.rv-amt { grid-area: amt; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.rv-row .tag { grid-area: tag; justify-self: start; }
.rv-row.lost .rv-why, .rv-row.lost .rv-amt { color: var(--muted); }
.rv-row.lost .rv-amt { text-decoration: line-through; }
.rv-foot { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 14px; font-weight: 700; }
.rv-foot.quiet { font-weight: 400; color: var(--muted); }
a.rv-card .rv-foot { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Home: number cards, doors, before/after ---------- */
.hm-stats, .hm-doors { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.hm-stats li:nth-child(1) { --bar: var(--p1); } .hm-stats li:nth-child(2) { --bar: var(--p2); }
.hm-stats li:nth-child(3) { --bar: var(--p3); } .hm-stats li:nth-child(4) { --bar: var(--p4); }
.hm-doors li:nth-child(1) { --bar: var(--p9); } .hm-doors li:nth-child(2) { --bar: var(--p5); }
.code-card .hm-num { font-size: 40px; line-height: 44px; }
.hm-price { text-align: center; margin-top: 32px; font-weight: 700; }
.hm-ba { display: grid; gap: 16px; }
.hm-ba td code { font: 600 13px var(--mono); }
.hm-ba td.hm-wrap { white-space: normal; width: 100%; }

/* ---------- Home: citation card in the why block ---------- */
.why-foot { grid-column: 1 / -1; }
.why h3 + .cite-card { margin-top: 24px; }
.why .copy p strong { font-weight: 700; }
.why .copy a { font-weight: 600; }
.cite-card { background: #fff; border: 1px solid var(--ink); border-radius: 12px; padding: 20px 16px; }
.cite-h { font: 600 11px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.cite-letter { font: 400 15px/24px var(--sans); background: var(--cream); border-left: 4px solid var(--orange); padding: 12px 16px; margin: 12px 0; }
.cite-n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font: 600 11px/1 var(--sans); vertical-align: 2px; }
.cite-src { font-size: 13px; line-height: 20px; color: var(--muted); margin-top: 8px; }
.cite-src strong { color: var(--ink); }
.cite-src a { color: var(--ink); font-weight: 600; }
.kv { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid #ece7dc; font-size: 14px; line-height: 20px; }
.kv span { font: 600 11px/20px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kv b { font-weight: 600; }

/* ---------- Billing: sub-page hero sub-line, 5 steps ---------- */
.pg-subline { font: 700 20px/26px var(--serif); margin-bottom: 16px; text-wrap: balance; }
.hero .btn.out { margin-top: 0; }
.pg-pair { display: grid; gap: 16px; margin-top: 24px; font-size: 16px; line-height: 24px; }
.pg-pair strong { font-weight: 700; }
.pg-steps5 .step:nth-child(4) { background: var(--p7); }
.pg-steps5 .step:nth-child(5) { background: var(--p1); }
.get .sub a { font-weight: 600; }
.next .pg-micro { margin-top: 16px; }

/* ---------- About template (security, 404) ---------- */
.ab-intro { background: var(--cream); text-align: center; }
.ab-intro .wrap { max-width: 860px; }
.ab-intro h1 { font-size: 44px; line-height: 48px; margin-bottom: 24px; }
.ab-intro p { font-size: 16px; line-height: 24px; margin-top: 16px; }
.ab-intro code { font: 600 14px var(--mono); }

.ab-diff { background: var(--mint); text-align: center; }
.ab-diff .h2 { margin-bottom: 40px; }
.ab-tiles { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 16px; max-width: 1076px; }
.ab-tiles li { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 12px; padding: 24px; text-align: left; }
.ab-tiles svg { width: 64px; height: 64px; flex: none; stroke-width: 1.4; }
.ab-tiles p { font-size: 16px; line-height: 24px; font-weight: 600; }
.ab-tiles b { display: block; font: 600 12px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

.ab-mission { background: var(--cream); text-align: center; }
.ab-mission .wrap { max-width: 1076px; }
.ab-mission h2 { font-size: 34px; line-height: 40px; }

.ab-block { background: var(--cream); }
.ab-block.pg-beige { background: var(--beige); }
.ab-grid { display: grid; gap: 32px; }
.ab-grid > * { min-width: 0; }
.ab-log { margin-top: 32px; }
.ab-list { list-style: none; margin: 0; padding: 0; }
.ab-list li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.ab-list li:first-child { padding-top: 0; }
.ab-list h3 { font-size: 18px; line-height: 26px; margin-bottom: 4px; }
.ab-list p { font-size: 14px; line-height: 20px; }
.ab-list strong { font-weight: 700; }
.ab-status { display: grid; gap: 32px; }
.ab-status-h { margin-bottom: 16px; }
.ab-status .tag { font-size: 12px; padding: 4px 12px; }

.log-row { display: grid !important; grid-template-columns: 48px 72px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid #ece7dc; font-size: 14px; line-height: 20px; }
.log-row time { font: 600 12px/20px var(--mono); color: var(--muted); }
.log-row b { font-weight: 600; }
.log-row code { font: 600 12px var(--mono); }

.ab-contact { background: var(--beige); text-align: center; }
.ab-contact img { width: 200px; height: auto; margin: 0 auto 8px; }
.ab-contact .h2, .ab-contact h1 { margin-bottom: 24px; }
.ab-contact p { font-size: 16px; line-height: 24px; }
.ab-contact p a { font-weight: 600; }
.ab-contact .btn { margin-top: 40px; min-width: 214px; }
.nf h1 { font-size: 44px; line-height: 48px; }
.nf img { width: 280px; }
.nf .btn-row { margin-top: 40px; }
.nf .btn-row .btn { margin-top: 0; }

/* ---------- Styleguide (/brand) ---------- */
.sg { background: var(--cream); }
.sg .sub { margin-bottom: 32px; }
.sg-h3 { font-size: 18px; line-height: 26px; margin: 32px 0 16px; }
.sg-gap { margin-top: 64px; margin-bottom: 24px; }
.sg-gap0 { margin-bottom: 40px; }
.sg-sw { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.sg-sw li { font-size: 13px; line-height: 18px; }
.sg-sw span { display: block; height: 64px; border-radius: 8px; border: 1px solid var(--rule); margin-bottom: 8px; }
.sg-sw b { display: block; font: 600 12px/18px var(--mono); }
.sg-sw code { font: 600 12px var(--mono); color: var(--muted); }
.sg-type { display: grid; gap: 32px; }
.sg-type code { font: 600 13px var(--mono); margin-right: 8px; }
.sg-type > div { font-size: 14px; color: var(--muted); }
.sg-serif { font: 700 44px/48px var(--serif); color: var(--ink); margin-top: 8px; }
.sg-sans { font: 400 18px/28px var(--sans); color: var(--ink); margin-top: 8px; }
.sg-mono { font: 600 14px/20px var(--mono); text-transform: uppercase; color: var(--ink); margin-top: 8px; }
.sg-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.sg-dark { background: var(--green); padding: 24px; border-radius: 12px; }
.sg-2 { display: grid; gap: 32px; }
.sg .hm-stats { margin-bottom: 16px; }
.sg-steps { margin-top: 0; }

/* ---------- Desktop ---------- */
@media (min-width: 640px) {
  .rv-card { padding: 28px 32px; }
  .rv-row { grid-template-columns: 80px minmax(0, 1fr) 96px 150px; grid-template-areas: "code why amt tag"; }
  .rv-row .tag { justify-self: end; }
  .rv-big { font-size: 56px; line-height: 60px; }
  .hm-stats { grid-template-columns: 1fr 1fr; }
  .hm-doors { grid-template-columns: 1fr 1fr; }
  .ab-tiles { grid-template-columns: repeat(3, 1fr); }
  .ab-status { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .hm-stats { grid-template-columns: repeat(4, 1fr); }
  .hm-doors { max-width: 1076px; margin-inline: auto; gap: 24px; }
  .hm-doors .code-card { padding: 52px 32px 32px; }
  .hm-doors .code-card h3 { font-size: 34px; line-height: 40px; margin-bottom: 8px; }
  .code-card .hm-num { font-size: 56px; line-height: 60px; }
  .hm-price { margin-top: 40px; }
  .why .cite-card { padding: 24px 28px; }
  .cite-letter { font-size: 17px; line-height: 27px; }

  .pg-subline { font-size: 24px; line-height: 30px; margin-bottom: 24px; }
  .pg-micro { font-size: 14px; }

  .ab-intro h1 { font-size: 84px; line-height: 84px; }
  .ab-intro p { font-size: 18px; line-height: 26px; }
  .ab-diff .h2 { margin-bottom: 64px; }
  .ab-tiles { gap: 24px; }
  .ab-tiles li { flex-direction: column; text-align: center; padding: 48px 44px; gap: 16px; }
  .ab-tiles svg { width: 92px; height: 92px; }
  .ab-tiles p { font-size: 18px; line-height: 26px; }
  .ab-mission h2 { font-size: 56px; line-height: 64px; }
  .ab-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .ab-list h3 { font-size: 22px; line-height: 30px; }
  .ab-list p { font-size: 16px; line-height: 24px; }
  .ab-list li { padding: 20px 0; }
  .ab-contact img { width: 220px; margin-bottom: 16px; }
  .ab-contact p { font-size: 18px; line-height: 26px; }
  .ab-contact .btn { margin-top: 64px; }
  .nf h1 { font-size: 72px; line-height: 80px; }
  .nf img { width: 360px; }

  .sg-2 { grid-template-columns: 7fr 5fr; align-items: start; }
  .sg-serif { font-size: 72px; line-height: 80px; }
}
@media (max-width: 639px) {
  .nf .btn-row .btn, .ab-contact .btn { width: 100%; }
}

/* ==== 20-denial.css ==== */
/*
 * 20-denial.css — the generated denial pages (scripts/build-denial-pages.ts):
 * /denial-codes/ (index, CARC and RARC pages), /appeal-letter/,
 * /medicare-redetermination/, /medicare-timely-filing-limit/.
 *
 * Built on 00-base.css components (hero, strip, statement, steps-sec, get,
 * code-grid, faq, band). Only what those pages add lives here, all prefixed
 * dn- except the step/check/card colour extensions for longer lists.
 */

/* ---------- Hero extras ---------- */
.dn .hero .eyebrow { margin-bottom: 12px; }
.dn-sub { font: 700 18px/26px var(--sans); margin-bottom: 12px; }
.dn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.dn-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 12px; border: 1px solid var(--ink); border-radius: 999px; background: var(--cream); font: 600 12px/16px var(--mono); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
a.dn-chip:hover { background: #fff; }
.dn-chip.ok { background: var(--mint); }
.dn-chip.info { background: var(--p9); }
.dn-chip.warn { background: var(--p4); }
.dn-hero-short { padding-bottom: 48px; }
.dn-hero-short h1 { margin-bottom: 16px; }
.dn-most-box { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); }
.dn-h2 { font-size: 24px; line-height: 30px; }
.dn-most-box .dn-src { margin-top: 8px; }
.dn-most { margin-top: 12px; font-weight: 600; }
.dn-most a { white-space: nowrap; }
.faq-more.dn-most { font-weight: 400; font-size: 14px; line-height: 22px; }
.faq-more.dn-most a { font-weight: 700; }

/* ---------- Text helpers ---------- */
.dn-narrow { max-width: 860px; margin-inline: auto; }
.dn-hero-short .dn-narrow { margin-inline: 0; }
.dn-src { font-size: 14px; line-height: 20px; color: var(--muted); }
.dn-muted { color: var(--muted); }
.dn-center-text { text-align: center; margin-top: 24px; }
.dn-body > * + * { margin-top: 16px; }
.dn-body h3 { font-size: 22px; line-height: 28px; margin-top: 32px; }
.dn .statement .big + .dn-src { margin-top: 16px; }
.dn-cream { background: var(--cream); }
.dn-white { background: #fff; }
.dn-block + .head { margin-top: 80px; }

/* ---------- Callout (verdict, common mistake, notes) ---------- */
.dn-callout { position: relative; background: #fff; color: var(--ink); border: 1px solid var(--ink); border-radius: 12px; padding: 16px 16px 16px 32px; font-size: 14px; line-height: 20px; overflow: hidden; }
.dn-callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: var(--bar, var(--p2)); }
.dn-callout.info { --bar: var(--p9); }
.dn-callout.warn { --bar: var(--orange); }
.dn-callout a { font-weight: 600; }
.dn-on-dark { max-width: 1076px; margin: 16px auto 0; border-color: transparent; }
.steps + .dn-on-dark { margin-top: 32px; }

/* ---------- Tables ---------- */
.dn-table-wrap { background: #fff; border: 1px solid var(--ink); border-radius: 12px; overflow-x: auto; }
.dn-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.dn-table th, .dn-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #ece7dc; }
.dn-table th { font: 600 11px/16px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dn-table tr:last-child td { border-bottom: 0; }
.dn-table td:first-child { white-space: nowrap; }
.dn-table td:first-child a { font-weight: 700; }
.dn-table.dn-wide td:first-child { white-space: normal; min-width: 150px; max-width: 280px; }
.dn-table.dn-facts td:first-child { width: 34%; white-space: normal; }
.dn-tight { margin: 0; padding-left: 18px; }
.dn-tight li + li { margin-top: 4px; }

/* ---------- Steps: more than 3 cards (reference colour order) ---------- */
.dn .step:nth-child(4) { background: var(--p7); } .dn .step:nth-child(5) { background: var(--p1); }
.dn .step:nth-child(6) { background: var(--beige); } .dn .step:nth-child(7) { background: var(--p4); }
.dn .steps-sec h3 { color: var(--cream); font-size: 24px; line-height: 30px; }
.dn .steps-sec .sub a { color: var(--cream); }
.dn-h3 { margin-bottom: 32px; }
.dn-h3 .sub { margin-top: 8px; }
.dn-after { max-width: 860px; margin: 40px auto 0; text-align: center; font-size: 14px; line-height: 20px; }

/* ---------- Check grid: longer lists, plain items ---------- */
.dn .checks3 li:nth-child(4) .dot { background: var(--p4); } .dn .checks3 li:nth-child(5) .dot { background: var(--p6); } .dn .checks3 li:nth-child(6) .dot { background: var(--p3); }
.dn-checks p { font: 700 18px/26px var(--serif); }
.dn .get .sub a { font-weight: 600; }

/* ---------- Centered "time limits" block ---------- */
.dn-limit { background: var(--beige); text-align: center; }
.dn-limit .wrap { max-width: 1076px; }
.dn-limit h2 { margin-bottom: 40px; }
.dn-lede { font-size: 16px; line-height: 24px; max-width: 860px; margin: 0 auto 24px; }
.dn-lede:last-child { margin-bottom: 0; }
.dn-label { font-weight: 600; margin-bottom: 16px; }
.dn-list { list-style: none; margin: 0 auto 32px; padding: 0; max-width: 860px; text-align: left; border-top: 1px solid var(--rule); }
.dn-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 14px; line-height: 20px; }
.dn-list .dot { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); margin-top: -4px; }
.dn-list .dot svg { width: 18px; height: 18px; stroke-width: 1.8; }
.dn-list li:nth-child(2) .dot { background: var(--p7); } .dn-list li:nth-child(3) .dot { background: var(--p1); } .dn-list li:nth-child(4) .dot { background: var(--p4); }

/* ---------- Sources ---------- */
.dn-sources { background: var(--mint); }
.dn-sources .rows a { font-weight: 600; word-break: break-word; }

/* ---------- Code card grids (index groups, related codes) ---------- */
.dn-grid li:nth-child(10n+1) { --bar: var(--p1); } .dn-grid li:nth-child(10n+2) { --bar: var(--p2); }
.dn-grid li:nth-child(10n+3) { --bar: var(--p3); } .dn-grid li:nth-child(10n+4) { --bar: var(--p4); }
.dn-grid li:nth-child(10n+5) { --bar: var(--p5); } .dn-grid li:nth-child(10n+6) { --bar: var(--p6); }
.dn-grid li:nth-child(10n+7) { --bar: var(--p7); } .dn-grid li:nth-child(10n+8) { --bar: var(--p8); }
.dn-grid li:nth-child(10n+9) { --bar: var(--p9); } .dn-grid li:nth-child(10n) { --bar: var(--p10); }
.dn-group + .dn-group { margin-top: 64px; }
.dn-group-head { margin-bottom: 24px; }
.dn-group-head p { margin-top: 8px; font-size: 16px; line-height: 24px; max-width: 760px; }

@media (min-width: 640px) {
  .dn-grid { grid-template-columns: 1fr 1fr; }
  .checks3.dn-four-col { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 992px) {
  .dn-sub { font-size: 20px; line-height: 28px; }
  .dn-hero-short { padding: 88px 0 64px; }
  .dn-hero-short .lead { font-size: 18px; line-height: 28px; }
  .dn-h2 { font-size: 34px; line-height: 40px; }
  .dn-src { font-size: 15px; line-height: 22px; }
  .dn-callout { font-size: 16px; line-height: 24px; padding: 20px 24px 20px 40px; }
  .dn-table { font-size: 16px; line-height: 24px; }
  .dn-table th, .dn-table td { padding: 14px 20px; }
  .dn-body h3 { font-size: 28px; line-height: 34px; }
  .dn-block { align-items: start; }
  .dn-block + .head { margin-top: 104px; }
  .dn-grid { grid-template-columns: repeat(5, 1fr); }
  .code-grid.dn-four { grid-template-columns: repeat(4, 1fr); }
  .checks3.dn-four-col { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .dn-checks p { font-size: 22px; line-height: 30px; }
  .dn-after { font-size: 16px; line-height: 24px; }
  .dn-limit h2 { margin-bottom: 64px; }
  .dn-lede { font-size: 18px; line-height: 28px; margin-bottom: 40px; }
  .dn-list li { font-size: 16px; line-height: 24px; }
  .dn-group + .dn-group { margin-top: 104px; }
  .dn-group-head { margin-bottom: 40px; }
  .dn-group-head p { font-size: 18px; line-height: 26px; }
}

/* p.big (statement line that is not the section heading) keeps the serif */
.dn p.big { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }

/* Code pages carry "CO 197: Prior Authorization Absent" as the H1, which is
   longer than the other heroes; the reference's sub-pages also run a size down. */
@media (min-width: 992px) {
  main.dn .hero h1 { font-size: 68px; line-height: 70px; }
}

/* ==== 30-compare.css ==== */
/*
 * 30-compare.css: /compare/ (hub + versus pages), /pricing, /privacy, /terms.
 * Built on 00-base.css. Cards follow the reference: white or cream, 1px ink
 * border, radius 12px, a pastel bar on top (the code-card look).
 */

/* ---------- Sub-page hero (compare, pricing) ---------- */
.sub-hero h1 { font-size: 44px; line-height: 46px; }
.sub-hero .lead { font-size: 16px; line-height: 24px; }
.sub-hero .btn-line { display: flex; flex-wrap: wrap; gap: 12px; }
.crumb a { text-decoration: underline; text-underline-offset: 3px; }
.dated { font-size: 14px; line-height: 20px; color: var(--muted); margin-top: 16px; }

/* ---------- Pastel-bar card (verdict, product, tier, plan) ---------- */
.bar-card { position: relative; background: #fff; border: 1px solid var(--ink); border-radius: 12px; overflow: hidden; padding: 40px 20px 24px; }
.bar-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px; background: var(--bar, var(--p1)); }
.bar-card h2 { font-size: 22px; line-height: 28px; margin-bottom: 16px; letter-spacing: 0; }
.bar-card h3 { font-size: 20px; line-height: 26px; margin-bottom: 4px; }
.bar-card > p { font-size: 15px; line-height: 22px; }
.bar-card > p + p { margin-top: 12px; }
.bar-card .btn { margin-top: 24px; }
.bar-card.cream { background: var(--cream); }
.bar-card.bar-mint { --bar: var(--mint); } .bar-card.bar-sun { --bar: var(--p4); }
.bar-card.bar-lav { --bar: var(--p3); } .bar-card.bar-rose { --bar: var(--p7); }

/* Tick list inside cards */
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; line-height: 22px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; stroke-width: 2.4; color: var(--green); }
.tick-list strong { font-weight: 700; }

/* ---------- Comparison table ---------- */
.tbl-sec { background: #fff; }
.tbl-sec .head { margin-bottom: 32px; }
.tbl { background: var(--cream); border: 1px solid var(--ink); border-radius: 12px; overflow-x: auto; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.tbl thead th { font: 600 11px/16px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); background: var(--beige); border-bottom: 1px solid var(--ink); white-space: nowrap; }
.tbl tbody th { font-weight: 700; }
.tbl tr:last-child td, .tbl tr:last-child th { border-bottom: 0; }
.tbl tr.us { background: var(--mint); }
.tbl .num { font: 600 13px var(--mono); }
.tbl .who { display: block; font-size: 13px; line-height: 18px; color: var(--muted); font-weight: 400; }
.tbl.wide table { min-width: 820px; }
.tbl.pair table { min-width: 600px; }
.tbl.pair td { width: 40%; }
.src { display: inline-block; font-size: 12px; line-height: 16px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; margin-left: 2px; }
.tbl-note { font-size: 14px; line-height: 20px; color: var(--muted); margin-top: 16px; }
.mark { display: inline-block; padding: 2px 10px; border-radius: 999px; font: 600 12px/18px var(--mono); text-transform: uppercase; letter-spacing: .04em; border: 1px solid var(--ink); white-space: nowrap; }
.mark.yes { background: var(--leaf); } .mark.part { background: var(--p8); } .mark.no { background: var(--p7); }

/* ---------- Criteria + product cards (hub) ---------- */
.crit-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.crit-grid li { background: var(--cream); border-bottom: 1px solid var(--ink); padding: 14px 16px; font-size: 14px; line-height: 20px; }
.crit-grid strong { display: block; font: 700 18px/24px var(--serif); margin-bottom: 2px; }
.prod-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.prod-grid > li:nth-child(6n+1) .bar-card { --bar: var(--p1); } .prod-grid > li:nth-child(6n+2) .bar-card { --bar: var(--p2); }
.prod-grid > li:nth-child(6n+3) .bar-card { --bar: var(--p3); } .prod-grid > li:nth-child(6n+4) .bar-card { --bar: var(--p4); }
.prod-grid > li:nth-child(6n+5) .bar-card { --bar: var(--p5); } .prod-grid > li:nth-child(6n+6) .bar-card { --bar: var(--p6); }
.prod-grid .bar-card { height: 100%; display: flex; flex-direction: column; }
.plabel { display: block; font: 600 12px/16px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 12px; }
.facts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; line-height: 20px; }
.facts li { padding-top: 8px; border-top: 1px solid var(--rule); }
.facts b { font-weight: 700; }
.card-link { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 700; }
.fine { font-size: 14px; line-height: 20px; color: var(--muted); margin-top: 16px; }
.own-card { margin-top: 32px; }

/* ---------- Disclosure ---------- */
.disclose { background: var(--cream); border: 1px solid var(--ink); border-radius: 12px; padding: 20px; font-size: 14px; line-height: 20px; }
.disclose strong { font-weight: 700; }
.disclose-sec { background: #fff; padding-top: 0; }

/* Lists in the beige statement split */
.statement .rows li { background: var(--cream); }
.rows.plain li { display: block; }

/* ---------- Dark CTA band without a form ---------- */
.band-cta { text-align: center; }
.band-cta .wrap { max-width: 860px; }
.band-cta .eyebrow { color: var(--cream); }
.band-cta p { margin-top: 16px; }
.band-cta .btn-row { margin-top: 32px; }
.band-cta .cta-small { font-size: 13px; opacity: .85; }

/* ---------- Pricing ---------- */
.band .band-lead { margin-top: 24px; }
.jump-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.jump-list a { display: block; text-decoration: none; }
.jump-list a:hover { box-shadow: 0 6px 18px rgba(37, 57, 42, .12); }
.jump-list .more { display: block; margin-top: 12px; font-size: 12px; line-height: 16px; font-weight: 700; }
.tier-grid { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 16px; }
.tier-grid li:nth-child(1) .bar-card { --bar: var(--p1); } .tier-grid li:nth-child(2) .bar-card { --bar: var(--p2); } .tier-grid li:nth-child(3) .bar-card { --bar: var(--p3); }
.bar-card .amt { font: 700 48px/52px var(--serif); letter-spacing: -.01em; }
.bar-card h3 + .tick-list, .plan-sub + .tick-list { margin-top: 12px; }
.amt-unit { display: block; font-size: 15px; line-height: 22px; margin-top: 4px; }
.plan-row { display: grid; gap: 16px; align-items: stretch; }
.plan-row > * { min-width: 0; }
.plan-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.plan-head h3 { margin: 0; }
.plan-sub { font-size: 14px; line-height: 20px; color: var(--muted); margin: 4px 0 20px; }
.price-alt { background: var(--beige); }
.offer-card { background: var(--green); color: var(--cream); border-radius: 12px; padding: 24px 20px; }
.offer-card .eyebrow { color: var(--cream); }
.offer-card h3 { color: var(--cream); font-size: 22px; line-height: 28px; margin-bottom: 12px; }
.offer-card p { font-size: 15px; line-height: 22px; }
.offer-card p + p { margin-top: 12px; }
.offer-card a { color: var(--cream); font-weight: 700; }

/* Yearly / monthly switch, no script: radio inputs + :has() */
.period { display: inline-flex; border: 1px solid var(--ink); border-radius: 999px; padding: 3px; background: var(--cream); }
.period input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.period label { display: block; padding: 4px 14px; border-radius: 999px; cursor: pointer; font: 600 13px/20px var(--sans); }
.period input:checked + label { background: var(--green); color: #fff; }
.period input:focus-visible + label { outline: 3px solid var(--green); outline-offset: 2px; }
.plan-card .is-monthly { display: none; }
.plan-card:has(.period input[value=monthly]:checked) .is-monthly { display: inline; }
.plan-card:has(.period input[value=monthly]:checked) .is-yearly { display: none; }

/* ---------- Legal pages (reference privacy-policy.html) ---------- */
.legal-doc { background: var(--cream); padding: 48px 0 64px; }
.legal-doc .wrap { width: min(860px, 100% - 32px); }
.legal-doc h1 { font-size: 44px; line-height: 48px; margin-bottom: 12px; }
.legal-date { font: 600 12px/16px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 32px; }
.legal-doc h2 { font-size: 24px; line-height: 30px; margin: 40px 0 12px; }
.legal-doc h3 { font-size: 19px; line-height: 26px; margin: 28px 0 8px; }
.legal-doc p, .legal-doc li { font-size: 16px; line-height: 26px; }
.legal-doc p + p { margin-top: 14px; }
.legal-doc ul { margin: 12px 0 14px; padding-left: 20px; }
.legal-doc li + li { margin-top: 6px; }
.legal-doc a { text-underline-offset: 3px; }
.legal-doc strong { font-weight: 700; }
.legal-lead { font-size: 18px !important; line-height: 28px !important; }
.legal-note { background: #fff; border: 1px solid var(--ink); border-radius: 12px; padding: 16px 20px; margin: 12px 0 16px; }
.legal-addr { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); }
.legal-addr p { font-size: 14px; line-height: 22px; color: var(--muted); }
.legal-addr p + p { margin-top: 4px; }

@media (min-width: 640px) {
  .prod-grid, .tier-grid, .crit-grid { grid-template-columns: 1fr 1fr; }
  .tier-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
  .sub-hero h1 { font-size: 64px; line-height: 68px; }
  .sub-hero .lead { font-size: 18px; line-height: 28px; }
  .bar-card { padding: 44px 28px 32px; }
  .bar-card h2 { font-size: 26px; line-height: 32px; }
  .bar-card h3 { font-size: 24px; line-height: 30px; }
  .bar-card > p, .tick-list { font-size: 16px; line-height: 24px; }
  .tbl table { font-size: 16px; line-height: 24px; }
  .tbl th, .tbl td { padding: 16px 20px; }
  .tbl .who { font-size: 14px; }
  .src { font-size: 13px; }
  .crit-grid li, .facts { font-size: 16px; line-height: 24px; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .disclose { padding: 28px 32px; font-size: 16px; line-height: 24px; }
  .band-cta p { font-size: 18px; line-height: 28px; }
  .jump-list { margin-top: 8px; }
  .bar-card .amt { font-size: 64px; line-height: 68px; }
  .plan-row { grid-template-columns: 7fr 5fr; gap: 24px; }
  .offer-card { padding: 40px 32px; }
  .offer-card h3 { font-size: 28px; line-height: 34px; }
  .offer-card p { font-size: 16px; line-height: 24px; }
  .legal-doc { padding: 96px 0 120px; }
  .legal-doc h1 { font-size: 64px; line-height: 68px; }
  .legal-doc h2 { font-size: 30px; line-height: 36px; margin-top: 56px; }
  .legal-doc h3 { font-size: 22px; line-height: 28px; }
  .legal-doc p, .legal-doc li { font-size: 18px; line-height: 28px; }
  .legal-lead { font-size: 20px !important; line-height: 30px !important; }
}
