:root {
  --ink: #14242c;
  --muted: #52646c;
  --paper: #f7f5ef;
  --paper-light: #fffefa;
  --night: #102028;
  --night-soft: #193039;
  --accent: #176b62;
  --accent-light: #79d5bd;
  --line: #c9cfcc;
  --line-dark: rgba(255, 255, 255, 0.17);
  --warning: #754a24;
  --danger: #813f38;
  --radius: 4px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
code { overflow-wrap: anywhere; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  color: white;
  background: var(--night);
  border: 1px solid var(--accent-light);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0.65rem clamp(1rem, 4vw, 4rem);
  color: #edf3f1;
  background: var(--night);
  border-bottom: 1px solid var(--line-dark);
}
.brand {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  text-decoration: none;
}
.brand span { display: grid; line-height: 1.05; }
.brand strong { letter-spacing: 0.1em; }
.brand small { margin-top: 0.28rem; color: #a8b8b9; font-size: 0.68rem; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.3vw, 2rem); }
.site-nav a {
  color: #c4d0cf;
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3rem;
}
.site-nav a:hover, .site-nav a:focus-visible { color: white; }
.site-nav .language-switch, .document-nav .language-switch {
  min-width: 2.5rem;
  padding: 0.22rem 0.48rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
}
.document-nav { display: flex; align-items: center; gap: 1rem; }
.document-nav a {
  color: #c4d0cf;
  font-size: 0.82rem;
  font-weight: 650;
  text-underline-offset: 0.25rem;
}
.document-nav a:hover, .document-nav a:focus-visible { color: white; }
.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0.35rem 0.65rem;
  color: white;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
}

.section-shell { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
section[id] { scroll-margin-top: 68px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.75fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
  min-height: 640px;
  padding-block: clamp(4.5rem, 8vw, 7rem);
}
.hero-copy, .formula-card { min-width: 0; }
.section-label {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.035em;
}
.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 6vw, 5.3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.hero-subtitle {
  max-width: 650px;
  margin: 1rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.25;
  hyphens: auto;
  overflow-wrap: break-word;
}
.hero-lead {
  max-width: 680px;
  margin: 1.75rem 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}
.button-primary { color: white; background: var(--night); border: 1px solid var(--night); }
.button-secondary { border: 1px solid var(--line); background: transparent; }
.button:hover, .button:focus-visible { text-decoration: underline; text-underline-offset: 0.2rem; }
.plain-statement {
  max-width: 680px;
  margin: 1.5rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  font-size: 0.86rem;
}
.plain-statement strong { color: var(--ink); }
.formula-card {
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  color: #edf4f2;
  background: var(--night);
  border: 1px solid #31464e;
  border-radius: var(--radius);
}
.formula-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #aebebf;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
.formula-status { color: var(--accent-light); text-align: right; }
.formula {
  margin: 3rem 0 2.2rem;
  font-family: Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  text-align: center;
}
.formula i { font-weight: 400; }
.interval {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  color: #b7c5c5;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.7rem;
}
.interval-line { position: relative; height: 2px; background: var(--accent-light); }
.interval-line::before, .interval-line::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 2px;
  height: 12px;
  background: var(--accent-light);
}
.interval-line::before { left: 0; }
.interval-line::after { right: 0; }
.interval-line b {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: white;
  transform: translate(-50%, -50%);
}
.formula-card > p {
  margin: 0.8rem 0 2rem;
  color: #cad6d5;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  text-align: center;
}
.example-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.78rem;
}
.example-grid span { color: #9caeaf; }
.example-grid code { color: #eef4f2; }

.project-status { padding-bottom: 2.75rem; }
.project-status h2 {
  margin: 0;
  padding: 0.8rem 0;
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.project-status dl {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
}
.project-status dl > div { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); }
.project-status dl > div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
.project-status dt { color: var(--muted); font-size: 0.72rem; }
.project-status dd { margin: 0.35rem 0 0; font-size: 0.78rem; font-weight: 700; }

.content-section { padding-block: clamp(5rem, 9vw, 7.5rem); }
.section-intro { max-width: 790px; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section-intro h2, .source-layout h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
  hyphens: auto;
}
.section-intro > p:not(.section-label), .split-intro > p { color: var(--muted); font-size: 1.02rem; }
.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 4rem;
  max-width: none;
  align-items: end;
}
.split-intro > p { margin: 0; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principle-grid article { padding: 1.5rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.principle-grid article + article { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.principle-grid h3 { margin: 0 0 0.65rem; font-size: 1.08rem; }
.principle-grid p { margin: 0; color: var(--muted); font-size: 0.89rem; }
.boundary-note {
  display: grid;
  grid-template-columns: 0.3fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.boundary-note strong { color: var(--danger); }
.boundary-note p { margin: 0; }

.evidence-section { color: #edf3f1; background: var(--night); }
.evidence-section .section-label, .source-section .section-label { color: var(--accent-light); }
.evidence-section .split-intro > p { color: #adbdbe; }
.evidence-provenance {
  max-width: 80ch;
  margin: -1.25rem 0 2rem;
  color: #c4d0cf;
  font-size: 0.83rem;
  overflow-wrap: anywhere;
}
.evidence-provenance strong { color: white; }
.evidence-provenance code { color: var(--accent-light); }
.evidence-table-wrap { overflow-x: auto; border: 1px solid var(--line-dark); }
.evidence-table-wrap table { width: 100%; min-width: 700px; border-collapse: collapse; }
.evidence-table-wrap caption {
  padding: 0.9rem 1.2rem;
  color: #c4d0cf;
  text-align: left;
  font-size: 0.78rem;
  border-bottom: 1px solid var(--line-dark);
}
.evidence-table-wrap th, .evidence-table-wrap td {
  padding: 1.05rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--line-dark);
}
.evidence-table-wrap th { color: #a6b6b7; font-size: 0.72rem; }
.evidence-table-wrap td { color: #c5d1d0; font-size: 0.87rem; }
.evidence-table-wrap tr:last-child td { border-bottom: 0; }
.evidence-table-wrap .metric {
  color: var(--accent-light);
  font-family: Georgia, serif;
  font-size: 1.4rem;
  white-space: nowrap;
}
.negative-results {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.negative-results h3 { margin: 0; }
.negative-results ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 2rem;
  margin: 0;
  padding-left: 1.2rem;
  color: #c5d1d0;
  font-size: 0.86rem;
}

.token-layout { display: grid; grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr); gap: 2rem; }
.token-specs, .allocation-table { padding: 1.5rem; border: 1px solid var(--line); background: var(--paper-light); }
.token-specs dl { margin: 0; }
.token-specs dl div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.85rem; border-bottom: 1px solid var(--line); }
.token-specs dl div:last-child { border: 0; }
.token-specs dt { color: var(--muted); font-size: 0.78rem; }
.token-specs dd { margin: 0; font-size: 0.82rem; font-weight: 700; text-align: right; }
.allocation-table table { width: 100%; border-collapse: collapse; }
.allocation-table caption { padding: 0 0 0.9rem; font-weight: 700; text-align: left; }
.allocation-table th, .allocation-table td { padding: 0.8rem 0.65rem; text-align: left; border-bottom: 1px solid var(--line); }
.allocation-table thead th { color: var(--muted); font-size: 0.72rem; font-weight: 600; }
.allocation-table tbody th { font-size: 0.82rem; }
.allocation-table td { font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.allocation-table > p { margin: 1.35rem 0 0; color: var(--muted); font-size: 0.8rem; }
.address-panel { margin-top: 1.5rem; padding: 1.2rem 1.4rem; color: white; background: var(--night-soft); border-radius: var(--radius); }
.address-panel > span { display: block; color: #b2c0c1; font-size: 0.7rem; }
.address-panel code { display: block; margin: 0.5rem 0; color: var(--accent-light); }
.address-panel div { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.78rem; }
.text-button { padding: 0; color: white; background: none; border: 0; text-decoration: underline; cursor: pointer; }

.contributions-section { background: #edf0eb; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 3rem; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process li { display: grid; padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); }
.process li + li { padding-left: 1rem; border-left: 1px solid var(--line); }
.process span { color: var(--accent); font-family: ui-monospace, monospace; font-size: 0.7rem; }
.process b { margin-top: 0.65rem; }
.process small { color: var(--muted); }
.bounty-register { border-top: 1px solid var(--line); }
.bounty-register h3 { margin: 0; padding: 1rem 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
.bounty-register ul { margin: 0; padding: 0; list-style: none; }
.bounty-register li {
  display: grid;
  grid-template-columns: 105px minmax(150px, 0.65fr) minmax(240px, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.bounty-register code { color: var(--accent); font-size: 0.76rem; }
.bounty-register b { font-size: 0.88rem; }
.bounty-register span { color: var(--muted); font-size: 0.84rem; }
.bounty-register small { color: var(--warning); font-size: 0.75rem; }
.bounty-register > a { display: inline-block; margin-top: 1rem; font-size: 0.8rem; text-underline-offset: 0.2rem; }
.ledger-status { margin: 2rem 0 0; padding-top: 1rem; color: var(--muted); border-top: 1px solid var(--line); font-size: 0.8rem; }

.transparency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.transparency-card { padding: 1.4rem 0; border-top: 2px solid var(--accent); border-bottom: 1px solid var(--line); }
.transparency-card-pending { border-top-color: var(--warning); }
.transparency-card h3 { margin: 0 0 1.2rem; }
.transparency-card ul { margin: 0; padding-left: 1.2rem; }
.transparency-card li { margin: 0.4rem 0; font-size: 0.86rem; }
.release-gate {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 3rem;
  margin-top: 2.5rem;
  padding: 1.5rem 0 1.5rem 1.25rem;
  border-left: 3px solid var(--danger);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.release-gate span { color: var(--danger); font-size: 0.72rem; font-weight: 750; }
.release-gate h3 { margin: 0.4rem 0 0; }
.release-gate p { margin: 0; color: var(--muted); }
.release-gate code { color: var(--ink); font-size: 0.8rem; }
.next-steps { margin-top: 3.5rem; border-top: 1px solid var(--line); }
.next-steps h3 { margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.next-steps ol { margin: 0; padding: 0; list-style-position: inside; }
.next-steps li { padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }

.source-section { padding-block: 5rem; color: white; background: var(--night); }
.source-layout { display: grid; grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1.4fr); gap: 4rem; align-items: start; }
.source-links { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); }
.source-links a { display: grid; padding: 1rem 1rem 1rem 0; text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.source-links a:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line-dark); }
.source-links a:hover, .source-links a:focus-visible { text-decoration: underline; text-underline-offset: 0.2rem; }
.source-links span { font-weight: 700; }
.source-links small { margin-top: 0.7rem; color: #9fb0b1; }

.document-shell {
  width: min(860px, calc(100% - 2.5rem));
  min-height: calc(100vh - 220px);
  margin-inline: auto;
  padding-block: clamp(4rem, 8vw, 7rem);
}
.markdown-document > h1 {
  margin: 0 0 2.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.markdown-document h2 {
  margin: 3.5rem 0 1rem;
  padding-top: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 500;
  line-height: 1.15;
  border-top: 1px solid var(--line);
}
.markdown-document h3 { margin: 2.5rem 0 0.8rem; }
.markdown-document h1, .markdown-document h2, .markdown-document h3 { scroll-margin-top: 88px; }
.markdown-document p, .markdown-document li { color: var(--muted); }
.markdown-document p { margin: 0.9rem 0; }
.markdown-document ul, .markdown-document ol { padding-left: 1.4rem; }
.markdown-document li { margin: 0.45rem 0; }
.markdown-document strong { color: var(--ink); }
.markdown-document a { color: var(--accent); text-underline-offset: 0.2rem; }
.markdown-document code {
  padding: 0.12rem 0.28rem;
  color: #173f3a;
  background: #e3ebe6;
  border: 1px solid #ced9d3;
  border-radius: 2px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.88em;
}
.markdown-document pre {
  overflow-x: auto;
  padding: 1.2rem;
  color: #edf3f1;
  background: var(--night);
  border: 1px solid #31464e;
}
.markdown-document pre code { padding: 0; color: inherit; background: none; border: 0; }
.document-table-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; border: 1px solid var(--line); }
.markdown-document table { width: 100%; min-width: 620px; border-collapse: collapse; background: var(--paper-light); }
.markdown-document th, .markdown-document td { padding: 0.8rem 0.9rem; text-align: left; border-bottom: 1px solid var(--line); }
.markdown-document th[align="right"], .markdown-document td[align="right"] { text-align: right; }
.markdown-document th[align="center"], .markdown-document td[align="center"] { text-align: center; }
.markdown-document th { color: var(--ink); font-size: 0.78rem; }
.markdown-document td { color: var(--muted); font-size: 0.84rem; }
.markdown-document tr:last-child td { border-bottom: 0; }
.document-page-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem max(1.25rem, calc((100% - 860px) / 2));
  color: #a9b8b9;
  background: #091419;
  border-top: 1px solid var(--line-dark);
  font-size: 0.72rem;
}
.document-page-footer p { margin: 0; }
.document-page-footer a { color: white; text-underline-offset: 0.2rem; }

.not-found-page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}
.not-found-shell {
  width: min(900px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding-block: clamp(4rem, 10vw, 8rem);
  align-self: center;
}
.not-found-shell > h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  overflow-wrap: anywhere;
}
.not-found-shell > h1 span { display: block; }
.not-found-shell > h1 span[lang="en"] {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.62em;
  letter-spacing: -0.025em;
}
.not-found-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}
.not-found-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem 2rem 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.not-found-panel + .not-found-panel {
  padding-right: 0;
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}
.not-found-panel h2 { margin: 0; font-size: 1rem; }
.not-found-panel p {
  max-width: 52ch;
  margin: 0.8rem 0 1.5rem;
  color: var(--muted);
}
.not-found-panel .button { margin-top: auto; }

footer {
  display: grid;
  grid-template-columns: 0.7fr 1.2fr 0.9fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  color: #a9b8b9;
  background: #091419;
  border-top: 1px solid var(--line-dark);
  font-size: 0.7rem;
}
.footer-brand { display: flex; gap: 0.7rem; align-items: center; }
.footer-brand p { display: grid; margin: 0; }
.footer-brand strong { color: white; letter-spacing: 0.1em; }
.footer-brand span { color: #91a3a4; }
footer > p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.45rem 0.9rem; }
.footer-links a { color: #cfdbda; text-underline-offset: 0.2em; }
.footer-links a:hover, .footer-links a:focus-visible { color: white; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 3rem; }
  .formula-card { width: min(620px, 100%); }
}

@media (max-width: 900px) {
  .project-status dl { grid-template-columns: repeat(2, 1fr); }
  .project-status dl > div, .project-status dl > div + div { padding-left: 0; border-left: 0; }
  .project-status dl > div:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); }
  .split-intro, .negative-results, .token-layout, .release-gate, .source-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article, .principle-grid article + article { padding: 1.25rem 0; border-left: 0; }
  .process { grid-template-columns: 1fr 1fr; }
  .negative-results ul { grid-template-columns: 1fr; }
  .bounty-register li { grid-template-columns: 105px 1fr auto; }
  .bounty-register li span { grid-column: 2 / -1; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .section-shell { width: min(100% - 2rem, 1120px); }
  .site-header { min-height: 64px; flex-wrap: wrap; }
  .site-nav { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0.6rem 0; }
  .site-nav a { padding: 0.55rem 0; }
  .site-nav .language-switch { justify-self: start; padding-inline: 0.55rem; }
  .document-nav { gap: 0.6rem; }
  .document-nav a { font-size: 0.76rem; }
  .document-nav .language-switch { padding: 0.22rem 0.48rem; }
  .js .nav-toggle { display: block; }
  .js .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    width: auto;
    padding: 0.75rem 1rem 1rem;
    background: var(--night);
    border-bottom: 1px solid var(--line-dark);
  }
  .js .site-nav.open { display: grid; }
  .hero { padding-block: 3.75rem; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 3.8rem); }
  .hero-subtitle { font-size: clamp(1.25rem, 6.5vw, 1.55rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .formula-card { padding: 1.25rem; }
  .formula-card-head { flex-direction: column; gap: 0.2rem; }
  .formula-status { text-align: left; }
  .formula { margin: 2.2rem 0 1.8rem; font-size: clamp(2.4rem, 14vw, 3.2rem); }
  .project-status dl, .transparency-grid { grid-template-columns: 1fr; }
  .project-status dl > div:nth-child(even), .project-status dl > div + div { padding-left: 0; border-left: 0; }
  .boundary-note { grid-template-columns: 1fr; gap: 0.5rem; }
  .process { grid-template-columns: 1fr; }
  .process li, .process li + li { padding: 0.9rem 0; border-left: 0; }
  .bounty-register li { grid-template-columns: 1fr auto; gap: 0.35rem 1rem; }
  .bounty-register li b, .bounty-register li span { grid-column: 1 / -1; }
  .source-links { grid-template-columns: 1fr; }
  .source-links a, .source-links a:nth-child(even) { padding: 1rem 0; border-left: 0; }
  .document-shell { width: min(100% - 2rem, 860px); padding-block: 3.5rem; }
  .document-page-footer { flex-direction: column; }
  .not-found-shell { width: min(100% - 2rem, 900px); padding-block: 3.5rem; }
  .not-found-grid { grid-template-columns: 1fr; }
  .not-found-panel, .not-found-panel + .not-found-panel {
    padding: 1.25rem 0;
    border-left: 0;
  }
  footer { grid-template-columns: 1fr; }
}

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