/* Whitecell site: one style sheet for every page. The shared rules come first and serve docs, security, status,
   changelog and 404; each page's own rules follow, and the front page (index.html, <body class="home">) comes last,
   every rule scoped to .home. Colour carries meaning and nothing else: slate = declared, amber = signal, everything
   else grey. Dark by default, like the console; data-theme="light" on <html> gives the light set. No inline styles
   and no inline script anywhere: the site is served with style-src and script-src 'self'. */
/* Fonts, self-hosted from Fontsource (latin subset): Instrument Sans, IBM Plex Sans and IBM Plex Mono, each under the SIL Open Font License 1.1. */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/instrument-sans-latin-600-normal.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: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-400-normal.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: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-400-italic.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: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-latin-500-normal.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: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin-600-normal.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: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin-400-normal.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: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-500-normal.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; }

:root {
  --bg: #0B0D0F;
  --card: #121619;
  --panel: #13171A;
  --ink: #E5E9ED;
  --muted: #8D98A2;
  --rule: #232A30;
  --self: #8EAFC8;
  --on-self: #0B0D0F;
  --signal: #E0A03D;
  --ok: #6BBF8E;
  --bad: #EE8F8F;
  --code-bg: #0E1114;
  --code-ink: #DCE2E7;
  --code-muted: #7C8791;
  --code-key: #9DB6CA;
  --code-hot: #E3A13B;
  --code-ok: #8BC6A0;
  --code-rule: #252B31;
  /* The front page's field of view (index.html; site.js reads these for the canvas). */
  --disc: #161B1F;
  --disc-edge: #4A5560;
  --field: #050607;
  --vignette: rgba(0, 0, 0, 0.88);
  --cell-body: rgba(229, 233, 237, 0.08);
  --cell-edge: rgba(229, 233, 237, 0.70);
  --f-display: "Instrument Sans", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.9rem, 3.4vw, 2.75rem);
  --step-3: clamp(2.6rem, 6.2vw, 4.75rem);
  --small: 0.875rem;
  --tiny: 0.75rem;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F5F6F7; --card: #FFFFFF; --panel: #ECEEF0; --ink: #14181C; --muted: #59636D; --rule: #D8DCE0;
  --self: #2E4D65; --on-self: #FFFFFF; --signal: #9E5C00; --ok: #2D6A4E; --bad: #9E2A2A; --code-bg: #111417;
  --disc: #E3E6E9; --disc-edge: #B3BAC2; --field: #FAFBFC; --vignette: rgba(20, 24, 28, 0.16);
  --cell-body: rgba(255, 255, 255, 0.82); --cell-edge: rgba(20, 24, 28, 0.50);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--self); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--self); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; text-wrap: balance; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
code { font-family: var(--f-mono); font-size: 0.88em; background: var(--panel); padding: 1px 5px; border-radius: 4px; }
.wrap { max-width: 72rem; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.eyebrow { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.fine { font-size: 0.8125rem; color: var(--muted); }

/* Header and footer */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 22px; border-bottom: 1px solid var(--rule); }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--f-display); font-weight: 600; font-size: 1.375rem; }
.mark svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.top-actions { display: flex; gap: 8px; align-items: center; }
.top-btn { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--rule); background: transparent; color: var(--ink); font: 600 0.9rem/1 var(--f-body); text-decoration: none; }
.top-btn:hover { border-color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--self); background: var(--self); color: var(--on-self); font: 600 0.9rem/1 var(--f-body); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--self); }
footer { margin-top: clamp(48px, 8vw, 96px); padding-block: 36px 56px; border-top: 1px solid var(--rule); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; font-size: 0.875rem; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--muted); }

/* Page head */
.page-head { display: grid; gap: 12px; padding-block: clamp(36px, 6vw, 64px) clamp(24px, 4vw, 40px); max-width: 48rem; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.02; }
.page-head p { color: var(--muted); font-size: 1.15rem; }

/* Docs layout: contents beside the article */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.toc { font-size: 0.9rem; padding-top: 4px; }
.toc-list { display: grid; gap: 4px; }
.toc a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.toc a:hover { color: var(--ink); }
.toc .eyebrow { margin-bottom: 6px; }
.toc summary { display: block; list-style: none; cursor: default; }
.toc summary::-webkit-details-marker { display: none; }
.prose { display: grid; gap: 18px; max-width: 46rem; min-width: 0; }
.prose h2 { font-size: 1.6rem; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.prose p, .prose li { color: var(--ink); }
.prose .muted { color: var(--muted); }
pre.code { margin: 0; background: var(--code-bg); color: var(--code-ink); font: 400 0.8125rem/1.65 var(--f-mono); padding: 16px 18px; border-radius: 8px; overflow-x: auto; white-space: pre; }
pre.code .c { color: var(--code-muted); }
.callout { border: 1px solid var(--rule); border-left: 3px solid var(--signal); border-radius: 6px; padding: 14px 16px; background: var(--card); font-size: 0.95rem; }
.callout.info { border-left-color: var(--self); }
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: 8px; }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-family: var(--f-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--panel); }
td code { white-space: nowrap; }
.chip { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 4px; border: 1px solid var(--rule); font: 500 0.7rem/1.4 var(--f-mono); letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }
.chip.ok { color: var(--ok); border-color: var(--ok); }
.chip.warn { color: var(--signal); border-color: var(--signal); }
.chip.self { color: var(--self); border-color: var(--self); }
.chip.bad { color: var(--bad); border-color: var(--bad); }
.prose a code { color: inherit; }
dl.pairs { margin: 0; display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 10px 18px; }
dl.pairs dt { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); padding-top: 2px; }
dl.pairs dd { margin: 0; }

@media (max-width: 860px) {
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .top .nav { order: 3; flex-basis: 100%; }
  .toc summary { display: list-item; list-style: disclosure-closed; cursor: pointer; }
  .toc details[open] > summary { list-style: disclosure-open; }
  dl.pairs { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  dl.pairs dd { margin-bottom: 10px; }
}

/* changelog.html */
.log { display: grid; gap: 0; max-width: 56rem; }
.log .entry { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding-block: 28px; border-top: 1px solid var(--rule); }
.log .entry h2 { font-size: 1.5rem; }
.log .when { display: grid; gap: 6px; align-content: start; }
.log .items { display: grid; gap: 18px; }
.log .item h3 { font-size: 1.1rem; }
.log .item p { margin-top: 4px; color: var(--muted); }
@media (max-width: 620px) { .log .entry { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

/* status.html (.overall, .components and .block appear on no other page) */
.overall { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 18px 20px; border: 1px solid var(--ok); border-radius: 8px; background: var(--card); }
.overall .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ok); flex: none; }
.overall strong { font-family: var(--f-display); font-size: 1.2rem; }
.components { display: grid; gap: 0; margin-top: 24px; border: 1px solid var(--rule); border-radius: 8px; background: var(--card); overflow: hidden; }
.components .comp { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 16px 20px; border-bottom: 1px solid var(--rule); align-items: baseline; }
.components .comp:last-child { border-bottom: 0; }
.components .comp span:first-child { font-weight: 600; }
.components .comp p { grid-column: 1 / -1; color: var(--muted); font-size: 0.95rem; }
.block { margin-top: 40px; display: grid; gap: 12px; max-width: 46rem; }
.block h2 { font-size: 1.5rem; }
.block ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.block p, .block li { color: var(--ink); }
.block .muted { color: var(--muted); }

/* 404.html */
.nf { min-height: 70vh; display: grid; align-content: center; gap: 18px; max-width: 40rem; padding-block: 48px; }
.nf .line { font-family: var(--f-mono); font-size: 0.9rem; color: var(--signal); }
.nf h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.02; }
.nf p { color: var(--muted); font-size: 1.1rem; }
.nf .links { display: flex; flex-wrap: wrap; gap: 10px; }

/* The front page: index.html, <body class="home">.
   Layout: a lab instrument. A round field of view sits beside the thesis, then one reading column of plain sections.
   Colour carries meaning and nothing else: slate = declared (self), amber = undeclared (signal); everything else is grey.
   Dark by default, like the console (darkfield); data-theme="light" on <html> gives phase contrast. Code panels stay
   dark in both. The code panels' tint is in the markup (spans with .k, .c, .g, .h), so no script rewrites them. */

/* The shared rules above also match the front page. These take back what they add that the front page never had;
   the front page's own rules below set the rest. */
.home h1, .home h2, .home h3 { letter-spacing: normal; }
.home code { background: none; padding: 0; border-radius: 0; }
.home td code { white-space: normal; }
.home .top { border-bottom: 0; }
.home .btn { justify-content: normal; min-height: 0; border: 0; line-height: inherit; }
.home footer { margin-top: 0; }
.home .callout { border: 0; border-radius: 0; padding: 0; background: none; font-size: inherit; }

.home { -webkit-text-size-adjust: 100%; }
.home a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.home a:hover { text-decoration-color: currentColor; }
.home code, .home .mono { font-family: var(--f-mono); font-size: 0.92em; }
.home h1, .home h2, .home h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; }
.home img { max-width: 100%; height: auto; display: block; }

.home .wrap { max-width: 72rem; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

.home .eyebrow {
  font-family: var(--f-mono);
  font-size: var(--tiny);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.home .self { color: var(--self); }
.home .quiet { color: var(--muted); }

/* Header */
.home .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 22px; }
.home .mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 1.375rem; letter-spacing: -0.01em; }
.home .mark svg { width: 30px; height: 30px; flex: none; }
.home .nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--f-mono); font-size: var(--tiny); letter-spacing: 0.1em; text-transform: uppercase; }
.home .nav a { text-decoration: none; color: var(--muted); }
.home .nav a:hover { color: var(--ink); }

/* Hero */
.home .hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-block: clamp(28px, 6vw, 80px) clamp(40px, 5vw, 64px); }
.home .hero-copy { display: grid; gap: 26px; min-width: 0; }
.home .hero h1 { font-size: var(--step-3); line-height: 0.98; letter-spacing: -0.03em; font-weight: 600; }
.home .hero h1 span { display: block; }
.home .lede { font-size: var(--step-1); line-height: 1.55; max-width: 36rem; color: var(--ink); }
.home .lede em { font-style: normal; color: var(--ink); font-weight: 600; }
.home .actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.home .btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 6px; background: var(--self); color: var(--on-self); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.home .btn:hover { filter: brightness(1.08); }
.home .link-quiet { font-weight: 500; font-size: 0.95rem; }
.home .chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.home .chips li { font-family: var(--f-mono); font-size: var(--tiny); letter-spacing: 0.04em; padding: 5px 10px; border: 1px solid var(--rule); border-radius: 4px; color: var(--muted); }
.home .chips li:first-child { border-color: var(--signal); color: var(--signal); }
.home .hero-note { font-size: var(--small); color: var(--muted); max-width: 36rem; }

.home .specimen { margin: 0; display: grid; gap: 16px; justify-items: center; min-width: 0; }
.home .field { position: relative; width: min(100%, 520px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--field); max-width: 100%; }
.home .field::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--rule), inset 0 0 0 10px color-mix(in srgb, var(--bg) 55%, transparent); pointer-events: none; }
.home .field canvas { display: block; width: 100%; height: 100%; }
.home .specimen figcaption { width: min(100%, 520px); display: grid; gap: 10px; }
.home .slide-label { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: var(--tiny); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 10px; }
.home .ticker { font-family: var(--f-mono); font-size: 0.8125rem; line-height: 1.5; display: grid; gap: 2px; min-height: 3em; }
.home .ticker span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home .tick-detect { color: var(--signal); }
.home .tick-act { color: var(--self); }
.home .legend { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; font-size: var(--small); color: var(--muted); }
.home .legend li { display: inline-flex; align-items: center; gap: 8px; }
.home .sw { width: 14px; height: 14px; border-radius: 50%; display: inline-block; flex: none; }
.home .sw.disc { background: var(--disc); box-shadow: inset 0 0 0 1.5px var(--disc-edge); }
.home .sw.rod { width: 16px; height: 6px; border-radius: 3px; background: var(--signal); }
.home .sw.cell { background: var(--cell-body); box-shadow: inset 0 0 0 1.5px var(--cell-edge), inset 0 0 0 4px var(--cell-body), inset 0 0 0 7px var(--self); }
.home .fine { font-size: var(--tiny); color: var(--muted); }

/* Sections */
.home main > section { border-top: 1px solid var(--rule); padding-block: clamp(56px, 8vw, 104px); }
.home .section-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.home .section-head h2, .home .h2 { font-size: var(--step-2); line-height: 1.06; letter-spacing: -0.02em; font-weight: 600; }
.home .section-head p { color: var(--muted); max-width: 40rem; }
.home .section-head p strong { color: var(--ink); font-weight: 600; }

/* Code */
.home pre.code {
  margin: 0;
  background: var(--code-bg);
  color: var(--code-ink);
  font: 400 0.8125rem/1.65 var(--f-mono);
  padding: 18px 20px;
  border-radius: 8px;
  overflow-x: auto;
  tab-size: 2;
}
.home pre.code .c { color: var(--code-muted); }
.home pre.code .k { color: var(--code-key); }
.home pre.code .h { color: var(--code-hot); }
.home pre.code .g { color: var(--code-ok); }

.home .compile { display: grid; grid-template-columns: minmax(0, 27rem) auto minmax(0, 1fr); gap: 20px; align-items: start; }
.home .pane { display: grid; gap: 10px; min-width: 0; }
.home .pane-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--f-mono); font-size: var(--tiny); color: var(--muted); letter-spacing: 0.04em; min-height: 34px; align-content: end; flex-wrap: wrap; }
.home .pane-label b { font-weight: 500; color: var(--ink); letter-spacing: 0.1em; text-transform: uppercase; }
.home .arrow { align-self: center; display: grid; justify-items: center; gap: 8px; font-family: var(--f-mono); font-size: var(--tiny); color: var(--self); padding-top: 40px; }
.home .arrow svg { width: 44px; height: 16px; }
.home .tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.home .tabs button {
  font: 500 var(--tiny)/1 var(--f-mono);
  letter-spacing: 0.06em;
  padding: 9px 12px;
  border-radius: 5px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.home .tabs button[aria-selected="true"] { background: var(--self); border-color: var(--self); color: var(--on-self); }
.home .tabs button:hover:not([aria-selected="true"]) { color: var(--ink); border-color: var(--muted); }
.home .panel-path { font-family: var(--f-mono); font-size: var(--tiny); color: var(--muted); overflow-wrap: anywhere; }
.home .panel-note { font-size: 0.9rem; color: var(--muted); }
.home .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; padding-top: 22px; border-top: 1px dashed var(--rule); }
.home .facts p { font-size: 0.95rem; color: var(--muted); }
.home .facts strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

/* What it catches */
.home .catches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.home .catch { display: grid; gap: 12px; align-content: start; padding-top: 18px; border-top: 2px solid var(--signal); min-width: 0; }
.home .catch h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; }
.home .catch p { font-size: 0.97rem; color: var(--muted); }
.home .catches-note { margin-top: clamp(28px, 4vw, 40px); padding-top: 22px; border-top: 1px dashed var(--rule); font-size: 0.97rem; color: var(--muted); max-width: 46rem; }

/* Anatomy */
.home .layers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.home .layer { display: grid; align-content: start; gap: 12px; padding-top: 18px; border-top: 2px solid var(--rule); min-width: 0; }
.home .layer-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.home .layer svg { width: 34px; height: 34px; flex: none; }
.home .depth { font-family: var(--f-mono); font-size: var(--tiny); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.home .layer h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; }
.home .layer .role { font-style: italic; color: var(--muted); }
.home .layer p { font-size: 0.97rem; }
.home .parts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; font-family: var(--f-mono); font-size: 0.78rem; color: var(--muted); }
.home .parts li::before { content: "· "; color: var(--self); }
.home .layer.skin { border-top-color: var(--signal); }
.home .layer.self-l { border-top-color: var(--self); }
.home .layer.sense { border-top-color: var(--ink); }
.home .layer.resp { border-top-color: var(--self); }

/* The whole server, and the order of decisions */
.home .subjects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
.home .subject { display: grid; gap: 8px; align-content: start; padding-block: 22px; border-top: 1px solid var(--rule); }
.home .subject h3 { font-size: 1.2rem; font-weight: 600; }
.home .subject p { color: var(--muted); font-size: 0.97rem; max-width: 34rem; }
.home .subject q { color: var(--ink); quotes: "“" "”"; }
.home .order { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); counter-reset: step; }
.home .step { display: grid; gap: 12px; align-content: start; padding-top: 18px; border-top: 2px solid var(--rule); counter-increment: step; min-width: 0; }
.home .step:nth-child(1) { border-top-color: var(--self); }
.home .step:nth-child(3) { border-top-color: var(--signal); }
.home .step .depth::before { content: counter(step) " · "; }
.home .step h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; }
.home .step p { font-size: 0.97rem; }
.home .step .said { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); border-left: 2px solid var(--rule); padding-left: 12px; }
.home .bounds { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; padding-top: 22px; border-top: 1px dashed var(--rule); }
.home .bounds p { font-size: 0.97rem; color: var(--muted); max-width: 34rem; }
.home .bounds strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.home .levels { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.home .levels li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 10px; font-size: 0.93rem; color: var(--muted); }
.home .levels b { font-family: var(--f-mono); font-size: 0.78rem; font-weight: 500; color: var(--self); padding-top: 2px; }

/* Loop */
.home .term { background: var(--code-bg); color: var(--code-ink); border-radius: 8px; overflow: hidden; }
.home .term-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--code-rule); font-family: var(--f-mono); font-size: var(--tiny); color: var(--code-muted); }
.home .term-bar .dots { display: inline-flex; gap: 6px; }
.home .term-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--code-rule); display: block; }
.home .term-bar .title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home .term-bar button { font: 500 var(--tiny)/1 var(--f-mono); color: var(--code-ink); background: transparent; border: 1px solid var(--code-rule); border-radius: 6px; padding: 6px 10px; cursor: pointer; }
.home .term-bar button:hover { border-color: var(--code-muted); }
.home .term-body { padding: 16px 18px 20px; overflow-x: auto; font: 400 0.8125rem/1.75 var(--f-mono); }
.home .ln { white-space: pre; min-height: 1.75em; }
.home .ln.pending { visibility: hidden; }
.home .ln.in { animation: ln-in 0.28s ease-out; }
@keyframes ln-in { from { opacity: 0; transform: translateY(3px); } }
.home .ln .p { color: var(--code-key); }
.home .ln.cmd { color: var(--code-ink); font-weight: 500; }
.home .sv-warn { color: var(--code-hot); }
.home .sv-notice { color: var(--code-key); }
.home .sv-info { color: var(--code-muted); }
.home .ann { color: var(--code-muted); }
.home .ok { color: var(--code-ok); }
.home .term-note { margin-top: 12px; }
.home .after { margin-top: 20px; max-width: 46rem; color: var(--muted); }
.home .after strong { color: var(--ink); font-weight: 600; }

.home .catalogue-wrap { margin-top: clamp(36px, 5vw, 56px); display: grid; gap: 14px; }
.home .catalogue-wrap h3 { font-size: 1.375rem; font-weight: 600; }
.home .table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: 8px; }
.home table { border-collapse: collapse; width: 100%; min-width: 680px; font-size: 0.93rem; }
.home th, .home td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.home tr:last-child td { border-bottom: 0; }
.home th { font-family: var(--f-mono); font-size: var(--tiny); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--panel); }
.home td.num { font-variant-numeric: tabular-nums; font-family: var(--f-mono); font-size: 0.82rem; white-space: nowrap; }
.home td code { color: var(--self); font-weight: 500; }

/* Console */
.home .shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); align-items: start; }
.home .shot { margin: 0; display: grid; gap: 10px; min-width: 0; }
.home .shot img { border: 1px solid var(--rule); border-radius: 8px; background: var(--panel); }
.home .shot figcaption { font-size: 0.93rem; color: var(--muted); }
.home .shot figcaption strong { color: var(--ink); font-weight: 600; }
.home .shots-note { margin-top: 16px; }

/* Install and updates */
.home .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); align-items: start; }
.home .two > div { display: grid; gap: 14px; min-width: 0; align-content: start; }
.home .two h3 { font-size: 1.375rem; font-weight: 600; }
.home .two p { color: var(--muted); font-size: 0.97rem; }

/* Run it */
.home .plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.home .plan { border: 1px solid var(--rule); border-radius: 8px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; align-content: start; min-width: 0; }
.home .plan.managed { background: var(--panel); }
.home .plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.home .plan h3 { font-size: 1.6rem; font-weight: 600; }
.home .plan .who { color: var(--muted); }
.home .ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.home .ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 0.97rem; }
.home .ticks li::before { content: ""; width: 10px; height: 10px; margin-top: 0.5em; border: 1.5px solid var(--self); border-radius: 50%; }
.home .plan.managed .ticks li::before { background: var(--self); }
.home .plan .support { font-size: var(--small); color: var(--muted); padding-top: 14px; border-top: 1px dashed var(--rule); }
.home .plan .btn { justify-self: start; }
.home .line { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; margin-top: 32px; }
.home .line p { font-size: 0.97rem; color: var(--muted); max-width: 34rem; }
.home .line strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.home .state { font-family: var(--f-mono); font-size: var(--tiny); letter-spacing: 0.06em; padding: 4px 9px; border-radius: 4px; border: 1px solid var(--rule); color: var(--muted); white-space: nowrap; }
.home .state.on { border-color: var(--ok); color: var(--ok); }
.home .state.wip { border-color: var(--self); color: var(--self); }
.home .state.sig { border-color: var(--signal); color: var(--signal); }

/* Models */
.home .models { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.home .models .pane { gap: 12px; }
.home .measures { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.home .measures li { font-family: var(--f-mono); font-size: var(--tiny); padding: 5px 10px; border: 1px solid var(--rule); border-radius: 4px; color: var(--muted); }
.home .measures li.key { border-color: var(--signal); color: var(--signal); }
.home .models table { min-width: 520px; }
.home .callout { margin-top: clamp(28px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 32px; padding-top: 22px; border-top: 1px dashed var(--rule); }
.home .callout p { font-size: 0.97rem; color: var(--muted); }
.home .callout strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

/* Lineage */
.home .lineage { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.home .lineage .body { display: grid; gap: 16px; max-width: 40rem; }
.home .refs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 0.9rem; color: var(--muted); counter-reset: ref; }
.home .refs li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 4px; counter-increment: ref; }
.home .refs li::before { content: "[" counter(ref) "]"; font-family: var(--f-mono); font-size: var(--tiny); color: var(--self); padding-top: 2px; }
.home .refs i { color: var(--ink); }

/* Status */
.home .status { list-style: none; margin: 0; padding: 0; display: grid; }
.home .status li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 18px; padding-block: 16px; border-bottom: 1px solid var(--rule); align-items: baseline; }
.home .status li:first-child { border-top: 1px solid var(--rule); }
.home .status .state { justify-self: start; }
.home .status p strong { font-weight: 600; }
.home .status p span { color: var(--muted); }

/* FAQ */
.home .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
.home .qa { display: grid; gap: 8px; align-content: start; padding-block: 22px; border-top: 1px solid var(--rule); }
.home .qa h3 { font-size: 1.15rem; font-weight: 600; }
.home .qa p { color: var(--muted); font-size: 0.97rem; max-width: 34rem; }

/* Footer */
.home footer { padding-block: 40px 56px; border-top: 1px solid var(--rule); }
.home footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: start; font-size: var(--small); color: var(--muted); }
.home footer p { max-width: 38rem; }
.home .foot-lead { display: grid; gap: 10px; }
.home .foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

@media (max-width: 980px) {
  .home .compile { grid-template-columns: minmax(0, 1fr); }
  .home .arrow { padding-top: 0; grid-auto-flow: column; justify-content: start; }
  .home .arrow svg { transform: rotate(90deg); width: 32px; }
  .home .layers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .order { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 880px) {
  .home .hero { grid-template-columns: minmax(0, 1fr); }
  .home .field { width: min(100%, 420px); }
  .home .specimen figcaption { width: min(100%, 420px); }
  .home .lineage, .home .models, .home .plans, .home .faq, .home .subjects, .home .shots, .home .two { grid-template-columns: minmax(0, 1fr); }
  .home .catches { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .home .layers, .home .facts, .home .line, .home .callout, .home .bounds { grid-template-columns: minmax(0, 1fr); }
  .home .status li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .home .nav { gap: 6px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .home .ln.in { animation: none; }
}

/* home: three claims, a band of their own under the hero */
.home .claims-band { display: grid; gap: 28px; padding-block: 0 clamp(48px, 7vw, 96px); }
.home .claims { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(24px, 4vw, 48px); }
.home .claims li { display: grid; grid-template-rows: auto 1fr auto; gap: 6px; justify-items: start; align-items: start; min-width: 0; padding-left: 16px; border-left: 2px solid var(--rule); }
.home .claims li > a { align-self: end; }
.home .claims strong { font-family: var(--f-display); font-size: 1.125rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.home .claims p { font-size: 0.97rem; line-height: 1.55; color: var(--muted); }
.home .hero-facts { font-family: var(--f-mono); font-size: var(--tiny); line-height: 1.7; letter-spacing: 0.04em; color: var(--muted); }
@media (max-width: 980px) {
  .home .claims { grid-template-columns: minmax(0, 1fr); }
  .home .claims li { max-width: 36rem; }
}

/* pricing and compare */
/* pricing.html: the card beside the calculator, then the rest as prose. compare.html: the category lines, then one wide
   table that scrolls sideways inside .table-scroll with the product column held in view, Whitecell's row last and
   tinted slate (declared). Tokens only, so the light set applies as everywhere else. */
.price-alpha { max-width: 48rem; margin-bottom: clamp(24px, 4vw, 40px); }
.price { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); align-items: start; }
.price-card, .calc { min-width: 0; border: 1px solid var(--rule); border-radius: 8px; background: var(--card); padding: clamp(18px, 3vw, 32px); }
.price-card { display: grid; gap: 22px; }
.price-figure { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.price-figure .amount { font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; }
.price-figure .unit { font-family: var(--f-body); font-weight: 400; font-size: 1.05rem; letter-spacing: normal; color: var(--muted); }
.price-card dl.pairs { grid-template-columns: 9.5rem minmax(0, 1fr); }
.signup { padding-top: 18px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.95rem; }
.calc { display: grid; gap: 14px; position: sticky; top: 16px; }
.calc h2.eyebrow { font-weight: 500; }
.calc-in { display: grid; gap: 8px; }
.calc-in label { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; }
.calc-row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 14px; align-items: center; }
.calc input[type="number"] { width: 100%; min-height: 44px; padding: 0 10px; border: 1px solid var(--rule); border-radius: 6px; background: var(--bg); color: var(--ink); font: 500 1.05rem var(--f-mono); }
.calc input[type="range"] { width: 100%; min-height: 44px; margin: 0; background: transparent; accent-color: var(--self); }
.calc-total { font-size: 1.05rem; line-height: 1.35; }
.calc-total strong { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.4rem); }
.calc-split { color: var(--muted); font-size: 0.95rem; }
.calc-talk { color: var(--signal); font-size: 0.95rem; }
.calc-facts { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; padding-top: 14px; border-top: 1px solid var(--rule); }
.calc-facts dt { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted); padding-top: 2px; }
.calc-facts dd { margin: 0; font-family: var(--f-mono); font-size: 0.95rem; }
.price-more { margin-top: clamp(40px, 6vw, 64px); }

.compare-cats { margin-bottom: clamp(32px, 5vw, 48px); }
.compare-h { font-size: 1.6rem; padding-top: 24px; border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.compare-hint { margin: 6px 0 14px; }
table.compare { table-layout: fixed; width: 126rem; font-size: 0.85rem; line-height: 1.5; }
.compare thead th { vertical-align: bottom; }
.compare thead th:nth-child(1) { width: 8rem; }
.compare thead th:nth-child(2) { width: 12rem; }
.compare thead th:nth-child(3) { width: 13rem; }
.compare thead th:nth-child(4) { width: 12rem; }
.compare thead th:nth-child(5) { width: 11rem; }
.compare thead th:nth-child(6) { width: 11rem; }
.compare thead th:nth-child(7) { width: 12rem; }
.compare thead th:nth-child(8) { width: 10rem; }
.compare thead th:nth-child(9) { width: 8.5rem; }
.compare thead th:nth-child(10) { width: 8.5rem; }
.compare thead th:nth-child(11) { width: 7.5rem; }
.compare thead th:nth-child(12) { width: 12.5rem; }
.compare td { overflow-wrap: break-word; }
.compare thead th:first-child, .compare tbody th { position: sticky; left: 0; z-index: 1; box-shadow: inset -1px 0 0 var(--rule); }
.compare thead th:first-child { z-index: 2; }
.compare tbody th { background: var(--bg); font-family: var(--f-display); font-size: 0.95rem; font-weight: 600; letter-spacing: normal; text-transform: none; color: var(--ink); }
.compare tr:last-child th { border-bottom: 0; }
.compare tr.self-row > * { border-top: 2px solid var(--self); background: var(--card); background: color-mix(in srgb, var(--self) 10%, var(--bg)); }
.compare tr.self-row th { color: var(--self); }
@media (max-width: 620px) {
  /* one block per product; each cell's data-label becomes its heading, as on data.html and open-source.html */
  .compare-hint { display: none; }
  .compare-scroll { overflow: visible; border: 0; border-radius: 0; }
  table.compare, table.compare tbody, table.compare tr, table.compare th, table.compare td { display: block; width: auto; }
  table.compare { table-layout: auto; }
  table.compare thead { display: none; }
  table.compare tr { padding-block: 12px 14px; border-bottom: 1px solid var(--rule); }
  table.compare tr:last-child { border-bottom: 0; }
  table.compare th, table.compare td { padding: 4px 0; border-bottom: 0; }
  table.compare tbody th { position: static; box-shadow: none; padding-bottom: 8px; font-size: 1.1rem; background: transparent; }
  table.compare td::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 500 0.7rem/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
  table.compare tr.self-row { border-top: 2px solid var(--self); }
  table.compare tr.self-row > * { border-top: 0; background: transparent; }
}
.compare-foot { display: grid; gap: 8px; margin-top: 16px; max-width: 48rem; }
.compare-foot p { color: var(--muted); font-size: 0.95rem; }
.compare-foot strong { color: var(--ink); }

@media (max-width: 860px) {
  .price { grid-template-columns: minmax(0, 1fr); }
  .calc { position: static; }
}
@media (max-width: 620px) {
  .price-card dl.pairs { grid-template-columns: minmax(0, 1fr); }
  .compare thead th:nth-child(1) { width: 6.5rem; }
  .compare tbody th { font-size: 0.85rem; }
}

/* home: the header's ten links fit beside the mark and Log in at 1450px with a tighter gap */
.home .nav { gap: 6px 16px; }

/* trust pages */
/* status.html, changelog.html and security.html use the shared rules. data.html and open-source.html: sections of
   prose, each table section at the page's full width, and two tables of prose that stack into labelled blocks at phone
   width (each cell's data-label becomes its heading), so neither page scrolls sideways. Tokens only. */
.page-head .feed { font-size: 1rem; }
.trust { display: grid; gap: clamp(32px, 5vw, 48px); }
.trust > section + section { padding-top: 24px; border-top: 1px solid var(--rule); }
.prose.trust-wide { max-width: none; }
.trust-wide > h2, .trust-wide > p { max-width: 46rem; }
table.records th[scope="row"], table.oss th[scope="row"] { font-family: var(--f-display); font-size: 0.97rem; font-weight: 600; letter-spacing: normal; text-transform: none; color: var(--ink); background: transparent; }
table.records .kinds, table.oss .what { display: block; margin-top: 6px; font-family: var(--f-body); font-size: 0.85rem; font-weight: 400; line-height: 1.5; color: var(--muted); }
table.records .kinds code { font-size: 0.78rem; }
table.records thead th:nth-child(1) { width: 21%; }
table.records thead th:nth-child(2) { width: 43%; }
table.records thead th:nth-child(3) { width: 16%; }
table.records thead th:nth-child(4) { width: 20%; }
table.oss thead td { width: 36%; background: var(--panel); border-bottom: 1px solid var(--rule); }
table.oss thead th { width: 32%; }
table.oss tr.group th { padding-top: 14px; }
table.oss td.same { font-family: var(--f-mono); font-size: 0.8rem; color: var(--self); }
table.records tr:last-child th, table.oss tr:last-child th { border-bottom: 0; }
@media (max-width: 620px) {
  table.records, table.records tbody, table.records tr, table.records th, table.records td,
  table.oss, table.oss tbody, table.oss tr, table.oss th, table.oss td { display: block; width: auto; }
  table.records thead, table.oss thead { display: none; }
  table.records tr, table.oss tr { padding-block: 10px; border-bottom: 1px solid var(--rule); }
  table.records tr:last-child, table.oss tr:last-child { border-bottom: 0; }
  table.records th, table.records td, table.oss th, table.oss td { padding: 4px 14px; border-bottom: 0; }
  table.records td::before, table.oss td::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 500 0.7rem/1.4 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
  table.oss tr.group { padding-block: 0; }
  table.oss tr.group th { padding: 10px 14px; }
  table.oss td.same { display: inline-block; width: 50%; vertical-align: top; }
}

/* guides: screenshots in the prose, and the guide index on the docs page */
.prose figure { margin: 0; display: grid; gap: 8px; }
.prose figure a { display: block; }
.prose figure a:hover img { border-color: var(--muted); }
.prose figure img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 8px; background: var(--card); }
.prose figcaption { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.prose figcaption strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--rule); }
.prose th { color: var(--muted); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; }
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 4px 0 8px; }
.guides a { display: grid; gap: 6px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 8px; background: var(--card); color: var(--ink); text-decoration: none; }
.guides a:hover { border-color: var(--muted); }
.guides a strong { font-size: 1.02rem; }
.guides a span { color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.guides a.ref { grid-column: 1 / -1; }
