:root {
  --bg: #05070a;
  --bg-2: #070b11;
  --panel: rgba(255, 255, 255, 0.028);
  --panel-2: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(94, 234, 212, 0.28);
  --emerald: #5eead4;
  --emerald-deep: #10b981;
  --cyan: #22d3ee;
  --red: #ff6b6b;
  --white: #eaf3f0;
  --text: #c4d2ce;
  --mute: #7c8d8a;
  --grad: linear-gradient(120deg, #5eead4 0%, #22d3ee 55%, #6ea8fe 110%);
  --grad-soft: linear-gradient(120deg, rgba(94, 234, 212, 0.16), rgba(34, 211, 238, 0.16));
  --glow: 0 0 40px rgba(34, 211, 238, 0.28);
  --font-display: "Sora", system-ui, sans-serif;
  --font-ui: "Sora", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 18px;
  --maxw: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 1.02rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
strong { color: var(--white); font-weight: 600; }

/* ===== BACKDROP ===== */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(34, 211, 238, 0.10), transparent 60%),
    linear-gradient(180deg, #05070a 0%, #04060a 100%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 22s ease-in-out infinite;
}
.blob.b1 { width: 46vw; height: 46vw; left: -8vw; top: -6vw; background: radial-gradient(circle, rgba(16, 185, 129, 0.55), transparent 68%); }
.blob.b2 { width: 40vw; height: 40vw; right: -6vw; top: 8vw; background: radial-gradient(circle, rgba(34, 211, 238, 0.42), transparent 68%); animation-delay: -7s; }
.blob.b3 { width: 42vw; height: 42vw; left: 30vw; bottom: -14vw; background: radial-gradient(circle, rgba(110, 168, 254, 0.30), transparent 70%); animation-delay: -14s; }

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 75%);
}

/* ===== TOPBAR ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.topbar.scrolled {
  background: rgba(6, 9, 14, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
  background: transparent;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eqbar { transform-origin: center; }
.eqbar.top { animation: eqbalance 4s ease-in-out infinite; }
.eqbar.bot { animation: eqbalance 4s ease-in-out infinite reverse; }

.nav {
  display: flex;
  gap: 0.4rem;
  margin-left: auto;
  font-size: 0.9rem;
}
.nav a {
  color: var(--text);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a:hover { color: var(--white); background: var(--panel-2); }

.topbar-actions { display: flex; gap: 0.5rem; align-items: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn.solid {
  background: var(--grad);
  color: #04120f;
  box-shadow: 0 8px 26px rgba(34, 211, 238, 0.28);
}
.btn.solid:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(34, 211, 238, 0.42); }

.btn.outline {
  background: var(--panel);
  color: var(--white);
  border-color: var(--line);
  backdrop-filter: blur(6px);
}
.btn.outline:hover { border-color: var(--line-strong); background: var(--panel-2); transform: translateY(-2px); }

.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { color: var(--white); border-color: var(--line-strong); }

.btn.sm { padding: 0.5rem 0.95rem; font-size: 0.82rem; }
.btn.lg { padding: 1rem 2.1rem; font-size: 1.08rem; }

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 66px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.2rem, 4vw, 1.5rem) 4rem;
}
.hero-copy { max-width: 36rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 1.1rem;
}
.dot-live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.6);
  animation: livepulse 2s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8.5vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 1.4rem;
  color: var(--white);
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0 0 2rem;
  font-size: 1.12rem;
  color: var(--text);
  max-width: 34rem;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.5rem; }

.stat-strip {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.stat-strip li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  backdrop-filter: blur(6px);
  min-width: 108px;
}
.stat-strip strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
}
.stat-strip span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ===== HERO VISUAL ===== */
.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 440px; }

.balance-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.balance-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(94, 234, 212, 0.5), transparent 40%, transparent 70%, rgba(34, 211, 238, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.balance-head, .balance-foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.balance-head { justify-content: space-between; border-bottom: 1px solid var(--line); }
.balance-foot { justify-content: center; gap: 0.7rem; border-top: 1px solid var(--line); }
.balance-foot i { color: var(--line-strong); font-style: normal; }
.balance-foot .accent { color: var(--emerald); }
.accent { color: var(--emerald); }

.balance-stage { padding: 1.2rem 1rem 0.6rem; }
.balance-svg { width: 100%; height: auto; }
.beam { transform-origin: 160px 116px; animation: teeter 6s ease-in-out infinite; }
.orb { filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5)); }
.orb.a { animation: bob 6s ease-in-out infinite; }
.orb.b { animation: bob 6s ease-in-out infinite reverse; }
.orb-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  fill: #04120f;
}

.float-chip {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--white);
  background: rgba(8, 14, 20, 0.82);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.chip-1 { top: 8%; left: -6%; animation: floaty 5s ease-in-out infinite; }
.chip-2 { bottom: 12%; right: -5%; animation: floaty 5.5s ease-in-out infinite reverse; }

/* ===== SECTIONS ===== */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.2rem, 4vw, 1.5rem);
}
.section-head { margin-bottom: 2.75rem; max-width: 46rem; }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0.5rem 0 0.6rem;
}
.section-sub { color: var(--mute); font-family: var(--font-mono); font-size: 0.86rem; margin: 0; }

/* ===== METRICS ===== */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.metric {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 1.4rem 1.25rem 1.2rem;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.metric::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  opacity: 0.7;
}
.metric:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--panel-2); }
.metric-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}
.metric strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--white);
  flex: 1;
  display: flex;
  align-items: center;
  word-break: break-word;
}
.metric-src { font-family: var(--font-mono); font-size: 0.68rem; color: var(--emerald); opacity: 0.75; }

/* ===== SPLIT / TERMINAL / GRAPH ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.card-surface, .terminal, .graph-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.terminal-bar, .graph-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #22303a; }
.dots i:nth-child(1) { background: #ff6b6b; }
.dots i:nth-child(2) { background: #ffd166; }
.dots i:nth-child(3) { background: var(--emerald); }

.terminal-body {
  margin: 0;
  padding: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--emerald);
  line-height: 1.55;
  min-height: 220px;
  overflow: auto;
}
.blink { animation: blink 1s steps(1) infinite; color: var(--emerald); }

.trace-form { padding: 1rem; border-top: 1px solid var(--line); }
.trace-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--mute);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.trace-row { display: flex; gap: 0.5rem; }
.trace-row input {
  flex: 1;
  min-width: 0;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.7rem 0.85rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.trace-row input:focus { border-color: var(--line-strong); }

.graph-stage { padding: 0.5rem 0.5rem 0; }
.flow-svg { width: 100%; height: auto; }
.flow-line { animation: dash 1.4s linear infinite; }
.flow-line.delay { animation-delay: -0.7s; }
.node-t { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; fill: var(--white); }
.node-t.burn { fill: var(--red); }
.node-s { font-family: var(--font-mono); font-size: 8px; fill: var(--mute); }
.node circle { transition: filter 0.3s ease; }

.legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--mute);
  text-transform: uppercase;
  border-top: 1px solid var(--line);
}
.dot { display: inline-block; width: 9px; height: 9px; margin-right: 0.4rem; border-radius: 3px; background: var(--emerald); }
.dot.dead { background: #566; }
.dot.target { background: var(--red); }
.dot.contract { background: var(--cyan); }

/* ===== STEPS ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.steps article {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  background: var(--panel);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.steps article:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.steps .num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--emerald);
  letter-spacing: 0.1em;
}
.steps h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--white);
  margin: 0.5rem 0 0.5rem;
}
.steps p { margin: 0; color: var(--text); font-size: 0.95rem; }

/* ===== PATH ===== */
.path { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.path li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  background: linear-gradient(90deg, var(--grad-soft), transparent 70%);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.path li:hover { transform: translateX(6px); border-color: var(--line-strong); }
.path span {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--emerald);
  font-size: 0.95rem;
  min-width: 2ch;
}
.path p { margin: 0; color: var(--white); font-weight: 500; }

/* ===== CAPABILITIES ===== */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.7rem;
  background: var(--panel);
  min-height: 210px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.cap::after {
  content: "";
  position: absolute;
  width: 160px; height: 160px;
  right: -60px; top: -60px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cap:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4); }
.cap:hover::after { opacity: 1; }
.cap-ico {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
  color: var(--emerald);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.cap-id { display: block; font-family: var(--font-mono); font-size: 0.7rem; color: var(--emerald); letter-spacing: 0.14em; }
.cap h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; color: var(--white); margin: 0.4rem 0 0.6rem; }
.cap p { margin: 0; color: var(--text); font-size: 0.95rem; }

/* ===== TIERS + EMBLEM ===== */
.tiers-split { grid-template-columns: 1.25fr 0.75fr; align-items: stretch; }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; align-content: start; }
.tiers li {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.tiers li:hover { border-color: var(--line-strong); transform: translateX(4px); }
.tiers span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.5rem;
  text-align: center;
  border-radius: 8px;
}
.t1 span { background: rgba(94, 234, 212, 0.14); color: var(--emerald); }
.t2 span { background: rgba(34, 211, 238, 0.16); color: var(--cyan); }
.t3 span { background: rgba(255, 209, 102, 0.16); color: #ffd166; }
.t4 span { background: rgba(255, 149, 68, 0.16); color: #ff9944; }
.t5 span { background: rgba(255, 107, 107, 0.16); color: var(--red); }

.emblem-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: radial-gradient(circle at 50% 30%, rgba(34, 211, 238, 0.1), transparent 60%), var(--panel);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  gap: 1rem;
}
.emblem { width: 116px; height: 116px; filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.35)); }
.emblem-ring { transform-origin: 60px 60px; animation: spin 8s linear infinite; }
.emblem-logo {
  width: 132px;
  height: 132px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--glow), 0 0 0 1px rgba(94, 234, 212, 0.25);
}
.emblem-panel p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--white);
  margin: 0;
}

/* ===== TOKEN ===== */
.token-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.75rem; }
.token-table {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.token-table > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0.75rem;
  padding: 1.05rem 1.25rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.token-table > div:nth-child(2n) { border-right: 0; }
.token-table > div:nth-last-child(-n + 2) { border-bottom: 0; }
.token-table dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}
.token-table dd { margin: 0; font-weight: 600; color: var(--white); word-break: break-word; }

/* ===== FAQ ===== */
.faq { display: grid; gap: 0.75rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--white);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--emerald);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 1.35rem 1.3rem; color: var(--text); }

/* ===== FINALE ===== */
.cta-finale {
  text-align: center;
  max-width: var(--maxw);
  margin: 2rem auto 0;
  padding: clamp(4rem, 10vw, 7rem) 1.5rem;
  position: relative;
}
.finale-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0.5rem 0 1rem;
}
.cta-sub { color: var(--mute); font-family: var(--font-mono); font-size: 0.9rem; margin: 0 0 2rem; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--line);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem clamp(1.2rem, 4vw, 1.5rem);
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; margin-bottom: 1.75rem; }
.footer-brand { display: flex; align-items: center; gap: 0.85rem; }
.footer-brand .brand-mark { width: 40px; height: 40px; }
.footer-brand strong { display: block; font-family: var(--font-display); font-weight: 700; color: var(--white); }
.footer-brand span { font-family: var(--font-mono); font-size: 0.78rem; color: var(--mute); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem; font-family: var(--font-mono); font-size: 0.82rem; }
.footer-links a { color: var(--text); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--emerald); }
.disclaimer { color: var(--mute); font-size: 0.82rem; max-width: 72ch; line-height: 1.6; }
.copy { font-family: var(--font-mono); font-size: 0.74rem; color: var(--mute); margin-top: 1rem; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  z-index: 60;
  background: rgba(8, 14, 20, 0.92);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
  box-shadow: var(--glow);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast:not([hidden]) { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== REVEAL (progressive + robust: never hides without JS or with reduced motion) ===== */
.reveal { transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(24px); }
  html.js .reveal.in { opacity: 1; transform: none; }
}

/* ===== ANIMATIONS ===== */
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(4vw, 3vw) scale(1.08); }
  66% { transform: translate(-3vw, 2vw) scale(0.96); }
}
@keyframes livepulse {
  0% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(94, 234, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); }
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes teeter {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(4deg); }
  55% { transform: rotate(-3.2deg); }
  80% { transform: rotate(1.4deg); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(7px); }
  55% { transform: translateY(-6px); }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes dash { to { stroke-dashoffset: -28; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes eqbalance {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(2px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 2.5rem; min-height: auto; padding-top: 2.5rem; }
  .hero-visual { justify-self: center; margin-top: 0.5rem; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid, .steps { grid-template-columns: 1fr; }
  .split, .tiers-split { grid-template-columns: 1fr; }
  .token-table { grid-template-columns: 1fr; }
  .token-table > div { grid-template-columns: 130px 1fr; border-right: 0; }
  .token-table > div:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .token-table > div:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
  .topbar-actions .btn.ghost { display: none; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .float-chip { display: none; }
  .cap-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .token-table > div { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
