/* ==========================================================================
   EDICT — every pool carries an edict
   Paper, ink, one gold seal. No framework, no build step.
   ========================================================================== */

@font-face {
  font-family: 'Mona Sans';
  src: url('fonts/mona-sans-latin-variable.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('fonts/geist-mono-latin-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('fonts/instrument-serif-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #ece9e1;
  --paper-2: #e3dfd5;
  --paper-3: #f3f0e8;
  --cream: #ebeae4;
  --ink: #272726;
  --ink-2: #1f1f1e;
  --ink-3: #333330;
  --gold: #c8982d;
  --gold-bright: #d9ac44;
  --gold-ink: #836418;
  --muted: #625d53;
  --muted-dark: #aaa497;
  --line: rgba(39, 39, 38, .17);
  --line-dark: rgba(235, 234, 228, .16);
  --pass: #6f8b70;
  --charge: #c8982d;
  --refuse: #b66047;
  --sans: 'Mona Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(84px, 10vw, 136px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

::selection {
  background: var(--gold);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

section[id],
div[id] {
  scroll-margin-top: calc(var(--header-h) + 22px);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

p, h1, h2, h3, h4, figure, blockquote, dl, dd { margin: 0; }

code {
  font-family: var(--mono);
  font-size: .92em;
}

:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 4px;
}
.section--dark:focus-visible { outline-color: var(--gold-bright); }

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: none; }

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.015em;
}

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Texture, progress, page rail
   -------------------------------------------------------------------------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: .032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: 2px;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
}

.page-rail {
  position: fixed;
  left: 18px;
  top: 50%;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}
.page-rail__idx {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
}
.page-rail__line {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, var(--gold), rgba(200, 152, 45, .05));
}
.page-rail__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 1399px) {
  .page-rail { display: none; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(236, 233, 225, .92);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.site-header.is-scrolled {
  background: rgba(236, 233, 225, .98);
  border-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand img {
  width: 30px;
  height: 30px;
  image-rendering: auto;
}
.brand__word {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.site-nav {
  flex: 1;
  display: flex;
  align-items: center;
}
.site-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}
.site-nav__links a {
  position: relative;
  padding: 4px 0;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #5c574d;
  transition: color .25s ease;
}
.site-nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.site-nav__links a:hover,
.site-nav__links a.is-active { color: var(--ink); }
.site-nav__links a:hover::after,
.site-nav__links a.is-active::after { transform: scaleX(1); }
.site-nav__meta { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: border-color .25s ease;
}
.pill:hover { border-color: var(--gold); }
.pill__dot,
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(200, 152, 45, .5);
  animation: pulse 2.4s infinite;
}
.pill__dot { flex: none; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 15px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease);
}
body.nav-open .menu-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
body.nav-open .menu-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--ease);
}
.btn .icon {
  width: 15px;
  height: 15px;
  transition: transform .35s var(--ease);
}
.btn:hover .icon { transform: translateX(3px); }
.btn--solid {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn--solid:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-1px);
}
.btn--line {
  background: transparent;
  color: var(--ink);
}
.btn--line:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn--gold:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}
.btn--light {
  border-color: rgba(235, 234, 228, .42);
  color: var(--cream);
}
.btn--light:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn--sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 8px;
  gap: 8px;
}
.btn--sm .icon { width: 13px; height: 13px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .25s ease, border-color .25s ease;
}
.text-link .icon { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.text-link:hover { color: var(--gold-ink); border-color: var(--gold-ink); }
.text-link:hover .icon { transform: translate(2px, -2px); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(46px, 7vh, 86px));
  border-bottom: 1px solid var(--line);
  overflow: clip;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(39, 39, 38, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(39, 39, 38, .045) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent 72%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent 72%);
}
.hero::after {
  content: '';
  position: absolute;
  top: -18%;
  right: -12%;
  width: 62vw;
  height: 62vw;
  max-width: 900px;
  max-height: 900px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(200, 152, 45, .13) 0%, rgba(200, 152, 45, 0) 66%);
}
.hero > .wrap { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__mark {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}
.eyebrow__slash { color: rgba(39, 39, 38, .3); }

.hero-title {
  margin-top: clamp(26px, 4vw, 40px);
  font-size: clamp(58px, 8.2vw, 114px);
  font-weight: 520;
  line-height: .91;
  letter-spacing: -.06em;
}
.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}
.hero-line > span {
  display: block;
  transform: translateY(115%);
  animation: hero-line 1.15s var(--ease) forwards;
}
.hero-line:nth-child(1) > span { animation-delay: .08s; }
.hero-line:nth-child(2) > span { animation-delay: .16s; }
.hero-line:nth-child(3) > span { animation-delay: .24s; }
.hero-title .serif {
  display: inline-block;
  font-size: 1.06em;
  line-height: .9;
  color: var(--ink);
}

.hero-lede {
  max-width: 560px;
  margin-top: clamp(26px, 3vw, 34px);
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.55;
  color: #585349;
  opacity: 0;
  animation: fade-up .9s var(--ease) .55s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  opacity: 0;
  animation: fade-up .9s var(--ease) .65s forwards;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 530px;
  margin-top: clamp(42px, 6vw, 64px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: fade-up .9s var(--ease) .75s forwards;
}
.hero-meta dt {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta dd {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
}

/* The contract rail. It sits above the hero so the CA is the first thing a
   visitor can act on, without turning the fixed header into a dashboard. */
.contract-shell {
  position: relative;
  z-index: 3;
}
.contract-bar {
  --pump: #63f89a;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  margin-bottom: clamp(38px, 5vw, 64px);
  padding: 10px 12px 10px 16px;
  color: var(--cream);
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 7px 7px 0 rgba(200, 152, 45, .92);
  opacity: 0;
  animation: fade-up .9s var(--ease) .35s forwards;
}
.contract-bar :focus-visible { outline-color: var(--gold-bright); }
.contract-live {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-right: clamp(12px, 1.4vw, 20px);
  border-right: 1px solid var(--line-dark);
  white-space: nowrap;
}
.contract-live__dot {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--gold);
  animation: pulse 2.4s infinite;
}
.contract-live strong {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
}
.contract-live small {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.contract-address {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line-dark);
  background: rgba(235, 234, 228, .045);
}
.contract-key {
  display: inline-grid;
  min-width: 30px;
  min-height: 31px;
  flex: none;
  padding: 0 6px;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: .1em;
}
.contract-value {
  min-width: 0;
  flex: 1;
  color: var(--cream);
  font-family: var(--mono);
  font-size: clamp(8.5px, .78vw, 10.5px);
  line-height: 1.35;
  letter-spacing: .01em;
  overflow-wrap: anywhere;
  user-select: all;
}
.contract-copy,
.contract-pump,
.contract-x {
  flex: none;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--ease), box-shadow .3s var(--ease);
}
.contract-copy {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid var(--cream);
  color: var(--ink);
  background: var(--cream);
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contract-copy .icon { width: 12px; height: 12px; }
.contract-pump {
  display: inline-grid;
  width: 33px;
  height: 33px;
  place-items: center;
  color: var(--ink);
  background: var(--pump);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .35);
}
.contract-pump .icon { width: 21px; height: 21px; }
.contract-x {
  display: inline-flex;
  min-height: 33px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--line-dark);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .02em;
}
.contract-x .icon { width: 13px; height: 13px; }
.contract-copy:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
.contract-pump:hover {
  background: #91ffc0;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .42);
  transform: translate(-1px, -1px);
}
.contract-x:hover {
  color: var(--ink);
  background: var(--cream);
  border-color: var(--cream);
}
.contract-copy:active,
.contract-pump:active,
.contract-x:active { transform: translateY(1px); }
.contract-copy.is-copied {
  color: var(--ink);
  background: var(--pump);
  border-color: var(--pump);
}

.hero-art {
  position: relative;
  z-index: 2;
  padding-right: clamp(0px, 1vw, 16px);
}

.mark-card {
  position: relative;
  width: 100%;
  max-width: 468px;
  margin-left: auto;
  padding: 12px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 20px 20px 0 rgba(200, 152, 45, .92);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.mark-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 24px 24px 0 var(--gold);
}
.mark-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 3px 11px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(235, 234, 228, .6);
}
.mark-card__image {
  position: relative;
  overflow: hidden;
  line-height: 0;
  outline: 1px solid rgba(235, 234, 228, .1);
  outline-offset: -1px;
}
.mark-card__image img {
  width: 100%;
  height: auto;
  transition: transform 1.4s var(--ease);
}
.mark-card:hover .mark-card__image img { transform: scale(1.018); }
.mark-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-style: solid;
  border-color: var(--gold);
  opacity: .85;
  pointer-events: none;
}
.mark-corner--tl { top: 10px; left: 10px; border-width: 1px 0 0 1px; }
.mark-corner--tr { top: 10px; right: 10px; border-width: 1px 1px 0 0; }
.mark-corner--bl { bottom: 10px; left: 10px; border-width: 0 0 1px 1px; }
.mark-corner--br { bottom: 10px; right: 10px; border-width: 0 1px 1px 0; }
.mark-card figcaption {
  display: grid;
  gap: 3px;
  padding: 13px 3px 3px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .06em;
  color: rgba(235, 234, 228, .58);
}
.mark-card figcaption span:first-child { color: var(--gold-bright); }

.band-readout {
  width: 100%;
  max-width: 468px;
  margin: 38px 0 0 auto;
}
.band-readout__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.band-readout__head span:last-child { color: var(--ink); }
.band-track {
  position: relative;
  height: 38px;
  margin-top: 10px;
  border: 1px solid var(--line);
  background: rgba(243, 240, 232, .45);
  overflow: hidden;
}
.band-track__zone {
  position: absolute;
  inset: 0 22%;
  background:
    repeating-linear-gradient(to right, rgba(39, 39, 38, .09) 0 1px, transparent 1px 9px),
    rgba(200, 152, 45, .08);
}
.band-track__edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gold);
}
.band-track__edge--min { left: 22%; }
.band-track__edge--max { right: 22%; }
.band-track__marker {
  position: absolute;
  top: 50%;
  left: 58%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 152, 45, .16);
  transform: translate(-50%, -50%);
  transition: left 2.2s linear;
}
.band-readout__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
}

.ticker {
  position: relative;
  z-index: 2;
  margin-top: clamp(54px, 8vh, 88px);
  padding: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: ticker 46s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #5d584e;
  white-space: nowrap;
}
.ticker__sep {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
}
.section--paper2 { background: var(--paper-2); }
.section--dark {
  background: var(--ink);
  color: var(--cream);
  border-top-color: transparent;
}

.section-head {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 290px;
  gap: clamp(20px, 4vw, 46px);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 76px);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 9px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.kicker > span:first-child { color: var(--gold-ink); }
.kicker__line {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.display {
  font-size: clamp(38px, 5.1vw, 68px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.05em;
}
.display .serif {
  display: block;
  margin-top: .04em;
  font-size: 1.04em;
  line-height: .96;
  color: var(--ink);
}

.lede {
  padding-top: 6px;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
}

.section--dark .kicker { color: var(--muted-dark); }
.section--dark .kicker > span:first-child { color: var(--gold); }
.section--dark .display,
.section--dark .display .serif { color: var(--cream); }
.section--dark .lede { color: var(--muted-dark); }

/* --------------------------------------------------------------------------
   01 — the gap
   -------------------------------------------------------------------------- */

.ledger {
  border-top: 1px solid var(--line);
}
.ledger__row {
  display: grid;
  grid-template-columns: 110px 1fr 42px 1fr;
  gap: 24px;
  align-items: center;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.ledger__row:hover { background: rgba(235, 234, 228, .025); }
.ledger__key {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.ledger__old {
  font-size: 14px;
  color: #9c9587;
  text-decoration: line-through;
  text-decoration-color: rgba(200, 152, 45, .55);
  text-decoration-thickness: 1px;
}
.ledger__arrow {
  width: 17px;
  height: 17px;
  color: var(--gold);
  opacity: .75;
}
.ledger__new {
  font-size: 14px;
  color: var(--cream);
}

.primitives {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(48px, 6vw, 72px);
  border: 1px solid var(--line);
  background: var(--line);
}
.primitive {
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 24px;
  background: var(--ink);
  transition: background .35s ease;
}
.primitive:hover { background: #2c2c2a; }
.primitive__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.primitive__top span:first-child { color: var(--gold); }
.primitive h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.02em;
}
.primitive p {
  font-size: 13px;
  line-height: 1.62;
  color: #b7b1a4;
}
.primitive p code {
  font-size: 10.5px;
  color: var(--gold-bright);
}

.diagram {
  position: relative;
  height: 118px;
  margin: 26px 0 22px;
  border: 1px solid var(--line-dark);
  background: #232322;
  overflow: hidden;
}
.diagram__out {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22%;
  background: repeating-linear-gradient(135deg, rgba(235, 234, 228, .055) 0 1px, transparent 1px 6px);
}
.diagram__out--l { left: 0; }
.diagram__out--r { right: 0; }
.diagram__zone {
  position: absolute;
  inset: 0 22%;
  background: rgba(200, 152, 45, .09);
}
.diagram__edge {
  position: absolute;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: var(--gold);
}
.diagram__edge--l { left: 22%; }
.diagram__edge--r { right: 22%; }
.diagram__dot {
  position: absolute;
  top: 50%;
  left: 58%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 152, 45, .14);
  transform: translate(-50%, -50%);
}
.diagram__label {
  position: absolute;
  bottom: 7px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .08em;
  color: #8e887b;
}
.diagram__label--l { left: 22%; transform: translateX(4px); }
.diagram__label--r { right: 22%; transform: translateX(-4px); }

.diagram--edict {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  align-content: center;
  padding: 28px 14px 30px;
}
.byte {
  display: grid;
  place-items: center;
  height: 32px;
  border: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 9px;
  color: #bdb7aa;
}
.byte--tag {
  border-color: rgba(200, 152, 45, .55);
  color: var(--gold-bright);
  background: rgba(200, 152, 45, .07);
}
.byte--zero { color: #6d685e; }
.diagram__label--bottom {
  left: 14px;
  bottom: 7px;
}

.diagram--verdict {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 16px 18px;
}
.v-row {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 158px;
  padding: 5px 9px;
  border: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .12em;
  color: #c7c1b4;
}
.v-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex: none;
}
.v-dot--pass { background: var(--pass); }
.v-dot--charge { background: var(--charge); }
.v-dot--refuse { background: var(--refuse); }

.pullquote {
  margin-top: clamp(64px, 8vw, 100px);
  padding-top: clamp(44px, 5vw, 64px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.pullquote blockquote {
  font-size: clamp(32px, 4.8vw, 62px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.pullquote blockquote .serif { color: var(--gold); }
.pullquote figcaption {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* --------------------------------------------------------------------------
   02 — the trade
   -------------------------------------------------------------------------- */

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.role-card {
  display: flex;
  flex-direction: column;
  min-height: 292px;
  padding: 28px 30px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .35s ease;
}
.role-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.role-card:hover { background: rgba(200, 152, 45, .045); }
.role-card:hover::after { transform: scaleX(1); }
.role-card__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}
.role-card__num { color: var(--gold-ink); }
.role-card h3 {
  max-width: 18ch;
  margin: 34px 0 12px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.03em;
}
.role-card p {
  max-width: 42ch;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--muted);
}
.role-card p code {
  font-size: 10.5px;
  color: var(--gold-ink);
}
.role-card__metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
}
.role-card__metric strong {
  font-size: 38px;
  font-weight: 450;
  line-height: 1;
  letter-spacing: -.04em;
}
.role-card__metric span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.readout {
  position: relative;
  margin-top: clamp(56px, 7vw, 84px);
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  overflow: hidden;
}
.readout::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(to right, var(--gold), rgba(200, 152, 45, .1));
}
.readout__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 17px 24px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.readout__title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cream);
}
.readout__meta { color: #918b7e; text-align: right; }

.readout__stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--line-dark);
}
.stat {
  padding: 19px 18px 20px;
  border-left: 1px solid var(--line-dark);
}
.stat:first-child { border-left: 0; }
.stat__label {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #a39c8e;
}
.stat__value {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: clamp(17px, 1.8vw, 25px);
  font-weight: 400;
  letter-spacing: -.03em;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}
.stat:nth-child(4) .stat__value { color: var(--gold-bright); }

.readout__body {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}
.split {
  padding: 26px 24px;
  border-right: 1px solid var(--line-dark);
}
.split__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a39c8e;
}
.split__bar {
  display: flex;
  height: 10px;
  margin-top: 18px;
  gap: 2px;
}
.split__seg { display: block; height: 100%; }
.split__seg--pass { background: var(--pass); }
.split__seg--charge { background: var(--gold); }
.split__seg--refuse { background: var(--refuse); }
.split__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 15px;
  font-family: var(--mono);
  font-size: 8px;
  color: #b7b1a4;
}
.split__legend span { display: inline-flex; align-items: center; gap: 6px; }
.split__legend b { font-weight: 500; color: var(--cream); }
.split__note {
  max-width: 40ch;
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.6;
  color: #9d9789;
}

.feed { padding: 26px 24px 20px; }
.feed__head,
.feed__row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 70px minmax(90px, 120px);
  gap: 10px;
  align-items: center;
}
.feed__head {
  padding-bottom: 9px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9d9688;
}
.feed__row {
  padding: 8px 0;
  border-top: 1px solid rgba(235, 234, 228, .08);
  font-family: var(--mono);
  font-size: 9.5px;
  color: #c3bdaf;
  font-variant-numeric: tabular-nums;
}
.feed__row.is-new { animation: feed-in .7s var(--ease); }
.feed__block { color: #ded9cc; }
.feed__trade { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed__edict { color: #948e81; letter-spacing: .06em; }
.feed__verdict--pass { color: #9db49d; }
.feed__verdict--charge { color: var(--gold-bright); }
.feed__verdict--refuse { color: #d38369; }
.readout__fine {
  padding: 11px 24px;
  border-top: 1px solid var(--line-dark);
  background: rgba(0, 0, 0, .16);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .04em;
  color: #969083;
}

/* --------------------------------------------------------------------------
   03 — the ruling
   -------------------------------------------------------------------------- */

.rail {
  position: relative;
  margin-top: 8px;
  padding-top: 2px;
}
.rail__line {
  position: absolute;
  top: 23px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.rail__fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
  transition: width 1.8s var(--ease);
}
.rail.is-in .rail__fill { width: 100%; }
.rail__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rail-step {
  position: relative;
  padding-right: clamp(20px, 3vw, 38px);
}
.rail-step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink);
}
.rail-step h3 {
  margin: 24px 0 6px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.02em;
}
.rail-step__tag {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.rail-step p:last-child {
  max-width: 34ch;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--muted);
}
.rail-step code {
  font-size: 10px;
  color: var(--ink);
}

.trace {
  margin-top: clamp(48px, 6vw, 72px);
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
}
.trace__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-dark);
}
.trace__tabs { display: flex; gap: 4px; }
.trace-tab {
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a39c8e;
  border: 1px solid transparent;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.trace-tab:hover { color: var(--cream); }
.trace-tab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.trace__meta {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #969083;
}
.trace__body { padding: 24px 26px 20px; }
.trace-pane {
  display: none;
  margin: 0;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.85;
  color: #d8d3c6;
}
.trace-pane.is-active { display: block; animation: fade-in .35s ease; }
.t-dim { color: #969083; }
.t-gold { color: var(--gold-bright); }
.t-red { color: #d38369; }
.trace__foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 16px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #969083;
}

/* --------------------------------------------------------------------------
   04 — the laws
   -------------------------------------------------------------------------- */

.edict-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.edict-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 23px 22px 21px;
  background: var(--paper);
  transition: background .35s ease, color .35s ease;
}
.edict-card--wide { grid-column: span 3; }
.edict-card:hover {
  background: var(--ink);
  color: var(--cream);
}
.edict-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.edict-card__idx {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--gold-ink);
  transition: color .35s ease;
}
.edict-card:hover .edict-card__idx { color: var(--gold); }
.edict-card__tag {
  padding: 3px 6px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .35s ease, border-color .35s ease;
}
.edict-card:hover .edict-card__tag {
  color: #b7b1a4;
  border-color: var(--line-dark);
}
.edict-card h3 {
  margin: 20px 0 6px;
  font-size: clamp(28px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
}
.edict-card__line {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  transition: color .35s ease;
}
.edict-card:hover .edict-card__line { color: var(--cream); }
.edict-card__body {
  max-width: 38ch;
  margin-top: 11px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  transition: color .35s ease;
}
.edict-card:hover .edict-card__body { color: #b7b1a4; }
.edict-card__code {
  display: block;
  margin-top: auto;
  padding-top: 22px;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.65;
  color: var(--gold-ink);
  transition: color .35s ease;
}
.edict-card:hover .edict-card__code { color: var(--gold-bright); }

.byo {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 30px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.byo__label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.byo p {
  max-width: 66ch;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   05 — the band
   -------------------------------------------------------------------------- */

.math-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.math-copy .display { margin-top: 24px; }
.math-copy .lede { max-width: 44ch; margin-top: 22px; }

.big-number {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding: 20px 0 18px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.big-number span {
  font-size: clamp(48px, 5.8vw, 78px);
  font-weight: 420;
  line-height: .85;
  letter-spacing: -.06em;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}
.big-number small {
  max-width: 110px;
  padding-bottom: 4px;
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.5;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-dark);
  text-align: right;
}
.formulas {
  margin-top: 26px;
  border-top: 1px solid var(--line-dark);
}
.formulas > div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-dark);
}
.formula__label {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.formulas code {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
  color: var(--cream);
  overflow-wrap: anywhere;
}
.spec-list {
  margin-top: 24px;
  border-top: 1px solid var(--line-dark);
}
.spec-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-dark);
}
.spec-list dt {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.spec-list dd {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--cream);
}

.band-diagram {
  position: relative;
  margin-top: 8px;
  padding: 22px;
  background: #20201f;
  border: 1px solid var(--line-dark);
}
.band-diagram__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.band-axis {
  position: relative;
  height: 280px;
  margin: 52px 0 14px;
  border: 1px solid var(--line-dark);
  background:
    repeating-linear-gradient(to right, rgba(235, 234, 228, .045) 0 1px, transparent 1px 34px),
    #232321;
}
.band-out {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22%;
  background: repeating-linear-gradient(135deg, rgba(235, 234, 228, .05) 0 1px, transparent 1px 7px);
}
.band-out--l { left: 0; }
.band-out--r { right: 0; }
.band-zone {
  position: absolute;
  inset: 0 22%;
  background: linear-gradient(180deg, rgba(200, 152, 45, .17), rgba(200, 152, 45, .035));
}
.band-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gold);
}
.band-edge--l { left: 22%; }
.band-edge--r { right: 22%; }
.band-edge i,
.band-edge b {
  position: absolute;
  left: -1px;
  font-family: var(--mono);
  font-style: normal;
  white-space: nowrap;
}
.band-edge i {
  top: -42px;
  font-size: 7px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.band-edge b {
  top: -27px;
  font-size: 9px;
  font-weight: 400;
  color: var(--cream);
}
.band-edge--r i,
.band-edge--r b {
  left: auto;
  right: -1px;
  text-align: right;
}
.band-zero {
  position: absolute;
  left: 50%;
  bottom: 9px;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 7px;
  color: #6f6a5e;
}
.band-price {
  position: absolute;
  top: 50%;
  left: 58%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  transform: translate(-50%, -50%);
}
.band-price i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(200, 152, 45, .15);
  animation: marker-drift 9s ease-in-out infinite alternate;
}
.band-price b {
  padding: 4px 6px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .04em;
}
.band-price em {
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.band-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 7px;
  color: #928b7d;
}
.band-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
}
.band-notes div {
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.6;
  color: #aaa497;
}
.band-notes span { margin-right: 7px; color: var(--gold); }
.band-diagram__foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 23px);
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   06 — the lab
   -------------------------------------------------------------------------- */

.lab {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  margin-top: 10px;
  border: 1px solid var(--line);
  background: var(--paper-3);
}
.lab__controls {
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}
.control { margin-bottom: 26px; }
.control label {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.control output {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.control input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 22px;
  margin: 12px 0 0;
  background: transparent;
  cursor: pointer;
}
.control input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background: var(--ink);
}
.control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -6px;
  border: 2px solid var(--paper-3);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--ink);
}
.control input[type="range"]::-moz-range-track {
  height: 2px;
  background: var(--ink);
}
.control input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid var(--paper-3);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--ink);
}
.control p {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 7.5px;
  color: var(--muted);
}
.lab__presets {
  display: flex;
  gap: 5px;
  margin-top: 4px;
}
.lab__presets button {
  flex: 1;
  padding: 7px 4px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.lab__presets button:hover,
.lab__presets button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.lab__formula {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.lab__formula > span {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.lab__formula code {
  display: block;
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.5;
  color: var(--ink);
}
.lab__formula small {
  display: block;
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 7.5px;
  color: var(--muted);
}

.lab__result { padding: 30px 28px; }
.lab__verdict {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: stretch;
}
.verdict-card {
  display: flex;
  flex-direction: column;
  min-height: 122px;
  padding: 16px 18px;
  background: var(--ink);
  color: var(--cream);
}
.verdict-card__label {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #a39c8e;
}
.verdict-card.is-pass strong { color: var(--pass); }
.verdict-card strong {
  margin-top: 14px;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 450;
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--gold-bright);
}
.verdict-card__fee {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cream);
}
.verdict-bytes {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: flex-end;
  gap: 4px;
  max-width: 230px;
}
.byte-label {
  width: 100%;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
.verdict-bytes .byte {
  width: 21px;
  height: 27px;
  border-color: var(--line);
  background: var(--paper);
  font-size: 8px;
  color: var(--muted);
}
.verdict-bytes #byte-0 {
  border-color: var(--gold);
  color: var(--gold-ink);
  background: rgba(200, 152, 45, .08);
}
.verdict-bytes #byte-1 { color: var(--ink); }

.lab__chart { margin-top: 24px; }
.lab__chart-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.lab__chart-head span:last-child { color: var(--gold-ink); }
#fee-chart {
  width: 100%;
  height: auto;
  overflow: visible;
}
.chart-grid line {
  stroke: rgba(39, 39, 38, .1);
  stroke-width: 1;
}
.chart-labels text {
  fill: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}
.chart-cap {
  stroke: var(--gold-ink);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  opacity: .7;
}
.chart-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.chart-marker-line {
  stroke: var(--gold-ink);
  stroke-width: 1;
  stroke-dasharray: 2 3;
  opacity: .45;
}
.chart-dot {
  fill: var(--gold);
  stroke: var(--paper-3);
  stroke-width: 2;
}
.lab__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.lab__stats span {
  display: block;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.lab__stats strong {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--ink);
}
.fineprint {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.6;
  letter-spacing: .02em;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   07 — build
   -------------------------------------------------------------------------- */

.build-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.spec-table { border-top: 1px solid var(--line); }
.spec-table > div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.spec-table dt {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-table dd {
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.5;
  color: var(--ink);
}
.spec-table dd code {
  font-size: 9px;
  overflow-wrap: anywhere;
}
.build-note {
  max-width: 48ch;
  margin-top: 24px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}
.build-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.code-card {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  min-width: 0;
}
.code-card__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-dark);
}
.code-tabs { display: flex; gap: 3px; }
.code-tab {
  padding: 6px 9px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9c9587;
  border: 1px solid transparent;
  transition: background .25s ease, color .25s ease;
}
.code-tab:hover { color: var(--cream); }
.code-tab.is-active {
  background: rgba(235, 234, 228, .1);
  color: var(--cream);
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #a09a8d;
  transition: color .25s ease, border-color .25s ease;
}
.copy-btn .icon { width: 12px; height: 12px; }
.copy-btn:hover { color: var(--gold-bright); border-color: rgba(200, 152, 45, .5); }
.code-panes { min-height: 308px; }
.code-pane {
  display: none;
  margin: 0;
  padding: 20px 22px;
  overflow-x: auto;
}
.code-pane.is-active { display: block; animation: fade-in .3s ease; }
.code-pane code {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.78;
  color: #d8d3c6;
  white-space: pre;
  tab-size: 2;
}
.tok-key { color: var(--gold-bright); }
.tok-str { color: #a8be8d; }
.tok-com { color: #8f897b; }
.code-card__foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #969083;
}

/* --------------------------------------------------------------------------
   08 — boundaries, token, FAQ
   -------------------------------------------------------------------------- */

.boundaries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.boundaries span {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background .25s ease;
}
.boundaries span::before {
  content: '×';
  margin-right: 10px;
  color: var(--gold-ink);
  font-size: 12px;
  line-height: 0;
}
.boundaries span:hover { background: rgba(200, 152, 45, .06); }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  margin-top: clamp(42px, 5vw, 64px);
}
.token-card {
  position: relative;
  padding: 26px 24px 22px;
  background: var(--ink);
  color: var(--cream);
  border-top: 2px solid var(--gold);
}
.token-card__kicker {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.token-card h3 {
  margin-top: 14px;
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.05em;
}
.token-card__copy {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #b7b1a4;
}
.token-card__ca {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
}
.token-card__ca > span {
  display: block;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9c9587;
}
.ca-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--cream);
  text-align: left;
  transition: border-color .25s ease;
}
.ca-button:not(:disabled):hover { border-color: var(--gold); }
.ca-button:disabled { opacity: .62; cursor: default; }
.ca-button .icon { width: 13px; height: 13px; }
.token-card__fine {
  margin-top: 11px;
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.55;
  color: #969083;
}
.token-card__x {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 8.5px;
  color: #c3bdaf;
  transition: color .25s ease;
}
.token-card__x .icon { width: 13px; height: 13px; }
.token-card__x .icon:last-child { margin-left: auto; }
.token-card__x:hover { color: var(--gold-bright); }
.token-card__pump {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: #c3bdaf;
  transition: color .25s ease;
}
.token-card__pump .icon { width: 13px; height: 13px; }
.token-card__pump .icon:first-child { width: 15px; height: 15px; }
.token-card__pump .icon:last-child { margin-left: auto; }
.token-card__pump:hover { color: var(--gold-bright); }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 17px 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.01em;
  text-align: left;
  transition: color .25s ease;
}
.faq-question .icon {
  width: 15px;
  height: 15px;
  color: var(--gold-ink);
  transition: transform .4s var(--ease), color .25s ease;
}
.faq-question:hover { color: var(--gold-ink); }
.faq-question[aria-expanded="true"] .icon { transform: rotate(45deg); color: var(--gold-ink); }
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.faq-panel > div { overflow: hidden; }
.faq-panel p {
  max-width: 62ch;
  padding: 0 44px 20px 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.faq-question[aria-expanded="true"] + .faq-panel { grid-template-rows: 1fr; }

.no-js .faq-panel { grid-template-rows: 1fr; }
.no-js .faq-panel > div { overflow: visible; }
.no-js .faq-question { cursor: default; }
.no-js .faq-question .icon { display: none; }

/* --------------------------------------------------------------------------
   Closing
   -------------------------------------------------------------------------- */

.closing {
  position: relative;
  padding: clamp(96px, 12vw, 160px) 0 clamp(56px, 7vw, 84px);
  border-top: 1px solid var(--line-dark);
  overflow: hidden;
}
.closing__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.closing .kicker {
  justify-content: center;
  color: var(--muted-dark);
}
.closing .kicker > span:first-child { color: var(--gold); }
.closing__title {
  margin-top: 28px;
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.055em;
}
.closing__title .serif {
  display: block;
  margin-top: .05em;
  font-size: 1.04em;
  color: var(--gold);
}
.closing__lede {
  margin-top: 30px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.closing__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}
.closing__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(56px, 7vw, 82px);
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #969083;
}
.closing__mark img { width: 38px; height: 38px; }
.closing__watermark {
  position: absolute;
  top: 50%;
  right: -10%;
  width: min(640px, 55vw);
  transform: translateY(-50%);
  opacity: .05;
  pointer-events: none;
}
.closing__watermark img { width: 100%; height: auto; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  padding: 66px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand p {
  max-width: 36ch;
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}
.footer__x {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--muted);
  transition: color .25s ease;
}
.footer__x .icon { width: 13px; height: 13px; }
.footer__x:hover { color: var(--gold-ink); }
.footer__col h3 {
  margin: 4px 0 18px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__col a,
.footer__ca {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--ink);
  transition: color .25s ease;
}
.footer__col a:hover { color: var(--gold-ink); }
.footer__ca {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  text-align: left;
  font-family: var(--mono);
  font-size: 8.5px;
}
.footer__ca .icon { width: 12px; height: 12px; color: var(--muted); }
.footer__ca:disabled { opacity: .62; cursor: default; }
.footer__ca:not(:disabled):hover { color: var(--gold-ink); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 54px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 400;
  padding: 11px 16px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .06em;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ease);
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   Reveal + keyframes
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes hero-line {
  to { transform: translateY(0); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 152, 45, .4); }
  50% { box-shadow: 0 0 0 5px rgba(200, 152, 45, 0); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marker-drift {
  from { transform: translateY(-3px); }
  to { transform: translateY(3px); }
}
@keyframes feed-in {
  from { opacity: 0; transform: translateY(-7px); background: rgba(200, 152, 45, .14); }
  to { opacity: 1; transform: translateY(0); background: transparent; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .section-head {
    grid-template-columns: 155px minmax(0, 1fr) 250px;
    gap: 24px;
  }
  .hero-grid { gap: 48px; }
  .mark-card { max-width: 410px; box-shadow: 14px 14px 0 rgba(200, 152, 45, .92); }
  .band-readout { max-width: 410px; }
  .hero-meta { gap: 12px; }
  .readout__stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line-dark); }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px var(--gutter) 40px;
    background: var(--paper);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, transform .4s var(--ease), visibility .4s;
  }
  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--sans);
    font-size: 27px;
    font-weight: 500;
    letter-spacing: -.03em;
    text-transform: none;
    color: var(--ink);
  }
  .site-nav__links a::after {
    content: '↗';
    position: static;
    width: auto;
    height: auto;
    background: none;
    transform: none;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--gold-ink);
  }
  .site-nav__meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .06em;
    color: var(--muted);
  }
  .site-nav__meta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
  }
  .site-nav__meta .icon { width: 13px; height: 13px; }
  .site-nav__meta p {
    margin-top: 8px;
    font-size: 7.5px;
    line-height: 1.6;
  }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { gap: 16px; justify-content: space-between; }
  .site-nav { flex: none; }
  .header-actions { margin-left: auto; }

  .contract-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    padding: 10px 12px 12px;
  }
  .contract-live {
    grid-column: 1;
    grid-row: 1;
    padding-right: 0;
    border-right: 0;
  }
  .contract-x {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .contract-address {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(48px, 8vw, 72px);
  }
  .hero-art { padding-right: 0; }
  .mark-card {
    margin-left: 0;
    max-width: 500px;
    box-shadow: 16px 16px 0 rgba(200, 152, 45, .92);
  }
  .band-readout { margin-left: 0; max-width: 500px; }
  .hero-title { font-size: clamp(58px, 11vw, 96px); }
  .hero-lede { max-width: 600px; }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .kicker { padding-top: 0; }
  .lede { max-width: 62ch; padding-top: 0; }
  .display { max-width: 18ch; }
  .section-head .lede { max-width: 58ch; }

  .primitives { grid-template-columns: 1fr; }
  .primitive { min-height: 0; }
  .diagram { max-width: 420px; }

  .readout__body { grid-template-columns: 1fr; }
  .split { border-right: 0; border-bottom: 1px solid var(--line-dark); }

  .rail__steps { grid-template-columns: 1fr 1fr; gap: 38px 0; }
  .rail__line { display: none; }

  .edict-grid { grid-template-columns: 1fr 1fr; }
  .edict-card,
  .edict-card--wide { grid-column: span 1; }
  .edict-card:last-child { grid-column: span 2; }

  .math-grid { grid-template-columns: 1fr; }
  .math-copy .display { max-width: 16ch; }
  .big-number { max-width: 520px; }

  .lab { grid-template-columns: 1fr; }
  .lab__controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .lab__verdict { grid-template-columns: minmax(0, 1fr) 220px; }

  .build-grid { grid-template-columns: 1fr; }

  .faq-grid { grid-template-columns: 1fr; }
  .token-card { max-width: 520px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: span 2; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --section-y: 76px; }

  .page-rail { display: none; }
  .header-actions .pill { display: none; }

  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-title { font-size: clamp(50px, 15.4vw, 78px); }
  .hero-lede { font-size: 15.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero-meta > div:last-child { grid-column: span 2; }

  .contract-bar {
    gap: 9px;
    margin-bottom: 34px;
    padding: 9px;
    box-shadow: 4px 4px 0 rgba(200, 152, 45, .92);
  }
  .contract-live { gap: 7px; }
  .contract-live small { font-size: 6.5px; }
  .contract-address {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 6px;
    padding: 4px;
  }
  .contract-key {
    min-width: 28px;
    min-height: 30px;
  }
  .contract-value {
    font-size: 8px;
    line-height: 1.45;
  }
  .contract-copy {
    width: 30px;
    min-height: 30px;
    justify-content: center;
    padding: 0;
  }
  .contract-copy span { display: none; }
  .contract-pump {
    width: 30px;
    height: 30px;
  }
  .contract-pump .icon { width: 19px; height: 19px; }
  .contract-x {
    min-height: 30px;
    padding: 0 9px;
    font-size: 8px;
  }

  .mark-card { box-shadow: 10px 10px 0 rgba(200, 152, 45, .92); }
  .mark-card figcaption { font-size: 7.5px; }
  .band-readout { margin-top: 28px; }

  .display { font-size: clamp(34px, 9.6vw, 48px); }
  .display .serif { font-size: 1.02em; }

  .ledger__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }
  .ledger__arrow { transform: rotate(90deg); }
  .ledger__new { font-size: 14px; }

  .primitive { padding: 20px; }
  .primitive h3 { font-size: 20px; }

  .value-grid { grid-template-columns: 1fr; }
  .role-card { min-height: 0; padding: 24px 20px; }
  .role-card h3 { margin-top: 26px; }

  .readout__head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .readout__meta { text-align: left; }
  .readout__stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 15px 14px; border-top: 1px solid var(--line-dark); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line-dark); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat__value { font-size: 18px; }
  .feed__head,
  .feed__row { grid-template-columns: 56px minmax(0, 1fr) 90px; }
  .feed__head span:nth-child(3),
  .feed__row .feed__edict { display: none; }
  .feed__head span:nth-child(4) { text-align: right; }
  .feed__verdict { text-align: right; }
  .split, .feed { padding: 20px 16px; }

  .rail__steps { grid-template-columns: 1fr; gap: 30px; }
  .rail-step { padding-right: 0; padding-left: 58px; }
  .rail-step__num { position: absolute; left: 0; top: 0; width: 38px; height: 38px; }
  .rail-step h3 { margin-top: 0; }
  .trace__bar { align-items: flex-start; flex-direction: column; gap: 8px; }
  .trace__body { padding: 18px 16px; }
  .trace-pane { font-size: 9.5px; }
  .trace__foot { flex-direction: column; gap: 4px; }

  .edict-grid { grid-template-columns: 1fr; }
  .edict-card,
  .edict-card--wide,
  .edict-card:last-child { grid-column: span 1; min-height: 0; }
  .edict-card__code { padding-top: 24px; }

  .byo { grid-template-columns: 1fr; gap: 12px; }

  .math-grid { gap: 40px; }
  .band-diagram { padding: 16px; }
  .band-axis { height: 230px; margin-top: 48px; }
  .band-notes { grid-template-columns: 1fr; gap: 7px; }
  .band-diagram__head { flex-direction: column; gap: 4px; }
  .band-price b { font-size: 8px; }
  .band-edge i { font-size: 6px; }
  .band-edge b { font-size: 8px; }

  .lab__controls, .lab__result { padding: 22px 18px; }
  .lab__verdict { grid-template-columns: 1fr; }
  .verdict-bytes { justify-content: flex-start; max-width: none; }
  .byte-label { text-align: left; }
  .lab__stats { grid-template-columns: 1fr; gap: 10px; }
  .chart-labels { display: none; }

  .spec-table > div { grid-template-columns: 100px 1fr; gap: 12px; }
  .spec-table dd { font-size: 8.5px; }
  .code-pane { padding: 16px 14px; }
  .code-pane code { font-size: 10px; }

  .boundaries { grid-template-columns: 1fr; }
  .boundaries span { padding: 13px 14px; }
  .faq-question { font-size: 14px; }
  .faq-panel p { padding-right: 0; }
  .token-card { padding: 22px 18px; }

  .closing__title { font-size: clamp(38px, 11vw, 60px); }
  .closing__actions .btn { flex: 1 1 100%; }
  .closing__mark { font-size: 6.5px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer__brand { grid-column: span 2; }
  .footer__col h3 { margin-bottom: 12px; }
  .footer__bottom { font-size: 6.5px; }
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

/*
 * Motion is part of the story: the hero entrance, the drifting band marker,
 * the ticker, the live verdict feed and the scroll reveals are all deliberate.
 * The page intentionally does NOT honour `prefers-reduced-motion` — the site
 * must animate the same way on every machine, whether the operating system's
 * animation setting is on or off. Do not add a reduced-motion override here.
 */
