/* =========================================================
   whale.store — deep-field design system
   sober editorial dark for a serious launchpad on base.
   ========================================================= */

:root {
  --bg:        #030812;
  --bg-1:      #050d1c;
  --bg-2:      #0a1428;
  --surface:   rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.045);

  --ink:       #f3f5fa;
  --ink-2:     #c8d2e2;
  --ink-3:     #7d8ea8;
  --ink-4:     #4d5b78;
  --ink-5:     #2a3550;

  --line:      rgba(255, 255, 255, 0.07);
  --line-2:    rgba(255, 255, 255, 0.13);

  --base:      #5cc8ff;   /* bright cyan from screenshot */
  --base-2:    #2a9eda;
  --base-soft: rgba(92, 200, 255, 0.16);
  --cyan:      #5cc8ff;
  --aqua:      #8af2ff;
  --good:      #36f5a0;
  --bad:       #ff5c7a;
  --warn:      #ffb454;

  --shadow-1:  0 1px 0 rgba(255,255,255,0.04) inset, 0 8px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 0 1px rgba(42,130,255,0.4), 0 0 40px rgba(42,130,255,0.18);

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 18px;

  --font-display: "Geist", -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Geist", -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", "SF Mono", ui-monospace, monospace;
}

/* tweakable accent variants */
body[data-accent="cyan"]    { --base: #15c8ff; --base-2: #088fbe; --base-soft: rgba(21,200,255,0.16); }
body[data-accent="violet"]  { --base: #8a6cff; --base-2: #5638e0; --base-soft: rgba(138,108,255,0.16); }
body[data-accent="aqua"]    { --base: #00d6c4; --base-2: #009a8d; --base-soft: rgba(0,214,196,0.16); }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 1200px 800px at 50% -10%, rgba(38, 110, 200, 0.20), transparent 60%),
    radial-gradient(ellipse 900px 600px at 100% 10%, rgba(20, 60, 130, 0.18), transparent 65%),
    radial-gradient(ellipse 900px 500px at 0% 35%, rgba(10, 40, 90, 0.12), transparent 65%),
    linear-gradient(180deg, #061122 0%, #030812 60%, #02060e 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* =========================================================
   subtle grid overlay (dotted) — adds depth, very low-key
   ========================================================= */
.bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
  border-radius: inherit;
}
.hero { overflow: hidden; }
.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.25;
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
}
/* page content sits above the bg canvas */
.topbar, .nav, .hero, .ticker, .section, .bigcta, .foot, .tweaks {
  position: relative;
  z-index: 2;
}

/* =========================================================
   tiny utilities
   ========================================================= */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap-wide { max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.muted { color: var(--ink-3); }
.mono  { font-family: var(--font-mono); }
.kbd   { font-family: var(--font-mono); font-size: 12px; padding: 2px 6px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--ink-2); background: var(--surface); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--base);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--base);
}

/* =========================================================
   top status strip
   ========================================================= */
.topbar {
  position: relative;
  z-index: 50;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  padding: 8px 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 8, 14, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.topbar-l, .topbar-r { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.topbar .live { color: var(--good); display: inline-flex; align-items: center; gap: 6px; }
.topbar .live::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 10px var(--good);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.35; } }

/* =========================================================
   nav — floating pill
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.nav-pill {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(8, 14, 26, 0.85);
  backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.nav-pill .brand {
  justify-self: center;
}
.nav-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-burger {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.15s, background 0.15s;
}
.nav-burger:hover { border-color: var(--cyan); background: rgba(92,200,255,0.06); }
.nav-burger span {
  width: 16px;
  height: 1.5px;
  background: var(--ink-2);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s, background 0.15s;
}
.nav-burger[aria-expanded="true"] { border-color: var(--cyan); }
.nav-burger[aria-expanded="true"] span { background: var(--cyan); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-cta {
  padding: 10px 20px;
  font-size: 13px;
}

.nav-menu {
  position: absolute;
  left: 24px;
  top: 56px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 180px;
  padding: 10px;
  background: rgba(8, 14, 26, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
}
.nav-menu[hidden] { display: none; }
.nav-menu a {
  font-size: 14px;
  color: var(--ink-2);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 14px;
  border-radius: 10px;
  transition: background 0.12s, color 0.12s;
}
.nav-menu a:hover { color: var(--cyan); background: rgba(92,200,255,0.08); }

.brand {
  display: inline-flex;
  align-items: center;
  font-family: "Orbitron", var(--font-display);
  font-weight: 900;
  font-size: 36px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #e8ecf5 45%, #b8c2d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(92,200,255,0.22));
}
.brand-dot {
  -webkit-text-fill-color: var(--cyan);
  color: var(--cyan);
}

.nav a {
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  transition: color 0.15s;
}
.nav a:hover, .nav a.is-current { color: var(--ink); }
.nav a.is-current { color: var(--cyan); }

.base-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(42, 130, 255, 0.12);
  border: 1px solid rgba(42, 130, 255, 0.32);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a3c8ff;
}
.base-pill .glyph {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--base);
  box-shadow: 0 0 8px rgba(42,130,255,0.6);
}

/* =========================================================
   buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn:hover { background: var(--surface-2); border-color: rgba(255,255,255,0.24); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--base);
  border-color: var(--base);
  color: #04101e;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: none;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(92,200,255,0.5), 0 0 60px rgba(92,200,255,0.30);
}
.btn-primary:hover { background: #7ad4ff; border-color: #7ad4ff; color: #04101e; }

.btn-xl { padding: 20px 44px; font-size: 18px; font-weight: 600; }

.btn-lg { padding: 14px 24px; font-size: 15px; }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-2);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--line-2); background: var(--surface); }

/* =========================================================
   hero — centered, bold sans display
   ========================================================= */
.hero {
  position: relative;
  padding: 100px 32px 120px;
  max-width: 1440px;
  margin: 0 auto;
  border-radius: 0;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 10vw, 152px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  margin: 0 0 36px;
  color: var(--ink);
  text-wrap: balance;
}
.hero-h em {
  font-style: italic;
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-weight: 400;
  color: var(--cyan);
  letter-spacing: -0.02em;
}

.hero-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 44px;
  max-width: 58ch;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* split hero: text left, whale right */
.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  text-align: left;
}
.hero-split .hero-h {
  text-wrap: balance;
  font-size: clamp(44px, 6vw, 96px);
}
.hero-split .hero-lede { margin-left: 0; margin-right: 0; }
.hero-split .hero-ctas { justify-content: flex-start; }
.hero-copy { min-width: 0; }
.hero-whale {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
.hero-whale-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
}
.hero-whale-vid {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.hero-whale-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 24px rgba(92,200,255,0.35));
}
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .hero-split .hero-ctas { justify-content: center; }
  .hero-whale-frame { max-width: 420px; margin: 0 auto; }
}

/* =========================================================
   whale monitor frame (containment, liquidly-style)
   ========================================================= */
.whale-viz {
  position: relative;
  width: 100%;
  max-width: 560px;
}
.whale-viz-frame {
  background: linear-gradient(180deg, #1a2a44 0%, #0a1424 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 0 0 1px rgba(0,0,0,0.5),
    0 20px 60px rgba(0,0,0,0.6),
    0 0 80px rgba(92,200,255,0.15);
  overflow: hidden;
}

.whale-viz-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(92,200,255,0.1), transparent 60%),
    linear-gradient(180deg, #020612 0%, #05101f 100%);
  overflow: hidden;
}
.whale-viz-stage .hero-whale-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  aspect-ratio: auto;
  margin: 0;
}

.whale-crosshair {
  position: absolute;
  width: 16px; height: 16px;
  border: 1px solid rgba(92,200,255,0.6);
  opacity: 0.7;
  pointer-events: none;
}
.whale-crosshair.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.whale-crosshair.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.whale-crosshair.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.whale-crosshair.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.whale-viz-hud {
  position: absolute;
  inset: 0;
  padding: 14px 18px;
  pointer-events: none;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 12px;
  color: var(--cyan, #5cc8ff);
}
.whale-hud-row {
  position: absolute;
  top: 14px;
  left: 18px;
  display: flex; gap: 8px; align-items: center;
}
.whale-hud-tag {
  background: rgba(10,26,52,0.8);
  border: 1px solid rgba(92,200,255,0.4);
  color: var(--cyan, #5cc8ff);
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  box-shadow: 0 0 10px rgba(92,200,255,0.25);
}
.whale-hud-stats {
  position: absolute;
  bottom: 14px;
  right: 18px;
  text-align: right;
  display: flex; flex-direction: column; gap: 2px;
}
.whale-hud-stats .k {
  color: rgba(180, 200, 230, 0.55);
  margin-right: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.whale-hud-stats .v { color: var(--cyan, #5cc8ff); }

.whale-viz-chrome-bot {
  display: flex; justify-content: space-between;
  padding: 6px 14px;
  background: linear-gradient(180deg, #1a2a44 0%, #0a1424 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 12px;
  color: rgba(180, 200, 230, 0.55);
  letter-spacing: 0.02em;
}

/* floating holo card */
.whale-holo-card {
  position: absolute;
  bottom: -28px;
  left: -32px;
  width: 170px;
  padding: 12px 14px;
  background:
    linear-gradient(135deg,
      rgba(255,136,212,0.9) 0%,
      rgba(136,212,255,0.9) 25%,
      rgba(212,255,136,0.9) 50%,
      rgba(136,212,255,0.9) 75%,
      rgba(255,136,212,0.9) 100%);
  background-size: 300% 300%;
  animation: whale-holo-shift 6s ease-in-out infinite;
  color: #081528;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 4px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 10px 30px rgba(0,0,0,0.5);
  transform: rotate(-4deg);
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 13px;
  z-index: 3;
}
@keyframes whale-holo-shift {
  0%,100% { background-position: 0% 0%; }
  50%     { background-position: 100% 100%; }
}
.whale-holo-head {
  display: flex; justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px dashed rgba(0,0,0,0.3);
  padding-bottom: 6px;
  margin-bottom: 8px;
  font-weight: 600;
}
.whale-holo-seal {
  font-family: var(--font-display, "Orbitron", sans-serif);
  font-weight: 900;
}
.whale-holo-body .big {
  font-family: var(--font-display, "Orbitron", sans-serif);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 2px 0;
}

@media (max-width: 900px) {
  .whale-viz { max-width: 420px; margin: 0 auto; }
  .whale-holo-card { left: -16px; bottom: -20px; }
}

/* ambient bubbles */
.hero-flotsam {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.bub {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(140, 200, 255, 0.5);
  box-shadow: 0 0 8px rgba(92, 200, 255, 0.4);
}
.bub.b1 { top: 22%; left: 14%; width: 3px; height: 3px; }
.bub.b2 { top: 46%; left: 86%; width: 2px; height: 2px; opacity: 0.7; }
.bub.b3 { top: 70%; left: 12%; width: 3px; height: 3px; opacity: 0.8; }
.bub.b4 { top: 82%; left: 78%; width: 2px; height: 2px; opacity: 0.6; }
.bub.b5 { top: 18%; left: 70%; width: 3px; height: 3px; opacity: 0.5; }
.bub.b6 { top: 56%; left: 8%; width: 2px; height: 2px; opacity: 0.7; }

/* =========================================================
   hero viz
   ========================================================= */
.hero-viz { position: relative; }
.viz-frame {
  position: relative;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #0c1224 0%, #06090f 100%);
  border: 1px solid var(--line-2);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 20px 60px rgba(0,0,0,0.6),
    0 0 60px rgba(42,130,255,0.08);
}
.viz-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  background: radial-gradient(ellipse at 50% 40%, rgba(42,130,255,0.07), transparent 60%);
}
#wire-canvas { width: 100%; height: 100%; display: block; }

.viz-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.viz-hud .corner { position: absolute; pointer-events: auto; }
.viz-hud .tl { top: 16px; left: 16px; }
.viz-hud .tr { top: 16px; right: 16px; text-align: right; }
.viz-hud .bl { bottom: 16px; left: 16px; }
.viz-hud .br { bottom: 16px; right: 16px; text-align: right; }

.hud-row { display: flex; gap: 12px; align-items: center; }
.hud-row .lbl { color: var(--ink-4); }
.hud-row .val { color: var(--cyan); }

.hud-tabs { display: flex; gap: 4px; }
.hud-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--ink-3);
  border-radius: 999px;
  cursor: pointer;
  pointer-events: auto;
}
.hud-tab:hover { color: var(--ink); border-color: var(--line-2); }
.hud-tab.active {
  color: #04101e;
  background: var(--cyan);
  border-color: var(--cyan);
}

.viz-meta {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  background: rgba(0,0,0,0.3);
}
.viz-meta .ok { color: var(--good); }

/* floating depth card */
.depth-card {
  position: absolute;
  right: -28px;
  bottom: -20px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 14px 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.6);
  display: grid;
  grid-template-columns: auto auto;
  gap: 12px 24px;
}
.depth-card .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.depth-card .v {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.depth-card .v.green { color: var(--good); }

/* =========================================================
   running ticker (subtle)
   ========================================================= */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255,255,255,0.015);
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: scroll 70s linear infinite;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.t-item { display: inline-flex; gap: 8px; align-items: center; }
.t-sym { color: var(--ink); font-weight: 500; }
.t-up { color: var(--good); }
.t-dn { color: var(--bad); }
.t-sep { color: var(--ink-5); }

/* =========================================================
   section heading
   ========================================================= */
.section { padding: 110px 0; position: relative; }
.section-head {
  max-width: 1280px;
  margin: 0 auto 56px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}
.section-h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 14px 0 14px;
  max-width: 18ch;
  text-wrap: balance;
  color: var(--ink);
}
.section-h em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-3);
}
.section-sub {
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.55;
  max-width: 60ch;
  margin: 0;
}

/* =========================================================
   case study — thick vs thin (1 ETH buy)
   ========================================================= */
.cs-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.cs-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.cs-thin {
  border-color: rgba(255,92,122,0.22);
  background:
    linear-gradient(180deg, rgba(255,92,122,0.06), transparent 50%),
    var(--surface);
}
.cs-thick {
  border-color: rgba(54,245,160,0.22);
  background:
    linear-gradient(180deg, rgba(54,245,160,0.06), transparent 50%),
    var(--surface);
}
.cs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cs-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.cs-tag.bad  { background: rgba(255,92,122,0.10); color: var(--bad);  border: 1px solid rgba(255,92,122,0.32); }
.cs-tag.good { background: rgba(54,245,160,0.10); color: var(--good); border: 1px solid rgba(54,245,160,0.32); }
.cs-pool {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
}
.cs-pool strong { color: var(--ink); font-weight: 500; }

.cs-reserves {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.cs-res {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.cs-res .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.cs-res .v {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.cs-arrow {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 2px 0;
}

.cs-result {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.cs-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
}
.cs-row .big {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cs-row .big.bad  { color: var(--bad); }
.cs-row .big.good { color: var(--good); }

.cs-meters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}
.meter {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.meter-h {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.meter-h .bad  { color: var(--bad); }
.meter-h .good { color: var(--good); }
.meter-bar {
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  overflow: hidden;
}
.meter-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width 0.5s ease;
}

.cs-verdict {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink-2);
}
.cs-verdict.bad  { color: var(--bad); }
.cs-verdict.good { color: var(--good); }

@media (max-width: 900px) {
  .cs-grid { grid-template-columns: 1fr; }
  .cs-reserves { grid-template-columns: 1fr 1fr; }
}

/* legacy chart styles kept for compatibility */
.chart-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.chart-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 16px;
}
.chart-legend {
  display: flex;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-2);
}
.lg-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.lg-swatch {
  width: 24px; height: 2px;
  display: inline-block;
}
.sw-thick { background: #36f5a0; box-shadow: 0 0 8px rgba(54,245,160,0.6); }
.sw-thin  { background: #ff7a52; box-shadow: 0 0 8px rgba(255,122,82,0.6); }
.lg-meta {
  color: var(--ink-4);
  margin-left: 4px;
  letter-spacing: 0.04em;
}
.chart-meta {
  display: flex;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-4);
  align-items: center;
}
.chart-meta .ck { letter-spacing: 0.06em; }
.chart-meta .cv { color: var(--ink-2); }
.chart-meta .csep { color: var(--ink-5); }

.lp-chart {
  width: 100%;
  height: 460px;
  display: block;
  background: #02060e;
  border: 1px solid var(--line);
  border-radius: 0;
}

.chart-foot {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  margin-top: 0;
  border: 1px solid var(--line);
  border-top: none;
  background: rgba(255,255,255,0.012);
}
.cf-col { padding: 22px 28px; }
.cf-divide { background: var(--line); }
.cf-h {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 14px;
}
.cf-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--line);
}
.cf-row:last-child { border-bottom: none; }
.cf-row .ok { color: #36f5a0; }
.cf-row .bad { color: #ff7a52; }

/* =========================================================
   recent launches — dark, under hero, collapsible
   ========================================================= */
.launches {
  padding: 8px 32px 56px;
  max-width: 1100px;
  margin: 0 auto;
}
.launches-card {
  background: rgba(10, 18, 34, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px 8px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.4);
}
.launches-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
}
.launches-titles { display: flex; flex-direction: column; gap: 6px; }
.launches-h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-transform: lowercase;
}
.launches-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 8px var(--good);
  animation: blink 1.6s ease-in-out infinite;
}
.view-all {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.view-all:hover { color: var(--cyan); border-color: var(--cyan); background: rgba(92,200,255,0.06); }

.launch-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.launch-row {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto auto auto;
  align-items: center;
  gap: 22px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.launch-row:hover {
  border-color: rgba(92,200,255,0.32);
  background: rgba(92,200,255,0.04);
  transform: translateY(-1px);
}
.launch-row.collapsed-extra { display: none; }
.launch-list.expanded .launch-row.collapsed-extra { display: grid; }

.lr-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: #04101e;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}
.lr-name-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.lr-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.1;
}
.lr-sym {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
}
.lr-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: right;
  min-width: 86px;
}
.lr-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.lr-v {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.lr-v.up { color: var(--good); }
.lr-v.dn { color: var(--bad); }

.lr-status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.lr-status.locked { background: rgba(92,200,255,0.10); color: var(--cyan); border: 1px solid rgba(92,200,255,0.30); }
.lr-status.live   { background: rgba(54,245,160,0.10); color: var(--good); border: 1px solid rgba(54,245,160,0.30); }
.lr-status.new    { background: rgba(255,180,84,0.10); color: var(--warn); border: 1px solid rgba(255,180,84,0.32); }
.lr-status.grad   { background: rgba(255,92,122,0.10); color: var(--bad);  border: 1px solid rgba(255,92,122,0.32); }

/* expand toggle */
.launch-expand {
  margin: 14px auto 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.launch-expand:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(92,200,255,0.06);
}
.launch-expand[aria-expanded="true"] .le-arrow {
  transform: rotate(180deg);
}
.le-arrow { transition: transform 0.2s ease; }

@media (max-width: 720px) {
  .launch-row { grid-template-columns: auto 1fr auto; gap: 14px; }
  .lr-cell:not(.lr-cell-status):not(.lr-cell-chg) { display: none; }
  .lr-cell { min-width: 0; }
}
.pool {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  position: relative;
  cursor: pointer;
  transition: all 0.18s ease;
  overflow: hidden;
}
.pool:hover {
  border-color: rgba(42,130,255,0.45);
  background: var(--surface-2);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 28px rgba(42,130,255,0.12);
}
.pool-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.pool-logo {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  flex-shrink: 0;
}
.pool-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
}
.pool-sym {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 3px;
}
.pool-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(54, 245, 160, 0.12);
  color: var(--good);
  border: 1px solid rgba(54, 245, 160, 0.32);
  white-space: nowrap;
}
.pool-tag.grad { background: rgba(255, 180, 84, 0.14); color: var(--warn); border-color: rgba(255, 180, 84, 0.34); }
.pool-tag.new  { background: rgba(42,130,255,0.14);    color: var(--cyan); border-color: rgba(42,130,255,0.4); }

.pool-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 4px 0;
  white-space: nowrap;
}
.pool-row .k { color: var(--ink-4); text-transform: uppercase; font-size: 10px; letter-spacing: 0.08em; flex-shrink: 0; }
.pool-row .v { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pool-row .v.up { color: var(--good); }
.pool-row .v.dn { color: var(--bad); }

.pool-spark {
  margin: 14px -18px -18px;
  height: 48px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(42,130,255,0.05));
}

.pool-whales {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  display: flex; align-items: center; gap: 4px;
}
.pool-whales .c { color: var(--cyan); }

/* =========================================================
   features
   ========================================================= */
.features {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.feat-ico {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  margin-bottom: 20px;
  color: var(--base);
}
.feat-ico svg { width: 22px; height: 22px; }
.feat-h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--ink);
}
.feat-body {
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.6;
  max-width: 40ch;
  text-wrap: pretty;
}

/* =========================================================
   big cta
   ========================================================= */
.bigcta {
  text-align: center;
  padding: 120px 32px 100px;
  position: relative;
  overflow: hidden;
}
.bigcta::before {
  content: "";
  position: absolute;
  left: 50%; top: 30%;
  width: 1100px; height: 1100px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(42, 130, 255, 0.18), transparent 55%);
  pointer-events: none;
}
.bigcta-inner { max-width: 800px; margin: 0 auto; position: relative; }
.bigcta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(56px, 8vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 16px 0 20px;
  text-wrap: balance;
}
.bigcta h2 em {
  font-style: italic;
  color: var(--ink-3);
  font-weight: 400;
}
.bigcta-sub {
  color: var(--ink-3);
  font-size: 18px;
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 auto 36px;
}
.bigcta-row {
  display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap;
}

/* =========================================================
   footer — curved pill
   ========================================================= */
.foot {
  padding: 80px 0 0;
  display: flex;
  justify-content: center;
}
.foot-pill {
  width: 100%;
  max-width: 1440px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 56px;
  margin: 0 16px;
  background: linear-gradient(180deg, rgba(14, 24, 44, 0.85) 0%, rgba(8, 14, 26, 0.95) 100%);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  border-bottom: none;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -18px 60px rgba(0,0,0,0.5);
  position: relative;
}
.foot-pill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(92,200,255,0.4), transparent);
}
.foot-pill .brand { font-size: 22px; }
.foot-mid {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.foot-x {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.foot-x:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(92,200,255,0.06);
}

@media (max-width: 720px) {
  .foot-pill { flex-direction: column; padding: 28px 22px; border-radius: 24px 24px 0 0; text-align: center; }
}

/* =========================================================
   tweaks panel chrome (re-used)
   ========================================================= */
.tweaks {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 280px;
  z-index: 9500;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.6);
}
.tweaks.hidden { display: none; }
.tweaks-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.tweaks-close { cursor: pointer; padding: 0 4px; }
.tweaks-close:hover { color: var(--bad); }
.tweaks-body {
  padding: 14px;
  display: flex; flex-direction: column; gap: 14px;
}
.tweaks-body label {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}
.tweaks-body label.chk { flex-direction: row; align-items: center; gap: 8px; }
.tweaks-body select,
.tweaks-body input[type="range"] {
  width: 100%;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 6px 8px;
  border-radius: var(--r-sm);
}

/* =========================================================
   inner-page hero
   ========================================================= */
.page-hero {
  padding: 64px 32px 48px;
  max-width: 1280px;
  margin: 0 auto;
}
.page-hero .crumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-4);
  margin-bottom: 18px;
}
.page-hero .crumb a { color: var(--ink-3); }
.page-hero .crumb a:hover { color: var(--ink); }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 10px 0 18px;
  text-wrap: balance;
}
.page-hero h1 em { font-style: italic; font-weight: 400; color: var(--ink-3); }
.page-hero .page-lede {
  font-size: 17px;
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 58ch;
  margin: 0;
  text-wrap: pretty;
}

/* =========================================================
   pools page — table
   ========================================================= */
.pools-toolbar {
  max-width: 1280px;
  margin: 0 auto 16px;
  padding: 0 32px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.pools-search {
  flex: 1;
  min-width: 220px;
  position: relative;
}
.pools-search input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  padding: 11px 18px 11px 42px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}
.pools-search input::placeholder { color: var(--ink-4); }
.pools-search input:focus { border-color: rgba(42,130,255,0.5); }
.pools-search svg {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--ink-4);
}

.pool-table-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.pool-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pool-table th, .pool-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.pool-table tr:last-child td { border-bottom: 0; }
.pool-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
  background: rgba(255,255,255,0.02);
  user-select: none;
  cursor: pointer;
}
.pool-table th.right, .pool-table td.right { text-align: right; }
.pool-table th .sort-arrow { color: var(--cyan); margin-left: 4px; }
.pool-table tbody tr {
  cursor: pointer;
  transition: background 0.12s;
}
.pool-table tbody tr:hover { background: rgba(42,130,255,0.06); }
.pool-table .token-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pool-table .token-logo {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}
.pool-table .token-name {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
}
.pool-table .token-sym {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pool-table .num { font-family: var(--font-mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pool-table .num.up { color: var(--good); }
.pool-table .num.dn { color: var(--bad); }
.pool-table .row-spark { width: 100px; height: 28px; }

.pagination {
  max-width: 1280px;
  margin: 18px auto 0;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-4);
}

/* =========================================================
   launch wizard
   ========================================================= */
.wiz {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px 100px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}
.wiz-steps {
  position: sticky;
  top: 110px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wiz-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--r-sm);
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  text-align: left;
  width: 100%;
}
.wiz-step:hover { background: var(--surface); }
.wiz-step.active { background: var(--surface); border-color: var(--line); }
.wiz-step.done .num { background: var(--good); color: var(--bg); border-color: var(--good); }
.wiz-step .num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  flex-shrink: 0;
}
.wiz-step.active .num {
  background: var(--base);
  border-color: var(--base);
  color: #fff;
}
.wiz-step .ttl {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.wiz-step .sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

.wiz-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px;
}
.wiz-panel h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}
.wiz-panel .hint {
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 56ch;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 14px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}
.inp {
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  color: var(--ink);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  width: 100%;
}
.inp:focus { border-color: rgba(42,130,255,0.5); box-shadow: 0 0 0 3px rgba(42,130,255,0.12); }
.inp::placeholder { color: var(--ink-4); }
.inp-prefix {
  display: flex;
  align-items: center;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.inp-prefix:focus-within { border-color: rgba(42,130,255,0.5); box-shadow: 0 0 0 3px rgba(42,130,255,0.12); }
.inp-prefix .prefix {
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-4);
  border-right: 1px solid var(--line);
  height: 100%;
  display: flex; align-items: center;
  background: var(--surface);
}
.inp-prefix .inp { border: 0; border-radius: 0; }

.logo-drop {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: var(--bg-1);
  border: 1px dashed var(--line-2);
  border-radius: var(--r-md);
  margin-bottom: 24px;
}
.logo-drop .preview {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--base), #0a2a78);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}
.logo-drop .text {
  flex: 1;
  font-size: 13px;
  color: var(--ink-3);
}
.logo-drop .text strong { color: var(--ink); font-weight: 500; }

.depth-slider {
  margin: 8px 0 26px;
}
.depth-slider input[type="range"] {
  width: 100%;
  height: 6px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, rgba(255,92,122,0.4) 0%, rgba(54,245,160,0.4) 100%);
  border-radius: 999px;
  outline: none;
}
.depth-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--base);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.depth-slider input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--base);
  cursor: pointer;
}
.depth-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.depth-readout {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 16px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  margin-top: 14px;
  font-family: var(--font-mono);
}
.depth-readout .big {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.depth-readout .pct { font-size: 14px; color: var(--good); }
.depth-readout .pct.bad { color: var(--bad); }

.wiz-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.review-tile {
  padding: 14px 16px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.review-tile .k {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.review-tile .v {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
}

/* receipt */
.receipt {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-2);
}
.receipt .r-h {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-2);
  display: flex;
  justify-content: space-between;
}
.receipt .r-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}
.receipt .r-row .k { color: var(--ink-4); }
.receipt .ok { color: var(--good); }

.success-card {
  padding: 32px;
  background:
    radial-gradient(circle at 50% 0%, rgba(54,245,160,0.16), transparent 60%),
    var(--bg-1);
  border: 1px solid rgba(54,245,160,0.32);
  border-radius: var(--r-lg);
  text-align: center;
  margin-bottom: 24px;
}
.success-card .check {
  width: 52px; height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--good);
  display: grid; place-items: center;
  color: var(--bg);
}

/* =========================================================
   docs page
   ========================================================= */
.docs-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 100px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}
.docs-side {
  position: sticky;
  top: 110px;
  align-self: start;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}
.docs-side-h {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 14px 0 8px;
}
.docs-side a {
  display: block;
  padding: 6px 10px;
  font-size: 14px;
  color: var(--ink-3);
  border-radius: var(--r-sm);
  border-left: 2px solid transparent;
  margin-left: -2px;
}
.docs-side a:hover { color: var(--ink); }
.docs-side a.is-current { color: var(--cyan); border-left-color: var(--base); background: rgba(42,130,255,0.06); }

.docs-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 72ch;
}
.docs-body h1, .docs-body h2, .docs-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 1.5em 0 0.5em;
}
.docs-body h1 { font-size: 44px; margin-top: 0; line-height: 1.05; }
.docs-body h2 { font-size: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.docs-body h2::before {
  content: attr(data-n);
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 6px;
  padding: 2px 8px;
  border: 1px solid rgba(42,130,255,0.32);
  border-radius: 999px;
  margin-right: 10px;
  vertical-align: 6px;
}
.docs-body h3 { font-size: 19px; color: var(--ink); }
.docs-body p, .docs-body ul, .docs-body ol { margin: 12px 0; }
.docs-body strong { color: var(--ink); font-weight: 500; }
.docs-body code.inl {
  font-family: var(--font-mono);
  font-size: 0.92em;
  padding: 2px 6px;
  background: rgba(42,130,255,0.1);
  border: 1px solid rgba(42,130,255,0.22);
  border-radius: 4px;
  color: var(--cyan);
}
.docs-body pre.code {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
  overflow-x: auto;
  position: relative;
}
.docs-body pre.code::before {
  content: attr(data-lang);
  position: absolute;
  top: 8px; right: 12px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.docs-body .tok-k { color: #ff9bb0; }
.docs-body .tok-s { color: #a3e0ff; }
.docs-body .tok-c { color: var(--ink-4); font-style: italic; }
.docs-body .tok-t { color: #ffd9a3; }
.docs-body .tok-f { color: #c9b6ff; }
.docs-body .tok-n { color: #a3e0ff; }
.docs-body table.params {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
  margin: 14px 0;
}
.docs-body table.params th, .docs-body table.params td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.docs-body table.params th {
  background: var(--surface);
  color: var(--ink-4);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.docs-body .callout {
  display: flex;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(42,130,255,0.08);
  border-left: 2px solid var(--base);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 18px 0;
  font-size: 14px;
}
.docs-body .callout-ico { color: var(--cyan); flex-shrink: 0; }
.docs-body .ep {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  margin: 12px 0 6px;
}
.docs-body .ep-method {
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.docs-body .ep-method.get  { background: rgba(54,245,160,0.15); color: var(--good); }
.docs-body .ep-method.post { background: rgba(255,180,84,0.15); color: var(--warn); }
.docs-body .ep-path { color: var(--ink); }

/* =========================================================
   responsive
   ========================================================= */
@media (max-width: 900px) {
  .wiz { grid-template-columns: 1fr; gap: 24px; }
  .wiz-steps { position: relative; top: 0; flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .wiz-step { flex-shrink: 0; min-width: 200px; }
  .docs-wrap { grid-template-columns: 1fr; gap: 24px; }
  .docs-side { position: relative; top: 0; max-height: none; }
  .docs-side .docs-side-h { display: inline-block; margin-right: 12px; }
  .field-row { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .pool-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .chart-foot { grid-template-columns: 1fr; }
  .cf-divide { display: none; }
  .lp-chart { height: 360px; }
}
@media (max-width: 640px) {
  .nav-pill { grid-template-columns: auto 1fr auto; }
  .nav-cta { padding: 8px 14px; font-size: 12px; }
  .pool-grid { grid-template-columns: 1fr; }
  .topbar { font-size: 11px; gap: 12px; padding: 6px 16px; }
  .hero { padding: 40px 18px 60px; }
  .wrap, .wrap-wide { padding: 0 18px; }
  .section-head { padding: 0 18px; }
  .pool-grid, .features, .curve-compare { padding: 0 18px; }
  .foot-grid { grid-template-columns: 1fr; }
  .launches-card { padding: 22px 18px; border-radius: 20px; }
  .lr-meta { grid-template-columns: repeat(2, 1fr); }
  .launches-h { font-size: 24px; }
}
