/* Still Current public site. Tokens follow DESIGN.md; the site uses Inter (self-hosted, OFL) as the brief sets.
   Colour rules: accent terracotta only for the brand mark and the primary action; danger red only for
   discrepancy and not-found data; everything else neutral. Status never relies on colour alone. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;

  /* colour: light */
  --sc-canvas: #F7F3EE;
  --sc-surface: #FDFBF8;
  --sc-surface-subdued: #F0EAE2;
  --sc-text: #221A14;
  --sc-text-secondary: #54463B;
  --sc-text-muted: #6F6155;
  --sc-border: #E2D8CC;
  --sc-border-strong: #8C7E70;
  --sc-accent: #C45C3E;
  --sc-action: #A94A2D;
  --sc-action-hover: #8F3D24;
  --sc-on-action: #FDFBF8;
  --sc-focus: #C45C3E;
  --sc-warning: #96600A;
  --sc-warning-surface: #FFF4DD;
  --sc-danger: #B42318;
  --sc-danger-surface: #FDECEA;
  --sc-code-surface: #EAE2D8;

  /* type */
  --sc-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sc-font-code: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sc-step-display: clamp(2.125rem, 1.55rem + 2.6vw, 3.5rem);
  --sc-step-title: clamp(1.625rem, 1.35rem + 1.2vw, 2.25rem);
  --sc-step-section: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --sc-step-metric: clamp(2.75rem, 2rem + 3.4vw, 4.75rem);
  --sc-step-body: 1.0625rem;
  --sc-step-support: 0.9375rem;
  --sc-step-meta: 0.8125rem;

  /* space: 4 8 12 16 20 24 32 40 48 64 80 */
  --sc-1: 4px; --sc-2: 8px; --sc-3: 12px; --sc-4: 16px; --sc-5: 20px; --sc-6: 24px;
  --sc-8: 32px; --sc-10: 40px; --sc-12: 48px; --sc-16: 64px; --sc-20: 80px;
  --sc-gutter: 16px;
  --sc-max: 1180px;
  --sc-measure: 68ch;

  /* shape and motion */
  --sc-radius-control: 8px;
  --sc-radius-panel: 12px;
  --sc-radius-large: 16px;
  --sc-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sc-dur-control: 120ms;
  --sc-dur-reveal: 600ms;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sc-canvas: #120E0B;
    --sc-surface: #1F1A15;
    --sc-surface-subdued: #2A231D;
    --sc-text: #F4EEE6;
    --sc-text-secondary: #D2C6B8;
    --sc-text-muted: #B5A797;
    --sc-border: #3A322B;
    --sc-border-strong: #8E8072;
    --sc-accent: #E58A6E;
    --sc-action: #E08A6E;
    --sc-action-hover: #EB9C84;
    --sc-on-action: #120E0B;
    --sc-focus: #E9A08A;
    --sc-warning: #F1BE63;
    --sc-warning-surface: #3A2A10;
    --sc-danger: #FF8B80;
    --sc-danger-surface: #3E1B1B;
    --sc-code-surface: #17120F;
  }
}

@media (min-width: 768px) { :root { --sc-gutter: 24px; } }

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--sc-border-strong) var(--sc-canvas);
}

body {
  margin: 0;
  background: var(--sc-canvas);
  color: var(--sc-text);
  font-family: var(--sc-font);
  font-size: var(--sc-step-body);
  line-height: 1.6;
  font-optical-sizing: auto;
  overflow-wrap: break-word;
  caret-color: var(--sc-accent);
}

::selection { background: var(--sc-text); color: var(--sc-canvas); }

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: var(--sc-step-display); font-weight: 680; letter-spacing: -0.025em; }
h2 { font-size: var(--sc-step-title); font-weight: 650; letter-spacing: -0.02em; }
h3 { font-size: var(--sc-step-section); font-weight: 620; letter-spacing: -0.01em; }
p, ul, ol, dl { margin: 0; }
p + p { margin-top: var(--sc-4); }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--sc-border-strong);
  transition: text-decoration-color var(--sc-dur-control) var(--sc-ease);
}
a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--sc-focus);
  outline-offset: 2px;
  border-radius: 4px;
}

code, pre { font-family: var(--sc-font-code); font-size: 0.875rem; }
:not(pre) > code {
  background: var(--sc-surface-subdued);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  overflow-wrap: anywhere;
}

time, .num { font-variant-numeric: tabular-nums; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--sc-gutter);
  top: -100px;
  z-index: 10;
  background: var(--sc-text);
  color: var(--sc-canvas);
  padding: var(--sc-3) var(--sc-4);
  border-radius: var(--sc-radius-control);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: var(--sc-3); }

.wrap {
  width: 100%;
  max-width: calc(var(--sc-max) + 2 * var(--sc-gutter));
  margin-inline: auto;
  padding-inline: var(--sc-gutter);
}

/* ---------- header ---------- */

.site-header { padding-block: var(--sc-4); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sc-4);
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sc-2);
  min-height: 44px;
  font-weight: 680;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sc-1) var(--sc-2);
}
.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: var(--sc-3);
  border-radius: var(--sc-radius-control);
  text-decoration: none;
  color: var(--sc-text-secondary);
  font-size: var(--sc-step-support);
  font-weight: 520;
  transition: background-color var(--sc-dur-control) var(--sc-ease), color var(--sc-dur-control) var(--sc-ease);
}
.nav-list a:hover { background: var(--sc-surface-subdued); color: var(--sc-text); }
.nav-list a[aria-current="page"] { color: var(--sc-text); font-weight: 650; background: var(--sc-surface-subdued); }
.nav-list .lang-link { color: var(--sc-text); }

.nav-menu > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: var(--sc-2);
  min-height: 44px;
  padding-inline: var(--sc-4);
  border-radius: var(--sc-radius-control);
  background: var(--sc-surface-subdued);
  font-weight: 600;
  font-size: var(--sc-step-support);
  cursor: pointer;
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary svg { width: 16px; height: 16px; }
.nav-menu[open] > summary svg { transform: rotate(180deg); }
.nav-menu[open] .nav-list {
  flex-direction: column;
  margin-top: var(--sc-2);
  padding: var(--sc-2);
  background: var(--sc-surface);
  border-radius: var(--sc-radius-panel);
}
.nav-menu[open] { flex-basis: 100%; }
.site-header nav { display: contents; }
.nav-wide { display: none; }
@media (min-width: 900px) {
  .nav-wide { display: flex; }
  .nav-menu { display: none; }
}

/* ---------- notices ---------- */

.translation-note {
  background: var(--sc-warning-surface);
  color: var(--sc-text);
  font-size: var(--sc-step-support);
  padding-block: var(--sc-3);
}
.translation-note strong { font-weight: 650; }

/* ---------- page structure ---------- */

body { min-height: 100vh; display: flex; flex-direction: column; }
main { display: block; flex: 1 0 auto; }
main:focus { outline: none; }

.section { padding-block: var(--sc-12); }
.section--tone { background: var(--sc-surface-subdued); }
.section--surface { background: var(--sc-surface); }
@media (min-width: 900px) { .section { padding-block: var(--sc-20); } }

.section > .wrap > h2,
.section-head { margin-bottom: var(--sc-6); max-width: var(--sc-measure); }
.section-head h2 + p { margin-top: var(--sc-3); color: var(--sc-text-secondary); }

.prose { max-width: var(--sc-measure); }
.wrap.prose { max-width: calc(var(--sc-max) + 2 * var(--sc-gutter)); }
.wrap.prose > * { max-width: var(--sc-measure); }
.prose h2 { margin-top: var(--sc-12); margin-bottom: var(--sc-4); }
.prose h3 { margin-top: var(--sc-8); margin-bottom: var(--sc-3); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--sc-2); }
.prose ul + p, .prose ol + p, .prose p + ul, .prose p + ol { margin-top: var(--sc-4); }

.page-head { padding-block: var(--sc-10) var(--sc-8); }
.page-head h1 { max-width: 22ch; }
.page-head .lede { margin-top: var(--sc-5); max-width: 60ch; font-size: 1.1875rem; color: var(--sc-text-secondary); }
@media (min-width: 900px) { .page-head { padding-block: var(--sc-16) var(--sc-12); } }

.spaced { margin-top: var(--sc-8); }
.muted { color: var(--sc-text-muted); }
.small { font-size: var(--sc-step-support); }
.meta { font-size: var(--sc-step-meta); color: var(--sc-text-muted); }

/* ---------- buttons ---------- */

.actions { display: flex; flex-wrap: wrap; gap: var(--sc-3) var(--sc-4); align-items: center; margin-top: var(--sc-8); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sc-2);
  min-height: 48px;
  padding: var(--sc-3) var(--sc-6);
  border-radius: var(--sc-radius-control);
  background: var(--sc-action);
  color: var(--sc-on-action);
  font-weight: 620;
  text-decoration: none;
  transition: background-color var(--sc-dur-control) var(--sc-ease), transform var(--sc-dur-control) var(--sc-ease);
}
.button:hover { background: var(--sc-action-hover); text-decoration: none; }
.button:active { transform: translateY(1px) scale(0.98); }
.button svg { width: 18px; height: 18px; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

@media (max-width: 479.98px) { .actions .button { width: 100%; } }

/* ---------- hero ---------- */

.hero { padding-block: var(--sc-8) var(--sc-12); }
.hero-grid { display: grid; gap: var(--sc-10); align-items: center; }
.hero h1 { max-width: 16ch; }
.hero .lede { margin-top: var(--sc-6); max-width: 46ch; font-size: 1.1875rem; color: var(--sc-text-secondary); }
@media (min-width: 960px) {
  .hero { padding-block: var(--sc-12) var(--sc-20); }
  .hero-grid { grid-template-columns: 5fr 6fr; gap: var(--sc-16); }
}

.figure { margin: 0; }
.figure-media {
  border-radius: var(--sc-radius-large);
  overflow: hidden;
  background: var(--sc-surface);
  aspect-ratio: 16 / 9;
}
.figure-media img, .figure-media video { width: 100%; height: 100%; object-fit: cover; }
.clip-toggle {
  margin-top: var(--sc-2);
  min-height: 44px;
  padding: var(--sc-2) var(--sc-4);
  border: 0;
  border-radius: var(--sc-radius-control);
  background: var(--sc-surface-subdued);
  color: var(--sc-text);
  font: 600 var(--sc-step-meta) var(--sc-font);
  cursor: pointer;
}
.clip-toggle:hover { background: var(--sc-border); }
.clip-toggle[hidden] { display: none; }
.figure figcaption { margin-top: var(--sc-4); font-size: var(--sc-step-support); color: var(--sc-text-secondary); }

/* the two numbers */
.pair { display: grid; gap: var(--sc-6); margin-top: var(--sc-2); }
@media (min-width: 640px) { .pair { grid-template-columns: 1fr 1fr; } }
.pair-item { margin: 0; background: var(--sc-surface); border-radius: var(--sc-radius-panel); padding: var(--sc-6); }
.pair-number {
  display: block;
  font-size: clamp(1.75rem, 1.3rem + 2.2vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pair-number .diff {
  color: var(--sc-danger);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.12em;
}
.pair-label { display: block; margin-top: var(--sc-2); color: var(--sc-text-secondary); }
.pair-source { display: block; margin-top: var(--sc-1); font-size: var(--sc-step-meta); color: var(--sc-text-muted); }

/* ---------- ledger of figures (metric first, label second) ---------- */

.ledger { list-style: none; padding: 0; display: grid; gap: var(--sc-3); }
.ledger-row {
  display: grid;
  gap: var(--sc-1) var(--sc-8);
  padding: var(--sc-6);
  background: var(--sc-surface);
  border-radius: var(--sc-radius-panel);
}
.section--surface .ledger-row { background: var(--sc-surface-subdued); }
.ledger-figure {
  font-size: var(--sc-step-metric);
  font-weight: 680;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.ledger-figure small { font-size: 0.42em; font-weight: 560; letter-spacing: -0.01em; color: var(--sc-text-secondary); }
.ledger-label { font-size: 1.0625rem; font-weight: 520; max-width: 52ch; }
.ledger-date { font-size: var(--sc-step-meta); color: var(--sc-text-muted); }
.ledger-text { display: grid; gap: var(--sc-1); }
@media (min-width: 768px) {
  .ledger-row { grid-template-columns: minmax(14rem, 2fr) 5fr; align-items: center; }
}
.caveat { margin-top: var(--sc-6); max-width: var(--sc-measure); color: var(--sc-text-secondary); }

/* ---------- facts ---------- */

.facts { list-style: none; padding: 0; display: grid; gap: var(--sc-4); }
.fact {
  background: var(--sc-surface);
  border-radius: var(--sc-radius-panel);
  padding: var(--sc-6);
  max-width: 820px;
}
.section--surface .fact { background: var(--sc-surface-subdued); }
.fact-title { font-size: 1.1875rem; font-weight: 640; }
.fact-dates { display: flex; flex-wrap: wrap; gap: var(--sc-2) var(--sc-8); margin-top: var(--sc-3); }
.fact-dates div { display: flex; gap: var(--sc-2); align-items: baseline; }
.fact-dates dt { font-size: var(--sc-step-meta); color: var(--sc-text-muted); }
.fact-dates dd { margin: 0; font-weight: 600; font-size: var(--sc-step-support); }
.fact-answer { margin-top: var(--sc-4); font-size: 1.0625rem; }
.fact-quote { margin-top: var(--sc-4); }
.fact-quote summary {
  cursor: pointer;
  display: list-item;
  padding-block: 10px;
  font-weight: 600;
  font-size: var(--sc-step-support);
}
.fact-quote ul { padding-left: 1.25em; margin-top: var(--sc-2); color: var(--sc-text-secondary); font-size: var(--sc-step-support); }
.fact-quote li + li { margin-top: var(--sc-2); }
.fact-basis { margin-top: var(--sc-3); font-size: var(--sc-step-support); color: var(--sc-text-secondary); }
.fact-source { margin-top: var(--sc-2); font-size: var(--sc-step-support); overflow-wrap: anywhere; }
.fact-state { margin-top: var(--sc-3); }
.fact-meta { margin-top: var(--sc-2); font-size: var(--sc-step-support); color: var(--sc-text-muted); }
.fact--withheld { background: var(--sc-warning-surface); }
.fact--withheld .fact-state strong { color: var(--sc-warning); }

.section--surface .layer { background: var(--sc-surface-subdued); }
.facts-layout { display: grid; gap: var(--sc-2); }
@media (min-width: 1100px) {
  .facts-layout { grid-template-columns: minmax(0, 820px) minmax(0, 1fr); gap: var(--sc-10); align-items: start; }
  .facts-aside { order: 2; position: sticky; top: var(--sc-6); }
  .facts-aside .snapshot-age { background: var(--sc-surface); border-radius: var(--sc-radius-panel); padding: var(--sc-6); }
}
.snapshot-age {
  max-width: var(--sc-measure);
  margin-bottom: var(--sc-6);
  font-size: var(--sc-step-support);
  color: var(--sc-text-secondary);
}

/* ---------- layers and clock ---------- */

.layers { list-style: none; padding: 0; display: grid; gap: var(--sc-4); counter-reset: none; }
.layer {
  display: grid;
  gap: var(--sc-3);
  padding: var(--sc-6);
  background: var(--sc-surface);
  border-radius: var(--sc-radius-panel);
}
.layer h3 { font-size: var(--sc-step-section); }
.layer p { color: var(--sc-text-secondary); max-width: 60ch; }
.layer-state { font-size: var(--sc-step-support); font-weight: 600; color: var(--sc-text); }
@media (min-width: 900px) {
  .layer { grid-template-columns: minmax(12rem, 1fr) 2fr; align-items: start; padding: var(--sc-8); }
  .layer > div { display: grid; gap: var(--sc-3); }
}

.clock { margin: var(--sc-4) 0 0; max-width: 820px; }
.clock-bar { display: grid; grid-template-columns: 7fr 3fr; gap: 6px; height: 20px; }
.clock-shown { background: var(--sc-text); border-radius: 4px; }
.clock-withheld {
  border-radius: 4px;
  background: var(--sc-warning-surface);
  outline: 2px dashed var(--sc-warning);
  outline-offset: -2px;
}
.clock-steps { list-style: none; padding: 0; display: grid; gap: var(--sc-4); margin-top: var(--sc-4); }
.clock-step { display: grid; gap: var(--sc-1); }
.clock-step strong { font-size: 1.0625rem; }
.clock-step span { color: var(--sc-text-secondary); font-size: var(--sc-step-support); }
.clock-step--withheld strong { color: var(--sc-warning); }
.clock figcaption { margin-top: var(--sc-4); }
@media (min-width: 640px) {
  .clock-steps { grid-template-columns: 4fr 3fr 3fr; }
  .clock-step--withheld { text-align: right; }
}

/* ---------- film ---------- */

.film-grid { display: grid; gap: var(--sc-8); }
@media (min-width: 1000px) { .film-grid { grid-template-columns: 3fr 2fr; align-items: start; } }
.film video { width: 100%; border-radius: var(--sc-radius-large); background: var(--sc-surface); aspect-ratio: 16 / 9; }
.transcript {
  background: var(--sc-surface);
  border-radius: var(--sc-radius-panel);
  padding: var(--sc-6);
  font-size: var(--sc-step-support);
}
.transcript h3 { font-size: 1.0625rem; margin-bottom: var(--sc-3); }
.transcript ol { list-style: none; padding: 0; display: grid; gap: var(--sc-3); }
.transcript time { font-weight: 650; color: var(--sc-text); margin-right: var(--sc-2); }
@media (min-width: 1000px) { .transcript { max-height: 34rem; overflow-y: auto; } }

/* ---------- code ---------- */

.code-block { margin: var(--sc-4) 0 0; position: relative; min-width: 0; max-width: 100%; }
.code-block pre {
  margin: 0;
  background: var(--sc-code-surface);
  color: var(--sc-text);
  border-radius: var(--sc-radius-panel);
  padding: var(--sc-5);
  overflow-x: auto;
  line-height: 1.55;
  white-space: pre;
  max-width: 100%;
}
.code-block figcaption { font-size: var(--sc-step-meta); color: var(--sc-text-muted); min-height: 40px; display: flex; align-items: center; padding-right: 72px; margin-bottom: var(--sc-1); }
.copy-button {
  position: absolute;
  top: 0;
  right: 0;
  min-height: 36px;
  min-width: 44px;
  padding: var(--sc-1) var(--sc-3);
  border: 0;
  border-radius: 6px;
  background: var(--sc-surface-subdued);
  color: var(--sc-text);
  font: 600 var(--sc-step-meta) var(--sc-font);
  cursor: pointer;
}
.copy-button:hover { background: var(--sc-border); }

.setup { display: grid; gap: var(--sc-10); }
.setup > *, .film-grid > *, .hero-grid > *, .footer-grid > * { min-width: 0; }
.setup-item h3 { margin-bottom: var(--sc-2); }
.setup-item > p { max-width: var(--sc-measure); color: var(--sc-text-secondary); }

.tools { list-style: none; padding: 0; display: grid; gap: var(--sc-3); }
.tools li { background: var(--sc-surface); border-radius: var(--sc-radius-panel); padding: var(--sc-5) var(--sc-6); }
.tools code { font-weight: 600; }

/* ---------- platforms ---------- */

.platforms { list-style: none; padding: 0; display: grid; gap: var(--sc-4); }
.platform { background: var(--sc-surface); border-radius: var(--sc-radius-panel); padding: var(--sc-6); }
.platform-head { display: flex; flex-wrap: wrap; gap: var(--sc-2) var(--sc-4); align-items: baseline; justify-content: space-between; }
.status {
  display: inline-flex;
  align-items: center;
  gap: var(--sc-2);
  font-size: var(--sc-step-support);
  font-weight: 620;
  color: var(--sc-text);
}
.status svg { width: 16px; height: 16px; color: var(--sc-warning); }
.platform p { margin-top: var(--sc-3); color: var(--sc-text-secondary); max-width: var(--sc-measure); }
.platform ul { margin-top: var(--sc-3); padding-left: 1.25em; color: var(--sc-text-secondary); }

/* ---------- 404 ---------- */

.not-found-code { color: var(--sc-danger); font-weight: 680; font-size: var(--sc-step-metric); line-height: 1; letter-spacing: -0.03em; }

/* ---------- footer ---------- */

/* The footer closes every page in the opposite theme, so it never merges into the last section. */
.site-footer {
  --sc-text: #F4EEE6;
  --sc-text-secondary: #D2C6B8;
  --sc-border-strong: #8E8072;
  --sc-accent: #E58A6E;
  --sc-focus: #E9A08A;
  padding-block: var(--sc-12) var(--sc-10);
  background: #221A14;
  color: var(--sc-text);
}
@media (prefers-color-scheme: dark) {
  .site-footer {
    --sc-text: #221A14;
    --sc-text-secondary: #54463B;
    --sc-border-strong: #8C7E70;
    --sc-accent: #C45C3E;
    --sc-focus: #C45C3E;
    background: #F0EAE2;
  }
}
.footer-grid { display: grid; gap: var(--sc-8); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 3fr; } }
.footer-lines p { color: var(--sc-text-secondary); font-size: var(--sc-step-support); }
.footer-lines p:first-of-type { margin-top: var(--sc-3); color: var(--sc-text); font-weight: 600; }
.footer-nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sc-1) var(--sc-2); }
.footer-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--sc-2);
  font-size: var(--sc-step-support); color: var(--sc-text-secondary);
}

/* ---------- motion: one authored moment, content visible by default ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal.is-pending { opacity: 0; transform: translateY(16px); }
  .reveal.is-pending.is-in {
    opacity: 1;
    transform: none;
    transition: opacity var(--sc-dur-reveal) var(--sc-ease), transform var(--sc-dur-reveal) var(--sc-ease);
  }
  .reveal.is-pending.is-in:nth-child(2) { transition-delay: 90ms; }
  .reveal.is-pending.is-in:nth-child(3) { transition-delay: 180ms; }
  .reveal.is-pending.is-in:nth-child(4) { transition-delay: 270ms; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-header nav, .skip-link, .copy-button, video { display: none !important; }
  body { background: none; }
}

/* The checks, in words. No badge or icon: a mark would look like an agency approval. */
.fact-layers { list-style: none; margin: var(--sc-4) 0 0; padding: 0; display: grid; gap: var(--sc-2); border-top: 1px solid var(--sc-border); padding-top: var(--sc-3); }
.fact-layers li { display: flex; flex-wrap: wrap; gap: var(--sc-2) var(--sc-4); align-items: baseline; }
.layer-name { font-weight: 600; font-size: var(--sc-step-support); min-width: 11ch; }
.layer-state { font-size: var(--sc-step-support); color: var(--sc-text-muted); }
.layer-state--on { color: var(--sc-text); font-weight: 600; }
.facts-legend { margin: 0 0 var(--sc-4); font-size: var(--sc-step-support); color: var(--sc-text-secondary); max-width: 62ch; }
