@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dmsans.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geistmono.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #04181c;
  --bg-deep: #020e11;
  --surface: rgba(232, 238, 240, 0.035);
  --surface-2: rgba(232, 238, 240, 0.06);
  --line: rgba(232, 238, 240, 0.08);
  --line-2: rgba(232, 238, 240, 0.14);
  --text: #f8f7f4;
  --muted: #9bb0b4;
  --dim: #637a7f;
  --cyan: #34b7dd;
  --cyan-soft: #93d9ee;
  --teal: #2d7388;
  --mint: #6fe3c0;
  --warm: #cac0ad;
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1120px;
  --pad: clamp(20px, 5vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background: var(--bg-deep);
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(45, 115, 136, 0.28), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(52, 183, 221, 0.35); color: #fff; }

.mono { font-family: var(--mono); font-feature-settings: "tnum" 1, "zero" 1; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 600; transition: top 0.2s; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.25s, color 0.2s, opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn--sm { --h: 36px; padding: 0 16px; font-size: 14px; }
.btn--light { background: var(--text); color: #061a1f; box-shadow: 0 8px 30px -8px rgba(147, 217, 238, 0.45); }
.btn--light:hover { background: #fff; box-shadow: 0 10px 40px -6px rgba(147, 217, 238, 0.6); }
.btn--ghost { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: rgba(232, 238, 240, 0.1); }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(3, 17, 20, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; height: 64px;
  padding: 0 var(--pad); display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; font-size: 17px; }
.brand__mark { width: 28px; height: 28px; flex: none; }
.nav__links { display: flex; gap: 4px; margin: 0 auto; }
.nav__links a { padding: 8px 12px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color 0.2s, background-color 0.2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: var(--surface-2); }
.nav__end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav__links + .nav__end { margin-left: 0; }

.sync { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--dim); font-family: var(--mono); white-space: nowrap; }
.sync i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); flex: none; }
.sync.is-live i { background: var(--mint); box-shadow: 0 0 0 0 rgba(111, 227, 192, 0.6); animation: ping 2.4s var(--ease) infinite; }
.sync.is-stale i { background: #e6b86f; }

.nav__toggle { display: none; width: 40px; height: 40px; border-radius: 50%; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.6px; border-radius: 2px; background: var(--text); transition: transform 0.3s var(--ease); }
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 23px; }
.nav.is-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.sheet { padding: 8px var(--pad) 24px; }
.sheet nav { display: grid; }
.sheet a { padding: 14px 4px; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  padding: calc(112px + env(safe-area-inset-top)) var(--pad) 40px;
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden;
}
.hero__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stars {
  position: absolute; inset: 0 0 30%;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(1px 1px at 28% 62%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.4px 1.4px at 41% 12%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1px 1px at 57% 40%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.2px 1.2px at 69% 22%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 83% 55%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 91% 14%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(1px 1px at 6% 48%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 35% 32%, rgba(147,217,238,.6), transparent 60%),
    radial-gradient(1px 1px at 76% 70%, rgba(147,217,238,.5), transparent 60%);
  background-size: 620px 420px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  opacity: 0.8;
}
.horizon {
  position: absolute; left: 50%; top: 54%; z-index: -1;
  width: max(2000px, 190vw); aspect-ratio: 1; border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, #04161a 97%, rgba(4, 22, 26, 0));
  box-shadow:
    0 -1px 0 rgba(147, 217, 238, 0.55),
    0 -24px 80px -10px rgba(52, 183, 221, 0.38),
    0 -120px 220px -40px rgba(45, 115, 136, 0.45);
}
.horizon::after {
  content: ""; position: absolute; left: 50%; top: -1px; width: 38%; height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(220, 245, 255, 0.95), transparent);
  filter: blur(0.5px);
}

.hero__copy { position: relative; z-index: 2; width: 100%; max-width: 760px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px 0 12px;
  border-radius: 999px; font-family: var(--mono); font-size: 12px; color: var(--cyan-soft);
  background: rgba(52, 183, 221, 0.08); box-shadow: inset 0 0 0 1px rgba(52, 183, 221, 0.25);
}
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.pill.is-live i { background: var(--mint); animation: ping 2.4s var(--ease) infinite; }
.hero__title {
  margin-top: 22px;
  font-size: clamp(44px, 8.6vw, 104px); line-height: 0.98; font-weight: 600; letter-spacing: -0.045em;
  background: linear-gradient(180deg, #ffffff 30%, #b8d3d9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-wrap: balance;
}
.hero__title span {
  background: linear-gradient(100deg, #e9f8fd 0%, var(--cyan-soft) 45%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede { margin-top: 22px; max-width: 560px; font-size: clamp(17px, 2.1vw, 21px); line-height: 1.45; color: var(--muted); text-wrap: balance; }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ca {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  height: 38px; padding: 0 8px 0 6px; border-radius: 999px; color: var(--muted);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: color 0.2s, background-color 0.2s;
}
.ca:hover { color: var(--text); background: var(--surface-2); }
.ca__label { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; padding: 4px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text); }
.ca__value { min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca svg { width: 18px; height: 18px; flex: none; }

/* orbit */
.orbit {
  --ow: min(780px, 96vw);
  --s: 0.34;
  --node: 52px;
  --spin: 60s;
  position: relative; z-index: 1;
  width: var(--ow); height: calc(var(--ow) * 0.42);
  margin-top: clamp(16px, 4vw, 40px);
  flex: none;
}
.orbit__plane {
  position: absolute; left: 50%; top: 50%;
  width: var(--ow); height: var(--ow);
  margin: calc(var(--ow) / -2) 0 0 calc(var(--ow) / -2);
  transform: scaleY(var(--s));
}
.orbit__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(147, 217, 238, 0.28);
  box-shadow: 0 0 40px rgba(52, 183, 221, 0.12), inset 0 0 40px rgba(52, 183, 221, 0.08);
}
.orbit__ring--b { inset: 19%; border-color: rgba(147, 217, 238, 0.14); box-shadow: none; }
.orbit__arm {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  animation: arm var(--spin) linear infinite;
}
.orbit__arm[data-i="0"] { --a: -90deg; }
.orbit__arm[data-i="1"] { --a: -18deg; }
.orbit__arm[data-i="2"] { --a: 54deg; }
.orbit__arm[data-i="3"] { --a: 126deg; }
.orbit__arm[data-i="4"] { --a: 198deg; }
.orbit__node {
  position: absolute; left: calc(var(--ow) / 2); top: 0;
  width: var(--node); height: var(--node);
  margin: calc(var(--node) / -2) 0 0 calc(var(--node) / -2);
  display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(147, 217, 238, 0.35), rgba(8, 40, 48, 0.9) 70%);
  box-shadow: inset 0 0 0 1px rgba(147, 217, 238, 0.45), 0 8px 30px -6px rgba(52, 183, 221, 0.55);
  animation: node var(--spin) linear infinite;
  will-change: transform;
}
.orbit__node b { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--text); letter-spacing: -0.02em; max-width: 92%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orbit__core {
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--ow) * 0.17); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 38% 32%, #ffffff 0%, #dff4fb 28%, #6fcde8 62%, #1e4d5a 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 60px 6px rgba(52, 183, 221, 0.45), 0 0 140px 30px rgba(45, 115, 136, 0.35);
  animation: breathe 6s ease-in-out infinite;
}
.orbit__core span { font-family: var(--mono); font-size: clamp(9px, 1.5vw, 13px); font-weight: 500; color: #052026; letter-spacing: -0.02em; }
.orbit.is-paused .orbit__arm, .orbit.is-paused .orbit__node, .orbit.is-paused .orbit__core { animation-play-state: paused; }

@keyframes arm { from { transform: rotate(var(--a)); } to { transform: rotate(calc(var(--a) + 360deg)); } }
@keyframes node {
  from { transform: rotate(calc(var(--a) * -1)) scaleY(calc(1 / var(--s))); }
  to { transform: rotate(calc(var(--a) * -1 - 360deg)) scaleY(calc(1 / var(--s))); }
}
@keyframes breathe { 50% { box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 0 80px 10px rgba(52,183,221,.55), 0 0 170px 40px rgba(45,115,136,.4); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(111, 227, 192, 0.55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(111, 227, 192, 0); } }

/* hero stats */
.stats {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--wrap); margin-top: auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius); overflow: hidden;
  background: rgba(4, 24, 28, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.stat { padding: 22px 24px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stat + .stat { box-shadow: -1px 0 0 var(--line); }
.stat dt { font-size: 13px; color: var(--muted); }
.stat dd { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.stat small { font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- sections ---------- */
.section { position: relative; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: clamp(96px, 13vw, 168px) var(--pad) 0; }
.section--tight { padding-top: clamp(80px, 10vw, 128px); }
.section:last-of-type { padding-bottom: clamp(96px, 12vw, 160px); }
.head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.head--left { margin: 0; text-align: left; }
.eyebrow { font-family: var(--mono); font-size: 13px; color: var(--cyan); letter-spacing: 0.02em; }
.head h2 {
  margin-top: 12px; font-size: clamp(34px, 5.6vw, 64px); line-height: 1.04; font-weight: 600; letter-spacing: -0.04em;
  background: linear-gradient(180deg, #ffffff 40%, #b8d3d9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-wrap: balance;
}
.lede { margin-top: 16px; font-size: clamp(16px, 1.8vw, 19px); color: var(--muted); line-height: 1.5; text-wrap: pretty; }
.head .lede { max-width: 600px; margin-left: auto; margin-right: auto; }
.head--left .lede { margin-left: 0; }

.split > *, .treasury > *, .token > *, .spot > *, .wheel > *, .res > *, .round__body > * { min-width: 0; }
.card {
  position: relative; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(232, 238, 240, 0.05), rgba(232, 238, 240, 0.02));
  box-shadow: inset 0 0 0 1px var(--line);
}
.card__title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.card__foot { margin-top: 18px; font-size: 13px; color: var(--dim); line-height: 1.5; }
.card__foot a { color: var(--cyan-soft); text-decoration: underline; text-decoration-color: rgba(147, 217, 238, 0.35); text-underline-offset: 3px; }

.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(28px); }

/* ---------- flywheel ---------- */
.wheel { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s; }
.wheel::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 81px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 183, 221, 0.5), rgba(52, 183, 221, 0.5), transparent);
}
.wheel__step {
  position: relative; padding: 26px 22px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(232, 238, 240, 0.05), rgba(232, 238, 240, 0.015));
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.wheel__step:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(52, 183, 221, 0.35), 0 20px 50px -24px rgba(52, 183, 221, 0.45); }
.wheel__n { font-size: 12px; color: var(--dim); }
.wheel__step svg {
  width: 44px; height: 44px; margin: 14px 0 18px; padding: 11px; border-radius: 14px; color: var(--cyan-soft);
  background: rgba(52, 183, 221, 0.1); box-shadow: inset 0 0 0 1px rgba(52, 183, 221, 0.25);
  position: relative; z-index: 1;
}
.wheel__step h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.wheel__step p { margin-top: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.loop { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; font-size: 14px; color: var(--muted); }
.loop span { padding: 6px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.loop i { width: 18px; height: 1px; background: rgba(52, 183, 221, 0.6); position: relative; }
.loop i::after { content: ""; position: absolute; right: -1px; top: -3px; border: 3.5px solid transparent; border-left: 5px solid rgba(52, 183, 221, 0.8); border-right: 0; }

/* ---------- tax ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.calc { padding: clamp(20px, 3vw, 32px); }
.calc__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.25); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { height: 34px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color 0.2s, background-color 0.25s; }
.seg button[aria-checked="true"] { background: var(--text); color: #061a1f; }
.calc__input { display: flex; align-items: baseline; gap: 4px; min-width: 0; }
.calc__cur { font-size: clamp(26px, 3.4vw, 38px); color: var(--dim); font-weight: 500; }
.calc__input input {
  width: 6.5ch; min-width: 0; background: none; border: 0; outline: 0; text-align: right;
  font-size: clamp(32px, 4.4vw, 48px); font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.calc__input input:focus { border-bottom-color: var(--cyan); }
.presets { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; justify-content: flex-end; }
.presets button { height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-family: var(--mono); color: var(--muted); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: color 0.2s, background-color 0.2s; }
.presets button:hover, .presets button.is-on { color: var(--text); background: var(--surface-2); }
.bar { display: flex; height: 12px; margin: 26px 0 8px; border-radius: 999px; overflow: hidden; background: var(--surface); gap: 2px; }
.bar span { height: 100%; flex: none; width: var(--w, 0%); transition: width 0.6s var(--ease); }
.bar__keep { background: linear-gradient(90deg, #1e4d5a, var(--teal)); }
.bar__fly { background: var(--cyan); box-shadow: 0 0 18px rgba(52, 183, 221, 0.7); }
.bar__plat { background: var(--warm); }
.calc__rows li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.calc__rows li:last-child { border-bottom: 0; }
.calc__rows b { margin-left: auto; font-weight: 500; font-size: 15px; }
.calc__rows .muted b { color: var(--dim); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--dim); }
.dot--keep { background: var(--teal); }
.dot--fly { background: var(--cyan); box-shadow: 0 0 10px rgba(52, 183, 221, 0.8); }
.dot--plat { background: var(--warm); }
.calc__note { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 13px; color: var(--muted); background: rgba(0, 0, 0, 0.2); font-family: var(--mono); line-height: 1.5; }

/* ---------- spotlight ---------- */
.spotlight { padding: clamp(24px, 4vw, 44px); overflow: hidden; }
.spotlight::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52, 183, 221, 0.18), transparent); pointer-events: none;
}
.spotlight__empty { display: grid; justify-items: center; gap: 18px; padding: 28px 0; text-align: center; color: var(--muted); max-width: 460px; margin: 0 auto; }
.pulse { width: 14px; height: 14px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(52, 183, 221, 0.5); animation: ring 2.2s var(--ease) infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(52, 183, 221, 0.5); } 100% { box-shadow: 0 0 0 26px rgba(52, 183, 221, 0); } }
.spot { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.spot__round { font-family: var(--mono); font-size: 13px; color: var(--cyan); }
.spot__value { margin-top: 10px; font-size: clamp(44px, 7vw, 76px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.spot__when { margin-top: 12px; color: var(--muted); font-size: 16px; }
.spot__when b { color: var(--text); font-weight: 600; }
.spot__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; color: var(--muted); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.chip b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.spot__tokens { display: grid; gap: 10px; }
.tok { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(0, 0, 0, 0.18); box-shadow: inset 0 0 0 1px var(--line); }
.tok__badge {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: -0.02em; color: #052026;
  background: var(--badge, var(--cyan-soft));
}
.tok__name { min-width: 0; }
.tok__name b { display: block; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.tok__name small { display: block; color: var(--dim); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tok__amt { text-align: right; }
.tok__amt b { display: block; font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--mint); }
.tok__amt small { display: block; color: var(--dim); font-size: 12px; font-family: var(--mono); }
.spot__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- ledger ---------- */
.lifetime { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.ledger { border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: linear-gradient(180deg, rgba(232, 238, 240, 0.04), rgba(232, 238, 240, 0.015)); }
.ledger__cols, .round summary {
  display: grid; grid-template-columns: 90px 1.1fr 1.7fr 0.8fr 0.9fr 28px; gap: 16px; align-items: center; padding: 0 22px;
}
.ledger__cols { height: 44px; font-size: 12px; color: var(--dim); font-family: var(--mono); border-bottom: 1px solid var(--line); }
.ledger__cols span:nth-child(4), .ledger__cols span:nth-child(5) { text-align: right; }
.round { border-bottom: 1px solid var(--line); }
.round:last-child { border-bottom: 0; }
.round summary { min-height: 68px; cursor: pointer; list-style: none; transition: background-color 0.2s; }
.round summary::-webkit-details-marker { display: none; }
.round summary:hover { background: var(--surface); }
.round__id { font-family: var(--mono); font-size: 14px; color: var(--cyan-soft); }
.round__date b { display: block; font-size: 15px; font-weight: 500; }
.round__date small { display: block; font-size: 12px; color: var(--dim); }
.round__toks { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.mini { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 4px; border-radius: 999px; font-size: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.mini i { width: 18px; height: 18px; border-radius: 50%; background: var(--badge, var(--cyan-soft)); }
.round__num { text-align: right; font-variant-numeric: tabular-nums; font-size: 15px; }
.round__num small { display: block; font-size: 12px; color: var(--dim); }
.round__chev { width: 20px; height: 20px; color: var(--dim); transition: transform 0.3s var(--ease); justify-self: end; }
.round[open] .round__chev { transform: rotate(180deg); }
.round__body { padding: 4px 22px 24px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
.round__body h4 { margin: 0 0 10px; font-size: 12px; font-weight: 500; color: var(--dim); font-family: var(--mono); }
.amounts li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.amounts li:last-child { border-bottom: 0; }
.amounts b { font-family: var(--mono); font-weight: 500; color: var(--mint); text-align: right; }
.amounts small { color: var(--dim); font-family: var(--mono); margin-left: 6px; }
.txs { max-height: 300px; overflow: auto; overscroll-behavior: contain; border-radius: 12px; background: rgba(0, 0, 0, 0.18); box-shadow: inset 0 0 0 1px var(--line); }
.txs a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: 13px; border-bottom: 1px solid var(--line); transition: background-color 0.2s; }
.txs a:last-child { border-bottom: 0; }
.txs a:hover { background: var(--surface-2); }
.txs a span:first-child { color: var(--cyan-soft); }
.txs a small { color: var(--dim); white-space: nowrap; }
.txs__more { padding: 10px 14px; font-size: 12px; color: var(--dim); }
.ledger__more { display: flex; justify-content: center; margin-top: 20px; }
.ledger__more:empty { display: none; }

.empty { display: grid; justify-items: center; gap: 8px; padding: clamp(40px, 7vw, 72px) 24px; text-align: center; }
.empty svg { width: 46px; height: 46px; padding: 11px; border-radius: 14px; color: var(--cyan-soft); background: rgba(52, 183, 221, 0.1); box-shadow: inset 0 0 0 1px rgba(52, 183, 221, 0.25); margin-bottom: 8px; }
.empty p { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.empty small { color: var(--dim); font-size: 14px; max-width: 380px; }

/* ---------- treasury ---------- */
.treasury { display: grid; grid-template-columns: 1.45fr 1fr; gap: 16px; }
.treasury__main { padding: clamp(22px, 3.4vw, 36px); }
.tr__label { font-size: 13px; color: var(--muted); }
.tr__value { margin-top: 6px; font-size: clamp(40px, 6vw, 64px); font-weight: 600; letter-spacing: -0.05em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.tr__sub { margin-top: 6px; color: var(--dim); font-size: 14px; }
.tr__list { margin-top: 26px; display: grid; gap: 14px; }
.hold { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; }
.hold .tok__badge { width: 32px; height: 32px; font-size: 11px; }
.hold__name { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.hold__name b { font-weight: 600; }
.hold__name span { font-family: var(--mono); color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hold__bar { margin-top: 7px; height: 5px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.hold__bar i { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--cyan)); transition: width 0.8s var(--ease); }
.hold__usd { font-family: var(--mono); font-size: 13px; color: var(--text); min-width: 72px; text-align: right; }
.addr { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.addr code { font-family: var(--mono); color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1 1 200px; }
.icon-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--muted); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: color 0.2s, background-color 0.2s; flex: none; }
.icon-btn:hover { color: var(--text); background: var(--surface-2); }
.icon-btn svg { width: 16px; height: 16px; }

.basket { padding: clamp(22px, 3vw, 30px); display: flex; flex-direction: column; }
.basket__list { margin-top: 16px; display: grid; gap: 8px; }
.basket__list li { display: grid; grid-template-columns: 20px 34px 1fr; align-items: center; gap: 10px; min-height: 50px; padding: 8px 12px; border-radius: var(--radius-sm); background: rgba(0, 0, 0, 0.18); box-shadow: inset 0 0 0 1px var(--line); }
.basket__list li > span:first-child { font-size: 12px; color: var(--dim); }
.basket__list .tok__badge { width: 34px; height: 34px; font-size: 11px; }
.basket__list b { font-weight: 600; font-size: 15px; }
.basket__list small { display: block; font-size: 12px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.basket__ph { grid-template-columns: 20px 1fr !important; }
.basket__ph i { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--surface-2), rgba(232, 238, 240, 0.02)); }
.basket .card__foot { margin-top: auto; padding-top: 18px; }

.activity { margin-top: 16px; padding: clamp(20px, 3vw, 28px); }
.activity__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.activity__list { max-height: 420px; overflow: auto; overscroll-behavior: contain; margin: 0 -8px; }
.act { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px 8px; border-radius: 12px; transition: background-color 0.2s; }
.act:hover { background: var(--surface); }
.act__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(111, 227, 192, 0.1); color: var(--mint); }
.act__ico--in { background: rgba(52, 183, 221, 0.1); color: var(--cyan-soft); }
.act__ico svg { width: 18px; height: 18px; }
.act__txt { min-width: 0; font-size: 14px; }
.act__txt b { font-weight: 600; }
.act__txt small { display: block; color: var(--dim); font-family: var(--mono); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act__time { font-size: 12px; color: var(--dim); white-space: nowrap; text-align: right; }
.activity__empty { padding: 28px 8px; color: var(--dim); font-size: 14px; text-align: center; }

/* ---------- lookup ---------- */
.lookup { padding: clamp(24px, 5vw, 56px); overflow: hidden; }
.lookup::after {
  content: ""; position: absolute; right: -160px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52, 183, 221, 0.16), transparent); pointer-events: none;
}
.lookup .head { max-width: 560px; }
.lookup__form { position: relative; z-index: 1; margin-top: 28px; display: flex; gap: 10px; max-width: 640px; }
.lookup__form input {
  flex: 1; min-width: 0; height: 52px; padding: 0 18px; border-radius: 999px; border: 0; outline: 0;
  font-size: 15px; background: rgba(0, 0, 0, 0.28); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 0.2s;
}
.lookup__form input:focus { box-shadow: inset 0 0 0 1.5px var(--cyan); }
.lookup__form input::placeholder { color: var(--dim); }
.lookup__form .btn { --h: 52px; }
.lookup__out { position: relative; z-index: 1; }
.lookup__out:not(:empty) { margin-top: 22px; }
.res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.res__cell { padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(0, 0, 0, 0.2); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.res__cell span { display: block; font-size: 12px; color: var(--dim); }
.res__cell b { display: block; margin-top: 4px; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.res__toks { margin-top: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.res__msg { color: var(--muted); font-size: 15px; }

/* ---------- token ---------- */
.token { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); padding: 8px clamp(18px, 3vw, 30px); }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.facts div:nth-last-child(-n + 1) { border-bottom: 0; }
.facts dt { font-size: 13px; color: var(--dim); }
.facts dd { margin-top: 4px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.facts__wide { grid-column: 1 / -1; }
.facts__wide dd { display: flex; align-items: center; gap: 8px; }
.facts__wide code { font-family: var(--mono); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.links { padding: clamp(22px, 3vw, 30px); display: flex; flex-direction: column; }
.links .card__title { margin-bottom: 10px; }
.link-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 2px; border-bottom: 1px solid var(--line); font-weight: 500; transition: color 0.2s, padding 0.3s var(--ease); }
.link-row small { color: var(--dim); font-weight: 400; font-size: 13px; }
.link-row:not([aria-disabled="true"]):hover { color: var(--cyan-soft); padding-left: 6px; }
.link-row[aria-disabled="true"] { color: var(--muted); pointer-events: none; }
.links .card__foot { margin-top: auto; padding-top: 18px; }

/* ---------- faq ---------- */
.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 2px; font-size: clamp(16px, 1.9vw, 19px); font-weight: 500; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background:
    linear-gradient(var(--text), var(--text)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 1.5px 10px no-repeat,
    var(--surface-2);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 40px 24px 2px; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.2); }
.footer__inner { max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 48px var(--pad) calc(40px + env(safe-area-inset-bottom)); display: grid; gap: 22px; }
.footer__brand { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.footer__brand p { color: var(--muted); font-size: 14px; }
.footer__meta { font-size: 12px; color: var(--dim); }
.footer__legal { font-size: 12px; color: var(--dim); line-height: 1.6; max-width: 820px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60;
  padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #061a1f; background: var(--text);
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- skeleton ---------- */
.sk { display: inline-block; height: 0.8em; width: 5ch; border-radius: 6px; background: linear-gradient(90deg, var(--surface-2), rgba(232, 238, 240, 0.12), var(--surface-2)); background-size: 200% 100%; animation: sk 1.4s linear infinite; vertical-align: middle; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .wheel { grid-template-columns: repeat(6, 1fr); }
  .wheel__step { grid-column: span 2; }
  .wheel__step:nth-child(4) { grid-column: 2 / span 2; }
  .wheel__step:nth-child(5) { grid-column: 4 / span 2; }
  .wheel::before { display: none; }
  .split { grid-template-columns: 1fr; }
  .head--left { text-align: center; margin: 0 auto; }
  .head--left .lede { margin-left: auto; }
  .lookup .head { text-align: left; margin: 0; }
  .lookup .head .lede { margin-left: 0; }
  .ledger__cols, .round summary { grid-template-columns: 70px 1fr 1.4fr 0.8fr 24px; }
  .ledger__cols span:nth-child(5), .round__num--rec { display: none; }
}
@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { box-shadow: 0 -1px 0 var(--line); }
  .stat:nth-child(4) { box-shadow: -1px 0 0 var(--line), 0 -1px 0 var(--line); }
  .spot { grid-template-columns: 1fr; }
  .treasury, .token { grid-template-columns: 1fr; }
  .round__body { grid-template-columns: 1fr; }
  .res { grid-template-columns: 1fr 1fr; }
  .res__cell:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .sync { display: none; }
  .nav__end .btn { --h: 34px; padding: 0 14px; font-size: 13px; }
  .hero { padding-top: calc(96px + env(safe-area-inset-top)); }
  .orbit { --node: 38px; --ow: 84vw; }
  .orbit__node b { font-size: 9px; }
  .stat { padding: 16px 18px; }
  .stat dt { font-size: 12px; }
  .wheel { grid-template-columns: 1fr; gap: 10px; }
  .wheel__step, .wheel__step:nth-child(4), .wheel__step:nth-child(5) { grid-column: auto; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 18px; }
  .wheel__step svg { grid-row: 1 / span 3; margin: 0; }
  .wheel__n { grid-column: 2; }
  .wheel__step h3 { grid-column: 2; font-size: 17px; }
  .wheel__step p { grid-column: 2; }
  .loop { gap: 8px; font-size: 13px; }
  .loop i { width: 10px; }
  .calc__top { flex-direction: column-reverse; align-items: stretch; }
  .calc__input { justify-content: flex-start; }
  .calc__input input { text-align: left; width: 100%; }
  .seg { align-self: flex-start; }
  .presets { justify-content: flex-start; }
  .ledger__cols { display: none; }
  .round summary { grid-template-columns: 1fr auto 20px; grid-template-areas: "id num chev" "date date date" "toks toks toks"; gap: 6px 12px; padding: 16px 18px; }
  .round__id { grid-area: id; }
  .round__date { grid-area: date; }
  .round__date b, .round__date small { display: inline; }
  .round__date small::before { content: " · "; }
  .round__toks { grid-area: toks; margin-top: 4px; }
  .round__num--usd { grid-area: num; }
  .round__chev { grid-area: chev; }
  .round__body { padding: 4px 18px 20px; }
  .lookup__form { flex-direction: column; }
  .lookup__form .btn { width: 100%; }
  .res { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .facts div:last-child { border-bottom: 0; }
  .faq p { padding-right: 8px; }
}
@media (max-width: 380px) {
  .brand__name { display: none; }
  .hero__title { font-size: 40px; }
}
@media (hover: none) {
  .wheel__step:hover { transform: none; box-shadow: inset 0 0 0 1px var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .orbit__arm, .orbit__node { animation: none !important; }
  .orbit__arm { transform: rotate(var(--a)); }
  .orbit__node { transform: rotate(calc(var(--a) * -1)) scaleY(calc(1 / var(--s))); }
  .js .reveal:not(.in) { opacity: 1; transform: none; }
}
