/* ============ tokens ============ */
:root {
  --accent: #6b1d22;
  --paper: #efe9dd;
  --paper-2: #e8e0d1;
  --paper-3: #ddd3c1;
  --ink: #1b1513;
  --ink-2: #4b403b;
  --muted: #877b72;
  --line: rgba(27, 21, 19, 0.14);
  --line-2: rgba(27, 21, 19, 0.28);
  --accent-text: var(--accent);
  --accent-ink: #f7f0e5;
  --accent-soft: color-mix(in srgb, var(--accent) 10%, transparent);
  --good: #2f6b3a;
  --bad: #9b2c2c;
  --card-ink: #1b1513;
  --card-paper: #efe7da;

  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gutter: 24px;
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: light;
}

:root[data-theme="ink"] {
  --paper: #131010;
  --paper-2: #1b1716;
  --paper-3: #26201e;
  --ink: #eee6d9;
  --ink-2: #c4b9ad;
  --muted: #8f847a;
  --line: rgba(238, 230, 217, 0.13);
  --line-2: rgba(238, 230, 217, 0.26);
  --accent-text: color-mix(in oklab, var(--accent), white 48%);
  --accent-soft: color-mix(in srgb, var(--accent) 22%, transparent);
  --good: #7cc48a;
  --bad: #e07a7a;
  --card-ink: #efe7da;
  --card-paper: #1b1513;
  color-scheme: dark;
}

/* ============ base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.4s, color 0.4s;
}
/* paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
em { font-style: normal; color: var(--accent-text); }
::selection { background: var(--accent); color: var(--accent-ink); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); }
.label { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: var(--ink); color: var(--paper); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }

/* ============ buttons ============ */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px;
  font-family: var(--mono); font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap;
  border: 1px solid var(--b); border-radius: var(--radius);
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform 0.25s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s var(--ease);
}
.btn::after { /* sheen */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 12.5px; }
.btn--primary { --b: var(--accent); background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.btn--primary:hover { box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn--ghost { background: transparent; color: var(--ink); --b: var(--line-2); }
.btn--ghost:hover { --b: var(--ink); background: var(--paper-2); }
.btn--light { background: var(--card-paper); color: var(--card-ink); --b: var(--card-paper); }
.btn--line-light { background: transparent; color: var(--card-paper); --b: color-mix(in srgb, var(--card-paper) 35%, transparent); }
.btn--line-light:hover { --b: var(--card-paper); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.icon-btn {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: var(--radius); border: 1px solid transparent; transition: border-color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--line-2); background: var(--paper-2); }
.icon-btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ============ live banner ============ */
.live-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 40px; padding: 8px 16px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--mono); font-size: 13px; letter-spacing: .02em; text-align: center;
  animation: bannerIn .6s var(--ease) both;
}
.live-banner__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blink 1s steps(2) infinite; flex: none; }
.live-banner.is-out { animation: bannerOut .5s var(--ease) both; }
@keyframes bannerIn { from { transform: translateY(-100%); } }
@keyframes bannerOut { to { transform: translateY(-100%); } }
@keyframes blink { 50% { opacity: .2; } }

/* ============ nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .4s;
}
.nav.is-stuck { border-bottom-color: var(--line); }
body.has-banner .nav { top: 40px; }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.logo__mark { width: 32px; height: 32px; color: var(--accent-text); transition: transform .8s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-180deg); }
.logo__letter { font: 700 15px var(--sans); fill: currentColor; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  font-family: var(--mono); font-size: 13px; text-decoration: none; color: var(--ink-2);
  padding: 6px 10px; border-radius: var(--radius); position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-active { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 8px; }

/* ============ hero ============ */
.hero {
  display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 40px;
  padding-block: 40px 28px;
}
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 22px; min-height: 1.2em; }
.eyebrow::after { content: "▍"; color: var(--accent-text); animation: blink .9s steps(2) infinite; margin-left: 2px; }
.eyebrow.is-done::after { animation: blink .9s steps(2) 3 forwards; opacity: 0; }
.hero__title {
  font-size: clamp(44px, 6.4vw, 88px); line-height: .95; letter-spacing: -0.038em; font-weight: 700;
  margin: 0 0 22px; max-width: 11.5ch; text-wrap: balance;
}
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms + 150ms); }
.hero__title.is-in .w > span { transform: none; }
.hero__title .w:last-child > span { color: var(--accent-text); }
.hero__sub { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 44ch; margin: 0 0 26px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.ca-chip {
  display: inline-flex; align-items: stretch; max-width: 100%; padding: 0; cursor: pointer;
  background: var(--paper-2); border: 1px dashed var(--line-2); border-radius: var(--radius);
  font-size: 12.5px; color: var(--ink-2); text-align: left; transition: border-color .25s, background-color .25s;
}
.ca-chip:hover { border-color: var(--accent-text); border-style: solid; }
.ca-chip > span { display: flex; align-items: center; padding: 8px 12px; }
.ca-chip__k { font-weight: 600; letter-spacing: .08em; color: var(--paper); background: var(--ink); }
.ca-chip__v { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block !important; line-height: 1.6; max-width: 34ch; }
.ca-chip__a { color: var(--accent-text); font-weight: 600; border-left: 1px dashed var(--line-2); }
.ca-chip.is-live { border-style: solid; border-color: var(--accent-text); }
.ca-chip.is-live .ca-chip__k { background: var(--accent); color: var(--accent-ink); }
.ca-chip.is-live .ca-chip__v { color: var(--ink); }

/* seal */
.seal { position: relative; aspect-ratio: 1; width: min(100%, 500px); justify-self: center; perspective: 900px; }
.seal__tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s var(--ease); will-change: transform; }
.seal__rose { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal__rose--a { animation: spin 140s linear infinite; }
.seal__rose--b { animation: spin 90s linear infinite reverse; opacity: .85; }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 60s linear infinite; }
.seal__ring text { font-family: var(--mono); font-size: 13px; letter-spacing: 3.2px; fill: var(--accent-text); text-transform: uppercase; font-weight: 500; }
.seal__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) translateZ(30px);
  display: grid; justify-items: center; gap: 4px;
  padding: 14px 18px; min-width: 42%;
  background: var(--paper); border: 1px solid var(--accent-text);
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px color-mix(in srgb, var(--accent-text) 40%, transparent);
}
.seal__ticker { font-size: clamp(20px, 3vw, 32px); font-weight: 600; letter-spacing: .04em; color: var(--ink); line-height: 1.1; }
.seal__label { font-size: 10px; letter-spacing: .18em; color: var(--muted); }
.seal.is-burst .seal__tilt { animation: burst 1.1s var(--ease); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes burst { 0% { scale: 1; } 30% { scale: 1.07; } 100% { scale: 1; } }

/* ============ dock: CA + X ============ */
.dock { display: grid; grid-template-columns: 1.75fr 1fr; gap: 20px; padding-block: 8px 56px; }

.slip {
  --perf: radial-gradient(circle at 8px 0, transparent 5px, #000 5.5px) -8px 0 / 16px 100% repeat-x;
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  padding: 22px 24px 18px;
  display: grid; gap: 18px; align-content: space-between;
  transition: border-color .4s, box-shadow .6s var(--ease);
}
.slip::before, .slip::after { /* perforated edges */
  content: ""; position: absolute; left: -1px; right: -1px; height: 8px;
  background: radial-gradient(circle at 7px 4px, var(--paper) 3px, transparent 3.5px) 0 0 / 14px 8px repeat-x;
}
.slip::before { top: -5px; }
.slip::after { bottom: -5px; }
.slip[data-state="live"] { border-color: var(--accent-text); box-shadow: 0 24px 60px -36px color-mix(in srgb, var(--accent) 80%, transparent); }
.slip__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-2);
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.slip[data-state="prelaunch"] .pill i { animation: blink 1.2s steps(2) infinite; background: var(--accent-text); }
.slip[data-state="live"] .pill { border-color: var(--good); color: var(--good); }
.slip[data-state="live"] .pill i { background: var(--good); box-shadow: 0 0 0 0 var(--good); animation: ping 1.6s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--good) 60%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }

.slip__body { display: flex; align-items: center; gap: 16px; }
.ca { flex: 1; min-width: 0; min-height: 52px; display: flex; align-items: center; }
.ca__text { font-size: clamp(14px, 1.6vw, 19px); font-weight: 500; letter-spacing: .01em; word-break: break-all; line-height: 1.35; cursor: copy; }
.ca__text .s { color: var(--accent-text); }
.slip[data-state="prelaunch"] .ca__text { display: none; }
.slip[data-state="live"] .ca__wait { display: none; }
.ca__wait { display: flex; align-items: center; gap: 14px; color: var(--ink-2); font-size: 14px; flex-wrap: wrap; }
.ca__bars { display: inline-flex; gap: 3px; }
.ca__bars::before { content: ""; }
.ca__bars i { width: 9px; height: 22px; background: var(--ink); opacity: .14; animation: bar 1.4s var(--ease) infinite; animation-delay: calc(var(--i) * 70ms); }
@keyframes bar { 0%, 100% { opacity: .1; transform: scaleY(.6); } 40% { opacity: .55; transform: scaleY(1); } }
.copy-btn { flex: none; min-width: 132px; }
.copy-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.copy-btn.is-copied { background: var(--good); --b: var(--good); }
.slip__foot { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line-2); padding-top: 14px; }
.slip__foot b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.slip__links { margin-left: auto; display: flex; gap: 16px; }
.slip__links a { text-decoration: none; color: var(--ink-2); }
.slip__links a:hover { color: var(--accent-text); }
.slip.is-revealing { animation: slipFlash 1.4s var(--ease); }
@keyframes slipFlash { 0% { background: var(--accent-soft); } 100% { background: var(--paper-2); } }

.xcard {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--card-ink); color: var(--card-paper);
  padding: 22px 24px; display: grid; gap: 10px; align-content: start;
  border-radius: 2px;
}
.xcard__top { display: flex; align-items: center; justify-content: space-between; }
.xcard__top .label { color: color-mix(in srgb, var(--card-paper) 60%, transparent); }
.xcard__logo { width: 22px; height: 22px; fill: currentColor; }
.xcard__handle { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.03em; margin: 6px 0 0; word-break: break-all; }
.xcard__bio { margin: 0 0 8px; color: color-mix(in srgb, var(--card-paper) 72%, transparent); font-size: 15px; max-width: 34ch; }
.xcard__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.xcard__waves { position: absolute; right: -10px; bottom: -14px; width: 70%; height: 46%; z-index: -1; opacity: .15; pointer-events: none; }
.xcard__waves path { fill: none; stroke: currentColor; stroke-width: .7; }
.xcard__waves g { animation: drift 9s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateX(-24px); } }

/* ============ guilloche band ============ */
.band { height: 34px; overflow: hidden; border-block: 1px solid var(--line); color: var(--accent-text); }
.band__svg { height: 100%; width: calc(100% + 400px); max-width: none; animation: bandMove 14s linear infinite; }
.band__svg path { fill: none; stroke: currentColor; stroke-width: .6; opacity: .75; }
@keyframes bandMove { to { transform: translateX(-200px); } }

/* ============ market ============ */
.market { padding-block: 40px 56px; }
.ledger { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-2); }
.ledger__cell { padding: 16px 16px 18px 0; display: grid; gap: 6px; border-right: 1px dashed var(--line); padding-left: 16px; }
.ledger__cell:first-child { padding-left: 0; }
.ledger__cell:last-child { border-right: 0; }
.ledger__cell b { font-family: var(--mono); font-size: clamp(18px, 2.1vw, 26px); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.ledger__cell b.up { color: var(--good); }
.ledger__cell b.down { color: var(--bad); }
.ledger__cell b.flash { animation: valFlash .9s var(--ease); }
@keyframes valFlash { 0% { background: var(--accent-soft); } 100% { background: transparent; } }
.caption { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.caption b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.chart { margin: 28px 0 0; }
.chart__frame { position: relative; aspect-ratio: 16 / 8; min-height: 420px; border: 1px solid var(--line-2); background: var(--paper-2); }
.chart__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============ marquee ============ */
.marquee { background: var(--accent); color: var(--accent-ink); overflow: hidden; padding-block: 14px; transform: rotate(-1deg) scale(1.02); margin-block: 24px; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding-inline: 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.marquee__track span::after { content: "✦"; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ sections ============ */
.section { padding-block: 96px 24px; }
.section__head { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; padding-top: 14px; border-top: 1px solid var(--ink); }
.num { display: grid; place-items: center; width: 30px; height: 22px; font-size: 11.5px; font-weight: 600; background: var(--ink); color: var(--paper); }
.h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1; letter-spacing: -0.042em; font-weight: 700; margin: 0 0 36px; max-width: 16ch; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.8vw, 22px); color: var(--ink-2); max-width: 52ch; margin: 0; line-height: 1.5; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.about .h2 { margin: 0; }
.post { margin-top: 48px; max-width: 560px; }
.post__frame { min-height: 120px; }

/* tokenomics */
.tokgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.tok {
  position: relative; background: var(--paper-2); border: 1px solid var(--line); padding: 20px 20px 18px; container-type: inline-size;
  display: grid; gap: 10px; min-height: 172px; align-content: space-between;
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease);
}
.tok:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 18px 40px -28px rgba(0,0,0,.45); }
.tok__value { font-family: var(--mono); font-size: clamp(18px, 10cqi, 32px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; word-break: break-word; }
.tok__note { font-size: 14px; color: var(--ink-2); margin: 0; }
.tok__idx { position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.tok::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--accent-text); transition: width 1s var(--ease) .2s; }
.tok.is-in::before { width: 100%; }

/* stepper */
.stepper { display: grid; grid-template-columns: 1fr 1.2fr; border: 1px solid var(--line-2); background: var(--paper-2); }
.stepper__list { list-style: none; margin: 0; padding: 0; border-right: 1px solid var(--line-2); }
.stepper__list li { border-bottom: 1px solid var(--line); }
.stepper__list li:last-child { border-bottom: 0; }
.stepper__list button {
  width: 100%; display: flex; gap: 16px; align-items: center; text-align: left; background: none; border: 0;
  padding: 20px 22px; cursor: pointer; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--muted);
  transition: color .3s, background-color .3s;
}
.stepper__list button span { font-family: var(--mono); font-size: 12px; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; flex: none; transition: background-color .3s, color .3s; }
.stepper__list button:hover { color: var(--ink); }
.stepper__list button[aria-current="step"] { color: var(--ink); background: var(--paper); }
.stepper__list button[aria-current="step"] span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.stepper__list button.is-done span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.stepper__screen { padding: 28px 30px 24px; display: grid; gap: 12px; align-content: start; position: relative; min-height: 340px; }
.stepper__bar { height: 2px; background: var(--line); position: relative; overflow: hidden; margin-bottom: 8px; }
.stepper__bar i { position: absolute; inset: 0; background: var(--accent-text); transform-origin: left; transform: scaleX(0); }
.stepper__title { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.035em; line-height: 1.05; margin: 0; }
.stepper__body { color: var(--ink-2); margin: 0; max-width: 44ch; font-size: 18px; }
.stepper__title, .stepper__body { animation: stepIn .55s var(--ease) both; }
.stepper__body { animation-delay: .06s; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } }
.stepper__ca { display: flex; gap: 10px; align-items: center; background: var(--paper); border: 1px dashed var(--line-2); padding: 10px 12px; font-size: 13px; word-break: break-all; }
.stepper__ca .mono { flex: 1; min-width: 0; }
.stepper__ctrl { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }

/* roadmap */
.road { list-style: none; margin: 0; padding: 0; position: relative; max-width: 820px; }
.road::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.road::after { content: ""; position: absolute; left: 13px; top: 8px; width: 1px; height: calc(var(--p, 0) * (100% - 16px)); background: var(--accent-text); transition: height .2s linear; }
.road li { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0 16px 48px; border-bottom: 1px solid var(--line); font-size: clamp(18px, 2vw, 22px); font-weight: 600; letter-spacing: -0.02em; }
.road li::before { content: ""; position: absolute; left: 7px; top: 50%; width: 13px; height: 13px; margin-top: -6.5px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-2); z-index: 1; transition: background-color .4s, border-color .4s; }
.road li[data-status="done"]::before { background: var(--ink); border-color: var(--ink); }
.road li[data-status="live"]::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.chip { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; padding: 4px 10px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.chip--done { color: var(--ink); border-color: var(--ink); }
.chip--live { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }

/* faq */
.faq { max-width: 860px; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-size: clamp(18px, 2vw, 22px); font-weight: 600; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq summary:hover { color: var(--accent-text); }
.faq__a { overflow: hidden; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq details[open] .faq__a { grid-template-rows: 1fr; }
.faq__a > div { min-height: 0; }
.faq__a p { margin: 0; padding: 0 0 22px; color: var(--ink-2); max-width: 64ch; }

/* footer */
.footer { margin-top: 120px; border-top: 1px solid var(--ink); padding-block: 24px 40px; overflow: hidden; }
.footer__big {
  font-size: clamp(64px, 17vw, 240px); font-weight: 800; letter-spacing: -0.06em; line-height: .85; margin: 12px 0 32px;
  white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px var(--ink);
  background: linear-gradient(90deg, var(--accent-text) 0 50%, transparent 50% 100%) 100% 0 / 200% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
  transition: background-position 1.2s var(--ease);
}
.footer__big:hover, .footer__big.is-in { background-position: 0 0; }
.footer__row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.footer__ca { font-size: 13px; color: var(--ink-2); word-break: break-all; cursor: copy; }
.footer__ca:empty { display: none; }
.footer__links { display: flex; gap: 20px; font-size: 13px; }
.footer__links a { text-decoration: none; color: var(--ink-2); }
.footer__links a:hover { color: var(--accent-text); }
.footer__legal { font-size: 11.5px; color: var(--muted); max-width: 80ch; margin: 20px 0 0; line-height: 1.6; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80;
  transform: translate(-50%, 140%); opacity: 0;
  background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 13px;
  padding: 11px 16px; border-radius: var(--radius); max-width: calc(100vw - 32px);
  transition: transform .45s var(--ease), opacity .3s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* magnetic */
.magnetic { will-change: transform; }

/* ============ responsive ============ */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; gap: 24px; }
  .seal { width: min(62vw, 340px); order: -1; }
  .dock { grid-template-columns: 1fr; }
  .ledger { grid-template-columns: repeat(2, 1fr); }
  .ledger__cell { padding-left: 0 !important; border-right: 0; border-bottom: 1px dashed var(--line); }
  .ledger__cell:nth-child(2n) { padding-left: 16px !important; border-left: 1px dashed var(--line); }
  .ledger__cell:last-child { grid-column: 1 / -1; border-bottom: 0; border-left: 0; padding-left: 0 !important; }
  .about { grid-template-columns: 1fr; gap: 20px; }
  .stepper { grid-template-columns: 1fr; }
  .stepper__list { border-right: 0; border-bottom: 1px solid var(--line-2); display: grid; grid-template-columns: repeat(2, 1fr); }
  .stepper__list li { border-right: 1px solid var(--line); }
  .stepper__list button { padding: 14px 16px; font-size: 15px; }
  .chart__frame { min-height: 460px; aspect-ratio: auto; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding-top: 72px; }
  .slip { padding: 20px 16px 16px; }
  .slip__body { flex-direction: column; align-items: stretch; }
  .copy-btn { width: 100%; }
  .slip__links { margin-left: 0; }
  .xcard { padding: 20px 16px; }
  .stepper__screen { padding: 22px 16px 18px; min-height: 0; }
  .road li { padding-left: 40px; }
  .hero__ctas .btn { flex: 1; }
  .nav .btn--sm { padding: 0 12px; }
  .logo__name { max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .w > span { transform: none; }
}
