:root {
  color-scheme: dark;
  --bg: #090b0a;
  --bg-2: #101412;
  --ink: #f4f1ea;
  --muted: #c2bbb0;
  --faint: #9a9388;
  --line: rgba(244, 241, 234, 0.12);
  --line-strong: rgba(244, 241, 234, 0.22);
  --signal: #3ddc97;
  --signal-ink: #062117;
  --signal-dim: rgba(61, 220, 151, 0.12);
  --amber: #e2b15a;
  --sans: Outfit, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1160px;
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(61, 220, 151, 0.07), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.15;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 50;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--signal);
  color: var(--signal-ink);
  transform: translateY(-180%);
}
.skip:focus { transform: none; }

.wrap {
  width: min(var(--wrap), calc(100% - 64px));
  margin-inline: auto;
}
section[id] { scroll-margin-top: 88px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease;
}
.site-header.is-scrolled {
  background: rgba(9, 11, 10, 0.9);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}
.bar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img { height: 34px; width: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); }
.bar-end {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.button-app { background: var(--signal); color: var(--signal-ink); }
.button-app:hover { filter: brightness(1.06); }
.button-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.button svg { flex: none; }

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kicker span { color: var(--signal); }

.hash-field {
  align-self: center;
  height: min(440px, 100%);
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
}
.hash-track {
  animation: hash-rise 28s linear infinite;
}
.hash-field p {
  margin: 0;
  color: rgba(154, 147, 136, 0.62);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 2.2;
  text-align: center;
  white-space: nowrap;
}
.hash-field b {
  color: rgba(61, 220, 151, 0.7);
  font-weight: 500;
}
@keyframes hash-rise {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) 96px minmax(300px, 0.84fr);
  gap: 28px 8px;
  align-items: center;
  padding: 36px 0 28px;
}
h1 {
  font-size: clamp(3.1rem, 5.4vw, 4.8rem);
  line-height: 0.98;
  font-weight: 600;
}
.lede {
  max-width: 38rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.fine {
  margin: 16px 0 0;
  color: var(--faint);
  font-size: 0.9rem;
}

.seal {
  margin: 0;
  padding: 22px 22px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.seal figcaption {
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.seal figcaption span:last-child { color: var(--signal); }
.ledger {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.ledger li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
}
.ledger span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ledger .on span { color: var(--signal); }
.ledger strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.ledger em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.4;
}

.pico { width: 14px; height: 14px; flex: none; color: var(--signal); }
.icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  color: var(--signal);
  background: var(--signal-dim);
}
.icon svg { width: 22px; height: 22px; }
.icon-sm { width: 36px; height: 36px; margin: 0; border-radius: 10px; }
.icon-sm svg { width: 18px; height: 18px; }

.sheet header { align-items: flex-start; }
.callout { display: flex; align-items: flex-start; gap: 10px; }
.callout .pico { color: var(--amber); margin-top: 4px; }
.kicker .pico { color: var(--signal); }
.turn-line span { position: relative; z-index: 1; }

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.js .reveal.is-in {
  animation: rise 0.7s ease forwards;
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}
.seal > p {
  margin: 14px 4px 2px;
  color: var(--muted);
  font-size: 0.92rem;
}
.seal > .eq {
  margin: 16px 2px 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.64rem;
  line-height: 1.65;
  letter-spacing: 0;
}
.seal > .eq span { color: var(--signal); }
.sheet dd code {
  display: block;
  margin-top: 8px;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1.45;
  letter-spacing: 0;
}

.rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 72px;
}
.rail > div {
  min-width: 0;
  padding: 8px 36px 8px 0;
}
.rail > div + div {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}
.rail span {
  display: block;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.rail strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(2.2rem, 3.1vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
}
.rail em {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-style: normal;
  font-size: 1rem;
  line-height: 1.35;
}

.section { padding: 96px 0; }
.band {
  padding: 96px 0;
  background: rgba(255, 255, 255, 0.018);
  border-block: 1px solid var(--line);
}
.section-head { max-width: 40rem; }
.risk-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 36px 48px;
  align-items: center;
}
.risk-head .section-head { max-width: none; }
.lifetime {
  margin: 0;
  height: 320px;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.lifetime-key {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 16px 18px 14px;
}
.lifetime-key span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lifetime-key strong { font-size: 1.02rem; font-weight: 600; }
.lifetime-key code {
  grid-column: 1 / -1;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.84rem;
  letter-spacing: 0;
}
.lifetime-cols,
.lifetime-track p {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 42px;
  gap: 8px;
  margin: 0;
  padding: 0 18px;
  font-family: var(--mono);
  letter-spacing: 0;
}
.lifetime-cols {
  padding-top: 8px;
  padding-bottom: 8px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lifetime-cols span:last-child,
.lifetime-track b { text-align: right; }
.lifetime-stream {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
}
.lifetime-track { animation: hash-rise 18s linear infinite; }
.lifetime-track p {
  color: rgba(194, 187, 176, 0.72);
  font-size: 0.78rem;
  line-height: 2.05;
}
.lifetime-track b {
  color: var(--signal);
  font-weight: 500;
}
h2 { font-size: clamp(2.15rem, 3.6vw, 3.15rem); line-height: 1.05; }
.section-head p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.essay {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.essay li { padding-top: 0; border-top: 0; }
.essay h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 600; }
.essay p { margin: 10px 0 0; color: var(--muted); }

.compare {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.compare-head, .compare-row {
  display: grid;
  grid-template-columns: 0.7fr 1.15fr 1.15fr;
}
.compare-head {
  background: #0d100e;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.compare-head span, .compare-row span { padding: 16px 18px; }
.compare-head span:last-child, .compare-row span:last-child {
  background: rgba(61, 220, 151, 0.06);
}
.compare-head span:last-child { color: var(--signal); }
.compare-row { border-top: 1px solid var(--line); }
.compare-row span:first-child {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.compare-row span:not(:first-child) { color: var(--ink); }

.auth-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 48px;
  align-items: center;
}
.handoff {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}
.handoff div {
  display: grid;
  justify-items: center;
  gap: 8px;
}
.handoff div span:last-child {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.handoff .icon { margin-bottom: 0; }
.handoff-arrow {
  width: 64px;
  height: 16px;
  margin-bottom: 22px;
  color: var(--signal);
}
.handoff-dash {
  stroke-dasharray: 4 7;
  animation: handoff 1.4s linear infinite;
}
@keyframes handoff { to { stroke-dashoffset: -22; } }
.sheet {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-2);
}

.sheet-panes {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.sheet article,
.sheet dl,
.sheet ol { display: contents; }
.sheet-panes > article:first-child > header { grid-column: 1; grid-row: 1; }
.sheet-panes > article:first-child > dl > div:nth-child(1) { grid-column: 1; grid-row: 2; }
.sheet-panes > article:first-child > dl > div:nth-child(2) { grid-column: 1; grid-row: 3; }
.sheet-panes > article:first-child > dl > div:nth-child(3) { grid-column: 1; grid-row: 4; }
.sheet-panes > article:first-child > .sheet-note { grid-column: 1; grid-row: 5; }
.sheet-panes > article:last-child > header { grid-column: 2; grid-row: 1; }
.sheet-panes > article:last-child > ol > li:nth-child(1) { grid-column: 2; grid-row: 2; }
.sheet-panes > article:last-child > ol > li:nth-child(2) { grid-column: 2; grid-row: 3; }
.sheet-panes > article:last-child > ol > li:nth-child(3) { grid-column: 2; grid-row: 4; }
.sheet-panes > article:last-child > .sheet-note { grid-column: 2; grid-row: 5; }
.sheet-panes > article:last-child > header,
.sheet-panes > article:last-child > ol > li,
.sheet-panes > article:last-child > .sheet-note { border-left: 1px solid var(--line); }
.sheet header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 32px 18px;
}
.sheet header p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.sheet h3 { font-size: 1.35rem; letter-spacing: -0.03em; }
.sheet dl, .sheet ol { margin: 0; padding: 0; list-style: none; }
.sheet dl div,
.sheet li {
  padding: 16px 32px;
  border-top: 1px solid var(--line);
}
.sheet dt {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.sheet dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.sheet li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.5;
}
.sheet li::before {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.sheet ol li:nth-child(1)::before { content: "01"; }
.sheet ol li:nth-child(2)::before { content: "02"; }
.sheet li.pair {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.sheet li.pair::before { content: none; }
.sheet li.pair div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}
.sheet li.pair span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.sheet li.pair p { margin: 0; }
.sheet-note {
  margin: 0;
  padding: 16px 32px 22px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.92rem;
  line-height: 1.5;
}

.turn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 6px;
  align-items: center;
  margin: 0;
  padding: 18px 32px 4px;
  border-top: 1px solid var(--line);
}
.turn > span:nth-child(1) { grid-column: 1; grid-row: 1; }
.turn-spacer { grid-column: 2; grid-row: 1; }
.turn > span:nth-child(3) { grid-column: 3; grid-row: 1; text-align: right; }
.turn > strong:nth-of-type(1) { grid-column: 1; grid-row: 2; }
.turn-line { grid-column: 2; grid-row: 2; }
.turn > strong:nth-of-type(2) { grid-column: 3; grid-row: 2; text-align: right; }
.turn > span,
.turn > strong { display: block; }
.turn span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.turn strong {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}
.turn > strong:nth-of-type(2) { color: var(--signal); }
.turn-line {
  position: relative;
  min-width: 168px;
  text-align: center;
}
.turn-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line-strong);
}
.turn-line span {
  display: inline-block;
  padding: 0 12px;
  background: var(--bg-2);
  color: var(--signal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.quiet {
  margin: 0;
  padding: 8px 32px 24px;
  max-width: none;
  color: var(--muted);
}

.split-intro { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.roles {
  list-style: none;
  margin: 0;
  padding: 0;
}
.roles li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 4px;
}
.roles li + li { border-top: 1px solid var(--line); }
.roles .icon { margin-top: 2px; }
.roles li.is-on {
  margin: 6px 0;
  padding: 18px 16px;
  background: rgba(61, 220, 151, 0.06);
  border-radius: 16px;
  border-top: 0;
}
.roles li.is-on + li { border-top: 0; }
.roles p {
  margin: 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.roles p b {
  margin-right: 8px;
  color: var(--faint);
  font-weight: 500;
}
.roles li.is-on p b { color: var(--signal); }
.roles strong {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.roles em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.5;
}

.seed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  grid-template-areas:
    "head stem"
    "copy stem";
  column-gap: 64px;
  row-gap: 8px;
  align-items: start;
}
.seed-layout > header { grid-area: head; }
.seed-copy { grid-area: copy; }
.seed-copy .limits { margin-top: 20px; }
.stem {
  grid-area: stem;
  margin: 8px 0 0;
  padding: 22px 22px 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.stem figcaption {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.stem figcaption span:last-child { color: var(--signal); }
.stem-node {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
}
.stem-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink);
  background: var(--bg-2);
}
.stem-mark svg { width: 22px; height: 22px; }
.stem-node > div span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stem-node strong {
  display: block;
  margin-top: 3px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.stem-node em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.35;
}
.stem-on .stem-mark {
  color: var(--signal);
  border-color: rgba(61, 220, 151, 0.45);
  background: var(--signal-dim);
}
.stem-on strong { color: var(--ink); }
.stem-join {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.stem-rail {
  position: relative;
}
.stem-rail::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -16px;
  bottom: -16px;
  width: 1px;
  background: var(--line-strong);
}
.stem-join p {
  margin: 2px 0 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.45;
}
.stem-join p span {
  display: block;
  margin-bottom: 2px;
  color: var(--signal);
  font-size: 0.68rem;
  letter-spacing: 0;
  text-transform: uppercase;
}
.stem-join-short p { margin-bottom: 6px; }
.quantum {
  margin: 4px 0 0 72px;
  padding-top: 8px;
}
.quantum p {
  margin: 0;
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.limits {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  counter-reset: limit;
}
.limits li {
  counter-increment: limit;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.45;
}
.limits li:last-child { border-bottom: 1px solid var(--line); }
.limits li::before {
  content: counter(limit, decimal-leading-zero);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.rules {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  counter-reset: rule;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
  overflow: hidden;
}
.rules li {
  display: grid;
  grid-template-columns: 56px 168px minmax(0, 1fr) 188px;
  align-items: stretch;
}
.rules li + li { border-top: 1px solid var(--line); }
.rules-head {
  background: #0d100e;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rules li.rules-head > span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  color: var(--faint);
}
.rules li.rules-head > span:nth-child(1) { grid-column: 1; }
.rules li.rules-head > span:nth-child(2) { grid-column: 2; padding-right: 16px; }
.rules li.rules-head > span:nth-child(3) { grid-column: 3; padding-right: 32px; }
.rules li.rules-head > span:nth-child(4) {
  grid-column: 4;
  justify-content: flex-start;
  padding: 0 28px 0 24px;
  border-left: 1px solid var(--line);
  text-align: left;
}
.rules li:not(.rules-head) { counter-increment: rule; }
.rules li:not(.rules-head)::before {
  content: counter(rule, decimal-leading-zero);
  grid-column: 1;
  display: flex;
  align-items: center;
  padding-left: 24px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.78rem;
}
.rules li > span {
  grid-column: 2;
  display: flex;
  align-items: center;
  padding: 18px 16px 18px 0;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rules li > p {
  grid-column: 3;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 18px 28px 18px 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}
.rules li > strong {
  grid-column: 4;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 28px 18px 24px;
  border-left: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: left;
  white-space: nowrap;
}
@media (max-width: 800px) {
  .rules-head { display: none; }
  .rules li:not(.rules-head) {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 16px 16px 16px 0;
  }
  .rules li > span { grid-column: 2; padding: 0 0 4px; }
  .rules li > p { grid-column: 2; padding: 0 0 8px; }
  .rules li > strong {
    grid-column: 2;
    align-self: start;
    justify-content: flex-start;
    padding: 0;
    border-left: 0;
    text-align: left;
  }
}

.close {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
  padding: 40px 44px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-2);
}
.close-copy p:not(.kicker) { margin: 14px 0 24px; color: var(--muted); max-width: 34rem; }
.derive ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.derive li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 16px 18px;
}
.derive li + li { border-top: 1px solid var(--line); }
.derive span {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.derive code {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.92rem;
  letter-spacing: 0;
  line-height: 1.45;
}
.derive p {
  margin: 14px 2px 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}
.term-foot span { color: var(--signal); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 32px;
  color: var(--faint);
}
.footer-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 28px 36px;
  align-items: center;
}
.footer-brand .brand img { height: 28px; }
.footer-brand p { margin: 10px 0 0; max-width: 28rem; color: var(--muted); font-size: 0.95rem; }
.footer-mail {
  display: inline-block;
  margin-top: 8px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.84rem;
  letter-spacing: 0;
  text-decoration: none;
}
.footer-mail:hover { color: var(--signal); }
.site-nav a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--signal);
}
.footer-nav a[aria-current="page"] { color: var(--ink); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}
.footer-nav a:hover { color: var(--ink); }
.footer-end { display: flex; align-items: center; gap: 10px; }
.x-link,
.gh-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
}
.x-link svg,
.gh-link svg { width: 16px; height: 16px; }
.x-link:hover,
.gh-link:hover { color: var(--signal); border-color: var(--signal); }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .bar { gap: 18px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 0.86rem; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    z-index: 30;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 20px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; border-top: 1px solid var(--line); box-shadow: none; }
}

@media (max-width: 960px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .hero, .essay, .sheet-panes, .split-intro, .close, .turn, .rail, .seed-layout {
    grid-template-columns: 1fr;
  }
  .seed-layout { grid-template-areas: "head" "stem" "copy"; }
  .sheet-panes > article:first-child > header,
  .sheet-panes > article:first-child > dl > div,
  .sheet-panes > article:first-child > .sheet-note,
  .sheet-panes > article:last-child > header,
  .sheet-panes > article:last-child > ol > li,
  .sheet-panes > article:last-child > .sheet-note {
    grid-column: 1;
    grid-row: auto;
    border-left: 0;
  }
  .sheet-panes > article:last-child > header { border-top: 1px solid var(--line); }
  .turn { grid-template-columns: 1fr; }
  .turn-spacer { display: none; }
  .turn > span:nth-child(1) { grid-row: 1; }
  .turn > strong:nth-of-type(1) { grid-column: 1; grid-row: 2; }
  .turn-line { grid-column: 1; grid-row: 3; }
  .turn > span:nth-child(3) { grid-column: 1; grid-row: 4; text-align: left; }
  .turn > strong:nth-of-type(2) { grid-column: 1; grid-row: 5; text-align: left; }
  .turn strong { white-space: normal; }
  .rail > div { padding: 22px 0; }
  .rail > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .turn-line { min-width: 0; padding: 8px 0; }
  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row span:first-child { padding-bottom: 0; }
  .section, .band { padding: 64px 0; }
  h1 { font-size: clamp(2.7rem, 12vw, 3.6rem); }
  .close { padding: 24px; margin-bottom: 40px; }
  .derive li { grid-template-columns: 1fr; gap: 6px; }
  .footer-row { grid-template-columns: 1fr; justify-items: start; }
  .sheet li { grid-template-columns: 28px minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .hash-field, .lifetime, .handoff { display: none; }
  .risk-head, .auth-head { grid-template-columns: 1fr; }
}
.docs-shell {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 48px;
  width: min(var(--wrap), calc(100% - 64px));
  margin: 0 auto;
  padding: 44px 0 96px;
  align-items: start;
}
.docs-side {
  position: sticky;
  top: calc(var(--header) + 28px);
  align-self: start;
  width: 180px;
  max-height: calc(100vh - var(--header) - 40px);
  overflow: auto;
}
.docs-side p,
.docs-side .group {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}
.docs-side p {
  margin: 0 0 14px;
  padding: 0 0 0 16px;
}
.docs-side .group {
  display: block;
  margin: 16px 0 4px;
  padding: 0 0 0 16px;
  color: var(--signal);
}
.docs-side .group:first-of-type { margin-top: 0; }
.docs-side nav {
  position: relative;
  display: flex;
  flex-direction: column;
}
.docs-side nav::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.docs-side a {
  position: relative;
  display: block;
  margin: 0;
  padding: 7px 0 7px 16px;
  border: 0;
  color: var(--faint);
  font-size: 0.95rem;
  line-height: 1.35;
  text-decoration: none;
}
.docs-side a:hover { color: var(--ink); }
.docs-side a.is-on { color: var(--ink); }
.docs-side a.is-on::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--signal);
}
.docs-crumb {
  margin: 0 0 18px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0;
}
.docs-main h1 {
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.docs-main .lede { margin: 18px 0 0; color: var(--muted); font-size: 1.08rem; }
.docs-main h2 {
  margin: 48px 0 0;
  scroll-margin-top: 96px;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}
.docs-main h3 {
  margin: 28px 0 0;
  scroll-margin-top: 96px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.docs-lead { margin-top: 28px; }
.docs-lead li {
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  min-height: 56px;
  padding: 14px 20px;
}
.docs-lead code { white-space: normal; }
.checks {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.checks li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.checks span {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.75rem;
}
.checks strong { display: block; color: var(--ink); font-weight: 600; }
.checks em { display: block; margin-top: 3px; color: var(--muted); font-style: normal; }
.fns { margin: 14px 0 0; border-top: 1px solid var(--line); }
.fns div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.fns dt {
  margin: 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
}
.fns pre {
  margin: 10px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #070908;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre;
}
.faq { margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  padding: 16px 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
}
.faq summary:hover { color: var(--signal); }
.faq details p { margin: 0 0 16px; }
.docs-main p { margin: 14px 0 0; color: var(--muted); }
.docs-main strong { color: var(--ink); font-weight: 600; }
.docs-main code {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.88em;
  letter-spacing: 0;
}
.docs-main .derive code { color: var(--ink); font-size: 0.92rem; }
.docs-table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.docs-table th, .docs-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.docs-table th {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.docs-table td { color: var(--muted); }
.docs-table td:first-child { color: var(--ink); }
.docs-formula {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #070908;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.84rem;
  letter-spacing: 0;
  line-height: 1.65;
  overflow-x: auto;
  white-space: pre-wrap;
}
.docs-flow {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  margin-top: 28px;
  padding: 8px 8px 8px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
  overflow: hidden;
}
.docs-hashes {
  height: 220px;
  overflow: hidden;
  mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}
.docs-hashes p {
  margin: 0;
  color: rgba(154, 147, 136, 0.7);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0;
  line-height: 2.1;
  text-align: center;
}
.docs-hashes b { color: rgba(61, 220, 151, 0.85); font-weight: 500; }
.docs-track { animation: hash-rise 16s linear infinite; }
.docs-steps { list-style: none; margin: 0; padding: 8px 18px 8px 0; }
.docs-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
}
.docs-steps li + li { border-top: 1px solid var(--line); }
.docs-steps span {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.75rem;
}
.docs-steps strong { display: block; color: var(--ink); font-size: 1.05rem; font-weight: 600; }
.docs-steps em { display: block; margin-top: 3px; color: var(--muted); font-style: normal; font-size: 0.92rem; }
.spec { margin: 18px 0 0; border-top: 1px solid var(--line); }
.spec div {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.spec dt {
  margin: 0;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.spec dd { margin: 0; color: var(--ink); font-family: var(--mono); font-size: 0.86rem; letter-spacing: 0; line-height: 1.55; word-break: break-all; }
.spec dd small { display: block; margin-top: 4px; color: var(--muted); font-family: var(--sans); font-size: 0.9rem; letter-spacing: 0; word-break: normal; }

.docs-turn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
}
.docs-turn div { min-width: 0; }
.docs-turn span {
  display: block;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.docs-turn strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
}
.docs-turn p {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0;
  white-space: nowrap;
}
.docs-turn p::before,
.docs-turn p::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 8px 3px;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
  background-size: 200% 100%;
  animation: docs-dash 2.4s linear infinite;
  vertical-align: middle;
}
@keyframes docs-dash { to { background-position: -200% 0; } }

@media (max-width: 860px) {
  .docs-shell { display: block; width: min(1120px, calc(100% - 32px)); }
  .docs-side { position: static; width: 100%; max-height: none; margin-bottom: 36px; }
  .spec div, .docs-turn { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header { transition: none; }
  .hash-track, .lifetime-track, .handoff-dash, .docs-track, .docs-turn p::before, .docs-turn p::after { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
