:root {
  color-scheme: light;
  --ink: #20262d;
  --ink-2: #4c5661;
  --muted: #68717c;
  --faint: #8b949e;
  --accent: #b32a32;
  --accent-soft: #e9b4b7;
  --accent-wash: #fcf1f1;
  --line: #e4e7eb;
  --line-2: #eef0f3;
  --soft: #f7f8fa;
  --surface: #ffffff;
  --ours: #fcf1f1;
  --font: "Inter", "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  /* Chart tokens. Series colors follow the entity across every chart. */
  --chart-surface: #ffffff;
  --chart-grid: #e8eaed;
  --chart-axis: #c3c7cc;
  --chart-ink: #20262d;
  --chart-muted: #68717c;
  --series-sacq: #b32a32;
  --series-aqlm: #7a3e9d;
  --series-actquant: #2a78d6;
  --series-gptq: #eb6834;
  --series-hqq: #8b949e;
  --series-twla: #2c9279; /* paper figure uses #338975; nudged for the chroma floor */
  --series-local: #2a78d6;
  --series-euclid: #eb6834;
  --series-bf16: #9aa1a9;
  --bar-ref: #b5bcc4;
  --bar-ours: #e4a3a6;
  --bar-featured: #b32a32;
  --bar-a16: #bcdde8; /* paper Figure 1(b): 16-bit activation setting */
  --bar-a8: #3a9bb5;  /* paper Figure 1(b): 8-bit activation setting */
}
* { box-sizing: border-box; }
html { scroll-padding-top: 84px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: var(--font); font-size: 17px; line-height: 1.72; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
figure, dl, dd { margin: 0; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.25; }
h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 650; letter-spacing: -.03em; text-wrap: balance; }
h3 { font-size: 22px; font-weight: 650; letter-spacing: -.022em; text-wrap: balance; }
h4 { font-size: 17px; font-weight: 650; margin-top: 18px; margin-bottom: 4px; }
strong { font-weight: 650; }
sup { font-size: .72em; line-height: 0; }
var { font-style: italic; font-family: Georgia, "Times New Roman", serif; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 3px; }
[hidden] { display: none !important; }
.container { width: min(1100px, calc(100% - 48px)); margin-inline: auto; }
.reading-width { width: min(800px, calc(100% - 48px)); margin-inline: auto; }
.container .reading-width { width: min(800px, 100%); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 9px 16px; background: #fff; border: 1px solid var(--line); z-index: 100; }
.skip-link:focus { top: 12px; }

/* ── Header ───────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.navigation { height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-size: 21px; letter-spacing: -.06em; font-weight: 750; }
.wordmark.small { font-size: 17px; }
.wordmark-dot { color: var(--accent); }
.nav-links { display: flex; gap: 26px; align-items: center; font-size: 13px; font-weight: 550; color: var(--muted); overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav-links a:hover, .nav-links a[aria-current="location"] { color: var(--accent); }
.nav-links a[aria-current="location"] { border-bottom-color: var(--accent); }

/* ── Hero ─────────────────────────────────────────────── */
.hero { padding-top: 74px; padding-bottom: 40px; text-align: center; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.55; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { max-width: 1000px; margin-inline: auto; }
.hero-name { display: block; font-size: clamp(58px, 7.6vw, 86px); font-weight: 750; line-height: 1; letter-spacing: -.06em; margin-bottom: 22px; }
.hero-name .wordmark-dot { font-size: .62em; letter-spacing: 0; margin-left: .02em; }
.hero-title { display: block; font-size: clamp(23px, 3vw, 34px); font-weight: 550; line-height: 1.28; letter-spacing: -.03em; text-wrap: balance; }
.authors { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; margin-top: 28px; margin-bottom: 2px; font-size: 17px; }
.authors > span { white-space: nowrap; }
.affiliations { font-size: 15.5px; color: var(--ink); font-weight: 550; letter-spacing: .01em; margin-bottom: 4px; }
.affiliations sup { color: var(--muted); font-weight: 450; }
.author-note { font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.publication-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.resource-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border: 1px solid #d9dde2; border-radius: 24px; padding: 8px 18px; background: #fff; color: var(--ink); font-size: 13px; line-height: 1.4; font-weight: 550; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.resource-button svg { width: 17px; height: 17px; }
.resource-button:hover { background: var(--soft); border-color: #c8cdd3; }
.resource-button:disabled { cursor: default; color: #7a828c; background: var(--soft); }
.resource-button:disabled:hover { transform: none; }
.button-note { font-size: 10px; font-weight: 450; color: #7a828c; padding-left: 8px; border-left: 1px solid #d9dde2; }
.hero-highlight { margin: 30px auto 0; max-width: 860px; font-size: 19px; color: var(--ink-2); line-height: 1.6; letter-spacing: -.01em; text-wrap: balance; }
.hero-highlight strong { color: var(--ink); }

/* ── Teaser: stat tiles + figure ──────────────────────── */
.teaser { padding-bottom: 56px; }
.kpi-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 38px 0 30px; }
.stat-tile { border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px 16px; background: #fff; }
.stat-label { margin: 0 0 8px; font-size: 12.5px; font-weight: 550; color: var(--muted); letter-spacing: -.005em; }
.stat-value { margin: 0; font-size: 40px; font-weight: 650; line-height: 1.05; letter-spacing: -.035em; color: var(--ink); }
.stat-unit { font-size: 18px; font-weight: 550; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.stat-ref { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.main-figure { margin-top: 10px; }
.figure-panels { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.panel-title { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.chart { position: relative; width: 100%; min-height: 240px; }
.chart svg { width: 100%; height: auto; overflow: visible; font-family: var(--font); }
.chart text { fill: var(--chart-ink); font-size: 12px; }
.chart .tick text, .chart .axis-title { fill: var(--chart-muted); }
.chart .axis-title { font-size: 12.5px; }
.chart .grid line { stroke: var(--chart-grid); stroke-width: 1; shape-rendering: crispEdges; }
.chart .axis line, .chart .axis path { stroke: var(--chart-axis); stroke-width: 1; shape-rendering: crispEdges; fill: none; }
.chart .ref-line { stroke: var(--series-bf16); stroke-width: 1.5; stroke-dasharray: 6 5; fill: none; }
.chart .ref-label { font-size: 12px; fill: var(--chart-muted); font-weight: 550; }
.chart .series-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .series-line.emphasis { stroke-width: 2.6; }
.chart .marker, .chart .bar, .chart .bar-value, .chart .bar-note, .chart .direct-label, .chart .series-line, .chart .ref-line, .chart .ref-label, .chart text { pointer-events: none; }
.chart .marker { stroke: var(--chart-surface); stroke-width: 2; }
.chart .hit { fill: transparent; stroke: none; cursor: pointer; outline: none; }
.chart .hit:focus-visible + .marker, .chart .hit.active + .marker { stroke: var(--chart-ink); stroke-width: 2; }
.chart .direct-label { font-size: 12.5px; font-weight: 650; fill: var(--chart-ink); }
.chart .direct-label.muted { fill: var(--chart-muted); font-weight: 550; }
.chart .bar { shape-rendering: geometricPrecision; }
.chart .bar.ref { fill: var(--bar-ref); }
.chart .bar.ours { fill: var(--bar-ours); }
.chart .bar.featured { fill: var(--bar-featured); }
.chart .bar.a16 { fill: var(--bar-a16); }
.chart .bar.a8 { fill: var(--bar-a8); }
.chart .bar-hit { fill: transparent; cursor: pointer; outline: none; }
.chart .bar-hit:hover + .bar, .chart .bar-hit:focus-visible + .bar, .chart .bar-hit.active + .bar { filter: brightness(.92); }
.chart .bar-value { font-size: 12.5px; font-weight: 650; }
.chart .bar-note { font-size: 12px; fill: var(--chart-muted); }
.chart .bar-note.inside { fill: #fff; }
.chart .bar-note.strong { fill: var(--chart-ink); font-weight: 650; }
.chart .cat-label { font-size: 12.5px; fill: var(--chart-ink); }
.chart .cat-label.featured { font-weight: 650; }
.chart .crosshair { stroke: var(--chart-axis); stroke-width: 1; shape-rendering: crispEdges; pointer-events: none; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--ink-2); }
.chart-legend li { display: inline-flex; align-items: center; gap: 7px; }
.chart-legend svg { width: 26px; height: 12px; flex: none; }
.chart-legend .legend-line { fill: none; stroke-width: 2; stroke-linecap: round; }
.chart-legend .legend-marker { stroke: #fff; stroke-width: 1.5; }
.chart-legend .legend-ref { stroke: var(--series-bf16); stroke-width: 1.5; stroke-dasharray: 4 3; }
.main-figure figcaption, .method-overview figcaption, .analysis-figure figcaption { margin-top: 18px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.main-figure figcaption strong, .method-overview figcaption strong, .analysis-figure figcaption strong { color: var(--ink); }
.fine-print { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.fine-print summary { cursor: pointer; font-weight: 550; color: var(--muted); font-size: 13px; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.fine-print summary::-webkit-details-marker { display: none; }
.fine-print summary::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .15s; margin-right: 2px; }
.fine-print[open] summary::before { transform: rotate(45deg); }
.fine-print p { margin-top: 10px; }

/* ── Sections ─────────────────────────────────────────── */
.section { padding-block: 64px; }
.section-heading { margin-bottom: 22px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-lead { max-width: 820px; color: var(--ink-2); margin-bottom: 30px; }
.abstract-band { background: var(--soft); border-block: 1px solid var(--line); }
.abstract-band h2 { margin-bottom: 14px; }
.abstract-band p { font-size: 17px; }

/* ── Motivation ───────────────────────────────────────── */
.motivation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.motivation-card { border: 1px solid var(--line); border-radius: 12px; padding: 22px 22px 20px; background: #fff; display: flex; flex-direction: column; }
.motivation-card h3 { font-size: 19px; margin-bottom: 10px; }
.motivation-card p { font-size: 15px; color: var(--ink-2); line-height: 1.62; }
.card-index { margin: 0 0 12px; font-size: 12px; font-weight: 650; letter-spacing: .1em; color: var(--accent); }
.card-answer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-2); color: var(--ink) !important; font-weight: 550; }

/* ── Method ───────────────────────────────────────────── */
.method-overview { margin: 6px 0 40px; }
.desktop-overview { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 10px; background: #fff; }
.mobile-method-panel { display: none; }
.method-steps { display: grid; gap: 36px; }
.method-step { border-top: 1px solid var(--line); padding-top: 26px; }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.step-number { width: 30px; height: 30px; flex: none; display: inline-grid; place-items: center; border-radius: 50%; color: var(--ink); font-size: 14px; font-weight: 650; }
/* Circle fills sampled from the stage badges in the overview figure. */
.method-step:nth-of-type(1) .step-number { background: #9eddf0; }
.method-step:nth-of-type(2) .step-number { background: #b9e3a1; }
.method-step:nth-of-type(3) .step-number { background: #f6b293; }
.method-step p { max-width: 860px; }
.equation { margin: 16px 0 20px; padding: 16px 20px; background: var(--soft); border-radius: 8px; text-align: center; font-size: 19px; overflow-x: auto; }
.equation math { font-size: 1.05em; }
math { font-family: "Cambria Math", "STIX Two Math", "Latin Modern Math", "Noto Sans Math", "Times New Roman", serif; }
.metric-details { margin-top: 18px; }
.metric-details summary, .additional-results summary { cursor: pointer; font-weight: 550; color: var(--accent); font-size: 14px; list-style: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 0; }
.metric-details summary::-webkit-details-marker, .additional-results summary::-webkit-details-marker { display: none; }
.metric-details summary::before, .additional-results summary::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .15s; margin-right: 2px; }
.metric-details[open] summary::before, .additional-results[open] summary::before { transform: rotate(45deg); }
.metric-details .table-scroll { margin-top: 14px; }
.metric-table td { font-size: 14.5px; }
.metric-table math { font-size: 15px; }

/* ── Results ──────────────────────────────────────────── */
.results-section { padding-top: 56px; }
.result-block { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 36px; }
.result-block:first-of-type { margin-top: 0; }
.result-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.source-label { flex: none; font-size: 12px; font-weight: 550; color: var(--muted); border: 1px solid var(--line); border-radius: 14px; padding: 3px 10px; white-space: nowrap; }
.result-block > p { max-width: 860px; }
.table-scroll { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline-offset: 2px; }
.results-table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.results-table caption { caption-side: top; text-align: left; padding: 12px 14px 10px; font-size: 13px; color: var(--muted); line-height: 1.5; border-bottom: 1px solid var(--line); }
.results-table th, .results-table td { padding: 8px 12px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line-2); }
.results-table thead th { text-align: right; font-weight: 600; color: var(--ink-2); font-size: 13px; background: var(--soft); border-bottom: 1px solid var(--line); }
.results-table thead th:first-child, .results-table tbody th[scope="row"] { text-align: left; }
.results-table tbody th[scope="row"] { font-weight: 500; color: var(--ink); position: sticky; left: 0; background: #fff; }
.results-table tbody th[scope="row"].indent { padding-left: 26px; }
.results-table .group-row th { text-align: left; font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--soft); padding: 6px 12px; position: static; }
.results-table tr.reference td, .results-table tr.reference th { color: var(--ink-2); background: #fafbfc; }
.results-table tr.ours th[scope="row"] { font-weight: 650; }
.results-table tr.ours td, .results-table tr.ours th { background: var(--ours); }
.results-table tr.featured td, .results-table tr.featured th { background: #f8e3e4; }
.results-table tr.separated td, .results-table tr.separated th { border-top: 1px solid var(--line); }
.results-table tbody tr:last-child td, .results-table tbody tr:last-child th { border-bottom: 0; }
.results-table td.budget-cell { text-align: right; vertical-align: top; font-weight: 600; color: var(--ink-2); border-right: 1px solid var(--line-2); }
.results-table .check { color: var(--accent); font-weight: 650; }
.note-mark { color: var(--muted); font-size: .85em; }
.table-notes { margin-top: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.55; max-width: 900px !important; }
.tab-strip { display: inline-flex; gap: 4px; margin-top: 8px; padding: 4px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; }
.tab { border: 0; background: transparent; color: var(--muted); font-size: 13.5px; font-weight: 550; padding: 7px 14px; border-radius: 7px; cursor: pointer; transition: background .15s, color .15s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }

/* ── Analysis ─────────────────────────────────────────── */
.analysis-section { padding-top: 56px; }
.chart-controls { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.control-label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.segmented { display: inline-flex; gap: 3px; padding: 3px; background: var(--soft); border: 1px solid var(--line); border-radius: 9px; }
.segmented button { border: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 550; padding: 5px 12px; border-radius: 6px; cursor: pointer; transition: background .15s, color .15s; }
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.analysis-figure { margin-top: 18px; max-width: 860px; }
.chart-wide { min-height: 300px; }
.additional-results { margin-top: 16px; }
.additional-results .table-scroll { margin-top: 10px; }
.scope-note { margin-top: 40px; padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--soft); font-size: 15px; color: var(--ink-2); max-width: 900px; border-radius: 0 8px 8px 0; }
.scope-note strong { color: var(--ink); }

/* ── Chart tooltip ────────────────────────────────────── */
.chart-tooltip { position: fixed; z-index: 50; pointer-events: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 20px rgba(20, 30, 40, .12); padding: 8px 11px; font-size: 12.5px; line-height: 1.4; color: var(--ink); min-width: 120px; max-width: 240px; }
.chart-tooltip .tt-title { font-size: 11.5px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.chart-tooltip .tt-row { display: flex; align-items: center; gap: 8px; justify-content: space-between; padding: 1px 0; }
.chart-tooltip .tt-key { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.chart-tooltip .tt-swatch { width: 14px; height: 3px; border-radius: 2px; flex: none; }
.chart-tooltip .tt-value { font-weight: 650; font-variant-numeric: tabular-nums; }

/* ── Citation / footer ────────────────────────────────── */
.citation-section { background: var(--soft); border-top: 1px solid var(--line); }
.citation-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.copy-button { border: 1px solid #d9dde2; background: #fff; border-radius: 18px; padding: 6px 14px; font-size: 13px; font-weight: 550; cursor: pointer; color: var(--ink); transition: background .15s; }
.copy-button:hover { background: var(--line-2); }
.copy-button.copied { color: #0f7a3a; border-color: #bfe3cd; }
.citation-note { font-size: 13.5px; color: var(--muted); }
.inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.placeholder-badge { display: inline-block; vertical-align: 1px; margin-right: 8px; padding: 2px 9px; border-radius: 12px; font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: #7a4f00; background: #fff3d1; border: 1px solid #efd48c; }
.bibtex { margin: 0; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-family: var(--mono); font-size: 13.5px; line-height: 1.6; overflow-x: auto; color: var(--ink); white-space: pre; }
.site-footer { border-top: 1px solid var(--line); padding: 26px 0 40px; font-size: 13.5px; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-row p { margin: 0; }
.footer-row a:hover { color: var(--accent); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1000px) {
  .motivation-grid { grid-template-columns: 1fr; }
  .figure-panels { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container, .reading-width { width: min(1100px, calc(100% - 32px)); }
  .section { padding-block: 48px; }
  .hero { padding-top: 48px; }
  .desktop-break { display: none; }
  .hero-highlight { font-size: 17px; }
  .kpi-row { grid-template-columns: 1fr; gap: 10px; margin: 30px 0 24px; }
  .stat-tile { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label value" "ref value"; align-items: center; column-gap: 14px; padding: 14px 16px; }
  .stat-label { grid-area: label; margin: 0; }
  .stat-value { grid-area: value; font-size: 32px; }
  .stat-ref { grid-area: ref; margin: 2px 0 0; }
  .result-heading { flex-direction: column; align-items: flex-start; gap: 8px; }
  .results-table { font-size: 13.5px; }
  .results-table th, .results-table td { padding: 7px 10px; }
  .method-overview { display: none; }
  .mobile-method-panel { display: block; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #fff; }
  .mobile-method-panel svg { width: 100%; height: auto; }
  .equation { font-size: 17px; padding: 14px 14px; }
  .chart-controls { flex-wrap: wrap; }
  .segmented { flex-wrap: wrap; }
  .tab-strip { width: 100%; }
  .tab { flex: 1; text-align: center; }
  h3 { font-size: 20px; }
  .nav-links { gap: 18px; }
}
@media (max-width: 420px) {
  .hero-name { font-size: 52px; }
  .resource-button { padding: 8px 14px; }
}
@media print {
  .site-header, .skip-link, .chart-tooltip, .copy-button { display: none !important; }
  .results-table tr.ours td, .results-table tr.ours th { background: #f3f3f3 !important; }
  .chart svg { break-inside: avoid; }
}
