/* Self-hosted from Google Fonts (SIL Open Font License): Archivo (axes limited to wght 400-800, wdth 100-125), JetBrains Mono. */
/* Archivo vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url(/fonts/archivo-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* Archivo latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url(/fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Archivo latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url(/fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* JetBrains Mono cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* JetBrains Mono greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* JetBrains Mono vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* JetBrains Mono latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* JetBrains Mono cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* JetBrains Mono greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* JetBrains Mono vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* JetBrains Mono latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #07080A;
  --surface: #0E1013;
  --ink: #ECEAE6;
  --ink-2: #C9C8C4;
  --muted: #A4A7AC;
  --dim: #7D8086;
  --line: rgba(236, 234, 230, 0.12);
  --line-soft: rgba(236, 234, 230, 0.08);
  --coral: #FF8F66;
  --ion: #A9D8F2;
  --sans: 'Archivo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { max-width: 100%; }
a { color: var(--ink); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
a:hover { color: var(--coral); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--coral); color: var(--bg); }
h1, h2, h3, p { margin: 0; }
ol, ul { list-style: none; margin: 0; padding: 0; }

.mono { font-family: var(--mono); }
.coral { color: var(--coral); }
.ink { color: var(--ink); }
.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: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--coral); color: var(--bg); font-weight: 600; }
.skip:focus { top: 12px; color: var(--bg); }

/* ---------- overlays ---------- */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; mix-blend-mode: difference; will-change: transform; opacity: 0; display: none; }
.cursor-on .cursor { display: block; }
.cursor-ring { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border: 1px solid var(--ink); border-radius: 50%; }
.cursor-dot { position: absolute; left: -1px; top: -1px; width: 2px; height: 2px; background: var(--ink); }
.cursor-coord { position: absolute; left: 22px; top: 14px; font-size: 10px; letter-spacing: .08em; color: var(--ink); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px;
  font: 600 15px/1.2 var(--sans); white-space: nowrap; cursor: pointer; border: 1px solid transparent;
}
.btn-sm { padding: 10px 18px; font-size: 13px; gap: 8px; }
.btn-lg { padding: 20px 34px; font-size: 17px; gap: 12px; }
.btn-light { background: var(--ink); color: var(--bg); }
.btn-light:hover { background: var(--coral); color: var(--bg); }
.btn-coral { background: var(--coral); color: var(--bg); }
.btn-coral:hover { background: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(236,234,230,.25); font-weight: 500; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--coral); color: var(--coral); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 18px 4vw;
  background: rgba(7,8,10,.5);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 26px; width: auto; display: block; }
.nav-links {
  flex: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 30px; height: 18px; overflow: hidden;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--coral); }
/* Keep all links on one row: tighter gaps on tablets; the whitepaper link (also in the footer) drops out first. */
@media (max-width: 1100px) { .nav-links { gap: 6px 18px; } }
@media (max-width: 960px) { .nav-links .nav-wp { display: none; } }
@media (max-width: 760px) { .nav-links { display: none; } .nav { gap: 16px; } }

/* ---------- section rule ---------- */
.rule {
  display: flex; align-items: center; gap: 16px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.rule .dash { flex: 1; min-width: 16px; height: 1px; background: repeating-linear-gradient(90deg, rgba(236,234,230,.28) 0 2px, rgba(236,234,230,0) 2px 7px); }
.h2 { font-weight: 700; font-stretch: 115%; font-size: clamp(34px, 4.2vw, 68px); line-height: .95; letter-spacing: -.035em; text-wrap: balance; }
.lead { max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: max(100vh, 640px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 180px 0 max(110px, 14vh); overflow: hidden;
}
.hero-helix { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 75% 65% at 50% 44%, rgba(7,8,10,0) 40%, rgba(7,8,10,.8) 100%); }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 42%; pointer-events: none; background: linear-gradient(180deg, rgba(7,8,10,0) 0%, rgba(7,8,10,.75) 60%, var(--bg) 96%); }
.corner { position: absolute; width: 18px; height: 18px; pointer-events: none; border: 0 solid #5A5D62; }
.corner.tl { top: 84px; left: 2vw; border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: 84px; right: 2vw; border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: 18px; left: 2vw; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: 18px; right: 2vw; border-bottom-width: 1px; border-right-width: 1px; }
.hero-labels {
  position: absolute; top: 104px; left: 4vw; right: 4vw; display: flex; justify-content: space-between; gap: 24px;
  font-size: 12px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; pointer-events: none;
}
.hero-label { display: flex; flex-direction: column; gap: 6px; }
.hero-label.right { align-items: flex-end; text-align: right; }
.codon-stream {
  position: relative; z-index: 2; padding: 10px 12px; border-radius: 8px; margin: 14px 0 0;
  background: rgba(7,8,10,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 11px/1.6 var(--mono); letter-spacing: .06em; color: #5F6267; text-transform: none; min-height: calc(7 * 1.6em + 20px);
}
.hero-text {
  position: relative; margin: 0 4vw; z-index: 3;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px;
  will-change: transform, opacity;
}
.hero-head { display: flex; flex-direction: column; gap: 20px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); }
.hero-kicker .prompt { color: #5F6267; }
.hero-word { position: relative; width: min(46vw, 740px, calc((100vh - 460px) * 1.55)); aspect-ratio: 1.55 / 1; min-width: 260px; }
.hero-dots { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-side { max-width: 380px; display: flex; flex-direction: column; gap: 28px; padding-bottom: 12px; }
.hero-side p { font-size: 18px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.hero-foot {
  position: absolute; left: 4vw; right: 4vw; bottom: 28px; display: flex; justify-content: space-between; gap: 20px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); pointer-events: none;
}
@media (max-width: 760px) {
  .hero { padding-top: 300px; }
  .hero-labels { font-size: 11px; }
  .codon-stream { display: none; }
  .hero-scroll { display: none; }
}

/* ---------- ticker ---------- */
.ticker {
  margin-top: 6vh; overflow: hidden; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  padding: 14px 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); white-space: nowrap;
}
.ticker-track { display: flex; gap: 48px; width: max-content; }

/* ---------- manifesto ---------- */
.manifesto { padding: 26vh 6vw 28vh; max-width: 1500px; margin: 0 auto; }
.manifesto .rule { margin-bottom: 56px; }
.manifesto-text { font-weight: 500; font-size: clamp(30px, 4.4vw, 76px); line-height: 1.04; letter-spacing: -.03em; word-spacing: .12em; }
.manifesto-text [data-w] { display: inline-block; word-spacing: normal; }

/* ---------- about ---------- */
.about { padding: 0 4vw 20vh; scroll-margin-top: 96px; } /* no top padding, so keep #about below the fixed nav */
.about > .rule { margin-bottom: 64px; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 6vw; align-items: end; }
.about-copy { display: flex; flex-direction: column; gap: 32px; }
.film { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-soft); }
.film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.halftone-overlay { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(7,8,10,0) .9px, rgba(7,8,10,.5) 1.6px); background-size: 5px 5px; }
.film-fade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7,8,10,0) 50%, rgba(7,8,10,.7) 100%); }
.film-rec { position: absolute; top: 16px; left: 18px; font-size: 11px; letter-spacing: .1em; color: var(--ink-2); pointer-events: none; }
.film-play {
  position: absolute; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px;
  border-radius: 999px; background: rgba(236,234,230,.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(236,234,230,.2); font-size: 14px; font-weight: 500;
}
.film-play:hover { background: var(--coral); color: var(--bg); }
.film-play-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.pillars { margin-top: 14vh; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 2px; background: var(--line-soft); border-radius: 20px; overflow: hidden; }
.pillar { background: var(--bg); padding: 40px 32px 48px; display: flex; flex-direction: column; gap: 64px; transition: background-color .3s; }
.pillar:hover { background: var(--surface); }
.pillar > span { font-size: 12px; }
.pillar > div { display: flex; flex-direction: column; gap: 12px; }
.pillar h3 { font-size: 28px; font-weight: 600; font-stretch: 110%; letter-spacing: -.02em; }
.pillar p { color: var(--muted); line-height: 1.55; font-size: 16px; }

/* ---------- story ---------- */
/* Base (no JS, mobile): swipeable row. JS adds .is-pinned on wide screens for the scroll-driven horizontal track. */
.story { position: relative; padding: 14vh 0 10vh; }
.story-pin { display: flex; flex-direction: column; gap: 40px; }
.story-head { padding: 0 4vw; display: flex; flex-direction: column; gap: 28px; }
.story-title-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.story-h2 { font-size: clamp(30px, 3.6vw, 68px); }
.story-progress { display: none; width: min(320px, 100%); flex-direction: column; gap: 10px; font-size: 11px; letter-spacing: .1em; color: var(--dim); }
.story-progress-labels { display: flex; justify-content: space-between; }
.story-bar { height: 2px; background: rgba(236,234,230,.1); border-radius: 2px; overflow: hidden; }
.story-bar-fill { height: 100%; background: var(--coral); transform-origin: left; transform: scaleX(0); }
.story-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; scroll-padding-left: 4vw; }
.story-viewport::-webkit-scrollbar { display: none; }
.story-track { display: flex; gap: 28px; width: max-content; padding: 0 4vw; }
.card { width: min(78vw, 340px); display: flex; flex-direction: column; gap: 22px; scroll-snap-align: start; }
.card-img { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--surface); }

.story.is-pinned { height: 460vh; padding: 0; }
.is-pinned .story-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; overflow: clip; justify-content: center; gap: 4vh; padding-top: 56px; }
.is-pinned .story-progress { display: flex; }
.is-pinned .story-viewport { overflow: visible; scroll-snap-type: none; padding-left: 4vw; }
.is-pinned .story-track { padding-left: 0; will-change: transform; }
.is-pinned .card { width: clamp(260px, 26vw, 400px); }
.is-pinned .card-latest { width: clamp(280px, 32vw, 500px); }
.is-pinned .card-img { aspect-ratio: auto; height: min(42vh, calc(100vh - 420px)); min-height: 110px; }

.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.card-dots { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(7,8,10,0) .9px, rgba(7,8,10,.22) 1.6px); background-size: 5px 5px; }
.card-latest .card-img { box-shadow: 0 0 0 1px var(--coral), 0 30px 120px -30px rgba(255,143,102,.5); }
.card-latest .card-dots { background-image: radial-gradient(circle, rgba(7,8,10,0) .9px, rgba(7,8,10,.5) 1.6px); }
.card-badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: var(--coral); color: var(--bg); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(236,234,230,.14); padding-top: 18px; }
.card-latest .card-meta { border-top-color: var(--coral); }
.card-date { font-weight: 700; font-stretch: 125%; font-size: 32px; letter-spacing: -.03em; }
.card-latest .card-date { color: var(--coral); }
.card-idx { font-size: 11px; color: var(--dim); }
.card-text { font-size: 20px; font-weight: 500; line-height: 1.35; color: var(--ink-2); }
.card-latest .card-text { color: var(--ink); }
.card-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.card-links a { color: var(--coral); }
.card-links a:hover { color: var(--ink); }

/* ---------- tokenomics ---------- */
.tokenomics { padding: 20vh 4vw; }
.tokenomics > .rule { margin-bottom: 64px; }
.tok-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 6vw; align-items: center; }
.ring { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; justify-self: center; }
.ring-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; pointer-events: none; }
.ring-label .mono { font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.ring-name { font-weight: 800; font-stretch: 125%; font-size: clamp(24px, 2.8vw, 40px); letter-spacing: -.03em; }
.tok-copy { display: flex; flex-direction: column; gap: 40px; }
.alloc { display: flex; flex-direction: column; }
.alloc-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.alloc li { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.alloc li:last-child { border-bottom: 1px solid var(--line); }
.alloc-dot { font-family: var(--mono); font-size: 14px; }
.alloc-name { flex: 1; font-size: 17px; }
.alloc-pct { font-weight: 700; font-stretch: 125%; font-size: 28px; }
@media (max-width: 480px) { .alloc-name { font-size: 15px; } .alloc-pct { font-size: 22px; } .alloc li { gap: 12px; } }

/* ---------- roadmap ---------- */
.roadmap { padding: 14vh 4vw 20vh; }
.roadmap > .rule { margin-bottom: 40px; }
.road-h2 { margin: 0 0 8vh; }
.road-row {
  display: grid; grid-template-columns: minmax(60px, 120px) minmax(0, 1fr) auto; align-items: center; gap: 24px;
  padding: 32px 0; border-top: 1px solid var(--line); transition: background .3s;
}
.road-row:last-child { border-bottom: 1px solid var(--line); }
.road-row:hover { background: linear-gradient(90deg, rgba(236,234,230,.04), rgba(236,234,230,0)); }
.road-row.is-done:hover { background: linear-gradient(90deg, rgba(255,143,102,.08), rgba(255,143,102,0)); }
.road-idx { font-size: 13px; color: var(--dim); }
.is-done .road-idx { color: var(--coral); }
.road-body { display: flex; flex-direction: column; gap: 10px; }
.road-body h3 { font-weight: 700; font-stretch: 120%; font-size: clamp(24px, 3.2vw, 52px); letter-spacing: -.03em; line-height: 1; }
.road-body p { color: var(--muted); font-size: 16px; }
.is-planned .road-body h3 { color: #8E9196; }
.is-planned .road-body p { color: var(--dim); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.pill-done { border: 1px solid rgba(236,234,230,.2); color: var(--ink-2); }
.pill-active { background: rgba(255,143,102,.12); color: var(--coral); }
.pill-planned { border: 1px solid var(--line); color: var(--dim); }
@media (max-width: 600px) {
  .road-row { grid-template-columns: 1fr auto; gap: 16px; }
  .road-idx { grid-column: 1; }
  .road-row .pill { grid-column: 2; grid-row: 1; justify-self: end; }
  .road-body { grid-column: 1 / -1; }
}

/* ---------- sale ---------- */
.sale { padding: 0 4vw 16vh; }
.sale-card { position: relative; overflow: hidden; border-radius: 28px; background: #0C0D10; border: 1px solid rgba(236,234,230,.1); padding: clamp(32px, 5vw, 80px); }
.sale-dots { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(236,234,230,.08) 1px, rgba(236,234,230,0) 1.4px); background-size: 14px 14px; }
.sale-glow { position: absolute; top: -40%; right: -10%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,143,102,.22) 0%, rgba(255,143,102,0) 60%); pointer-events: none; }
.sale-card > .rule { position: relative; margin-bottom: 48px; }
.sale-top { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 64px; }
.sale-amount { font-weight: 800; font-stretch: 125%; font-size: clamp(56px, 8vw, 140px); line-height: .85; letter-spacing: -.045em; }
.sale-copy { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.sale-copy p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.coral-link { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); }
.coral-link:hover { color: var(--ink); }
.terms { position: relative; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px; background: rgba(236,234,230,.1); border: 1px solid rgba(236,234,230,.1); border-radius: 16px; overflow: hidden; }
.terms > div { background: #0C0D10; padding: 28px 24px; display: flex; flex-direction: column; gap: 28px; }
.terms dt { font-size: 11px; letter-spacing: .1em; color: var(--dim); text-transform: uppercase; }
.terms dd { margin: 0; font-size: 26px; font-weight: 600; font-stretch: 115%; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; padding: 12vh 2vw 14vh; display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.cta-kicker { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cta-word { display: block; width: 100%; aspect-ratio: 3.6 / 1; max-width: 1400px; position: relative; }
.cta-dots { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cta-weth { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- footer ---------- */
.footer {
  padding: 40px 4vw; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
  font-size: 12px; letter-spacing: .06em; color: var(--dim);
}
.footer img { height: 22px; width: auto; display: block; }
.footer-links { display: flex; flex-wrap: wrap; gap: 28px; }
.footer-links a, .link-btn { color: var(--muted); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; cursor: pointer; transition: color .2s; }
.link-btn:hover { color: var(--coral); }

/* ---------- cookie consent ---------- */
.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; margin: 0 auto; max-width: 760px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 18px 20px;
  background: rgba(14,16,19,.92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(236,234,230,.14); border-radius: 18px; font-size: 14px; line-height: 1.5; color: var(--muted);
}
.cc-banner[hidden] { display: none; }
.cc-banner p { flex: 1 1 320px; }
.cc-banner a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-dialog {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border-radius: 20px;
  background: var(--surface); color: var(--ink); border: 1px solid rgba(236,234,230,.14);
}
.cc-dialog::backdrop { background: rgba(7,8,10,.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cc-form { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.cc-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cc-dialog h2 { font-size: 24px; font-weight: 700; font-stretch: 115%; letter-spacing: -.02em; }
.cc-close { background: none; border: 0; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.cc-close:hover { color: var(--coral); }
.cc-intro { font-size: 14px; line-height: 1.55; color: var(--muted); }
.cc-option { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; }
div.cc-option { cursor: default; }
.cc-option h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.cc-option p { font-size: 13px; line-height: 1.45; color: var(--muted); }
.cc-required { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.cc-toggle { appearance: none; -webkit-appearance: none; flex: none; width: 42px; height: 24px; border-radius: 999px; background: #2A2C31; position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.cc-toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); transition: transform .2s; }
.cc-toggle:checked { background: var(--coral); }
.cc-toggle:checked::after { transform: translateX(18px); background: var(--bg); }
.cc-form .cc-actions { justify-content: flex-end; padding-top: 8px; }

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