/* Oxyon v2.0 — machined, not rendered. (v1.1 tokens kept; v2 components at the end.)
   Matte graphite · brushed titanium · champagne gold.
   Spacing over decoration. Hairlines over glow. Fade over movement. */
:root {
  --bg: #0a0a0c;
  --graphite: #121216;
  --panel: #121216;
  --plate-hi: #232329;
  --plate-lo: #17171c;
  --hairline: rgba(255, 255, 255, .07);
  --hairline-strong: rgba(255, 255, 255, .12);
  --text: #e8e9ec;
  --muted: #96989f;
  --faint: #6c6e75;
  --gold: #c9a545;
  --gold-dim: #8a7332;
  --steel-hi: #eef0f3;
  --steel-mid: #b7bcc4;
  --steel-lo: #82878f;
  --radius: 12px;
  --maxw: 1080px;
  --measure: 620px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── nav ─────────────────────────────────────────────────────────── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 26px 24px;
}
.brand {
  font-weight: 800; font-size: 1.05rem; color: var(--text);
  display: inline-flex; align-items: center; gap: .55rem; letter-spacing: .18em;
}
.brand-mark { height: 1.5em; width: auto; display: block; }
.nav nav { display: flex; gap: 24px; }
.nav nav a { color: var(--muted); font-size: .92rem; white-space: nowrap; }
.nav nav a:hover { color: var(--text); text-decoration: none; }
.nav nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -1px 0 var(--gold-dim); }
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; row-gap: 14px; padding: 20px 16px 12px; }
  .nav nav { width: 100%; gap: 20px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .nav nav::-webkit-scrollbar { display: none; }
}

/* ── hero ────────────────────────────────────────────────────────── */
.hero-banner {
  margin: 0; padding: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.hero-banner img { display: block; width: 100%; height: auto; }
.hero { padding: 100px 24px 130px; text-align: center; }
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  font-weight: 750;
  letter-spacing: .01em;
  line-height: 1.1;
}
.support { margin: 0 auto 48px; max-width: 560px; color: var(--muted); font-size: 1.05rem; }
.cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 9px;
  font-weight: 650; font-size: .96rem; letter-spacing: .02em;
  transition: filter .18s ease, border-color .18s ease;
}
.btn:hover { text-decoration: none; }
.btn.primary {
  color: #17130a;
  background: var(--gold);
  border: 1px solid #a5883a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost {
  color: var(--text);
  border: 1px solid var(--hairline-strong);
  background: var(--graphite);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.btn.ghost:hover { border-color: var(--gold-dim); }

/* ── sections ────────────────────────────────────────────────────── */
.section { max-width: var(--maxw); margin: 0 auto; padding: 140px 24px 0; }
.eyebrow {
  color: var(--gold); font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  font-size: .74rem; margin: 0 0 20px;
}
h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.18;
  margin: 0 0 22px; letter-spacing: .005em; font-weight: 720;
}
.lede { color: var(--muted); font-size: 1.08rem; max-width: var(--measure); margin: 0 0 18px; }
.lede strong { color: var(--text); }
.pull {
  font-size: clamp(1.3rem, 3vw, 1.8rem); color: var(--text); font-weight: 600;
  margin: 34px 0 38px; letter-spacing: .01em;
}

/* ── icons (one governing system) ────────────────────────────────── */
.icon {
  width: 26px; height: 26px; display: block;
  fill: none; stroke: var(--gold-dim); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ── problem domains ─────────────────────────────────────────────── */
.domains {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.domains li {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
  padding: 24px 22px;
}
.domains .icon { margin-bottom: 16px; }
.domains b { display: block; font-size: 1rem; font-weight: 650; margin-bottom: 4px; }
.domains span { color: var(--muted); font-size: .9rem; }

/* ── verification pipeline ───────────────────────────────────────── */
.pipeline {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  counter-reset: step;
}
.pipeline li {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
  padding: 22px 18px 20px;
}
.pipeline li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 14px; right: 16px;
  font-size: .7rem; color: var(--faint); letter-spacing: .1em; font-weight: 700;
}
.pipeline b { display: block; font-size: 1rem; font-weight: 650; margin-bottom: 6px; }
.pipeline span { color: var(--muted); font-size: .88rem; line-height: 1.5; display: block; }

/* ── platform modules ────────────────────────────────────────────── */
.modules {
  display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin-top: 56px;
}
.modules .module {
  display: block; color: var(--text);
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
  padding: 30px 28px;
  min-height: 168px;
  transition: border-color .18s ease;
}
.modules .module:hover { border-color: var(--gold-dim); text-decoration: none; }
.modules i {
  font-style: normal; color: var(--faint); font-weight: 700;
  font-size: .72rem; letter-spacing: .16em;
}
.modules h3 { margin: 12px 0 6px; font-size: 1.25rem; font-weight: 700; }
.modules p { margin: 0 0 16px; color: var(--muted); font-size: .96rem; }
.modules .open { color: var(--gold-dim); font-size: .82rem; font-weight: 650; letter-spacing: .04em; }
.modules .module:hover .open { color: var(--gold); }

/* ── product pages ───────────────────────────────────────────────── */
.product-hero { max-width: var(--maxw); margin: 0 auto; padding: 90px 24px 0; }
.crumb {
  color: var(--faint); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; margin: 0 0 26px;
}
.crumb a { color: var(--faint); }
.crumb a:hover { color: var(--muted); text-decoration: none; }
.role { color: var(--gold); font-weight: 600; font-size: 1.15rem; margin: 0 0 26px; }
.status {
  display: inline-block; margin: 0 0 30px; padding: 6px 14px;
  border: 1px solid var(--hairline-strong); border-radius: 999px;
  color: var(--muted); font-size: .72rem; letter-spacing: .16em; font-weight: 700;
  text-transform: uppercase; background: var(--graphite);
}
.backlink { margin: 90px 0 0; }

/* ── the seven laws — engraved plates ────────────────────────────── */
.laws { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 56px; }
.laws article {
  background: linear-gradient(172deg, var(--plate-hi), var(--plate-lo));
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 -1px 0 rgba(0, 0, 0, .35);
  padding: 34px 30px;
}
.laws i {
  font-style: normal; color: var(--gold-dim); font-weight: 700;
  font-size: .7rem; letter-spacing: .22em;
}
.laws h3 {
  margin: 12px 0 0; font-size: 1.06rem; font-weight: 650;
  letter-spacing: .06em; text-transform: uppercase;
  color: #a9acb4;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .05), 0 -1px 0 rgba(0, 0, 0, .5);
}

/* ── trace (vision) ──────────────────────────────────────────────── */
.trace { list-style: none; display: flex; gap: 10px; padding: 0; margin: 48px 0 0; flex-wrap: wrap; }
.trace li {
  padding: 10px 22px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--graphite);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
  font-weight: 650; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem;
  color: var(--muted);
}
.trace li:not(:last-child)::after { content: "  →"; color: var(--gold-dim); }

/* ── specification plate (footer) ────────────────────────────────── */
footer { margin-top: 170px; padding: 0 24px 90px; }
.plate {
  max-width: 560px; margin: 0 auto; text-align: center;
  background: linear-gradient(172deg, var(--plate-hi), var(--plate-lo));
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 -1px 0 rgba(0, 0, 0, .35);
  padding: 46px 34px 38px;
}
.plate-mark { display: block; margin: 0 auto 14px; height: 26px; width: auto; }
.plate-name { margin: 0; font-weight: 900; letter-spacing: .3em; padding-left: .3em; font-size: 1.05rem; }
.plate-role { margin: 8px 0 0; color: var(--faint); font-size: .68rem; letter-spacing: .18em; font-weight: 650; }
.plate hr { border: 0; border-top: 1px solid var(--hairline); margin: 26px 0; }
.plate-line { margin: 0 0 6px; color: #a9acb4; font-size: .74rem; letter-spacing: .18em; font-weight: 650; }
.plate-pillars { margin: 18px 0 0; color: var(--gold-dim); font-size: .7rem; letter-spacing: .16em; font-weight: 700; }
.plate-nav { margin: 26px 0 0; }
.plate-nav a { color: var(--muted); font-size: .85rem; margin: 0 8px; }
.plate-nav a:hover { color: var(--text); }
.plate-copy { margin: 18px 0 0; color: var(--faint); font-size: .75rem; }

/* ── invest & support ────────────────────────────────────────────── */
.target-plate {
  display: inline-block; margin: 40px 0 0; padding: 30px 46px; text-align: center;
  background: linear-gradient(172deg, var(--plate-hi), var(--plate-lo));
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 -1px 0 rgba(0, 0, 0, .35);
}
.target-label {
  margin: 0 0 8px; color: var(--gold-dim); font-size: .7rem;
  letter-spacing: .22em; font-weight: 700;
}
.target-amount {
  margin: 0; font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 750;
  letter-spacing: .02em; color: #c9ccd3;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .05), 0 -1px 0 rgba(0, 0, 0, .5);
}
.founder-note {
  margin: 20px 0 0; max-width: 640px;
  border-left: 2px solid var(--gold-dim); padding: 6px 0 6px 22px;
}
.founder-note p {
  margin: 0 0 12px; color: var(--text);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem); line-height: 1.5; font-weight: 500;
}
.founder-note cite { color: var(--faint); font-style: normal; font-size: .9rem; }
.cta-stack { display: flex; gap: 14px; flex-wrap: wrap; margin: 40px 0 0; }
.disclaimer {
  margin: 44px 0 0; max-width: var(--measure);
  color: var(--faint); font-size: .82rem; line-height: 1.6;
  border-top: 1px solid var(--hairline); padding-top: 18px;
}

/* ── roadmap — horizontal timeline, expandable phase cards ───────── */
.timeline-wrap { margin-top: 48px; }
.timeline {
  display: grid; grid-auto-flow: column; grid-auto-columns: 320px;
  gap: 14px; overflow-x: auto; padding: 26px 4px 18px;
  scroll-snap-type: x proximity;
  /* the precision rail */
  background: linear-gradient(var(--hairline-strong), var(--hairline-strong)) 0 10px / 100% 1px no-repeat;
}
.timeline::-webkit-scrollbar { height: 6px; }
.timeline::-webkit-scrollbar-thumb { background: var(--hairline-strong); border-radius: 3px; }
.phase {
  position: relative; scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
  padding: 0;
  align-self: start;
}
.phase::before { /* node on the rail */
  content: ""; position: absolute; top: -20px; left: 24px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--gold-dim);
}
.phase[data-status="complete"]::before { background: var(--gold); border-color: var(--gold); }
.phase summary {
  cursor: pointer; list-style: none; padding: 24px 26px;
}
.phase summary::-webkit-details-marker { display: none; }
.phase summary:hover h3 { color: var(--gold); }
.phase .ph-num {
  color: var(--faint); font-weight: 700; font-size: .68rem; letter-spacing: .2em;
}
.phase h3 { margin: 10px 0 8px; font-size: 1.12rem; font-weight: 700; letter-spacing: .04em; transition: color .18s ease; }
.phase .st {
  display: inline-block; margin: 0 0 12px; padding: 3px 10px; border-radius: 999px;
  font-size: .62rem; letter-spacing: .16em; font-weight: 700; text-transform: uppercase;
  border: 1px solid var(--hairline-strong); color: var(--faint);
}
.phase .st.complete { color: #17130a; background: var(--gold); border-color: #a5883a; }
.phase .st.progress { color: var(--gold); border-color: var(--gold-dim); }
.phase .mission { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.phase .expand { display: block; margin-top: 14px; color: var(--gold-dim); font-size: .78rem; font-weight: 650; letter-spacing: .06em; }
.phase[open] .expand { display: none; }
.ph-body { padding: 0 26px 24px; border-top: 1px solid var(--hairline); }
.ph-body h4 {
  margin: 20px 0 8px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-dim); font-weight: 700;
}
.ph-body ul { margin: 0; padding: 0 0 0 2px; list-style: none; }
.ph-body li { color: var(--muted); font-size: .88rem; padding: 2px 0 2px 16px; position: relative; }
.ph-body li::before { content: "—"; position: absolute; left: 0; color: var(--faint); }
.ph-body p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.ph-body .outcome { color: var(--text); font-weight: 550; }

/* ── team cards ──────────────────────────────────────────────────── */
.team { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 48px; }
.team article {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
  padding: 24px 24px;
}
.team h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 700; }
.team p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }

/* ── funding ladder — what support unlocks ───────────────────────── */
.ladder { margin-top: 48px; border-left: 1px solid var(--hairline-strong); padding-left: 0; list-style: none; }
.ladder li {
  position: relative; padding: 0 0 34px 34px;
}
.ladder li::before {
  content: ""; position: absolute; left: -5px; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--gold-dim);
}
.ladder .amount {
  font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 750; letter-spacing: .02em;
  color: #c9ccd3; text-shadow: 0 1px 0 rgba(255, 255, 255, .05), 0 -1px 0 rgba(0, 0, 0, .5);
}
.ladder .unlock { display: block; margin: 4px 0 6px; color: var(--text); font-weight: 600; font-size: 1rem; }
.ladder p { margin: 0 0 8px; color: var(--muted); font-size: .92rem; max-width: 560px; }
.ladder .adv {
  display: inline-block; padding: 3px 10px; border-radius: 999px; margin-right: 6px;
  border: 1px solid var(--hairline-strong); color: var(--gold-dim);
  font-size: .62rem; letter-spacing: .16em; font-weight: 700; text-transform: uppercase;
}

/* ── closing statement plate ─────────────────────────────────────── */
.statement {
  margin: 56px auto 0; max-width: 720px; text-align: center; padding: 52px 40px;
  background: linear-gradient(172deg, var(--plate-hi), var(--plate-lo));
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 -1px 0 rgba(0, 0, 0, .35);
}
.statement p {
  margin: 0; font-size: clamp(1.15rem, 2.8vw, 1.5rem); line-height: 1.5;
  color: #c9ccd3; font-weight: 550;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .05), 0 -1px 0 rgba(0, 0, 0, .5);
}
.statement p + p { margin-top: 18px; }
.statement .accent { color: var(--gold); }

/* ── motion — everything simply appears ──────────────────────────── */
/* Hidden only once app.js has marked the page as scripted — without JS, everything shows. */
.js .reveal { opacity: 0; transition: opacity .55s ease; }
.js .reveal.in { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transition: none; }
  .btn, .modules .module { transition: none; }
}

/* ── oxyon.io additions: module status badges + fingerprint demo ── */
.modules .badge {
  float: right; font-style: normal; font-size: .68rem; font-weight: 650;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px;
  border-radius: 4px; border: 1px solid var(--hairline-strong); color: var(--muted);
}
.modules .badge-live   { color: #8fc9a8; border-color: rgba(143,201,168,.4); }
.modules .badge-active { color: var(--gold); border-color: var(--gold-dim); }
.modules .badge-spec   { color: var(--steel-mid); }
.modules .badge-dev    { color: #9db3d4; border-color: rgba(157,179,212,.4); }
.modules .badge-early  { color: var(--faint); }

.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.demo-panel {
  background: var(--panel); border: 1px solid var(--hairline-strong);
  border-radius: var(--radius); padding: 22px; min-width: 0;
}
.demo-panel label {
  display: block; font-size: .72rem; font-weight: 650; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.demo-panel label.mt { margin-top: 18px; }
.demo-panel textarea {
  width: 100%; min-height: 132px; resize: vertical; box-sizing: border-box;
  background: var(--bg); color: var(--text); border: 1px solid var(--hairline-strong);
  border-radius: 8px; padding: 12px; font: .92rem/1.5 ui-monospace, Menlo, Consolas, monospace;
}
.demo-panel textarea:focus { outline: none; border-color: var(--gold-dim); }
.hash {
  font: .82rem/1.6 ui-monospace, Menlo, Consolas, monospace; color: var(--gold);
  word-break: break-all; background: var(--bg); border: 1px solid var(--hairline);
  border-radius: 8px; padding: 12px; min-height: 48px;
}
.hash.prev { color: var(--faint); }
.diff { margin: 10px 0 0; font-size: .82rem; color: var(--muted); }
.question {
  margin: 40px 0 0; padding: 22px 24px; border-left: 2px solid var(--gold);
  background: var(--panel); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.3rem; font-weight: 650;
}
@media (max-width: 760px) { .demo { grid-template-columns: 1fr; } }
.sprite { display: none; }
.notfound { text-align: center; padding-bottom: 140px; } .notfound .lede { margin-left: auto; margin-right: auto; }

/* -- wallet privacy + support pages -- */
.product-hero h1 { margin-bottom: 10px; }
.doc { max-width: 760px; margin-top: 30px; }
.doc h2 { font-size: 1.35rem; margin: 46px 0 12px; }
.doc p { color: var(--muted); margin: 0 0 14px; }
.doc strong { color: var(--text); }
.doc-list { color: var(--muted); padding-left: 20px; max-width: 760px; margin: 0 0 14px; }
.doc-list li { margin: 8px 0; }
.doc-note {
  margin: 30px 0 0; padding: 18px 22px; max-width: 760px; color: var(--muted);
  background: var(--panel); border: 1px solid var(--hairline-strong);
  border-left: 2px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
}
.doc-note strong { color: var(--text); }
.doc code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .88em; color: var(--steel-hi); background: var(--plate-lo); padding: 1px 6px; border-radius: 4px; }

/* ════════════════════════════════════════════════════════════════════
   v2.0 — the doors open. Same materials; more rooms.
   ════════════════════════════════════════════════════════════════════ */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 10px 16px; background: var(--gold); color: #17130a; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 12px; }
@media (max-width: 640px) {
  .section { padding: 96px 16px 0; }
  .product-hero { padding: 56px 16px 0; }
  .hero { padding: 72px 16px 96px; }
  footer { margin-top: 120px; padding: 0 16px 64px; }
  .plate { padding: 40px 20px 32px; }
}

/* ── status chips (seven labels) + built/public/usable markers ───── */
.chip {
  display: inline-block; font-style: normal; font-size: .66rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: 4px;
  border: 1px solid var(--hairline-strong); color: var(--muted); white-space: nowrap; line-height: 1.3;
}
.chip-live { color: #8fc9a8; border-color: rgba(143, 201, 168, .45); }
.chip-beta { color: #b9d99a; border-color: rgba(185, 217, 154, .4); }
.chip-alpha { color: var(--gold); border-color: var(--gold-dim); }
.chip-experimental { color: #d9b37a; border-color: rgba(217, 179, 122, .45); border-style: dashed; }
.chip-in-development { color: #9db3d4; border-color: rgba(157, 179, 212, .4); }
.chip-research { color: #b7a6d6; border-color: rgba(183, 166, 214, .35); }
.chip-planned { color: var(--faint); }
.modules .chip { float: right; }
.bpu { display: inline-flex; gap: 4px; }
.bpu i {
  font-style: normal; font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 3px; border: 1px solid var(--hairline);
}
.bpu i.on { color: var(--steel-mid); border-color: var(--hairline-strong); }
.bpu i.off { color: var(--faint); opacity: .6; text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .25); }
.hero-status { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0 0 12px; }
.status-note { color: var(--muted); font-size: .92rem; max-width: var(--measure); margin: 0 0 8px; }
.status-note a { font-size: .85rem; white-space: nowrap; }

/* ── chapters (home) ─────────────────────────────────────────────── */
.chapter { color: var(--faint); font-weight: 700; letter-spacing: .22em; font-size: .7rem; margin: 0 0 8px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* ── generic cards (products, labs, ecosystem) ───────────────────── */
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); margin-top: 48px; }
.card {
  display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--hairline);
  border-radius: var(--radius); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03); padding: 24px 24px 20px;
  transition: border-color .18s ease;
}
.card:hover, .card:focus-within { border-color: var(--gold-dim); }
.card > header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card-kind { color: var(--faint); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.card h3 { margin: 14px 0 4px; font-size: 1.15rem; }
.card h3 a { color: var(--text); }
.card-role { color: var(--gold); font-size: .9rem; margin: 0 0 10px; font-weight: 600; }
.card p { color: var(--muted); font-size: .92rem; margin: 0 0 14px; }
.card > footer { margin: auto 0 0; padding: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.card-action { font-size: .82rem; font-weight: 650; }
.card:target { border-color: var(--gold); }

/* ── legend + counts ─────────────────────────────────────────────── */
.legend { display: grid; gap: 10px 22px; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); margin: 36px 0 0; }
.legend div { display: flex; gap: 12px; align-items: baseline; }
.legend dt { flex: 0 0 auto; }
.legend dd { margin: 0; color: var(--muted); font-size: .86rem; }
.legend-note { color: var(--faint); font-size: .86rem; margin: 18px 0 0; max-width: var(--measure); }
.legend-note b { color: var(--muted); }
.counts { display: flex; gap: 14px; flex-wrap: wrap; margin: 40px 0 0; }
.counts div {
  min-width: 140px; padding: 20px 24px; border-radius: var(--radius);
  background: linear-gradient(172deg, var(--plate-hi), var(--plate-lo)); border: 1px solid var(--hairline-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 -1px 0 rgba(0, 0, 0, .35);
}
.counts dt { font-size: 2rem; font-weight: 750; color: #c9ccd3; line-height: 1; }
.counts dd { margin: 6px 0 0; color: var(--faint); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }

/* ── status board ────────────────────────────────────────────────── */
.status-group { margin-top: 64px; }
.status-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 1rem; font-weight: 600; margin: 0 0 14px; }
.status-head span { color: var(--muted); font-weight: 500; font-size: .92rem; }
.status-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.status-list li {
  display: grid; grid-template-columns: minmax(200px, 1.1fr) 2fr auto; gap: 8px 24px; align-items: baseline;
  padding: 18px 4px; border-bottom: 1px solid var(--hairline);
}
.status-list li:target { background: var(--panel); }
.st-name, .st-name a { color: var(--text); font-weight: 650; }
.st-kind { display: block; color: var(--faint); font-size: .72rem; letter-spacing: .08em; font-weight: 500; margin-top: 2px; }
.st-note { margin: 0; color: var(--muted); font-size: .9rem; }
.st-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.st-meta time { color: var(--faint); font-size: .72rem; }
@media (max-width: 760px) {
  .status-list li { grid-template-columns: 1fr; }
  .st-meta { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ── product facts (built / usable / experimental / next) ────────── */
.facts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); margin-top: 40px; }
.fact-col { background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 22px; }
.fact-col h3 { margin: 0 0 12px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dim); }
.fact-col ul { margin: 0; padding: 0; list-style: none; }
.fact-col li { color: var(--muted); font-size: .9rem; padding: 4px 0 4px 16px; position: relative; line-height: 1.5; }
.fact-col li::before { content: "—"; position: absolute; left: 0; color: var(--faint); }
.fact-col .empty { color: var(--faint); font-size: .88rem; margin: 0; font-style: italic; }

/* ── what's next + relations ─────────────────────────────────────── */
.next-list, .relations { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--hairline); max-width: 820px; }
.next-list li, .relations li { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--hairline); }
.next-name a, .relations a { font-weight: 650; }
.next-item, .relations span { color: var(--muted); font-size: .92rem; }
@media (max-width: 560px) { .next-list li, .relations li { grid-template-columns: 1fr; gap: 2px; } }

/* ── two depth levels: plain first, technical on request ─────────── */
.depth { margin-top: 28px; max-width: 820px; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--panel); }
.depth > summary {
  cursor: pointer; list-style: none; padding: 16px 20px; display: flex; justify-content: space-between; gap: 12px;
  color: var(--text); font-weight: 600; font-size: .95rem;
}
.depth > summary::-webkit-details-marker { display: none; }
.depth > summary::after { content: "How it works ↓"; color: var(--gold-dim); font-size: .78rem; font-weight: 650; letter-spacing: .06em; white-space: nowrap; }
.depth[open] > summary::after { content: "Close ↑"; }
.depth > div { padding: 4px 20px 20px; border-top: 1px solid var(--hairline); }
.depth p, .depth li { color: var(--muted); font-size: .92rem; }
.depth h4 { margin: 18px 0 6px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dim); }
code, .mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .86em; }
:not(pre) > code { color: var(--steel-hi); background: var(--plate-lo); padding: 1px 6px; border-radius: 4px; word-break: break-word; }
pre {
  margin: 14px 0 0; padding: 16px 18px; overflow-x: auto; background: var(--bg); border: 1px solid var(--hairline);
  border-radius: 8px; color: var(--steel-mid); font: .8rem/1.6 ui-monospace, Menlo, Consolas, monospace;
}
.prose { max-width: 760px; }
.prose p, .prose li { color: var(--muted); }
.prose h3 { margin: 44px 0 10px; font-size: 1.15rem; }
.prose strong { color: var(--text); }

/* ── diagrams (inline SVG, colours from tokens) ──────────────────── */
.diagram { margin: 48px 0 0; padding: 24px; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--panel); overflow-x: auto; }
.diagram svg { display: block; width: 100%; min-width: 680px; height: auto; }
.diagram figcaption { color: var(--faint); font-size: .82rem; margin-top: 14px; }
.diagram .box { fill: var(--plate-lo); stroke: rgba(255, 255, 255, .14); }
.diagram .box-gold { fill: var(--plate-hi); stroke: var(--gold-dim); }
.diagram .box-ext { fill: none; stroke: rgba(255, 255, 255, .2); stroke-dasharray: 4 4; }
.diagram .t { fill: var(--text); font: 600 13px system-ui, sans-serif; }
.diagram .t-s { fill: var(--muted); font: 11px system-ui, sans-serif; }
.diagram .t-k { fill: var(--gold-dim); font: 700 10px system-ui, sans-serif; letter-spacing: .18em; }
.diagram .edge { stroke: var(--gold-dim); stroke-width: 1.2; fill: none; opacity: .5; }
.diagram a .box { transition: stroke .18s ease; }
.diagram a:hover .box, .diagram a:focus .box { stroke: var(--gold); }

/* ── demo frames (Generate · Verify · Replay · Inspect) ──────────── */
.verbs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); margin-top: 48px; }
.verb {
  display: block; padding: 26px 24px; border-radius: var(--radius); color: var(--text);
  background: linear-gradient(172deg, var(--plate-hi), var(--plate-lo)); border: 1px solid var(--hairline-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 -1px 0 rgba(0, 0, 0, .35); transition: border-color .18s ease;
}
.verb:hover { border-color: var(--gold-dim); text-decoration: none; }
.verb b { display: block; color: var(--gold); letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; margin-bottom: 10px; }
.verb span { color: var(--muted); font-size: .92rem; }
.runner { margin-top: 40px; }
.runner-bar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
button.btn { cursor: pointer; font: inherit; font-weight: 650; }
button.btn:disabled { opacity: .5; cursor: progress; }
.toggle { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: .9rem; cursor: pointer; }
.toggle input { accent-color: var(--gold); width: 16px; height: 16px; }
.checks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 14px 4px; border-bottom: 1px solid var(--hairline); }
.checks .mark { font-weight: 800; text-align: center; color: var(--faint); }
.checks li[data-state="pass"] .mark { color: #8fc9a8; }
.checks li[data-state="fail"] .mark { color: #e08a8a; }
.checks li[data-state="info"] .mark { color: var(--gold-dim); }
.checks b { display: block; font-weight: 650; font-size: .95rem; }
.checks span { color: var(--muted); font-size: .88rem; }
.checks .tech { display: block; color: var(--faint); font-size: .76rem; margin-top: 4px; word-break: break-all; font-family: ui-monospace, Menlo, Consolas, monospace; }
.verdict {
  margin: 24px 0 0; padding: 20px 24px; border-radius: var(--radius); border: 1px solid var(--hairline-strong);
  background: var(--panel); font-size: 1.1rem; font-weight: 650;
}
.verdict[data-state="pass"] { border-color: rgba(143, 201, 168, .5); }
.verdict[data-state="fail"] { border-color: rgba(224, 138, 138, .55); }
.verdict small { display: block; color: var(--muted); font-weight: 400; font-size: .9rem; margin-top: 6px; }
.record-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 28px 0 0; }
.record-tabs button {
  font: 600 .8rem system-ui, sans-serif; padding: 8px 12px; border-radius: 6px; cursor: pointer;
  background: var(--graphite); color: var(--muted); border: 1px solid var(--hairline-strong);
}
.record-tabs button[aria-selected="true"] { color: var(--text); border-color: var(--gold-dim); }
.steps { list-style: none; margin: 0; padding: 0; }
.steps > li { position: relative; padding: 0 0 28px 40px; border-left: 1px solid var(--hairline-strong); margin-left: 12px; }
.steps > li:last-child { border-left-color: transparent; }
.steps .num {
  position: absolute; left: -13px; top: -2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--gold-dim); color: var(--gold);
  font-size: .72rem; font-weight: 700; display: grid; place-items: center;
}
.steps > li[data-state="pass"] .num { background: var(--gold); color: #17130a; }
.steps > li[data-state="fail"] .num { border-color: #e08a8a; color: #e08a8a; }
.steps .phase-k { color: var(--faint); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.steps h3 { margin: 2px 0 6px; font-size: 1.05rem; }
.steps p { margin: 0 0 8px; color: var(--muted); font-size: .92rem; max-width: 640px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 8px 0 0; font-size: .82rem; }
.kv dt { color: var(--faint); }
.kv dd { margin: 0; color: var(--steel-mid); font-family: ui-monospace, Menlo, Consolas, monospace; word-break: break-all; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin: 0 0 14px; }
.field label { font-size: .72rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.field input, .field select {
  background: var(--bg); color: var(--text); border: 1px solid var(--hairline-strong); border-radius: 8px;
  padding: 10px 12px; font: .92rem/1.4 ui-monospace, Menlo, Consolas, monospace; min-width: 0;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold-dim); }
.noscript-note { color: var(--faint); font-size: .88rem; border-left: 2px solid var(--gold-dim); padding-left: 14px; }

/* ── record anatomy (human ↔ machine) ────────────────────────────── */
.record { margin-top: 36px; border: 1px solid var(--hairline-strong); border-radius: var(--radius); background: var(--panel); overflow: hidden; max-width: 820px; }
.record-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--hairline); color: var(--faint); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.record-head code { color: var(--gold); letter-spacing: 0; text-transform: none; font-size: .8rem; background: none; padding: 0; }
.record dl { display: grid; grid-template-columns: 150px 1fr; margin: 0; }
.record dt, .record dd { padding: 10px 20px; border-bottom: 1px solid var(--hairline); margin: 0; font-size: .88rem; }
.record dt { color: var(--faint); }
.record dd { color: var(--text); word-break: break-word; }
.record dd small { display: block; color: var(--muted); font-size: .78rem; }
@media (max-width: 560px) { .record dl { grid-template-columns: 1fr; } .record dt { border-bottom: 0; padding-bottom: 0; } }

/* ── ecosystem: history + ownership ──────────────────────────────── */
.history { list-style: none; margin: 48px 0 0; padding: 0; border-left: 1px solid var(--hairline-strong); max-width: 760px; }
.history li { position: relative; padding: 0 0 30px 30px; }
.history li::before { content: ""; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold-dim); }
.history time { color: var(--gold); font-weight: 700; font-size: .78rem; letter-spacing: .14em; }
.history b { display: block; margin: 2px 0 4px; }
.history p { margin: 0; color: var(--muted); font-size: .92rem; }
.owned { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); margin-top: 40px; }
.owned > div { padding: 24px; border-radius: var(--radius); border: 1px solid var(--hairline); background: var(--panel); }
.owned > div.ext { background: transparent; border-style: dashed; border-color: var(--hairline-strong); }
.owned h3 { margin: 0 0 8px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dim); }
.owned p, .owned li { color: var(--muted); font-size: .9rem; }
.owned ul { margin: 0; padding-left: 18px; }
.motto { font-size: clamp(1.6rem, 4.4vw, 2.6rem); font-weight: 750; letter-spacing: .01em; margin: 40px 0 0; line-height: 1.2; }
.motto span { color: var(--gold); }

/* ── laws, expanded (About) ──────────────────────────────────────── */
.laws article p { color: var(--muted); font-size: .9rem; margin: 12px 0 0; line-height: 1.55; }
.laws article .test { color: var(--steel-mid); font-style: italic; font-size: .86rem; }
.laws { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.modules { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.domains { grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); }

@media (prefers-reduced-motion: reduce) {
  .card, .verb, .diagram a .box { transition: none; }
}

/* spacing utilities (CSP forbids inline style attributes) */
.mt-l { margin-top: 28px; }
.mt-xl { margin-top: 48px; }
.notfound .cta-row { justify-content: center; }
