/* Fonts are self-hosted (SIL Open Font License 1.1; licenses in /assets/fonts/OFL-*.txt), so visitors' IP addresses
   never go to Google. Files and unicode ranges come from Google Fonts' own CSS, fetched 1 Dec 2026. */
@font-face { font-family: "Atkinson Hyperlegible"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/atkinson-hyperlegible-400-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/atkinson-hyperlegible-400-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/atkinson-hyperlegible-400-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/atkinson-hyperlegible-400-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/atkinson-hyperlegible-700-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/atkinson-hyperlegible-700-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/atkinson-hyperlegible-mono-400-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/atkinson-hyperlegible-mono-400-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/atkinson-hyperlegible-mono-600-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/atkinson-hyperlegible-mono-600-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-600-800-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-600-800-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Declared: "the console that shows its work".
   Layout: a studio-dark hero with a waveform and a channel strip of the five AI declarations, then plain
   single-column sections. Labels set like a DAW's track names (mono, small caps). No JavaScript.
   Accessibility: every TEXT color is AAA (7:1+) on its background in both themes (tests/test_site.py checks the
   tokens). Decorative graphics are aria-hidden. Motion plays once (under 2 s) and never under reduced motion. */
:root {
  /* light: "control room in daylight" */
  --bg: #f4f5f9;
  --fg: #10131a;
  --muted: #39414e;
  --accent: #08457d;          /* links: 8.01:1 on cards, 8.93:1 on the page */
  --panel: #e6e9f1;           /* cards, strips */
  --focus: #b8460b;
  --rule: #c5ccd8;
  --glow-a: #1a65b0;          /* waveform, meters, and the gradient headline word: 5.46:1 (AAA large text) */
  --glow-b: #b4268f;          /* 5.33:1 */
  --meter-track: #cfd5e0;
  --display: "Bricolage Grotesque", "Atkinson Hyperlegible", system-ui, sans-serif;
  --font: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    /* dark: "the room with the lights down" */
    --bg: #0a0c11; --fg: #f2f4f8; --muted: #c2c9d5; --accent: #8fd0ff;
    --panel: #151a24; --focus: #ffb27a; --rule: #2b3340;
    --glow-a: #38b6ff; --glow-b: #ff5fd2; --meter-track: #263041;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 1.125rem; line-height: 1.65; }
.wrap {
  max-width: 46rem; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: 16px; top: -100px; background: var(--fg); color: var(--bg); padding: 0.6rem 1rem; z-index: 10; font-weight: 700; }
.skip:focus { top: 8px; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
p, li, footer, figcaption, dd { overflow-wrap: anywhere; }  /* long addresses wrap at 320 px (WCAG 1.4.10) */

/* --- header: brand + transport-style nav ---------------------------------------------- */
header.site { border-bottom: 1px solid var(--rule); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1.5rem; padding-block: 0.9rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; color: var(--fg); text-decoration: none; }
.brand svg { width: 1.6rem; height: 1.6rem; }
.brand:hover { text-decoration: underline; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; }
nav a { font-size: 1rem; }
nav a[aria-current="page"] { color: var(--fg); font-weight: 700; text-decoration-thickness: 0.18em; }

/* --- type ------------------------------------------------------------------------------------- */
main { padding-block: 0 3.5rem; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 7vw, 3.6rem); font-weight: 800; margin: 2.4rem 0 1rem; }
h2 { font-size: clamp(1.5rem, 4vw, 1.9rem); font-weight: 700; margin: 2.8rem 0 0.7rem; }
h3 { font-size: 1.2rem; margin: 1.6rem 0 0.4rem; }
p, li { max-width: 65ch; }
ul, ol { padding-left: 1.3rem; display: grid; gap: 0.5rem; }
.lede { font-size: 1.25rem; }
.muted { color: var(--muted); }
code { font-family: var(--mono); font-size: 0.92em; background: var(--panel); padding: 0.05em 0.35em; border-radius: 4px; }
.eyebrow { font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.4rem; }
h2 + .eyebrow, .eyebrow + h2 { margin-top: 0; }

/* --- hero ------------------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(60rem 22rem at 85% -10%, color-mix(in srgb, var(--glow-b) 14%, transparent), transparent 70%),
    radial-gradient(50rem 20rem at 0% 110%, color-mix(in srgb, var(--glow-a) 14%, transparent), transparent 70%),
    var(--bg); }
.hero .wrap { padding-block: 1.2rem 2.6rem; }
.hero h1 { font-size: clamp(2.7rem, 11vw, 5.6rem); line-height: 0.98; margin: 1.6rem 0 1.1rem; }
.hero h1 .accent-word { background: linear-gradient(90deg, var(--glow-a), var(--glow-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (forced-colors: active) { .hero h1 .accent-word { color: CanvasText; background: none; } }
/* Height has a floor: at 320 px wide the natural 6:1 shape was only 48 px tall and read as dots (measured). */
.wave { display: block; width: 100%; height: clamp(88px, 17vw, 128px); max-width: 100%; margin-top: 0.4rem; }
.wave rect { fill: url(#wavegrad); transform-box: fill-box; transform-origin: 50% 100%; animation: rise 0.9s cubic-bezier(.2,.8,.2,1) both; }
/* Left-to-right stagger by group (no inline styles, so a strict CSP needs no 'unsafe-inline'). Last group starts at 0.7 s. */
.wave .w1 rect { animation-delay: 0.1s; } .wave .w2 rect { animation-delay: 0.2s; } .wave .w3 rect { animation-delay: 0.3s; }
.wave .w4 rect { animation-delay: 0.4s; } .wave .w5 rect { animation-delay: 0.5s; } .wave .w6 rect { animation-delay: 0.6s; }
.wave .w7 rect { animation-delay: 0.7s; }
@keyframes rise { from { transform: scaleY(0.04); opacity: 0.2; } to { transform: scaleY(1); opacity: 1; } }

/* --- the declaration channel strip ----------------------------------------------------------- */
.declaration { margin: 1.8rem 0 0; padding: 1.1rem 1.2rem 1rem; background: var(--panel); border: 1px solid var(--rule); border-radius: 14px; }
.declaration figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.2rem 1rem; font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.7rem; }
.meters { margin: 0; display: grid; gap: 0.55rem; }
.meter { display: grid; grid-template-columns: minmax(8.5rem, 11rem) 1fr; align-items: center; gap: 0.2rem 1rem; }
.meter dt { font-family: var(--mono); font-size: 0.95rem; }
.meter dd { margin: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.75rem; }
.meter .bar { height: 0.7rem; border-radius: 999px; background: var(--meter-track); overflow: hidden; position: relative; }
.meter .bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--glow-a), var(--glow-b)); }
.meter .lvl-ai::after { width: 100%; }
.meter .lvl-assisted::after { width: 55%; }
.meter .lvl-none::after { width: 6%; }
.meter .level { font-weight: 700; font-size: 1rem; min-width: 7.5rem; text-align: right; }
.declaration .foot { margin: 0.8rem 0 0; font-size: 1rem; color: var(--muted); }
@media (max-width: 34rem) {
  .meter { grid-template-columns: 1fr; }
  .meter .level { text-align: left; min-width: 0; }
}

/* --- status strip --------------------------------------------------------------------------- */
.status { display: flex; flex-wrap: wrap; gap: 0.3rem 0.8rem; align-items: baseline; border: 1px solid var(--rule); border-left: 5px solid var(--glow-a); border-radius: 10px; padding: 0.8rem 1rem; margin: 2rem 0 0; background: var(--panel); }
.status strong { font-family: var(--mono); font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* --- feature rows: channel labels ------------------------------------------------------------- */
.channels { display: grid; gap: 0; margin-top: 1rem; }
.channel { display: grid; grid-template-columns: 3.2rem 1fr; gap: 0 1rem; padding: 1.4rem 0; border-top: 1px solid var(--rule); }
.channel:last-child { border-bottom: 1px solid var(--rule); }
.channel svg { width: 2.6rem; height: 2.6rem; margin-top: 0.35rem; }
.channel h2 { margin: 0 0 0.4rem; padding: 0; border: 0; font-size: 1.5rem; }
.channel p { margin: 0; }

/* --- how it works: a real sequence, so a tracklist ---------------------------------------------- */
ol.tracklist { list-style: none; padding: 0; counter-reset: track; display: grid; gap: 0; }
ol.tracklist > li { counter-increment: track; display: grid; grid-template-columns: 3.2rem 1fr; gap: 0 1rem; padding: 1.1rem 0; border-top: 1px solid var(--rule); max-width: none; }
ol.tracklist > li:last-child { border-bottom: 1px solid var(--rule); }
ol.tracklist > li::before { content: counter(track, decimal-leading-zero); font-family: var(--mono); font-weight: 600; font-size: 1.25rem; color: var(--muted); padding-top: 0.05rem; }
ol.tracklist strong { display: block; font-family: var(--display); font-size: 1.2rem; margin-bottom: 0.15rem; }

/* --- tables: spec sheets ------------------------------------------------------------------------ */
.table-wrap { overflow-x: auto; margin: 1rem 0 1.6rem; border: 1px solid var(--rule); border-radius: 12px; }
/* Keyboard users scroll a wide table by focusing its box (WCAG 2.1.1; caught by the Video-Private-Network review). */
.table-wrap:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
table { border-collapse: collapse; width: 100%; min-width: 36rem; font-size: 1rem; }
caption { text-align: left; font-family: var(--display); font-weight: 700; font-size: 1.1rem; padding: 0.8rem 0.8rem 0.4rem; }
th, td { text-align: left; vertical-align: top; padding: 0.55rem 0.8rem; border-top: 1px solid var(--rule); }
thead th { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-top: 0; background: var(--panel); }
tbody th { font-weight: 700; }
.v { white-space: nowrap; font-weight: 700; }
.v::before { content: ""; display: inline-block; width: 0.6rem; height: 0.6rem; margin-right: 0.45rem; border-radius: 50%; vertical-align: 0.05em; border: 2px solid currentColor; }
.v-yes::before { background: currentColor; }               /* filled = yes; shape, not color, carries it */
.v-no::before { border-radius: 2px; transform: rotate(45deg); }  /* diamond = no */
.v-unknown::before { border-style: dashed; }                     /* dashed ring = not confirmed */

/* --- footer -------------------------------------------------------------------------------------- */
footer.site { border-top: 1px solid var(--rule); color: var(--muted); font-size: 1rem; }
footer.site .wrap { padding-block: 1.6rem 2.6rem; }
footer .sig { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--fg); margin: 0 0 0.4rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { nav, .skip, .wave { display: none; } a { color: inherit; } .hero { background: none; } }
