/* PYR4MID — styles */
@font-face {
  font-family: 'Geist';
  src: url('/fonts/geist/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/fonts/geist/GeistMono-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #000;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --faint: #6e6e73;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --glass: rgba(20, 20, 22, 0.58);
  --glass-2: rgba(255, 255, 255, 0.055);
  --accent: #e84125;
  --chapter: #d4502c;
  --accent-ink: #1a0603;
  --up: #4fd07f;
  --down: #ff6b63;
  --radius: 28px;
  --wrap: 1480px;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}
body.is-intro { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--accent-ink); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.small { font-size: 14px; line-height: 1.5; }
kbd {
  font-family: var(--mono); font-size: 11px; line-height: 1;
  padding: 3px 6px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--muted);
}

/* ── scene ─────────────────────────────────────────── */
#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; }
.scene-dim {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, rgba(0,0,0,0.55), #000);
  opacity: 0; transition: opacity 0.9s var(--ease);
}

/* ── cursor ────────────────────────────────────────── */
.cursor { position: fixed; left: 0; top: 0; z-index: 10000; pointer-events: none; display: none; }
body.has-cursor .cursor { display: block; }
body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor input, body.has-cursor textarea, body.has-cursor label, body.has-cursor summary, body.has-cursor [data-sort], body.has-cursor tr { cursor: none; }
.cursor-dot, .cursor-ring { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 6px; height: 6px; background: var(--accent); }
.cursor-ring {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.55);
  transition: width .35s var(--ease), height .35s var(--ease), border-color .35s, background-color .35s;
}
.cursor.is-hover .cursor-ring { width: 58px; height: 58px; border-color: var(--accent); background: rgba(232,65,37,0.08); }
.cursor.is-text .cursor-ring { width: 3px; height: 26px; border-radius: 2px; border-color: transparent; background: var(--text); }
.cursor.is-text .cursor-dot { opacity: 0; }
.cursor.is-down .cursor-ring { width: 26px; height: 26px; }

/* ── brand ─────────────────────────────────────────── */
.brand {
  position: fixed; top: 22px; left: var(--pad); z-index: 40;
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.02em; font-size: 19px;
  opacity: 0; transform: translateY(-8px); transition: opacity .8s var(--ease), transform .8s var(--ease);
}
body.is-site .brand { opacity: 1; transform: none; }
.brand-logo { height: 30px; width: auto; }

/* ── intro ─────────────────────────────────────────── */
.intro {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-items: end center;
  padding: 0 var(--pad) clamp(48px, 9vh, 110px);
  transition: opacity 1s var(--ease), visibility 0s linear 1s;
}
.intro.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-count {
  position: absolute; left: var(--pad); bottom: clamp(28px, 4vh, 44px);
  display: flex; align-items: baseline; gap: 8px; color: var(--muted); font-size: 14px;
  transition: opacity .6s;
}
.intro-count .mono:first-child { color: var(--text); font-size: 15px; }
.intro-sep { opacity: .4; }
.intro-label { margin-left: 6px; }
.intro.is-built .intro-count { opacity: 0; }
.intro-final { text-align: center; opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); pointer-events: none; }
.intro.is-built .intro-final { opacity: 1; transform: none; pointer-events: auto; }
.intro-kicker { margin: 0 0 6px; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--accent); }
.intro-title {
  margin: 0; font-weight: 650; font-size: clamp(64px, 11vw, 168px);
  line-height: .9; letter-spacing: -0.055em;
  background: linear-gradient(180deg, #fff 30%, #b9b2a6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.intro-sub { margin: 16px 0 34px; color: var(--muted); font-size: clamp(18px, 1.6vw, 22px); }
.btn-enter {
  position: relative; height: 64px; padding: 0 54px; border-radius: 999px;
  font-size: 18px; font-weight: 560; letter-spacing: -0.01em;
  color: var(--text); border: 1px solid rgba(232,65,37,.6);
  background: rgba(232,65,37,.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), box-shadow .4s;
}
.btn-enter:hover, .btn-enter:focus-visible { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 60px rgba(232,65,37,.35); outline: none; }
.btn-enter:active { transform: scale(.97); }
.intro-skip {
  position: absolute; right: var(--pad); bottom: clamp(28px, 4vh, 44px);
  font-size: 14px; color: var(--muted); padding: 8px 4px; transition: color .3s, opacity .6s;
}
.intro-skip:hover { color: var(--text); }
.intro.is-built .intro-skip { opacity: 0; pointer-events: none; }

/* ── site ──────────────────────────────────────────── */
#site { position: relative; z-index: 2; opacity: 0; transition: opacity 1.2s var(--ease) .2s; }
body.is-site #site { opacity: 1; }
body.is-intro #site { pointer-events: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(110px, 16vh, 190px) 0; }
.section-head { margin-bottom: clamp(40px, 6vh, 72px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 15px; font-weight: 520; color: var(--accent); letter-spacing: 0;
}
.title {
  margin: 0; font-weight: 640; font-size: clamp(42px, 5.4vw, 84px);
  line-height: 1.02; letter-spacing: -0.045em;
}
.title .muted { color: var(--faint); }
.lead { font-size: clamp(19px, 1.45vw, 23px); line-height: 1.5; color: var(--muted); max-width: 40ch; margin: 22px 0 0; letter-spacing: -0.01em; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(79,208,127,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79,208,127,.5); } 70% { box-shadow: 0 0 0 9px rgba(79,208,127,0); } 100% { box-shadow: 0 0 0 0 rgba(79,208,127,0); } }

.glass {
  background: var(--glass);
  background: color-mix(in srgb, var(--chapter) 7%, rgba(16, 16, 18, 0.6));
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding: 0 28px; border-radius: 999px;
  font-size: 17px; font-weight: 560; letter-spacing: -0.01em; white-space: nowrap;
  transition: background .3s var(--ease), color .3s, transform .3s var(--ease), opacity .3s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #e6bb66; }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-small { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ── hero ──────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 140px; }
.hero-copy { margin-left: 44%; max-width: 800px; }
.display {
  margin: 0; font-weight: 660; font-size: clamp(40px, 4.7vw, 80px);
  line-height: 1.0; letter-spacing: -0.05em;
}
.hero-sub {
  margin: 22px 0 0; font-size: clamp(22px, 2vw, 32px); font-weight: 580;
  letter-spacing: -0.03em; line-height: 1.2; color: var(--muted);
}
.hero-sub .accent { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.ca-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  height: 40px; padding: 0 14px 0 6px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--muted); font-size: 14px;
  transition: background .3s, color .3s;
}
.ca-pill:hover { background: rgba(255,255,255,.1); color: var(--text); }
.ca-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--text); }
.ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.invited { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.invited .mono { color: var(--accent); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 110px; width: 26px; height: 42px; margin-left: -13px;
  border: 1px solid var(--line-2); border-radius: 14px;
}
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-3px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ── statement ─────────────────────────────────────── */
.statement { min-height: 110vh; display: flex; align-items: center; padding: 20vh 0; }
.statement-text {
  margin: 0 auto; max-width: 24ch; text-align: center;
  font-size: clamp(32px, 4.2vw, 68px); line-height: 1.1; font-weight: 640; letter-spacing: -0.045em;
}
.statement-text .w { opacity: .16; transition: opacity .35s linear; }
.statement-text .w.lit { opacity: 1; }
.statement-text .w.gold { color: var(--accent); }

/* ── steps + tree ──────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 34px 34px 38px; position: relative; min-height: 340px; display: flex; flex-direction: column; }
.step:nth-child(2) { transition-delay: .08s; }
.step:nth-child(3) { transition-delay: .16s; }
.step-num { font-size: 14px; color: var(--faint); }
.step-ico { width: 52px; height: 52px; margin: 30px 0 auto; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { margin: 40px 0 10px; font-size: 30px; font-weight: 620; letter-spacing: -0.035em; line-height: 1.1; }
.step p { margin: 0; color: var(--muted); }
.tree { margin: 20px 0 0; padding: clamp(24px, 4vw, 48px); }
.tree svg { width: 100%; height: auto; display: block; }
.tree figcaption { text-align: center; color: var(--muted); margin-top: 18px; font-size: 16px; }
.tree .edge { stroke: rgba(255,255,255,.18); stroke-width: 1.2; fill: none; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.4s var(--ease); }
.tree .node { fill: #111; stroke: rgba(255,255,255,.35); stroke-width: 1.2; opacity: 0; transition: opacity .6s var(--ease); }
.tree .node.you { fill: var(--accent); stroke: var(--accent); }
.tree .lvl { fill: var(--faint); font-family: var(--mono); font-size: 13px; opacity: 0; transition: opacity .6s; }
.tree .you-label { fill: var(--accent-ink); font-size: 13px; font-weight: 600; font-family: var(--font); }
.tree.in .edge { stroke-dashoffset: 0; }
.tree.in .node, .tree.in .lvl { opacity: 1; }

/* ── features ──────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 90px); align-items: start; }
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-size: clamp(20px, 1.7vw, 25px); font-weight: 580; letter-spacing: -0.025em;
}
.acc summary::-webkit-details-marker { display: none; }
.chev { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.acc[open] .chev { transform: rotate(180deg); }
.acc-body { overflow: hidden; }
.acc-body p { margin: 0 0 26px; color: var(--muted); max-width: 52ch; }
.stats { padding: clamp(24px, 3vw, 40px); position: sticky; top: 100px; }
.stats-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.stats-head .eyebrow { margin: 0; }
.stats-updated { margin: 0; color: var(--faint); font-size: 13px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { background: var(--glass-2); border-radius: 20px; padding: 22px 22px 24px; min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; }
.stat-k { font-size: 14px; color: var(--muted); }
.stat-v { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: clamp(26px, 2.4vw, 38px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; margin-top: 14px; }
.stat-v.dim { color: var(--faint); }
.stat-sub { font-size: 13px; color: var(--faint); margin-top: 4px; font-family: var(--mono); }
.up { color: var(--up); }
.down { color: var(--down); }

/* ── calculator ────────────────────────────────────── */
.calc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 64px); padding: clamp(26px, 4vw, 56px); }
.field { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; min-width: 0; }
.field-label { font-size: 14px; color: var(--muted); font-weight: 500; display: flex; justify-content: space-between; gap: 8px; }
.field-label i { font-style: normal; color: var(--faint); font-weight: 400; }
.field-count { font-size: 12px; color: var(--faint); }
.field-error { font-size: 13px; color: var(--down); min-height: 0; }
.field-error:empty { display: none; }
input[type='text'], input[type='number'], input[type='search'], input:not([type]), textarea {
  width: 100%; height: 56px; padding: 0 18px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid transparent; outline: none;
  font-size: 17px; transition: border-color .25s, background .25s;
}
textarea { height: auto; padding: 16px 18px; resize: vertical; min-height: 96px; line-height: 1.5; }
input:focus, textarea:focus { border-color: rgba(232,65,37,.7); background: rgba(255,255,255,.08); }
input.invalid, textarea.invalid, .drop.invalid { border-color: rgba(255,107,99,.75); }
input::placeholder, textarea::placeholder { color: var(--faint); }
input[type='number']::-webkit-inner-spin-button { -webkit-appearance: none; }
.input-prefix { position: relative; display: flex; align-items: center; }
.input-prefix span { position: absolute; left: 18px; color: var(--faint); pointer-events: none; }
.input-prefix input { padding-left: 34px; }
.range-row { display: flex; align-items: center; gap: 18px; }
.range-val { font-size: 28px; min-width: 2.4ch; text-align: right; }
input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; }
input[type='range']::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--p, 10%), rgba(255,255,255,.14) var(--p, 10%)); }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.4); }
input[type='range']::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.14); }
input[type='range']::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--accent); }
input[type='range']::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; }
.calc-note { color: var(--faint); font-size: 14px; margin: 8px 0 0; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.calc-stat { background: var(--glass-2); border-radius: 20px; padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.calc-wide { grid-column: 1 / -1; }
.calc-k { font-size: 14px; color: var(--muted); }
.calc-v { font-size: clamp(30px, 3vw, 48px); letter-spacing: -0.045em; line-height: 1.05; }
.calc-sub { font-family: var(--mono); font-size: 15px; color: var(--text); }
.calc-sub.over { color: var(--down); }
.bar { height: 10px; border-radius: 10px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 10px; transition: width .6s var(--ease), background .3s; }
.bar span.over { background: var(--down); }

/* ── referral ──────────────────────────────────────── */
.link-grid { display: grid; grid-template-columns: 1fr minmax(0, 640px); gap: clamp(32px, 5vw, 90px); align-items: center; }
.link-card { padding: clamp(26px, 3.4vw, 44px); }
.ref-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.ref-top .field-label { margin: 0 0 4px; }
.ref-wallet { margin: 0; font-size: 15px; color: var(--muted); }
.badge { font-size: 13px; font-weight: 560; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--muted); white-space: nowrap; }
.badge.ok { background: rgba(79,208,127,.14); color: var(--up); }
.ref-linkbox { display: flex; gap: 10px; align-items: center; }
.ref-linkbox input { font-size: 15px; color: var(--accent); }
.ref-mini { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 30px 0 26px; position: relative; }
.mini-row { display: flex; gap: 56px; }
.mini-node {
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 560;
  border: 1px dashed var(--line-2); color: var(--faint);
}
.mini-node.you { border: 0; background: var(--accent); color: var(--accent-ink); }
.mini-node.filled { border: 1px solid var(--up); color: var(--up); background: rgba(79,208,127,.08); }
.ref-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.ref-stats > div { background: var(--glass-2); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.ref-stats .mono { font-size: 22px; }
.ref-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ref-actions .btn { flex: 1 1 auto; }

/* ── market pyr4mid ────────────────────────────────── */
.mpyr { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 48px; }
.mpyr-row { display: flex; gap: 10px; justify-content: center; width: 100%; }
.mtile {
  width: min(232px, 23%); padding: 14px 16px; text-align: left;
  display: flex; align-items: center; gap: 12px;
  transition: transform .4s var(--ease), border-color .3s, background .3s;
}
.mtile:hover { transform: translateY(-3px); border-color: var(--line-2); background: rgba(34,34,36,.7); }
.mtile.top { border-color: rgba(232,65,37,.55); box-shadow: 0 0 50px rgba(232,65,37,.12); }
.mtile-info { min-width: 0; display: flex; flex-direction: column; }
.mtile-sym { font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtile-cap { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.mtile-ch { font-family: var(--mono); font-size: 12px; }
.tok-img { width: 38px; height: 38px; border-radius: 11px; object-fit: cover; flex: none; background: #1c1c1e; }
.tok-fallback { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; background: #1c1c1e; color: var(--muted); font-size: 14px; font-weight: 600; }

/* ── board ─────────────────────────────────────────── */
.board-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.tab { height: 42px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 540; color: var(--muted); transition: background .3s, color .3s; }
.tab[aria-selected='true'] { background: rgba(255,255,255,.12); color: var(--text); }
.board-tools { display: flex; align-items: center; gap: 16px; }
.board-tools input { height: 48px; width: 280px; font-size: 15px; }
.board-updated { font-size: 13px; color: var(--faint); white-space: nowrap; }
.board { overflow: hidden; }
.board-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.board-table th {
  text-align: right; font-weight: 500; font-size: 13px; color: var(--faint);
  padding: 18px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; user-select: none;
}
.board-table th[data-sort] { cursor: pointer; }
.board-table th[data-sort]:hover { color: var(--text); }
.board-table th.is-sorted { color: var(--text); }
.board-table th.is-sorted::after { content: ' ↓'; }
.board-table th.is-sorted.asc::after { content: ' ↑'; }
.board-table td { padding: 14px 18px; text-align: right; border-bottom: 1px solid rgba(255,255,255,.05); font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 15px; white-space: nowrap; }
.board-table tbody tr { transition: background .2s; cursor: pointer; }
.board-table tbody tr:hover { background: rgba(255,255,255,.04); }
.board-table tbody tr:last-child td { border-bottom: 0; }
.c-rank { width: 56px; text-align: center !important; color: var(--faint); }
.board-table td.c-rank { color: var(--faint); }
.c-token, .board-table td.c-token { text-align: left !important; }
.tok { display: flex; align-items: center; gap: 14px; font-family: var(--font); }
.tok-name { font-weight: 560; font-size: 16px; letter-spacing: -0.01em; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.tok-sym { font-size: 13px; color: var(--muted); font-family: var(--mono); }
.board-empty { padding: 60px 20px; text-align: center; color: var(--muted); margin: 0; }
.sk { display: inline-block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.12), rgba(255,255,255,.05)); background-size: 200% 100%; animation: sk 1.4s infinite; }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ── launch ────────────────────────────────────────── */
.launch-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 20px; align-items: start; }
.launch-form { padding: clamp(24px, 3.4vw, 44px); }
.form-row { display: grid; gap: 16px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.drop {
  position: relative; display: flex; align-items: center; gap: 20px; min-height: 112px; padding: 18px;
  border-radius: 16px; border: 1px dashed var(--line-2); background: rgba(255,255,255,.03);
  transition: border-color .25s, background .25s;
}
.drop:hover, .drop.drag { border-color: var(--accent); background: rgba(232,65,37,.05); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop img { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; }
.drop-text { color: var(--muted); font-size: 16px; line-height: 1.45; }
.drop-text small { color: var(--faint); font-size: 13px; }
.check { display: flex; gap: 14px; align-items: flex-start; margin: 8px 0 6px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; flex: none; margin: 1px 0 0; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { content: ''; width: 10px; height: 6px; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(-45deg) translate(1px, -1px); }
.check input.invalid { border-color: var(--down); }
.form-error { color: var(--down); font-size: 15px; margin: 4px 0 14px; }
.launch-form .btn-block { margin-top: 18px; }
.launch-side { position: sticky; top: 100px; }
.launch-side > .field-label { margin: 0 0 12px; }
.preview { padding: 28px; }
.pv-head { display: flex; gap: 16px; align-items: center; }
.pv-img { width: 72px; height: 72px; border-radius: 18px; background: #1c1c1e; overflow: hidden; display: grid; place-items: center; flex: none; font-size: 26px; font-weight: 600; color: var(--muted); }
.pv-img img { width: 100%; height: 100%; object-fit: cover; }
.pv-name { margin: 0; font-size: 26px; font-weight: 620; letter-spacing: -0.03em; line-height: 1.15; word-break: break-word; }
.pv-sym { margin: 2px 0 0; color: var(--accent); font-size: 15px; }
.pv-desc { color: var(--muted); margin: 20px 0; min-height: 3em; word-break: break-word; }
.pv-meta { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--faint); font-family: var(--mono); }
.confirm { padding: 34px; margin-top: 16px; }
.confirm-ico { width: 52px; height: 52px; fill: none; stroke: var(--up); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.confirm h3 { font-size: 28px; letter-spacing: -0.03em; margin: 18px 0 4px; font-weight: 620; }
.confirm .muted { margin: 0 0 22px; }
.confirm .mono { color: var(--text); }
.confirm-list { margin: 0 0 24px; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 15px; }
.confirm-list dt { color: var(--faint); }
.confirm-list dd { margin: 0; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── faq / footer ──────────────────────────────────── */
.faq-wrap { max-width: 1000px; }
.faq { border-top: 1px solid var(--line); }
.footer { position: relative; padding: 70px 0 150px; border-top: 1px solid var(--line); background: rgba(0,0,0,.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand { font-size: 24px; font-weight: 640; letter-spacing: -0.03em; margin: 0 0 8px; }
.footer-grid .muted { max-width: 52ch; margin: 0; }
.footer-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-links .ca-pill { margin: 0; }
.footer-link { color: var(--muted); font-size: 15px; transition: color .3s; }
.footer-link:hover { color: var(--text); }

/* ── dock ──────────────────────────────────────────── */
.dock {
  position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 50;
  display: flex; align-items: center; gap: 6px; padding: 7px;
  border-radius: 999px; background: rgba(18,18,20,.66);
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform 1s var(--ease) .5s, opacity 1s var(--ease) .5s;
}
body.is-site .dock { transform: translate(-50%, 0); opacity: 1; }
.dock-tri { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.06); }
.dock-tri svg { width: 24px; height: 21px; overflow: visible; }
.dock-tri rect { fill: var(--accent); }
.tri-line { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.4; stroke-linejoin: round; }
.dock-links { position: relative; display: flex; }
.dock-link { position: relative; z-index: 1; height: 50px; padding: 0 18px; display: grid; place-items: center; font-size: 15px; font-weight: 530; color: var(--muted); transition: color .3s; border-radius: 999px; }
.dock-link:hover, .dock-link.active { color: var(--text); }
.dock-ind { position: absolute; top: 0; left: 0; height: 50px; border-radius: 999px; background: rgba(255,255,255,.1); transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; opacity: 0; }
.dock-buy { height: 50px; padding: 0 22px; display: grid; place-items: center; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 15px; font-weight: 600; }
.dock-menu { height: 50px; padding: 0 16px 0 20px; display: flex; align-items: center; gap: 10px; border-radius: 999px; font-size: 15px; font-weight: 530; background: rgba(255,255,255,.06); }
.dock-menu:hover { background: rgba(255,255,255,.12); }

/* ── menu overlay ──────────────────────────────────── */
.menu {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,.74); -webkit-backdrop-filter: blur(34px) saturate(140%); backdrop-filter: blur(34px) saturate(140%);
  display: flex; align-items: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .55s var(--ease), visibility 0s linear .55s;
}
.menu.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .55s var(--ease); }
.menu-close { position: absolute; top: 22px; right: var(--pad); width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); z-index: 2; transition: background .3s; }
.menu-close:hover { background: rgba(255,255,255,.16); }
.menu-close svg { width: 22px; height: 22px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; }
.menu-list { list-style: none; padding: 0; margin: 0 0 56px; counter-reset: m; }
.menu-list li { overflow: hidden; }
.menu-list a {
  display: flex; align-items: baseline; gap: 22px; padding: 6px 0;
  font-size: clamp(42px, 6.4vw, 92px); font-weight: 640; letter-spacing: -0.05em; line-height: 1.04;
  color: var(--muted); transform: translateY(105%); transition: transform .8s var(--ease), color .3s;
}
.menu-list a .mono { font-size: 15px; letter-spacing: 0; color: var(--faint); font-weight: 400; }
.menu-list a:hover { color: var(--text); }
.menu-list a:hover .mono { color: var(--accent); }
.menu.open .menu-list a { transform: none; }
.menu-foot { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.menu-foot .ca-pill { margin: 0; }

/* ── coin sheet ────────────────────────────────────── */
.sheet { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; transition: visibility 0s linear .6s; }
.sheet.open { visibility: visible; pointer-events: auto; transition: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transition: opacity .5s var(--ease); }
.sheet.open .sheet-backdrop { opacity: 1; }
.sheet-panel {
  position: absolute; left: 50%; bottom: 0; width: min(1180px, 100%); height: min(92vh, 1100px);
  transform: translate(-50%, 104%); transition: transform .6s var(--ease);
  background: #0c0c0d; border: 1px solid var(--line); border-bottom: 0; border-radius: 30px 30px 0 0;
  overflow: hidden; display: flex; flex-direction: column;
}
.sheet.open .sheet-panel { transform: translate(-50%, 0); }
.sheet-panel .menu-close { top: 20px; right: 20px; }
.sheet-body { overflow-y: auto; padding: clamp(24px, 4vw, 52px); padding-bottom: 60px; overscroll-behavior: contain; }
.coin-head { display: flex; align-items: center; gap: 20px; padding-right: 60px; }
.coin-head .tok-img, .coin-head .tok-fallback { width: 72px; height: 72px; border-radius: 20px; font-size: 24px; }
.coin-name { margin: 0; font-size: clamp(30px, 3.4vw, 46px); font-weight: 640; letter-spacing: -0.045em; line-height: 1.05; }
.coin-sym { color: var(--muted); font-family: var(--mono); font-size: 15px; margin-top: 4px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.coin-addr { color: var(--faint); transition: color .2s; }
.coin-addr:hover { color: var(--text); }
.coin-price { display: flex; align-items: baseline; gap: 16px; margin: 34px 0 6px; flex-wrap: wrap; }
.coin-price .big { font-family: var(--mono); font-size: clamp(40px, 5vw, 68px); letter-spacing: -0.05em; line-height: 1; }
.coin-price .chg { font-family: var(--mono); font-size: 20px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 28px; }
.chip { font-family: var(--mono); font-size: 13px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); }
.chip b { font-weight: 500; margin-left: 6px; }
.coin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.coin-grid .stat { min-height: 112px; }
.coin-grid .stat-v { font-size: clamp(22px, 2vw, 30px); }
.bs { display: flex; height: 6px; border-radius: 6px; overflow: hidden; margin-top: 12px; background: rgba(255,255,255,.08); }
.bs i { display: block; height: 100%; background: var(--up); }
.bs i + i { background: var(--down); }
.coin-chart { margin-top: 22px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); height: 480px; background: #0a0a0a; }
.coin-chart iframe { width: 100%; height: 100%; border: 0; display: block; }
.coin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.coin-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 20px; }
.coin-error { padding: 80px 0; text-align: center; color: var(--muted); }

/* ── section panels (every chapter sits on frosted glass) ── */
.panel {
  padding: clamp(28px, 4.2vw, 68px);
  border-radius: 36px;
  background: color-mix(in srgb, var(--chapter) 6%, rgba(10, 10, 12, 0.56));
  -webkit-backdrop-filter: blur(26px) saturate(140%);
  backdrop-filter: blur(26px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
}
.panel .glass {
  background: rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-color: rgba(255, 255, 255, 0.07);
}
.panel .glass.mtile:hover { background: rgba(255, 255, 255, 0.07); }
.panel .section-head:last-child { margin-bottom: 0; }
.statement .panel { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 6vw, 96px) clamp(28px, 5vw, 80px); }
.faq-wrap.panel { max-width: 1000px; margin: 0 auto; }
.hero-copy.panel { padding: clamp(28px, 3.4vw, 52px); }
.panel .stats { top: 120px; }

/* ── chapters ──────────────────────────────────────── */
.chapter-ind {
  position: fixed; top: 26px; right: var(--pad); z-index: 40;
  display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted);
  opacity: 0; transform: translateY(-8px); transition: opacity .8s var(--ease) .4s, transform .8s var(--ease) .4s;
  pointer-events: none;
}
body.is-site .chapter-ind { opacity: 1; transform: none; }
.ch-clip { display: inline-block; overflow: hidden; line-height: 1.3; }
.ch-clip > span { display: inline-block; }
.ch-num { color: var(--chapter); transition: color 1.2s; min-width: 3ch; text-align: right; }
.ch-line { width: 28px; height: 1px; background: currentColor; opacity: .4; }
.chapter-tag { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 13px; color: var(--muted); letter-spacing: .01em; }
.chapter-tag .mono { color: var(--chapter); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; transition: color 1.2s; }
.chapter-rule { width: 36px; height: 1px; background: currentColor; opacity: .35; }
.statement .chapter-tag { justify-content: center; margin-bottom: 34px; }
.scene-dim { background: radial-gradient(120% 90% at 50% 45%, rgba(0,0,0,0.35), rgba(0,0,0,0.92)); }

/* ── GSAP-driven reveals ───────────────────────────── */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line-in { display: inline-block; will-change: transform; }
.has-gsap [data-reveal] { opacity: 1; transform: none; transition: none; }
.has-gsap .statement { min-height: 100vh; padding: 0; }
.has-gsap .statement-text .w { transition: none; }
.sheet iframe { pointer-events: auto !important; }
@media (max-width: 760px) { .chapter-ind .ch-title, .chapter-ind .ch-line { display: none; } }

/* ── toast ─────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 110px; z-index: 120;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 999px; background: rgba(40,40,42,.92); border: 1px solid var(--line);
  font-size: 15px; transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── responsive ────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-copy { margin-left: 30%; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step-ico { margin: 24px 0 0; }
  .step h3 { margin-top: 24px; }
  .features-grid, .link-grid, .launch-grid, .calc { grid-template-columns: 1fr; }
  .stats, .launch-side { position: static; }
  .dock-link { padding: 0 13px; }
  .c-hide-m { display: none; }
  .coin-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .panel { border-radius: 26px; padding: 24px 20px; }
  .statement .panel { padding: 36px 22px; }
  .hero { align-items: flex-end; padding-bottom: 150px; }
  .hero-copy { margin-left: 0; }
  .scroll-cue { display: none; }
  .dock-links { display: none; }
  .form-row.two, .form-row.three { grid-template-columns: 1fr; gap: 0; }
  .calc-out { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px; min-height: 112px; }
  .c-hide-s { display: none; }
  .board-table th, .board-table td { padding: 12px 10px; }
  .board-table td { font-size: 14px; }
  .tok-name { max-width: 110px; }
  .tok .tok-img, .tok .tok-fallback { width: 32px; height: 32px; }
  .board-tools { width: 100%; }
  .board-tools input { width: 100%; }
  .tabs { width: 100%; overflow-x: auto; }
  .mtile { width: 31%; padding: 10px; gap: 8px; flex-direction: column; align-items: flex-start; }
  .mpyr-row:nth-child(4) { display: none; }
  .mtile .tok-img, .mtile .tok-fallback { width: 30px; height: 30px; }
  .ref-stats { grid-template-columns: 1fr 1fr 1fr; }
  .ref-stats .mono { font-size: 18px; }
  .coin-chart { height: 380px; }
  .intro-count .intro-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ── Referral: airdrop points + note ── */
.ref-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; counter-reset: rp; }
.ref-points li { counter-increment: rp; display: flex; align-items: center; gap: 14px; font-size: 18px; line-height: 1.45; color: var(--muted); }
.ref-points li::before {
  content: counter(rp, decimal-leading-zero);
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px;
  border: 1px solid var(--accent); color: var(--accent);
}
.ref-note { margin: 12px 0 0; text-align: center; }
