/* TruckersProtect, "Denim and Hi-Vis" (warm family redesign, 2026-11-11).
   Warm white ground, soft denim and peach tints, big documentary photos of drivers at home, soft rounded cards.
   Safety orange stays the action color (a FILL with dark ink on it). Orange as text is --link. Deep denim is the dark band.
   Bricolage Grotesque headlines, Figtree body. The logo keeps its own Barlow Condensed wordmark and box mark.
   Siblings stay distinct. ProtectCasa is sand and aubergine with coral, InsureTerm green and yellow, Christian Protection chapel blue and gold. */

:root {
  color-scheme: light;
  --tp-ink: #1F2733; --tp-ink-2: #4E5866; --tp-ground: #FFFAF4; --tp-surface: #FFFFFF; --tp-denim-tint: #EEF3F8; --tp-peach: #FFF0E3;
  --tp-hiviz: #FF6B1A; --tp-hiviz-hover: #FF8540; --tp-hiviz-ink: #A84300; --tp-denim: #1F3047; --tp-denim-2: #2C4260;
  --ground: var(--tp-ground); --surface: var(--tp-surface); --tint: var(--tp-denim-tint); --text: var(--tp-ink); --text-2: var(--tp-ink-2);
  --link: var(--tp-hiviz-ink); --accent: var(--tp-hiviz); --accent-hover: var(--tp-hiviz-hover); --on-accent: #1A1F27; --wash: var(--tp-peach);
  --rule: #E8DFD3; --rule-strong: #8C8F96;
  --band: var(--tp-denim); --band-2: var(--tp-denim-2); --on-band: #FFFFFF; --on-band-2: #D5DEEA; --band-rule: #3A5070; --band-accent: #FFB27A;
  --focus: #A84300; --focus-on-band: #FFB27A;
  --log-pays: #2D5B8C; --log-gap: var(--tp-hiviz-ink); --chip: #DCE7F3; --chip-ink: #1F3E63;
  --shadow-sm: 0 1px 2px rgba(31,48,71,.06), 0 2px 10px rgba(31,48,71,.06);
  --shadow: 0 2px 4px rgba(31,48,71,.05), 0 16px 40px rgba(31,48,71,.12);
  --logo-ink: #17191C; --logo-accent: #B04000;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: var(--font-body);
  --font-logo: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --fs-body: clamp(1.0625rem, 1.03rem + 0.15vw, 1.15rem); --fs-small: 0.9375rem; --fs-label: 0.875rem;
  --fs-h1: clamp(2.125rem, 1.5rem + 2.4vw, 3.375rem); --fs-h1-art: clamp(2rem, 1.55rem + 1.8vw, 3rem);
  --fs-h2: clamp(1.625rem, 1.35rem + 1.1vw, 2.25rem); --fs-h3: clamp(1.1875rem, 1.12rem + 0.3vw, 1.375rem);
  --fs-stat: clamp(1.875rem, 1.5rem + 1.4vw, 2.75rem); --lh-body: 1.65;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 104px;
  --gutter: clamp(16px, 4vw, 32px); --w-page: 1200px; --w-measure: 700px; --w-rail: 290px; --section-y: clamp(56px, 7vw, 104px);
  --r-btn: 14px; --r-card: 22px; --r-sm: 14px; --r-field: 12px; --r-photo: 28px; --tap: 48px; --btn-h: 54px;
  --ease: cubic-bezier(.2,.7,.2,1); --t-fast: 140ms;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #12161C; --surface: #1A2029; --tint: #18222E; --text: #F3EFE9; --text-2: #B9C1CC; --wash: #2A1E15;
    --link: #FFA066; --accent: #FF7A2E; --accent-hover: #FF9050; --on-accent: #12161C;
    --rule: #2C3440; --rule-strong: #737D8A;
    --band: #182638; --band-2: #22344B; --on-band: #F3EFE9; --on-band-2: #C6D0DC; --band-rule: #34465E; --band-accent: #FFB27A;
    --focus: #FFA066; --focus-on-band: #FFB27A;
    --log-pays: #8DB8E8; --log-gap: #FFA066; --chip: #22344B; --chip-ink: #D5E3F3;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.3); --shadow: 0 2px 4px rgba(0,0,0,.3), 0 16px 40px rgba(0,0,0,.35);
    --logo-ink: #ECEEEC; --logo-accent: #FF9A5C;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #12161C; --surface: #1A2029; --tint: #18222E; --text: #F3EFE9; --text-2: #B9C1CC; --wash: #2A1E15;
  --link: #FFA066; --accent: #FF7A2E; --accent-hover: #FF9050; --on-accent: #12161C;
  --rule: #2C3440; --rule-strong: #737D8A;
  --band: #182638; --band-2: #22344B; --on-band: #F3EFE9; --on-band-2: #C6D0DC; --band-rule: #34465E; --band-accent: #FFB27A;
  --focus: #FFA066; --focus-on-band: #FFB27A;
  --log-pays: #8DB8E8; --log-gap: #FFA066; --chip: #22344B; --chip-ink: #D5E3F3;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3); --shadow: 0 2px 4px rgba(0,0,0,.3), 0 16px 40px rgba(0,0,0,.35);
  --logo-ink: #ECEEEC; --logo-accent: #FF9A5C;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 var(--fs-body)/var(--lh-body) var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
figure { margin: 0; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.tp-band :focus-visible { outline-color: var(--focus-on-band); }
h1, h2 { font-family: var(--font-display); color: var(--text); letter-spacing: -0.02em; font-optical-sizing: auto; }
h1 { font-size: var(--fs-h1-art); font-weight: 700; line-height: 1.08; margin: var(--s-2) 0 var(--s-4); }
h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.15; margin: var(--s-7) 0 var(--s-3); }
h3 { font: 700 var(--fs-h3)/1.3 var(--font-body); margin: var(--s-5) 0 var(--s-2); }
p { margin: 0 0 var(--s-4); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; 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: 8px; background: var(--accent); color: var(--on-accent); padding: 12px 16px; z-index: 50; font-weight: 700; border-radius: var(--r-btn); clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { clip-path: none; width: auto; height: auto; overflow: visible; }
.wrap { max-width: var(--w-page); margin: 0 auto; padding-inline: var(--gutter); }
.label { display: block; font: 700 var(--fs-label)/1.3 var(--font-body); letter-spacing: .02em; color: var(--link); margin: 0 0 var(--s-2); }
.label-band { color: var(--band-accent); }
.small { font-size: var(--fs-small); }
.nw { white-space: nowrap; }
.num, td.n { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--btn-h); padding: 0 var(--s-5);
  border-radius: var(--r-btn); border: 0; cursor: pointer; text-decoration: none; text-align: center;
  font: 700 1.0625rem/1.15 var(--font-body); transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.btn-cta { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px rgba(255,107,26,.28); }
.btn-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--rule-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--text); }
.btn-onband { background: transparent; color: var(--on-band); box-shadow: inset 0 0 0 1.5px var(--on-band-2); }
.btn-sm { min-height: 44px; font-size: 1rem; padding: 0 var(--s-4); }
.btn[disabled] { opacity: .7; cursor: wait; }
.linkbtn { background: none; border: 0; padding: 0; min-height: 44px; color: var(--link); font: 600 var(--fs-small)/1.3 var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- bands ---------- */
.tp-band { background: var(--band); color: var(--on-band); }
.tp-band a:not(.btn):not(.opt) { color: var(--on-band); }
.ruler { display: none; }

/* ---------- utility bar and header ---------- */
.util { background: var(--tint); color: var(--text-2); font: 500 var(--fs-small)/1.2 var(--font-body); }
.util-in { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 40px; }
.util-line { color: var(--text-2); }
.util-call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); font: 700 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap; }
.util-call svg { color: var(--link); }
.hdr { background: color-mix(in srgb, var(--ground) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.hdr-in { display: flex; align-items: center; gap: var(--s-5); min-height: 70px; }
/* the logo, kept as drawn */
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--logo-ink); flex: none; }
.mark { display: block; width: 30px; height: 30px; border: 3px solid currentColor; border-radius: 4px; position: relative; flex: none; }
.mark::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 4px; margin-top: -2px; background: var(--tp-hiviz); }
.wm { font: 800 1.625rem/1 var(--font-logo); text-transform: uppercase; letter-spacing: .01em; color: var(--logo-ink); }
.wm b { color: var(--logo-accent); font-weight: 800; }
.logo-band .wm, .logo-band { color: var(--on-band); }
.logo-band .wm b { color: var(--tp-hiviz); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 11px; white-space: nowrap; border-radius: 999px; color: var(--text); text-decoration: none; font: 600 1rem/1 var(--font-body); }
.nav a:hover { background: var(--tint); }
.hdr-cta { flex: none; }
.nav:empty + .hdr-cta { margin-left: auto; }
.hdr-note { margin-left: auto; font: 600 var(--fs-small)/1 var(--font-body); color: var(--text-2); }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: var(--tap); min-width: var(--tap); padding: 0 14px;
  border: 1.5px solid var(--rule-strong); border-radius: 999px; cursor: pointer; font: 700 1rem/1 var(--font-body); color: var(--text); background: var(--surface); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav .bars { display: grid; gap: 4px; margin: 0; }
.mnav .bars i { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.mnav nav { position: absolute; right: 0; top: calc(100% + 10px); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-card); box-shadow: var(--shadow);
  min-width: 270px; max-width: calc(100vw - 32px); padding: var(--s-2); display: grid; z-index: 30; }
.mnav nav a { display: flex; align-items: center; min-height: var(--tap); padding: 0 var(--s-3); border-radius: var(--r-field); color: var(--text); text-decoration: none; font-weight: 600; }
.mnav nav a:hover { background: var(--tint); }

/* ---------- home hero, a big family photo with the copy and the age card resting on it ---------- */
.hero { padding-top: var(--s-5); }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7.2; object-fit: cover; object-position: 50% 42%; border-radius: var(--r-photo); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--s-5); align-items: start;
  margin-top: -150px; padding-inline: var(--s-6); }
.hero-copy { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); padding: var(--s-6) var(--s-6) var(--s-5); }
.hero h1 { font-size: var(--fs-h1); margin: var(--s-2) 0 var(--s-4); max-width: 16em; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 64%, color-mix(in srgb, var(--accent) 38%, transparent) 64%); padding-inline: 2px; }
.hero .dek { color: var(--text-2); max-width: 44ch; font-size: 1.15rem; }
.hero-act { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-5) 0; }
.hero-note { color: var(--text-2); font-size: var(--fs-small); max-width: 52ch; margin: 0; }
.qcard { background: var(--surface); color: var(--text); border-radius: var(--r-card); box-shadow: var(--shadow); padding: var(--s-5); border: 1px solid var(--rule); }
.qcard h2 { font-size: 1.75rem; margin: 0 0 var(--s-2); color: var(--text); }
.qcard .label { color: var(--link); }
.qhelp { color: var(--text-2); font-size: var(--fs-small); }
.tp-band .qcard a:not(.btn) { color: var(--text); }
.prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: var(--s-3); }
.prog i { display: block; height: 6px; border-radius: 6px; background: var(--rule); }
.prog i.on { background: var(--accent); }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); margin-bottom: var(--s-3); }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: var(--tap); padding: 12px 14px;
  border: 1.5px solid var(--rule-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--text);
  font: 600 1.0625rem/1.2 var(--font-body); text-align: left; text-decoration: none; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.opt:hover { border-color: var(--text); background: var(--wash); }
.opt[aria-pressed="true"] { border-color: var(--text); background: var(--wash); box-shadow: inset 0 0 0 1px var(--text); }
.opt .chev { color: var(--link); flex: none; }
.opts .opt:last-child:nth-child(odd) { grid-column: 1 / -1; }
.opts-1 { grid-template-columns: minmax(0, 1fr); }
.fine { font-size: var(--fs-small); color: var(--text-2); margin: var(--s-3) 0 0; }

/* ---------- page head ---------- */
.phead-band { background: var(--tint); border-bottom: 1px solid var(--rule); margin-bottom: var(--s-2); }
.phead { padding-block: var(--s-5) var(--s-6); }
.has-photo .phead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: var(--s-7); align-items: center; }
.phead-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--r-photo); box-shadow: var(--shadow-sm); }
.phead-home { padding-block: var(--s-7) 0; }
.crumbs { font: 500 var(--fs-small)/1.6 var(--font-body); color: var(--text-2); }
.crumbs a { color: var(--text-2); display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.dek { font-size: 1.1875rem; color: var(--text-2); max-width: 60ch; }
.byline { display: flex; flex-wrap: wrap; gap: 8px; font: 600 .875rem/1.4 var(--font-body); color: var(--text-2); margin: var(--s-5) 0 0; padding: 0; }
.byline span { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--rule); }
.byline a { color: var(--text-2); display: inline-block; padding-block: 14px; margin-block: -14px; }
.phead-home .byline span { background: var(--tint); }

/* ---------- article grid ---------- */
.article { display: grid; grid-template-columns: minmax(0, var(--w-measure)) var(--w-rail); gap: var(--s-7); justify-content: space-between; padding-block: var(--s-6) var(--s-8); }
.narrow { max-width: calc(var(--w-measure) + 2 * var(--gutter)); padding-block: var(--s-5) var(--s-8); }
.rail { position: sticky; top: 92px; align-self: start; display: grid; gap: var(--s-5); }
.toc { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s-4) var(--s-3) var(--s-3); }
.toc .label { padding-inline: 12px; }
.toc ol, .toc-m ol { list-style: none; margin: 0; padding: 0; }
.toc a, .toc-m a { display: flex; gap: 10px; align-items: baseline; min-height: 44px; padding: 10px 12px; border-radius: var(--r-field); color: var(--text-2); text-decoration: none; font-size: var(--fs-small); line-height: 1.35; }
.toc a:hover, .toc-m a:hover { background: var(--tint); color: var(--text); }
.toc a.cur { color: var(--text); background: var(--wash); font-weight: 600; }
.tn { font: 700 .8125rem/1 var(--font-body); color: var(--link); font-variant-numeric: tabular-nums; }
.toc-m { display: none; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--surface); margin: 0 0 var(--s-5); box-shadow: var(--shadow-sm); }
.toc-m summary { min-height: var(--tap); display: flex; align-items: center; padding: 0 var(--s-4); cursor: pointer; font: 700 1rem/1 var(--font-body); color: var(--text); }
.toc-m ol { margin: 0 var(--s-2) var(--s-3); }

/* ---------- prose ---------- */
.prose > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 var(--s-4); }
.prose li { margin-bottom: var(--s-2); }
.prose li::marker { color: var(--link); }
.prose strong { font-weight: 700; }
.prose sup { line-height: 0; }
.prose sup a { display: inline-block; min-width: 24px; padding: 10px 2px; margin: -10px -4px -10px -2px; text-align: center; text-decoration: none; font: 700 .75em/1 var(--font-body); }

/* answer card */
.answer { background: var(--wash); border-radius: var(--r-card); padding: var(--s-5) var(--s-5) var(--s-5); margin: 0 0 var(--s-6); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.answer dl { margin: 0; display: grid; gap: var(--s-3); }
.answer dt { font: 700 var(--fs-label)/1.2 var(--font-body); color: var(--link); }
.answer dd { margin: 0; }
.answer dd p { margin: 0; font-weight: 500; }
.answer dt:first-child + dd { font-size: 1.0625em; }

/* fact plate */
.plate { border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--surface); margin: 0 0 var(--s-6); overflow: hidden; box-shadow: var(--shadow-sm); }
.plate-h { margin: 0; padding: var(--s-3) var(--s-5); background: var(--tint); color: var(--text); font: 700 1.125rem/1.25 var(--font-display); border-bottom: 1px solid var(--rule); }
.plate dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin: 0; padding: var(--s-2) var(--s-5) var(--s-4); column-gap: var(--s-4); }
.plate dt, .plate dd { padding: 10px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.plate dd { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.plate dt:last-of-type, .plate dd:last-of-type { border-bottom: 0; color: var(--text-2); font-size: var(--fs-small); }

/* tables */
.tw { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--surface); margin: 0 0 var(--s-2); box-shadow: var(--shadow-sm); }
.tw table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: var(--fs-small); line-height: 1.45; }
.tw th, .tw td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.tw tbody tr:last-child td, .tw tbody tr:last-child th { border-bottom: 0; }
.tw thead th { background: var(--tint); color: var(--text); font: 700 .9375rem/1.25 var(--font-body); }
.tw td.n, .tw th.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tw th:first-child, .tw td:first-child { position: sticky; left: 0; background: var(--surface); }
.tw thead th:first-child { background: var(--tint); }
.tcap { font: 500 .875rem/1.5 var(--font-body); color: var(--text-2); margin: var(--s-2) 0 var(--s-6); }
.pays, .nopay, .part { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; }
.pays::before { content: ""; width: 14px; height: 8px; border-radius: 4px; background: var(--log-pays); }
.nopay { color: var(--link); }
.nopay::before { content: "\00D7"; font: 800 1.1em/1 var(--font-body); }
.part::before { content: ""; width: 14px; height: 0; border-top: 3px solid var(--log-pays); }

/* notes */
.note { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s-4) var(--s-5); margin: 0 0 var(--s-6); box-shadow: var(--shadow-sm); }
.note.fine { background: var(--tint); box-shadow: none; }
.note p:last-child { margin-bottom: 0; }
.lab { font: 700 var(--fs-label)/1.3 var(--font-body); color: var(--link); margin: 0 0 var(--s-2); }

/* steps, checklist, pros and cons */
.prose ol.steps { list-style: none; padding: 0; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding: 2px 0 var(--s-4) 52px; min-height: 40px; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--wash); color: var(--link); font: 800 1rem/1 var(--font-body); border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.prose ul.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding: var(--s-3) var(--s-3) var(--s-3) 48px; margin: 0 0 var(--s-2); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-sm); }
.checklist li::before { content: ""; position: absolute; left: 14px; top: 15px; width: 20px; height: 20px; border: 2px solid var(--log-pays); border-radius: 6px; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin: 0 0 var(--s-6); }
.proscons > div { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s-4) var(--s-5); box-shadow: var(--shadow-sm); }
.proscons ul { margin: 0; }
.cons { background: var(--wash) !important; }
.pros { background: var(--tint) !important; }

/* stats and bars */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s-3); margin: 0 0 var(--s-6); }
.stats > div { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s-4); box-shadow: var(--shadow-sm); }
.stats b { display: block; font: 700 var(--fs-stat)/1.05 var(--font-display); font-variant-numeric: tabular-nums; color: var(--text); letter-spacing: -0.02em; }
.stats span { display: block; margin-top: var(--s-2); font-size: var(--fs-small); line-height: 1.4; }
.stats small { display: block; margin-top: var(--s-2); font: 500 .8125rem/1.4 var(--font-body); color: var(--text-2); }
.bars { margin: 0 0 var(--s-3); display: grid; gap: var(--s-2); }
.bar { position: relative; margin: 0; display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: var(--s-3); font: 700 .9375rem/1 var(--font-body); font-variant-numeric: tabular-nums; }
.bar-k { color: var(--text-2); }
.bar-v { display: block; width: var(--w); min-width: max-content; background: var(--chip); color: var(--chip-ink); padding: 9px 12px; border-radius: 999px; text-align: right; }

/* figures and diagrams */
.drawing { margin: 0 0 var(--s-6); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s-5); box-shadow: var(--shadow-sm); }
.drawing svg { display: block; width: 100%; height: auto; }
.drawing figcaption { font: 500 .875rem/1.5 var(--font-body); color: var(--text-2); margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--rule); }
.d-pays { stroke: var(--log-pays); stroke-width: 6; stroke-linecap: round; fill: none; }
.d-gap { stroke: var(--log-gap); stroke-width: 4; stroke-dasharray: 10 7; stroke-linecap: round; fill: none; }
.d-line { stroke: var(--text-2); stroke-width: 2; fill: none; }
.d-accent { stroke: var(--accent); stroke-width: 4; stroke-linecap: round; fill: none; }
.d-fill { fill: var(--accent); }
.d-wash { fill: var(--wash); }
.d-box { fill: var(--surface); stroke: var(--rule-strong); stroke-width: 1.5; rx: 10px; }
.d-boxsoft { fill: var(--tint); stroke: var(--rule); stroke-width: 1.5; rx: 10px; }
.d-grid { stroke: var(--rule); stroke-width: 1; }
.d-axis { stroke: var(--rule-strong); stroke-width: 1.5; }
.d-dot { fill: var(--link); }
.d-lab { fill: var(--text-2); font: 600 14px var(--font-body); }
.d-lab-strong { fill: var(--text); font: 700 14px var(--font-body); }
.d-text { fill: var(--text); font: 500 15px var(--font-body); }
.legend, .prose .legend { list-style: none; padding: 0; margin: var(--s-3) 0 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--fs-small); color: var(--text-2); }
.legend li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.legend i, .sw { display: inline-block; width: 32px; height: 8px; border-radius: 4px; flex: none; }
.k-pays, .sw-pays { background: var(--log-pays); }
.k-gap, .sw-none { height: 0 !important; border-radius: 0 !important; border-top: 4px dashed var(--log-gap); background: none; }
.k-part, .sw-part { height: 3px !important; background: var(--log-pays); }
.sw-ask { height: 0 !important; border-radius: 0 !important; border-top: 3px dotted var(--text-2); }
.k-fill { background: var(--accent); }

/* the Coverage Log */
.log { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s-5); margin: 0 0 var(--s-3); box-shadow: var(--shadow-sm); }
.drawing .log { border: 0; padding: 0; margin: 0; box-shadow: none; }
.log-tabs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-4); padding: 4px; background: var(--tint); border-radius: var(--r-btn); width: fit-content; max-width: 100%; }
.log-tabs button { min-height: 44px; padding: 0 var(--s-4); border-radius: 11px; border: 0; background: transparent; color: var(--text);
  font: 700 1rem/1 var(--font-body); cursor: pointer; }
.log-tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm), inset 0 0 0 1.5px var(--log-pays); }
.log-panel + .log-panel { margin-top: var(--s-5); }
.js .log-panel + .log-panel { margin-top: 0; }
.log-h { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-3); }
.log-h strong { font: 700 1.25rem/1.2 var(--font-display); }
.log-h span { font: 500 .875rem/1.2 var(--font-body); color: var(--text-2); }
.log .axis, .lrow { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; }
.log .ticks { display: flex; justify-content: space-between; font: 600 .8125rem/1 var(--font-body); color: var(--text-2); padding-bottom: 6px; }
.lrow { min-height: 44px; }
.lrow + .lrow { margin-top: 4px; }
.lrow .k { font: 700 var(--fs-label)/1.1 var(--font-body); }
.track { position: relative; height: 44px; border-radius: 12px; background-color: var(--tint);
  background-image: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px calc(100% / 4)); }
.seg { position: absolute; top: 50%; height: 12px; margin-top: -6px; border-radius: 6px; }
.seg.pays { background: var(--log-pays); }
.seg.part { height: 4px; margin-top: -2px; background: var(--log-pays); }
.seg.part::before, .seg.part::after { content: ""; position: absolute; top: -6px; width: 3px; height: 16px; border-radius: 2px; background: var(--log-pays); }
.seg.part::before { left: 0; } .seg.part::after { right: 0; }
.seg.none { height: 0; margin-top: -2px; border-radius: 0; border-top: 4px dashed var(--log-gap); }
.seg.none::before, .seg.none::after { content: ""; position: absolute; top: -12px; width: 3px; height: 20px; border-radius: 2px; background: var(--log-gap); }
.seg.none::before { left: 0; } .seg.none::after { right: 0; }
.seg.ask { height: 0; margin-top: -1.5px; border-radius: 0; border-top: 3px dotted var(--text-2); }
.log-note { font-size: var(--fs-small); color: var(--text-2); margin: var(--s-3) 0 0; }
.log-key { font-size: .9375rem; color: var(--text-2); margin: var(--s-3) 0 0; }

/* FAQ and sources */
.faq { margin: 0 0 var(--s-6); display: grid; gap: var(--s-2); }
.faq details { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 0 var(--s-4); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-3); align-items: center; min-height: var(--tap); padding: var(--s-3) 0; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--wash); font: 700 1.25rem/1 var(--font-body); color: var(--link); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 var(--s-4); }
.prose ol.sources { font-size: var(--fs-small); line-height: 1.5; padding-left: 1.6em; }
.sources li { margin-bottom: var(--s-3); overflow-wrap: anywhere; }
.sources li::marker { font-weight: 700; }

/* calculators */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; margin: 0 0 var(--s-6); background: var(--surface); box-shadow: var(--shadow); }
.calc-in { padding: var(--s-5); display: grid; gap: var(--s-3); align-content: start; }
.calc-title { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); font: 700 1.25rem/1.2 var(--font-display); margin: 0; }
.calc-title .live { font: 700 .8125rem/1 var(--font-body); padding: 6px 10px; border-radius: 999px; background: var(--chip); color: var(--chip-ink); }
.calc-group { border: 1px solid var(--rule); border-radius: var(--r-sm); padding: var(--s-3); display: grid; gap: var(--s-3); margin: 0; }
.calc-group legend { font: 700 var(--fs-label)/1 var(--font-body); color: var(--link); padding: 0 6px; }
.fld { display: grid; gap: 4px; font-size: var(--fs-small); font-weight: 600; }
.fld input, .fld select { width: 100%; min-height: var(--tap); padding: 10px 12px; border: 1.5px solid var(--rule-strong); border-radius: var(--r-field);
  background: var(--surface); color: var(--text); font: 600 1.0625rem/1.2 var(--font-body); font-variant-numeric: tabular-nums; }
.fld input:focus, .fld select:focus { border-color: var(--text); }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.chk { display: flex; align-items: center; gap: 10px; min-height: var(--tap); font-size: var(--fs-small); font-weight: 600; cursor: pointer; }
.chk input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; }
.calc-out { background: var(--wash); padding: var(--s-5); display: grid; gap: var(--s-3); align-content: start; }
.calc-big-lab { font: 700 var(--fs-label)/1.3 var(--font-body); color: var(--link); }
.calc-big { font: 700 var(--fs-stat)/1.05 var(--font-display); font-variant-numeric: tabular-nums; color: var(--text); letter-spacing: -0.02em; }
.calc-sum { margin: 0; display: grid; gap: 0; }
.calc-sum div { display: flex; justify-content: space-between; gap: var(--s-3); padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--rule-strong) 45%, transparent); }
.calc-sum dt { font-size: var(--fs-small); }
.calc-sum dd { margin: 0; font: 700 1.0625rem/1.2 var(--font-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-warn { font-weight: 600; color: var(--link); margin: 0; }
.calc-note { font-size: .9375rem; color: var(--text-2); margin: 0; }
.calc-act { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

/* lists of pages */
.chev { flex: none; }
.hublist { list-style: none; padding: 0 !important; margin: 0 0 var(--s-6); display: grid; gap: var(--s-2); }
.hublist li { margin: 0 !important; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-sm); }
.hublist li:hover { border-color: var(--rule-strong); }
.hublist a, .cards a, .shelf a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-3); align-items: center; min-height: var(--tap); padding: var(--s-3) var(--s-4); color: var(--text); text-decoration: none; }
.hublist b, .cards b, .shelf b { font: 700 1.1875rem/1.25 var(--font-display); grid-column: 1; letter-spacing: -0.01em; }
.hublist span, .cards span, .shelf span { grid-column: 1; color: var(--text-2); font-size: var(--fs-small); line-height: 1.45; margin-top: 4px; }
.hublist .chev, .cards .chev, .shelf .chev { grid-column: 2; grid-row: 1 / span 2; color: var(--link); width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--wash); }
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s-4); }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-card); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card a { padding: var(--s-4) var(--s-5) var(--s-5); height: 100%; align-content: start; }
.card-photo { display: flex; flex-direction: column; }
.card-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.card-photo a { height: auto; flex: 1; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shelf { list-style: none; padding: 4px 4px var(--s-4); margin: 0 -4px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: var(--s-4); overflow-x: auto; scroll-snap-type: x mandatory; }
.shelf .card { scroll-snap-align: start; }
.shelf .card a::before { content: ""; grid-column: 1 / -1; width: 44px; height: 44px; border-radius: 14px; margin-bottom: var(--s-3);
  background: var(--wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E05A10' stroke-width='2' stroke-linecap='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='3'/%3E%3Cpath d='M8 7h8M8 12h2M14 12h2M8 16h2M14 16h2'/%3E%3C/svg%3E") center / 24px no-repeat; }
.shelf .card b, .shelf .card span { grid-column: 1; }
.related { padding-bottom: var(--s-8); }

/* home blocks */
.blk { padding-block: var(--section-y); }
.blk h2 { margin-top: 0; }
.blk-surface { background: var(--tint); }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s-7); align-items: center; }
.split-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--r-photo); box-shadow: var(--shadow); }
.proof { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
.proof > div { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-card); padding: var(--s-4) var(--s-5); }
.proof h3 { margin-top: 0; }
.proof p { color: var(--text-2); font-size: var(--fs-small); margin-bottom: var(--s-2); }
.proof a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s-5); }
.gcol { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-sm); }
.gcol-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.gcol-body { padding: var(--s-4) var(--s-5) var(--s-4); }
.gcol h3 { margin-top: 0; font: 700 1.375rem/1.2 var(--font-display); letter-spacing: -0.01em; }
.gcol h3 a { color: var(--text); text-decoration: none; }
.gcol h3 a:hover { color: var(--link); text-decoration: underline; }
.gcol p { color: var(--text-2); font-size: var(--fs-small); }
.gcol ul { list-style: none; padding: 0; margin: 0; }
.gcol li a { display: flex; align-items: center; min-height: 44px; padding-block: 6px; border-top: 1px solid var(--rule); font-weight: 600; color: var(--text); text-decoration: none; }
.gcol li a::after { content: "\203A"; margin-left: auto; padding-left: 12px; color: var(--link); font-size: 1.375rem; line-height: 1; }
.gcol li a:hover { color: var(--link); text-decoration: underline; }

/* agent card and end band */
.agent { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); }
.agent-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.agent-body { padding: var(--s-4) var(--s-5) var(--s-5); }
.agent .agent-h { font: 700 1.375rem/1.2 var(--font-display); letter-spacing: -0.01em; margin: 0 0 var(--s-2); color: var(--text); }
.agent p { color: var(--text-2); font-size: var(--fs-small); }
.agent .btn { width: 100%; }
.agent .band-link { color: var(--text); }
.band-link { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--s-2); font: 700 1rem/1.2 var(--font-body); }
.agent-inline { display: none; margin: var(--s-6) 0; }
.agent-inline .agent-photo img { aspect-ratio: 16 / 8; }
.endband { padding-block: var(--s-6) var(--s-8); }
.endband-card { border-radius: var(--r-photo); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: stretch; box-shadow: var(--shadow); }
.endband-in { display: grid; gap: var(--s-5); padding: var(--s-7); align-content: center; }
.endband-photo img { display: block; width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.endband h2 { color: var(--on-band); margin: 0 0 var(--s-3); }
.endband p { color: var(--on-band-2); }
.endband .label-band { color: var(--band-accent); }
.endband-act { display: grid; justify-items: start; gap: var(--s-2); }
.endband-act .small { margin: var(--s-2) 0 0; }

/* footer */
.foot { padding-block: var(--s-8) var(--s-7); font-size: var(--fs-small); border-radius: var(--r-photo) var(--r-photo) 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-6); }
.foot-brand p { color: var(--on-band-2); margin: var(--s-3) 0; max-width: 46ch; }
.foot-h { font: 700 var(--fs-label)/1 var(--font-body); color: var(--band-accent); margin: 0 0 var(--s-2); }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li a { display: flex; align-items: center; min-height: 44px; color: var(--on-band); text-decoration: none; }
.foot li a:hover { text-decoration: underline; }
.legal { color: var(--on-band-2); border-top: 1px solid var(--band-rule); margin-top: var(--s-6); padding-top: var(--s-5); }
.legal a { color: var(--on-band); display: inline-block; min-width: 44px; padding-block: 13px; margin-block: -13px; }
.foot-min { padding-top: var(--s-5); }
.foot-min .legal { border: 0; margin: 0; padding-top: var(--s-5); }
.theme-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; background: transparent; color: var(--on-band);
  border: 1.5px solid var(--band-rule); border-radius: 999px; font: 600 .9375rem/1 var(--font-body); cursor: pointer; }
.theme-ico { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }

/* phone bar */
.mbar { display: none; }

/* ---------- quote page ---------- */
.k-funnel { background: var(--tint); }
.k-funnel .hdr { background: color-mix(in srgb, var(--surface) 92%, transparent); }
.fx { padding-block: var(--s-7) var(--s-8); }
.fx-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: var(--s-7); align-items: start; }
.fx-intro h1 { font-size: var(--fs-h1); }
.fx-intro .dek { margin-bottom: var(--s-5); }
.fx-how { list-style: none; padding: 0; margin: 0; counter-reset: fh; display: grid; gap: var(--s-4); }
.fx-how li { counter-increment: fh; position: relative; padding-left: 52px; }
.fx-how li::before { content: counter(fh); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--surface); color: var(--link); font: 800 1rem/1 var(--font-body); border-radius: 50%; box-shadow: var(--shadow-sm); }
.fx-photo { margin-top: var(--s-6); }
.fx-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-photo); box-shadow: var(--shadow); }
.fx-main.qcard { padding: var(--s-6) var(--s-5); }
.q-count { font: 700 var(--fs-label)/1.2 var(--font-body); color: var(--link); margin: 0 0 var(--s-2); }
.q-card h2 { font-size: 1.75rem; margin: 0 0 var(--s-2); }
.q-card h2:focus { outline: none; }
.q-help { color: var(--text-2); font-size: var(--fs-small); }
.q-err { color: var(--link); font-weight: 600; font-size: var(--fs-small); margin: var(--s-2) 0; min-height: 1px; }
.q-err:empty { margin: 0; }
.q-fields { display: grid; gap: var(--s-3); margin-bottom: var(--s-3); }
.q-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.q-sum { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; margin: 0 0 var(--s-4); padding: var(--s-3) var(--s-4); background: var(--tint); border-radius: var(--r-sm); font-size: var(--fs-small); }
.q-sum dt { font: 600 .875rem/1.6 var(--font-body); color: var(--text-2); }
.q-sum dd { margin: 0; font-weight: 600; }
.q-back { display: block; min-width: 64px; text-align: left; margin-top: var(--s-2); }
.q-next { width: 100%; margin-top: var(--s-2); }
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; font-size: .875rem; line-height: 1.5; color: var(--text-2); margin: var(--s-3) 0;
  padding: var(--s-3); border: 1.5px solid var(--rule-strong); border-radius: var(--r-sm); cursor: pointer; }
.consent input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--accent); }
.consent.need { border-color: var(--link); }
.consent a { color: var(--link); }
.fx-note { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-small); color: var(--text-2); margin: 0 0 var(--s-2); }
.fx-note svg { flex: none; margin-top: 3px; color: var(--link); }
.fx-next { font-size: .9375rem; color: var(--text-2); padding-left: 1.2em; margin: var(--s-4) 0 0; }
.fx-done { width: 56px; height: 56px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); border-radius: 50%; margin: 0 0 var(--s-3); }
.fx-from { border: 1px solid var(--rule); background: var(--tint); border-radius: var(--r-sm); padding: var(--s-4); margin: var(--s-4) 0; }
.fx-from-lab { font: 700 var(--fs-label)/1.2 var(--font-body); color: var(--text-2); margin: 0 0 4px; }
.fx-from-num { display: inline-flex; min-height: 44px; align-items: center; font: 700 1.75rem/1 var(--font-display); color: var(--text) !important; text-decoration: none; font-variant-numeric: tabular-nums; }
.fx-covers { font-size: var(--fs-small); padding-left: 1.2em; }
.fx-more { padding-block: var(--s-7) 0; max-width: var(--w-measure); }
.fx-noscript { font-weight: 600; }
.q-small { font-size: .9375rem; color: var(--text-2); }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .article { grid-template-columns: minmax(0, 1fr); max-width: calc(var(--w-measure) + 2 * var(--gutter)); }
  .rail { display: none; }
  .toc-m { display: block; }
  .agent-inline { display: block; }
  .nav { gap: 0; }
  .hero-in { padding-inline: var(--s-4); }
}
@media (max-width: 1240px) {
  .nav, .hdr-cta { display: none; }
  .mnav { display: block; margin-left: auto; }
}
@media (max-width: 860px) {
  .hero-in, .fx-grid, .split, .has-photo .phead { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .hero { padding-top: var(--s-3); }
  .hero-photo img { aspect-ratio: 4 / 3.1; object-position: 45% 50%; border-radius: var(--r-card); }
  .hero-in { margin-top: -56px; padding-inline: var(--s-3); }
  .hero-copy { padding: var(--s-5) var(--s-4) var(--s-4); }
  .qcard { padding: var(--s-4); }
  .has-photo .phead-photo { order: -1; }
  .phead-photo img { aspect-ratio: 16 / 8; border-radius: var(--r-card); }
  .phead { padding-block: var(--s-4) var(--s-5); }
  .split-photo img { aspect-ratio: 16 / 10; }
  .endband-card { grid-template-columns: minmax(0, 1fr); }
  .endband-photo { order: -1; }
  .endband-photo img { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .endband-in { padding: var(--s-5) var(--s-4) var(--s-5); }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .cards-3, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .proscons { grid-template-columns: minmax(0, 1fr); }
  .log .axis, .lrow { grid-template-columns: 56px minmax(0, 1fr); }
  .log { padding: var(--s-4); }
  .shelf { grid-auto-columns: 82%; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--rule); box-shadow: 0 -6px 24px rgba(31,48,71,.12); }
  .mbar .btn { min-height: var(--tap); box-shadow: none; }
  .mbar .btn-onband { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--rule-strong); }
  body:not(.k-funnel) { padding-bottom: 80px; }
  .fx-desk { display: none; }
  .fx { padding-block: var(--s-5) var(--s-7); }
  .foot { border-radius: var(--r-card) var(--r-card) 0 0; padding-top: var(--s-7); }
}
@media (max-width: 560px) {
  .util-line { display: none; }
  .util-in { justify-content: flex-end; min-height: 36px; }
  .wm { font-size: 1.375rem; }
  .hdr-in { min-height: 60px; gap: var(--s-3); }
  .opts { grid-template-columns: minmax(0, 1fr); }
  .opts .opt:last-child:nth-child(odd) { grid-column: auto; }
  .fld-row { grid-template-columns: minmax(0, 1fr); }
  .hero-act .btn { flex: 1 1 100%; }
  .hero-in { padding-inline: var(--s-2); }
  .hdr-note { display: none; }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .answer, .drawing, .note { padding-inline: var(--s-4); }
  .calc-in, .calc-out { padding: var(--s-4); }
  .endband-act { justify-items: stretch; }
  .endband-act .btn { width: 100%; }
}
@media (max-width: 560px) { .drawing svg text:not(.keep) { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .card:hover, .btn-cta:hover { transform: none; } }
.shelf .card .chev { grid-row: 2 / span 2; }

/* Sources (2026-11-11). Articles end with one closed "Sources (N)" line; home, hub and standing lists live on /sources/. */
.src-fold { margin: 2.5rem 0 0; padding-top: 0.75rem; border-top: 1px solid var(--rule); font-size: 0.875rem; color: var(--text-2); }
.src-fold > summary { cursor: pointer; width: max-content; max-width: 100%; min-height: 32px; padding: 6px 0; font-weight: 700; color: var(--text-2); }
.src-fold > summary:hover { color: var(--text); text-decoration: underline; text-underline-offset: 0.18em; }
.src-fold[open] > summary { margin-bottom: 0.25rem; }
.src-for { font-size: var(--fs-small); color: var(--text-2); margin-top: 0.25rem; }
