/* PONS10 INDEX: one dark-blue system for every section.
 * Change the palette here; nothing below hard-codes a colour it could take from a token. */
:root {
  /* depth: page, bands, cards */
  --bg: #040a1c;
  --bg-2: #071229;
  --surface: #0b1937;
  --surface-2: #10234a;
  --surface-3: #16305f;

  /* lines */
  --line: rgba(122, 162, 255, 0.13);
  --line-2: rgba(122, 162, 255, 0.24);

  /* text */
  --ink: #eef3ff;
  --ink-2: #c7d3f0;
  --muted: #8b9cc4;
  --faint: #5b6e98;

  /* accent: electric blue into cyan */
  --blue: #4c7dff;
  --blue-2: #3a66f0;
  --cyan: #2fd4f0;
  --sky: #9db8ff;
  --grad: linear-gradient(100deg, #8fb0ff 0%, #4c7dff 45%, #2fd4f0 100%);
  --grad-soft: linear-gradient(135deg, rgba(76, 125, 255, 0.22), rgba(47, 212, 240, 0.08));
  --glow: 0 0 0 1px rgba(76, 125, 255, 0.35), 0 12px 40px -12px rgba(76, 125, 255, 0.55);

  /* signal */
  --pos: #34d399;
  --neg: #fb7185;
  --pos-bg: rgba(52, 211, 153, 0.12);
  --neg-bg: rgba(251, 113, 133, 0.12);

  --display: 'Sora', 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 68px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; }
code { font-family: var(--mono); font-size: 0.9em; color: var(--ink-2); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--surface-2); color: var(--ink); padding: 10px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(50px, 7.2vw, 100px); line-height: 0.98; }
h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; }
h1 em, h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--sky); margin: 0 0 22px;
}
.eyebrow span {
  display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px;
  border: 1px solid var(--line-2); border-radius: 6px; color: var(--cyan); background: rgba(47, 212, 240, 0.06);
}
.kicker {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted);
}
.chip-line {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
  margin: 0 0 28px; padding: 6px 14px 6px 10px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(11, 25, 55, 0.7);
  font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2);
}
.chip-line > span:not(.live-dot) + span:not(.live-dot)::before { content: '·'; margin-right: 10px; color: var(--faint); }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(47, 212, 240, 0.6); animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 212, 240, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(47, 212, 240, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 212, 240, 0); }
}

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; border: 1px solid transparent;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.25s, transform 0.2s;
  white-space: nowrap;
}
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-primary, .btn-accent {
  color: #fff;
  background: linear-gradient(180deg, #5b89ff, var(--blue-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 30px -10px rgba(76, 125, 255, 0.8);
}
.btn-primary:hover, .btn-accent:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 14px 38px -10px rgba(76, 125, 255, 1); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(16, 35, 74, 0.35); }
.btn-ghost:hover { border-color: var(--sky); background: rgba(16, 35, 74, 0.7); }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: var(--surface-2); }
.btn-outline:hover { border-color: var(--sky); }
.btn:active { transform: translateY(1px); }
.btn[aria-disabled='true'], .btn[disabled] { cursor: default; }
.btn-primary[aria-disabled='true'], .btn-accent[aria-disabled='true'] {
  background: var(--surface-2); color: var(--muted); border-color: var(--line-2); box-shadow: none; transform: none;
}
.btn[disabled] { opacity: 0.5; }

/* ---------- surfaces ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 35, 74, 0.72), rgba(11, 25, 55, 0.72));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(157, 184, 255, 0.07), 0 24px 60px -30px rgba(0, 0, 0, 0.7);
}
.panel { overflow: hidden; }
.panel + .panel, .claim + .panel { margin-top: 20px; }
.panel-note { font-size: 13px; color: var(--muted); margin: 0; padding: 18px 24px 22px; line-height: 1.65; }
.panel-note:empty { display: none; }
.panel-note a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.table-scroll { overflow-x: auto; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 10, 28, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background-color 0.2s;
}
.header.scrolled { border-bottom-color: var(--line); background: rgba(4, 10, 28, 0.88); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
/* The P = 1 + 0 mark. As in the brand lockup, the name centres on the ring's bowl
 * (the top third of the mark) and the stem hangs below it like a descender. */
.brand { display: inline-flex; align-items: flex-start; gap: 10px; position: relative; top: 5px; }
.brand-mark { display: block; width: 25px; height: 30px; }
.brand-mark svg { display: block; width: 25px; height: 30px; fill: var(--ink); }
.brand-mark .brand-ring { fill: var(--blue); }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 20px; letter-spacing: -0.02em; }
.brand-name span { margin-left: 6px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.nav { display: flex; gap: 28px; margin-inline: auto; }
.nav a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: 88px; isolation: isolate; }
.hero::before {
  /* blueprint grid, fading out */
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  /* The fade is painted over the grid (no CSS mask: masked layers get clipped
     to neighbouring compositing boxes in some Chrome configurations). */
  background-image:
    radial-gradient(ellipse 80% 70% at 50% 20%, transparent 30%, var(--bg) 78%),
    linear-gradient(rgba(122, 162, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 162, 255, 0.07) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
}
.hero-glow {
  /* Covers the whole hero, and every gradient fades out well inside it: a gradient
     centred on the layer's edge gets cut into a visible straight line. */
  position: absolute; inset: 0 -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 380px at 78% 14%, rgba(76, 125, 255, 0.35), transparent 70%),
    radial-gradient(520px 320px at 12% 6%, rgba(47, 212, 240, 0.16), transparent 70%),
    radial-gradient(700px 360px at 50% 72%, rgba(58, 102, 240, 0.16), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 64px; align-items: center; padding-bottom: 72px; }
.hero-lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 560px; margin: 30px 0 0; }
.hero-lede strong { color: var(--ink); font-weight: 600; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.contract {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 28px;
  padding: 10px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(11, 25, 55, 0.6); color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.contract:hover { border-color: var(--line-2); color: var(--ink); }
.contract-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.contract-addr { font-family: var(--mono); color: var(--ink); font-size: 14px; }
.copy-status { display: inline-block; margin-left: 12px; font-size: 13px; color: var(--muted); }

/* factsheet */
.factsheet {
  padding: 24px 24px 20px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 42, 90, 0.78), rgba(9, 21, 47, 0.86));
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(157, 184, 255, 0.12), 0 40px 90px -30px rgba(2, 6, 20, 0.9), 0 0 80px -30px rgba(76, 125, 255, 0.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.fs-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.fs-title { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; margin-top: 4px; }
.fs-status { font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; margin-top: 2px; }
.fs-list { list-style: none; margin: 0; padding: 8px 0; }
.fs-row {
  display: grid; grid-template-columns: 22px 28px 78px 1fr 52px; align-items: center; gap: 12px;
  padding: 7px 6px; border-radius: 8px; transition: background-color 0.15s;
}
.fs-row:hover { background: rgba(76, 125, 255, 0.08); }
.fs-rank { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.fs-sym { font-weight: 500; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-row:hover .fs-sym { color: var(--sky); }
.fs-wt { font-family: var(--mono); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.fs-placeholder { padding: 60px 0; text-align: center; color: var(--muted); font-size: 14px; }
.track { position: relative; height: 6px; border-radius: 3px; background: rgba(122, 162, 255, 0.1); overflow: hidden; }
.track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--grad); }
.fs-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 16px; margin: 6px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.fs-facts dt { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.fs-facts dd { margin: 3px 0 0; font-size: 14.5px; font-weight: 500; }

/* token icon: initials under an optional logo */
.icon {
  position: relative; display: inline-grid; place-items: center; overflow: hidden; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface-3); color: var(--sky); font-family: var(--mono); font-size: 9px; font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.icon.loaded { color: transparent; }
.icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ticker tape */
.tape {
  position: relative; overflow: hidden; border-block: 1px solid var(--line);
  background: rgba(7, 18, 41, 0.75);
}
.tape::before, .tape::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 8%; z-index: 1; pointer-events: none;
}
.tape::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.tape::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.tape-track { display: flex; width: max-content; animation: tape 48s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape-item {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px;
  border-right: 1px solid var(--line); white-space: nowrap; font-size: 14px;
}
.tape-item .icon { width: 22px; height: 22px; font-size: 7px; }
.tape-item b { font-weight: 600; font-family: var(--display); letter-spacing: -0.01em; }
.tape-item .px { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.tape-item .ch { font-family: var(--mono); font-size: 12px; padding: 2px 7px; border-radius: 6px; }
.tape-item .ch.positive { background: var(--pos-bg); }
.tape-item .ch.negative { background: var(--neg-bg); }
.tape-item .wt { font-family: var(--mono); font-size: 12px; color: var(--muted); }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; }
.stats > div { padding: 8px 24px 8px 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats span { display: block; font-size: 13px; color: var(--muted); }
.stats strong {
  display: block; margin-top: 8px;
  font-family: var(--display); font-weight: 600; font-size: 38px; letter-spacing: -0.03em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stats-note { font-family: var(--mono); font-size: 11px; color: var(--faint); padding: 22px 0 8px; margin: 0; }

/* ---------- sections ---------- */
.section { position: relative; padding-block: 120px; }
.section-band {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(76, 125, 255, 0.1), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head-split {
  max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px; align-items: end;
}
.section-lede { font-size: 18px; line-height: 1.65; color: var(--muted); margin: 24px 0 0; max-width: 580px; }
.section-head-split .section-lede { margin: 0; }

/* thesis */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 30px 30px 32px; transition: border-color 0.25s, transform 0.25s; }
.pillar:hover { border-color: var(--line-2); transform: translateY(-3px); }
.pillar-icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad-soft); border: 1px solid var(--line-2);
}
.pillar-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; }
.pillar h3 { font-size: 21px; margin-top: 30px; }
.pillar p { color: var(--muted); font-size: 15px; margin: 12px 0 0; }

.compare { margin-top: 96px; }
.compare-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 28px; }
.compare-head h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -0.025em; }
.compare-head p { color: var(--muted); margin: 0; max-width: 480px; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 680px; }
.compare-table th, .compare-table td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.compare-table thead th {
  font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted);
}
.compare-table tbody th { font-weight: 500; color: var(--ink); width: 22%; }
.compare-table td { color: var(--muted); width: 26%; }
.compare-table .is-us { background: rgba(76, 125, 255, 0.1); color: var(--ink); border-bottom-color: rgba(76, 125, 255, 0.18); }
.compare-table thead .is-us { color: var(--cyan); border-radius: 14px 14px 0 0; box-shadow: inset 0 1px 0 var(--line-2); }
.compare-table tbody tr:last-child .is-us { border-radius: 0 0 14px 14px; border-bottom: 0; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }

/* tables */
.holdings, .replay-table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
.holdings { min-width: 720px; }
.holdings th, .replay-table th {
  font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted); padding: 16px 24px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.holdings td, .replay-table td { padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 15px; }
.holdings tbody tr { transition: background-color 0.15s; }
.holdings tbody tr:hover { background: rgba(76, 125, 255, 0.06); }
.holdings tbody tr:last-child td { border-bottom: 0; }
.num { text-align: right !important; }
.rank { font-family: var(--mono); font-size: 12px; color: var(--faint); width: 48px; }
.token-cell { display: flex; align-items: center; gap: 14px; }
.token-cell .icon { width: 34px; height: 34px; font-size: 10px; }
.token-cell strong { font-weight: 600; display: block; font-family: var(--display); letter-spacing: -0.01em; }
.token-cell small { display: block; white-space: nowrap; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.token-cell:hover strong { color: var(--sky); }
.positive { color: var(--pos); }
.negative { color: var(--neg); }
.wcol { width: 32%; }
.wcell { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.wcell .track { flex: 1; max-width: 200px; }
.wcell b { font-weight: 500; min-width: 52px; text-align: right; font-family: var(--mono); font-size: 14px; }
.wcell b.capped { color: var(--cyan); }
.placeholder { text-align: center; color: var(--muted); padding: 64px 24px !important; }
.error { color: var(--neg) !important; }

/* distributions & claims */
.claim-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.claim-head strong { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; margin-top: 4px; letter-spacing: -0.01em; }
.claim-lookup { display: flex; gap: 10px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.claim-lookup input {
  flex: 1; min-width: 0; height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font-family: var(--mono); font-size: 13px;
}
.claim-lookup input::placeholder { color: var(--faint); }
.claim-lookup input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(76, 125, 255, 0.25); }
.claim-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 20px; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.claim-epoch strong { display: block; font-weight: 600; font-family: var(--display); }
.claim-epoch small { display: block; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px 3px 3px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13px; background: var(--surface-2);
  font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink-2);
}
.chip .icon { width: 20px; height: 20px; font-size: 7px; }
.chip b { font-weight: 600; color: var(--ink); }
.pill {
  display: inline-block; padding: 4px 11px; border-radius: 999px; font-family: var(--mono);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap;
  background: var(--surface-3); color: var(--muted);
}
.pill.live { background: rgba(76, 125, 255, 0.16); color: var(--sky); box-shadow: inset 0 0 0 1px rgba(76, 125, 255, 0.35); }
.pill.done { background: var(--pos-bg); color: var(--pos); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.3); }
.pill.bad { background: var(--neg-bg); color: var(--neg); box-shadow: inset 0 0 0 1px rgba(251, 113, 133, 0.3); }
.epochs { min-width: 760px; }
.epochs td { vertical-align: middle; }
.epochs .chips { max-width: 480px; }
.epochs small { display: block; margin-top: 4px; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.epochs a.tx:hover { color: var(--sky); }

/* methodology */
.method-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.rules { margin: 0; border-top: 1px solid var(--line-2); }
.rules > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rules dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--cyan); padding-top: 4px; }
.rules dd { margin: 0; font-size: 15px; color: var(--ink-2); }
.replay { margin: 0; overflow: hidden; }
.replay-head { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.replay-head strong { display: block; font-family: var(--display); font-weight: 600; margin-top: 4px; font-size: 17px; letter-spacing: -0.01em; }
.replay-table td { padding-block: 11px; }
.replay-table th .legend-tick { display: inline-block; width: 1px; height: 10px; background: var(--sky); margin: 0 4px 0 10px; vertical-align: middle; }
.legend-text { text-transform: none; letter-spacing: 0; margin-left: 2px; color: var(--faint); }
.replay-table .sym { font-weight: 600; font-family: var(--display); }
.replay-table .wcell .track { max-width: none; }
.track .ref { position: absolute; top: -3px; bottom: -3px; width: 1px; background: var(--sky); opacity: 0.7; z-index: 1; }
.replay-table tr.cap .wcell b { color: var(--cyan); }
.replay-table .note-tag {
  display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 5px;
  font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em;
  background: rgba(47, 212, 240, 0.12); color: var(--cyan); vertical-align: 1px;
}
.replay-table .note-tag.floor { color: var(--muted); background: var(--surface-3); }

/* mechanics */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: flow; }
.flow li { padding: 28px 26px 30px; overflow: hidden; }
.flow li::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--grad); opacity: 0.8;
}
.flow-num { font-family: var(--mono); font-size: 12px; color: var(--cyan); }
.flow h3 { font-size: 19px; margin-top: 36px; }
.flow p { font-size: 14.5px; color: var(--muted); margin: 12px 0 0; }
.pullquote { margin: 100px 0 0; padding: 56px 0 0; border-top: 1px solid var(--line); }
.pullquote p {
  margin: 0; max-width: 980px;
  font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.15; letter-spacing: -0.03em;
}
.pullquote p::before { content: '“'; color: var(--cyan); }
.pullquote p::after { content: '”'; color: var(--cyan); }
.pullquote footer { margin-top: 22px; color: var(--muted); font-size: 15px; }

/* safeguards */
.guards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guards article { padding: 26px 26px 28px; transition: border-color 0.25s; }
.guards article:hover { border-color: var(--line-2); }
.guards h3 { font-size: 18px; display: flex; align-items: center; gap: 12px; }
.guards h3::before {
  content: ''; flex: none; width: 22px; height: 22px; border-radius: 7px;
  background: var(--grad-soft) center / 12px 12px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2L9.5 3.6' fill='none' stroke='%232fd4f0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), var(--grad-soft);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.guards p { color: var(--muted); font-size: 15px; margin: 12px 0 0; }

/* calculator */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.formula {
  display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline;
  margin: 32px 0 24px; padding: 18px 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface);
  font-family: var(--mono); font-size: 14px; color: var(--ink-2);
}
.formula-op { color: var(--muted); }
.formula-res { color: var(--cyan); }
.fine { font-size: 13px; line-height: 1.7; color: var(--faint); max-width: 520px; }
.calc { padding: 30px; }
.calc label { display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 10px; }
.calc-input { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line-2); transition: border-color 0.2s; }
.calc-input:focus-within { border-color: var(--blue); }
.calc-input input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none; padding: 6px 0 12px;
  font-family: var(--display); font-weight: 600; font-size: 40px; letter-spacing: -0.03em;
}
.calc-input input::placeholder { color: var(--faint); }
.calc-input span { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.calc-line { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.calc-line strong { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-result { margin-top: 26px; padding: 22px; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--line-2); }
.calc-result > span { font-size: 13px; color: var(--ink-2); }
.calc-result strong {
  display: block; margin-top: 6px; font-family: var(--display); font-weight: 600; font-size: 54px; letter-spacing: -0.04em; line-height: 1.05;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.calc-result p { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.est-list { margin-top: 18px; }
.est-row { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.est-row:last-child { border-bottom: 0; }
.est-row .track { height: 4px; }
.est-row span:last-child { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 40px); }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 12px; height: 12px;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  color: var(--cyan); transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--sky); }
.faq details p { margin: -6px 0 26px; color: var(--muted); max-width: 640px; }

/* closing */
.closing { position: relative; overflow: hidden; padding-block: 150px; text-align: center; isolation: isolate; border-top: 1px solid var(--line); }
.closing-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(760px 420px at 50% 115%, rgba(76, 125, 255, 0.45), transparent 70%),
    radial-gradient(500px 260px at 50% 110%, rgba(47, 212, 240, 0.25), transparent 70%);
}
.closing h2 { font-size: clamp(46px, 7vw, 96px); line-height: 0.98; }
.closing p:not(.chip-line) { color: var(--muted); font-size: 18px; margin: 28px auto 0; max-width: 520px; }
.closing .actions { justify-content: center; }

/* footer */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: 40px 48px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer-top p { margin: 0; font-size: 14px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; margin-left: auto; font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.disclaimer { margin: 28px 0 0; font-size: 12px; line-height: 1.8; color: var(--faint); max-width: 980px; }
.disclaimer strong { color: var(--ink-2); font-weight: 600; }

/* grid children shrink rather than overflow */
.hero-grid > *, .method-grid > *, .calc-grid > *, .faq-grid > *,
.section-head-split > *, .compare-head > * { min-width: 0; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .wrap { width: calc(100% - 48px); }
  .nav { gap: 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .factsheet { max-width: 640px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: 1fr; }
  .calc-grid, .faq-grid { gap: 48px; }
  .guards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .section { padding-block: 88px; }
  .section-head-split, .compare-head { grid-template-columns: 1fr; gap: 20px; }
  .section-head { margin-bottom: 44px; }
  .pillars { grid-template-columns: 1fr; }
  .compare { margin-top: 72px; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .calc-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  :root { --header-h: 60px; }
  .brand-name span { display: none; }
  .hero { padding-top: 48px; }
  .hero-grid { padding-bottom: 48px; gap: 40px; }
  .hero-lede { font-size: 17px; }
  .actions .btn { flex: 1 1 auto; }
  .factsheet { padding: 18px; }
  .fs-row { grid-template-columns: 18px 24px 64px 1fr 44px; gap: 10px; }
  .fs-facts { grid-template-columns: 1fr 1fr; }
  .stats strong { font-size: 30px; }
  .stats > div { padding-right: 12px; }
  .stats > div + div { padding-left: 16px; }
  .stats > div:nth-child(3) { padding-left: 0; }
  .section { padding-block: 72px; }
  .flow { grid-template-columns: 1fr; }
  .flow h3 { margin-top: 22px; }
  .pullquote { margin-top: 72px; padding-top: 40px; }
  .guards { grid-template-columns: 1fr; }
  .rules > div { grid-template-columns: 1fr; gap: 6px; }
  .fs-head { flex-direction: column; gap: 10px; }
  .replay-table th .legend-tick, .replay-table .legend-text { display: none; }
  .replay-table .wcell { gap: 10px; }
  .replay-table .wcell b { min-width: 44px; }
  .holdings { min-width: 0; }
  .holdings th, .replay-table th { white-space: normal; }
  .replay-table .wcell .track { min-width: 40px; }
  .holdings th, .holdings td { padding-inline: 12px; }
  .holdings th:first-child, .holdings td:first-child { padding-left: 16px; width: 36px; }
  .holdings th:last-child, .holdings td:last-child { padding-right: 16px; }
  .holdings:not(.epochs) th:nth-child(3), .holdings:not(.epochs) td:nth-child(3),
  .holdings:not(.epochs) th:nth-child(4), .holdings:not(.epochs) td:nth-child(4) { display: none; }
  .holdings .token-cell { gap: 10px; }
  .holdings .token-cell .icon { width: 28px; height: 28px; }
  .holdings .token-cell small { display: none; }
  .holdings .wcell .track { display: none; }
  .epochs th:nth-child(4), .epochs td:nth-child(4) { display: none; }

  /* comparison table stacks into one card per attribute */
  .compare-table.stack { min-width: 0; }
  .compare-table.stack thead { display: none; }
  .compare-table.stack tr {
    display: block; margin-bottom: 14px; overflow: hidden;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  }
  .compare-table.stack th[scope='row'] {
    display: block; width: auto; padding: 14px 16px 10px;
    font-family: var(--mono); font-size: 11px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
  }
  .compare-table.stack td {
    display: flex; justify-content: space-between; gap: 16px;
    width: auto; padding: 11px 16px; text-align: right; font-size: 14px;
  }
  .compare-table.stack td::before { content: attr(data-label); color: var(--faint); text-align: left; flex: none; }
  .compare-table.stack td.is-us { border-radius: 0 !important; }
  .compare-table.stack td.is-us::before { color: var(--cyan); }
  .compare-table.stack td:last-child { border-bottom: 0; }
  .replay-head, .panel-note { padding-inline: 18px; }
  .replay-table th, .replay-table td { padding-inline: 14px; }
  .claim-head { flex-direction: column; align-items: flex-start; padding-inline: 18px; }
  .claim-lookup { padding-inline: 18px; }
  .claim-row { grid-template-columns: 1fr; gap: 10px; padding-inline: 18px; }
  .epochs { min-width: 0; }
  .epochs th, .epochs td { padding-inline: 12px; }
  .calc { padding: 22px; }
  .calc-result strong { font-size: 42px; }
  .closing { padding-block: 100px; }
  .footer-links { margin-left: 0; }
  .tape-item { padding: 12px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* on-chain addresses */
.contracts { margin-top: 20px; overflow: hidden; }
.contracts[hidden] { display: none; }
.contracts-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.contracts-head strong { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; margin-top: 4px; letter-spacing: -0.01em; }
.addr-list { margin: 0; }
.addr-list > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.addr-list dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.addr-list dd { margin: 0; display: flex; align-items: center; gap: 10px; min-width: 0; font-family: var(--mono); font-size: 14px; color: var(--faint); }
.addr-list dd a { color: var(--ink); overflow-wrap: anywhere; }
.addr-list dd a:hover { color: var(--sky); }
.addr-list .copy-btn {
  flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--muted); padding: 0;
}
.addr-list .copy-btn:hover { color: var(--ink); border-color: var(--sky); }
.addr-list .copy-btn.done { color: var(--pos); border-color: rgba(52, 211, 153, 0.4); }
@media (max-width: 600px) {
  .contracts-head { flex-direction: column; align-items: flex-start; padding-inline: 18px; }
  .addr-list > div { grid-template-columns: 1fr; gap: 6px; padding-inline: 18px; }
  .addr-list dd { font-size: 12.5px; }
}
.stats strong.empty { color: var(--faint); }
