/* ==========================================================================
   Behind The 22 - stylesheet (v8)
   Navy + gold from the BT22 logo on warm paper. System fonts only, no
   external requests. No inline styles are used anywhere (strict CSP).
   ========================================================================== */

:root {
  --ink: #08273D;
  --ink-2: #123F5E;
  --ink-deep: #061C2D;
  --paper: #F7F4EC;
  --paper-2: #EFEADC;
  --white: #FFFEFB;
  --line: #DCD5C2;
  --line-strong: #BDB59E;
  --text: #24211D;
  --muted: #55524A;
  --gold: #DEB53D;
  --gold-soft: #E8C666;
  --gold-text: #7A5F1A;
  --green: #3F4C2C;
  --green-soft: #E3EBD8;
  --warn: #FBF4DC;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "Courier New", monospace;
  --max: 1180px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper); color: var(--text);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; text-wrap: balance; }
p, li { text-wrap: pretty; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 96px; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- accessibility ---------- */
.skip-link { position: absolute; top: -100px; left: 12px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 20px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.band.dark a:focus-visible, .topbar a:focus-visible, .pagehead.photo a:focus-visible, footer .crisis a:focus-visible, .callout.crisis a:focus-visible { outline-color: var(--gold); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- top bar (crisis + contact) ---------- */
.topbar { background: var(--ink-deep); color: #D9DFE8; font-size: .8125rem; line-height: 1.4; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar strong { color: #fff; font-weight: 600; }
.topbar a { color: var(--gold-soft); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .sep { margin: 0 6px; opacity: .5; }

/* ---------- header ---------- */
header.site { position: sticky; top: 0; z-index: 40; background: rgba(247,244,236,.97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
header.site .bar { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 32px; width: auto; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: .875rem; line-height: 1.15; color: var(--muted); padding-left: 12px; border-left: 2px solid var(--gold); }
.mainnav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.mainnav a { text-decoration: none; font-size: .9375rem; font-weight: 500; color: var(--muted); padding: 8px 12px; border-bottom: 2px solid transparent; white-space: nowrap; }
.mainnav a:hover { color: var(--ink); }
.mainnav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.nav-extra { display: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--ink); color: var(--ink); font: 600 .8125rem var(--mono); padding: 9px 14px; cursor: pointer; }

/* ---------- sub navigation (siblings inside a group) ---------- */
.subnav { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 0; padding-top: 8px; padding-bottom: 8px; }
.subnav .lbl { font: .6875rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 6px; white-space: nowrap; }
.subnav a { font-size: .84375rem; font-weight: 500; color: var(--muted); text-decoration: none; padding: 6px 8px; border: 1px solid transparent; white-space: nowrap; }
.subnav a:hover { color: var(--ink); border-color: var(--line-strong); }
.subnav a[aria-current="page"] { background: var(--ink); color: var(--white); }

/* ---------- buttons, pills, small bits ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 .9375rem var(--sans); padding: 12px 22px; text-decoration: none; border: 1px solid var(--ink); cursor: pointer; line-height: 1.2; }
.btn.primary { background: var(--ink); color: var(--white); }
.btn.primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--paper-2); }
.btn.gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn.gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn.ghost-light { background: transparent; color: var(--white); border-color: rgba(255,254,251,.7); }
.btn.ghost-light:hover { background: rgba(255,254,251,.12); }
.btn.sm { padding: 9px 16px; font-size: .875rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.pill { display: inline-block; font: .6875rem/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border: 1px solid; white-space: nowrap; vertical-align: middle; }
.pill.live { background: var(--green-soft); color: var(--green); border-color: #8FA070; }
.pill.soon { background: #F5EBC8; color: #5B4510; border-color: var(--gold); }
.pill.planned { background: transparent; color: var(--muted); border-color: var(--line-strong); }
h3 .pill, h2 .pill { margin-left: 8px; position: relative; top: -2px; }

.eyebrow { font: .75rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; background: var(--ink); color: var(--gold); flex: none; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- page head ---------- */
.pagehead { padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.ph-grid.solo { grid-template-columns: minmax(0, 1fr); }
.pagehead h1 { font-size: clamp(2rem, 4.2vw, 3.05rem); line-height: 1.1; letter-spacing: -.01em; max-width: 26ch; }
.pagehead .lede { margin-top: 20px; font-size: 1.1875rem; line-height: 1.6; color: var(--muted); max-width: 60ch; }
.statusline { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .9375rem; color: var(--muted); }
.pagehead .statusline { margin-top: 20px; }
.pillrow { margin-top: 12px; font-size: .875rem; color: var(--muted); }
.pillrow .pill { margin-left: 6px; }
.glance { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); padding: 22px 24px; }
.glance h2 { font: .75rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.glance dl > div { padding: 10px 0; border-top: 1px solid var(--line); }
.glance dl > div:first-child { border-top: 0; padding-top: 0; }
.glance dt { font: .6875rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.glance dd { font-size: .9375rem; color: var(--text); margin-top: 2px; }

/* photo variant (home + story) */
.pagehead.photo, .hero { position: relative; overflow: hidden; background: var(--ink); border-bottom: 4px solid var(--gold); }
.photo .bg, .photo .bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo .bg img { object-fit: cover; object-position: 35% 50%; }
.photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,39,61,.97) 0%, rgba(8,39,61,.88) 50%, rgba(8,39,61,.5) 100%); }
.photo > .container { position: relative; z-index: 2; }
.photo h1, .photo .lede { color: #fff; }
.photo .lede { color: #D9DFE8; }
.photo .eyebrow { color: var(--gold-soft); }

/* ---------- home hero ---------- */
.hero { padding: 76px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.stamp { display: inline-flex; align-items: center; gap: 10px; font: .75rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-soft); border: 1px solid rgba(232,198,102,.6); padding: 6px 12px; margin-bottom: 24px; }
.stamp::before { content: ""; width: 6px; height: 6px; background: var(--gold-soft); border-radius: 50%; }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); line-height: 1.07; letter-spacing: -.015em; color: #fff; max-width: 20ch; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lede { margin-top: 22px; font-size: 1.1875rem; color: #D9DFE8; max-width: 54ch; }
.where { background: rgba(255,254,251,.97); border-top: 4px solid var(--gold); padding: 22px 24px 20px; }
.where h2 { font: .75rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.where ul { list-style: none; }
.where li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: .9688rem; }
.where li:first-child { border-top: 0; }
.where p { margin-top: 6px; font-size: .875rem; }
.where p a { color: var(--ink); font-weight: 600; }

/* ---------- bands (landing pages) ---------- */
.band { padding: 72px 0; border-bottom: 1px solid var(--line); }
.band.tint { background: var(--paper-2); }
.band.white { background: var(--white); }
.band.dark { background: var(--ink); border-bottom: 0; color: #C9D1DD; }
.band.dark h2, .band.dark h3 { color: #fff; }
.band.dark .eyebrow { color: var(--gold-soft); }
.band.dark a { color: var(--gold-soft); }
.sechead { max-width: 760px; }
.sechead h2 { font-size: clamp(1.65rem, 2.8vw, 2.2rem); line-height: 1.18; }
.sechead .lede { margin-top: 14px; font-size: 1.0625rem; color: var(--muted); max-width: 64ch; }
.band.dark .sechead .lede, .band.dark p { color: #C9D1DD; }
.band.dark strong { color: #fff; }
.band .grid { margin-top: 32px; }

/* ---------- grids and cards ---------- */
.grid { display: grid; gap: 18px; }
.g1 { grid-template-columns: minmax(0, 1fr); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.g3x { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; background: var(--white); border: 1px solid var(--line); padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.band.white .card, .sec .card.alt { background: var(--paper); }
.card h3 { font-size: 1.1875rem; line-height: 1.25; }
.card p { font-size: .9688rem; color: var(--muted); line-height: 1.6; }
.card.feature { border-top: 4px solid var(--gold); }
.card .more { margin-top: auto; padding-top: 6px; font-size: .9063rem; font-weight: 600; }
.card .more a { color: var(--ink); }
.card .pill { align-self: flex-start; }
.card .ico { margin-bottom: 4px; }
.tile { transition: border-color .15s, box-shadow .15s; }
.tile:hover { border-color: var(--ink); box-shadow: 0 4px 14px rgba(8,39,61,.1); }
.tile h3 a { text-decoration: none; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; }
.tile h3 a:focus-visible { outline: none; }
.tile:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.tile .go { position: absolute; top: 18px; right: 18px; font-size: 1.05rem; font-weight: 600; color: var(--ink); line-height: 1; }
.tile.hasico h3 { padding-right: 24px; }
.band.dark .card { background: rgba(255,254,251,.06); border-color: rgba(255,254,251,.2); }
.band.dark .card p { color: #C9D1DD; }
.groupline { margin: 40px 0 0; font: .75rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.groupline + .grid { margin-top: 14px; }

/* compact icon cards: icon beside the title */
.card.hasico { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 10px; align-content: start; }
.card.hasico > * { grid-column: 1 / -1; }
.card.hasico > .ico { grid-column: 1; grid-row: 1; margin: 0; }
.card.hasico > h3 { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
.card.hasico > .pill, .card.hasico > .btn { justify-self: start; }
.card.hasico > .more { margin-top: 4px; padding-top: 0; }

/* ---------- callouts ---------- */
.callout { margin-top: 28px; padding: 20px 24px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--ink); }
.callout h3 { font-size: 1.0938rem; margin-bottom: 6px; }
.callout p { font-size: .9688rem; color: var(--muted); max-width: 70ch; }
.callout p + p { margin-top: 10px; }
.callout a { color: var(--ink); }
.callout.caution { background: var(--warn); border-color: var(--gold); border-left-color: var(--gold); }
.callout.crisis { background: var(--ink); border: 0; border-left: 4px solid var(--gold); }
.callout.crisis h3 { color: #fff; }
.callout.crisis p { color: #D9DFE8; }
.callout.crisis strong { color: #fff; }
.callout.crisis a { color: var(--gold-soft); }
.callout .dash, .callout .checks { margin-top: 12px; }

/* ---------- lists ---------- */
.dash { list-style: none; margin-top: 16px; }
.dash li { position: relative; padding: 4px 0 4px 22px; font-size: .9688rem; color: var(--muted); }
.dash li::before { content: "\2014"; position: absolute; left: 0; color: var(--gold-text); }
.dash.cols { columns: 2; column-gap: 40px; }
.dash.cols li { break-inside: avoid; }
.dash li strong { color: var(--ink); }
.dash a, .checks a { color: var(--ink); }
.checks { list-style: none; margin-top: 16px; }
.checks li { position: relative; padding: 5px 0 5px 30px; font-size: .9688rem; color: var(--muted); break-inside: avoid; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 16px; height: 16px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23DEB53D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-6.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks.cols { columns: 2; column-gap: 40px; }
.tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-weight: 600; font-size: .9063rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 8px 14px; }

/* ---------- steps ---------- */
.steps { list-style: none; counter-reset: s; display: grid; gap: 18px; margin-top: 28px; }
.steps.c2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.steps.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps.c4 { grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }
.steps li { counter-increment: s; position: relative; background: var(--white); border: 1px solid var(--line); padding: 54px 22px 22px; }
.steps li::before { content: counter(s); position: absolute; top: 14px; left: 22px; width: 30px; height: 30px; display: grid; place-items: center; background: var(--ink); color: var(--gold); font: 600 1rem var(--serif); border-radius: 50%; }
.steps h3 { font-size: 1.125rem; margin-bottom: 6px; }
.steps p { font-size: .9375rem; color: var(--muted); line-height: 1.6; }
.steps .pill { margin-top: 10px; }
.band.white .steps li { background: var(--paper); }
.sec .steps li { background: var(--white); }

/* ---------- tables (real tables, stacked on small screens) ---------- */
.tbl-wrap { margin-top: 24px; border: 1px solid var(--line); background: var(--white); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .9688rem; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 14px 18px; border-top: 1px solid var(--line); }
.tbl thead th { background: var(--ink); color: var(--gold-soft); font: .6875rem var(--mono); letter-spacing: .08em; text-transform: uppercase; border-top: 0; padding: 12px 18px; }
.tbl tbody th { color: var(--ink); font-weight: 600; width: 26%; }
.tbl td { color: var(--muted); }
.tbl td strong { color: var(--ink); }
.tbl .name { display: flex; gap: 12px; align-items: flex-start; }
.tbl .name .ico { width: 36px; height: 36px; }
.tbl .name .ico svg { width: 20px; height: 20px; }
.tbl .name a { color: var(--ink); font-weight: 600; text-decoration: none; }
.tbl .name a:hover { text-decoration: underline; }
.tbl td.st { white-space: nowrap; width: 1%; }
.tbl.road tbody th { width: 30%; }
.tbl.flags tbody th { width: 46%; font-weight: 500; }
.tbl.flags thead th { white-space: normal; }

/* ---------- accordions ---------- */
.acc { margin-top: 12px; background: var(--white); border: 1px solid var(--line); }
.acc summary { cursor: pointer; list-style: none; padding: 16px 20px; font: 600 1.0625rem var(--serif); color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--gold-text); flex: none; }
.acc[open] summary::after { content: "\2212"; }
.acc summary small { font: .75rem var(--mono); letter-spacing: .05em; color: var(--muted); font-weight: 400; margin-left: 10px; }
.acc .acc-body { padding: 0 20px 18px; border-top: 1px solid var(--line); }
.acc .acc-body > p { margin-top: 14px; font-size: .9688rem; color: var(--muted); max-width: 70ch; }
.acc .acc-body a { color: var(--ink); }
.acc .acc-body .dash, .acc .acc-body .checks { margin-top: 12px; }

/* ---------- quote ---------- */
.quote { background: var(--paper-2); border-left: 4px solid var(--gold); padding: 30px 34px; }
.quote p { font: italic 400 clamp(1.15rem, 1.8vw, 1.4rem)/1.55 var(--serif); color: var(--ink); max-width: none; }
.quote .by { margin-top: 18px; font-weight: 700; font-size: .9375rem; color: var(--muted); }
.quote .by span { display: block; font-weight: 400; font-size: .875rem; }
.band.white .quote { background: var(--paper); }

/* ---------- doc layout (sticky "on this page" + content) ---------- */
.doc { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 80px; align-items: start; }
.doc.nototoc { grid-template-columns: minmax(0, 1fr); }
.doc-main { max-width: 800px; }
.doc.nototoc .doc-main { max-width: 860px; }
.toc { position: sticky; top: 96px; }
.toc .toc-h { font: .6875rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: .875rem; line-height: 1.35; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.toc a[aria-current="true"] { color: var(--ink); font-weight: 600; border-left-color: var(--gold); }
.sec { padding-top: 44px; margin-top: 44px; border-top: 1px solid var(--line); }
.sec:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.sec > h2 { font-size: 1.75rem; line-height: 1.2; margin-bottom: 14px; }
.sec .kicker { font: .75rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.sec > p, .sec .lead p { color: var(--muted); max-width: 68ch; }
.sec > p + p { margin-top: 14px; }
.sec p strong { color: var(--ink); }
.sec a { color: var(--ink); }
.sec .grid { margin-top: 22px; }
.sec .actions { margin-top: 22px; }
.sec .statusline { margin-top: 0; margin-bottom: 14px; }
.sec p + .statusline { margin-top: 16px; }
.note { margin-top: 20px; font-size: .9375rem; color: var(--muted); max-width: 68ch; border-left: 3px solid var(--gold); padding-left: 14px; }
.sec .steps + .acc { margin-top: 22px; }
.sec .grid + p, .sec .tbl-wrap + p, .sec .callout + p, .sec .acc + p, .sec .darkbox + p, .sec ul + p, .sec .steps + p { margin-top: 22px; }

/* long-read (story, legal) */
.longread { max-width: 720px; margin: 0 auto; padding: 56px 32px 24px; }
.longread p { font-size: 1.125rem; line-height: 1.75; color: #3A3732; }
.longread p + p { margin-top: 18px; }
.longread h2 { font-size: 1.75rem; margin: 52px 0 16px; line-height: 1.2; }
.longread p strong { color: var(--ink); }
.longread a { color: var(--ink); }
.longread .eyebrow { margin: 52px 0 -4px; }
.longread .eyebrow + h2 { margin-top: 0; }
.longread .meta { font: .78rem var(--mono); color: var(--muted); margin-bottom: 24px; }
.longread h2:first-of-type { margin-top: 36px; }
.longread .quote { margin: 0 0 40px; padding: 26px 28px; }
.longread .quote p { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.55; color: var(--ink); }

/* ---------- cta band ---------- */
.cta { background: var(--paper-2); padding: 44px 0; border-bottom: 1px solid var(--line); }
.cta .container { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.cta p { font-size: 1.0625rem; color: var(--muted); max-width: 56ch; }
.cta p strong { color: var(--ink); }
.cta .actions { margin-top: 0; }

/* ---------- footer ---------- */
footer .crisis { background: var(--ink); color: #fff; padding: 20px 0; text-align: center; font-size: .9375rem; }
footer .crisis a { color: var(--gold-soft); }
footer .main { padding: 52px 0 36px; }
.f-top { display: grid; grid-template-columns: 1.1fr 3fr; gap: 48px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.f-brand img { height: 46px; width: auto; }
.f-brand p { margin-top: 14px; font-size: .9375rem; color: var(--muted); max-width: 32ch; }
.f-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.f-col h2 { font: .6875rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 400; }
.f-col a { display: block; font-size: .9063rem; color: var(--ink); text-decoration: none; padding: 4px 0; }
.f-col a:hover { text-decoration: underline; }
.disclaimer { margin-top: 28px; font-size: .8125rem; line-height: 1.7; color: var(--muted); max-width: 84ch; }
.copyline { margin-top: 20px; font: .75rem var(--mono); color: var(--muted); }

/* ---------- split layout, panels, dark boxes ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.panel { background: var(--paper-2); border: 1px solid var(--line); padding: 24px 26px; }
.band.tint .panel { background: var(--white); }
.panel h3 { font: 700 .875rem var(--sans); letter-spacing: .02em; color: var(--ink); }
.darkbox { margin-top: 28px; background: var(--ink); padding: 26px 30px; }
.darkbox h3 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.darkbox p { color: #C9D1DD; font-size: 1rem; max-width: 68ch; }
.darkbox p + p { margin-top: 12px; }
.darkbox strong { color: #fff; }
.darkbox a { color: var(--gold-soft); }
.darkbox .actions { margin-top: 18px; }
.sec .darkbox p { color: #C9D1DD; }
.sec .darkbox a { color: var(--gold-soft); }
.split p + p { margin-top: 14px; }
.linkrow { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: .9688rem; }
.linkrow a { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { position: static; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .toc ol { display: flex; gap: 8px; overflow-x: auto; border-left: 0; padding-bottom: 4px; }
  .toc a { white-space: nowrap; border: 1px solid var(--line); background: var(--white); padding: 6px 12px; margin: 0; }
  .toc a[aria-current="true"] { border-color: var(--ink); }
  .ph-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .glance { max-width: 560px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .where { max-width: 520px; }
}
@media (max-width: 960px) {
  .g3x, .steps.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .container { padding: 0 22px; }
  header.site .bar { gap: 12px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; min-height: 0; }
  .menu-btn { display: inline-block; }
  .mainnav { display: none; width: 100%; flex-direction: column; align-items: stretch; margin-left: 0; padding: 6px 0 10px; }
  .mainnav.open { display: flex; }
  .mainnav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .mainnav a[aria-current="true"] { border-bottom-color: var(--line); color: var(--ink); font-weight: 700; }
  .nav-extra { display: block; }
  .nav-cta { display: none; }
  .band { padding: 52px 0; }
  .hero { padding: 48px 0 52px; }
  .pagehead { padding: 40px 0 36px; }
  .dash.cols, .checks.cols { columns: 1; }
  .quote { padding: 24px 22px; }
  .photo::after { background: linear-gradient(180deg, rgba(8,39,61,.9) 0%, rgba(8,39,61,.92) 100%); }
  .f-top { grid-template-columns: 1fr; gap: 28px; }
  .longread { padding: 40px 22px 16px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  table.tbl, .tbl tbody, .tbl tr, .tbl td, .tbl th { display: block; width: auto; }
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl tr { border-top: 1px solid var(--line); padding: 10px 0; }
  .tbl tr:first-child { border-top: 0; }
  .tbl th, .tbl td { border: 0; padding: 4px 16px; }
  .tbl tbody th, .tbl.road tbody th, .tbl.flags tbody th { width: auto; }
  .tbl td[data-label]::before { content: attr(data-label); display: block; font: .6875rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 2px; }
  .tbl td.st { width: auto; white-space: normal; }
  .tbl.compact td[data-label]::before { display: none; }
  .tbl.compact td:first-of-type { font-weight: 600; color: var(--ink); }
}
@media (max-width: 640px) {
  .g3x, .steps.c3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .band { padding: 40px 0; }
  .sec { padding-top: 32px; margin-top: 32px; }
  .card { padding: 18px 16px; }
  .glance { padding: 18px; }
  .hero { padding: 36px 0 40px; }
  .callout { padding: 16px 18px; }
  .sechead h2 { font-size: 1.55rem; }
  .steps li { padding-left: 16px; padding-right: 16px; }
  .topbar .contact-link { display: none; }
  .brand-name { display: none; }
  .acc summary small { display: none; }
}
@media print {
  .topbar, header.site, .subnav, .toc, .cta, footer .crisis, .menu-btn, .skip-link { display: none; }
  body { background: #fff; }
  .band, .sec { break-inside: avoid; }
}
