:root {
  --font-sans: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --bg: #07090f;
  --bg-soft: #0c1019;
  --surface: #101521;
  --surface-2: #151c2c;
  --ink: #f2f5fc;
  --ink-2: #b8c2d8;
  --muted: #74809b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --emerald: #10b981;
  --emerald-bright: #34d399;
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --rose: #f43f5e;
  --rose-soft: rgba(244, 63, 94, 0.14);
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.14);
  --sky: #38bdf8;
  --sky-soft: rgba(56, 189, 248, 0.14);
  --gold: #fde047;
  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.15);

  --shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f2f3ee;
  --bg-soft: #e9ece5;
  --surface: #fafaf7;
  --surface-2: #eef1ea;
  --ink: #18201c;
  --ink-2: #3b4741;
  --muted: #697770;
  --line: rgba(24, 32, 28, 0.09);
  --line-strong: rgba(24, 32, 28, 0.18);

  --emerald: #047857;
  --emerald-bright: #059669;
  --emerald-soft: rgba(4, 120, 87, 0.11);
  --rose: #be123c;
  --rose-soft: rgba(190, 18, 60, 0.1);
  --amber: #b45309;
  --amber-soft: rgba(180, 83, 9, 0.11);
  --sky: #0284c7;
  --sky-soft: rgba(2, 132, 199, 0.1);
  --gold: #d97706;
  --accent: #4338ca;
  --accent-soft: rgba(67, 56, 202, 0.1);

  --shadow: 0 14px 40px rgba(24, 32, 28, 0.08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(1000px 460px at 50% -120px, rgba(16, 185, 129, 0.15), transparent 65%),
    radial-gradient(760px 420px at 92% 10%, rgba(56, 189, 248, 0.1), transparent 60%),
    var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
html[data-theme="light"] body {
  background:
    radial-gradient(1000px 460px at 50% -120px, rgba(4, 120, 87, 0.08), transparent 65%),
    var(--bg);
}

h1, h2, h3, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
code, .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(14px);
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #10b981, #0284c7);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-copy strong { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.brand-copy small { font-size: 11px; color: var(--muted); }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--emerald-soft);
  border: 1px solid color-mix(in srgb, var(--emerald) 35%, transparent);
  color: var(--emerald-bright);
  font-size: 11.5px;
  font-weight: 700;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-bright);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.top-actions { display: flex; align-items: center; gap: 8px; }
.btn-ghost {
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
  transition: all 140ms ease;
}
.btn-ghost:hover { border-color: var(--line-strong); color: var(--ink); }
.btn-join {
  padding: 8px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #10b981, #0ea5e9);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.28);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.btn-join:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(16, 185, 129, 0.42); }

/* ---------- Page Layout ---------- */
.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 20px 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--emerald-bright);
  text-transform: uppercase;
}

/* ---------- HERO CHART STAGE ---------- */
.hero-stage {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1.5px solid color-mix(in srgb, var(--emerald) 38%, var(--line));
  background:
    radial-gradient(700px 320px at 88% 15%, rgba(16, 185, 129, 0.16), transparent 62%),
    radial-gradient(500px 260px at 10% 0%, rgba(56, 189, 248, 0.1), transparent 62%),
    var(--surface);
  box-shadow: var(--shadow);
  padding: 22px 24px 18px;
}
html[data-theme="light"] .hero-stage {
  background:
    radial-gradient(640px 280px at 88% 15%, rgba(4, 120, 87, 0.08), transparent 65%),
    var(--surface);
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #10b981, #fde047);
}

.stage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.stage-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--emerald-bright);
}
.pulse-star {
  color: var(--gold);
  animation: spinSlow 8s linear infinite;
  display: inline-block;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

.stage-title-group h1 {
  margin-top: 4px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.stage-sub {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.stage-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.seg-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.seg-btn {
  border: 0;
  border-radius: 8px;
  padding: 5px 11px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  transition: all 140ms ease;
}
.seg-btn:hover { color: var(--ink); }
.seg-btn.active {
  background: var(--surface-2);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
html[data-theme="light"] .seg-btn.active {
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* ---------- Chart + Glowing Star Beacon + Giant X Callout ---------- */
.chart-wrap {
  position: relative;
  width: 100%;
  height: 430px;
}
.pnl-chart {
  width: 100%;
  height: 100%;
}

.hidden { display: none !important; }

.star-beacon {
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 12;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}
.star-svg {
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 0 10px rgba(253, 224, 71, 0.95)) drop-shadow(0 0 22px rgba(16, 185, 129, 0.85));
  animation: starTwinkle 2.4s ease-in-out infinite;
}
@keyframes starTwinkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.18) rotate(12deg); }
}
.star-glow {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 224, 71, 0.55) 0%, rgba(16, 185, 129, 0.32) 45%, transparent 72%);
  z-index: 1;
}
.star-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(52, 211, 153, 0.75);
  z-index: 2;
  animation: starRipple 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.star-ring.ring-2 {
  border-color: rgba(253, 224, 71, 0.65);
  animation-delay: 1.2s;
}
@keyframes starRipple {
  0% { transform: scale(0.5); opacity: 0.95; }
  100% { transform: scale(2.6); opacity: 0; }
}

.hero-callout {
  position: absolute;
  z-index: 15;
  pointer-events: none;
  padding: 11px 15px;
  border-radius: 15px;
  border: 1.5px solid color-mix(in srgb, var(--emerald) 55%, rgba(253, 224, 71, 0.45));
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.36),
    0 0 24px rgba(16, 185, 129, 0.18);
  transition: left 180ms ease, top 180ms ease;
}
html[data-theme="light"] .hero-callout {
  box-shadow:
    0 10px 28px rgba(4, 120, 87, 0.16),
    0 0 0 1px rgba(4, 120, 87, 0.12) inset;
}
.callout-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold);
}
html[data-theme="light"] .callout-eyebrow { color: var(--amber); }
.callout-x {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(125deg, #fef08a 5%, #34d399 55%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(52, 211, 153, 0.45));
}
html[data-theme="light"] .callout-x {
  background: linear-gradient(125deg, #047857 10%, #0284c7 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}
.callout-x.neg {
  background: linear-gradient(125deg, #fda4af, #f43f5e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(244, 63, 94, 0.35));
}
.callout-meta {
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}

.stage-foot {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--muted);
}
.stage-sync { font-family: var(--font-mono); }

/* ---------- KPI Row ---------- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.kpi-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 16px 18px;
}
.kpi-label { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.kpi-val {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.kpi-val.pos { color: var(--emerald-bright); }
.kpi-val.neg { color: var(--rose); }
.kpi-sub { margin-top: 4px; font-size: 12px; color: var(--muted); }

/* ---------- Latest Live Signal Spotlight ---------- */
.latest-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: var(--surface);
}
.latest-card.is-pending {
  border-color: color-mix(in srgb, var(--amber) 55%, var(--line));
  background:
    radial-gradient(420px 160px at 0% 50%, var(--amber-soft), transparent 70%),
    var(--surface);
}
.latest-card.is-win {
  border-color: color-mix(in srgb, var(--emerald) 45%, var(--line));
}
.latest-card.is-loss {
  border-color: color-mix(in srgb, var(--rose) 40%, var(--line));
}
.latest-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.latest-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
}
.latest-badge.pending { background: var(--amber-soft); color: var(--amber); }
.latest-badge.win { background: var(--emerald-soft); color: var(--emerald-bright); }
.latest-badge.loss { background: var(--rose-soft); color: var(--rose); }
.latest-main { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.latest-main strong { font-size: 18px; font-weight: 900; }
.latest-price { font-family: var(--font-mono); font-size: 14px; color: var(--ink-2); }
.latest-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
}
.countdown-box {
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--amber-soft);
  color: var(--amber);
  font-weight: 800;
  font-size: 15px;
}

/* ---------- Strategy Matrix ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-head h2 { font-size: 18px; margin-top: 3px; }

.strat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.strat-card {
  text-align: left;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 15px 16px;
  color: var(--ink);
  transition: transform 140ms ease, border-color 140ms ease;
}
.strat-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--emerald) 45%, var(--line));
}
.strat-card.active {
  border-color: var(--emerald);
  box-shadow: 0 0 0 1px var(--emerald) inset;
}
.strat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.strat-name { font-size: 15px; font-weight: 800; }
.strat-pnl { font-family: var(--font-mono); font-size: 18px; font-weight: 800; }
.strat-pnl.pos { color: var(--emerald-bright); }
.strat-pnl.neg { color: var(--rose); }
.strat-meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Daily Strip ---------- */
.daily-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 18px 20px;
}
.daily-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.daily-head h2 { font-size: 17px; margin-top: 3px; }
.daily-legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.leg-item { display: inline-flex; align-items: center; gap: 5px; }
.leg-dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.leg-dot.win { background: var(--emerald); }
.leg-dot.loss { background: var(--rose); }

.daily-strip {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  overflow-x: auto;
  padding: 18px 4px 4px;
  min-height: 118px;
  position: relative;
}
.day-col {
  flex: 1 0 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.day-bar-wrap {
  height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}
.day-pct { font-family: var(--font-mono); font-size: 10px; color: var(--ink-2); margin-bottom: 3px; }
.day-bar {
  width: 18px;
  border-radius: 5px 5px 2px 2px;
  transition: filter 140ms ease;
}
.day-bar.win { background: linear-gradient(180deg, var(--emerald-bright), var(--emerald)); }
.day-bar.loss { background: linear-gradient(180deg, #fb7185, var(--rose)); }
.day-col:hover .day-bar { filter: brightness(1.18); }
.day-lbl { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }
.day-n { font-family: var(--font-mono); font-size: 10px; color: var(--muted); opacity: 0.75; }

/* ---------- Live Signal Table ---------- */
.stream-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.stream-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.stream-head h2 { font-size: 17px; margin-top: 3px; }

.table-scroll {
  overflow-x: auto;
  max-height: 540px;
  overflow-y: auto;
}
.signal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.signal-table thead th {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.signal-table thead th.num, .signal-table td.num { text-align: right; }
.signal-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.signal-table tbody tr:hover { background: color-mix(in srgb, var(--ink) 3%, transparent); }
.signal-table tbody tr.row-pending { background: color-mix(in srgb, var(--amber-soft) 45%, transparent); }
.empty-cell { text-align: center; padding: 36px 12px !important; color: var(--muted); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
}
.pill-long { background: var(--emerald-soft); color: var(--emerald-bright); }
.pill-short { background: var(--rose-soft); color: var(--rose); }
.pill-win { background: var(--emerald-soft); color: var(--emerald-bright); }
.pill-loss { background: var(--rose-soft); color: var(--rose); }
.pill-pending { background: var(--amber-soft); color: var(--amber); }
.pill-strat { background: var(--sky-soft); color: var(--sky); }

.pos { color: var(--emerald-bright); }
.neg { color: var(--rose); }
.dim { color: var(--muted); }

/* ---------- Join CTA ---------- */
.join-cta {
  border-radius: 20px;
  border: 1.5px solid color-mix(in srgb, var(--accent) 42%, var(--line));
  background:
    radial-gradient(500px 240px at 10% 0%, var(--accent-soft), transparent 65%),
    radial-gradient(500px 240px at 95% 100%, var(--emerald-soft), transparent 65%),
    var(--surface);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.join-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 1fr);
  gap: 20px;
  align-items: center;
}
.join-copy h2 { font-size: 22px; font-weight: 900; margin-top: 4px; }
.join-copy p { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }

.join-primary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.join-code-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1.5px dashed color-mix(in srgb, var(--emerald) 55%, var(--line-strong));
  background: var(--surface);
}
.jc-label { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.join-code-box code { font-size: 20px; font-weight: 900; letter-spacing: 0.08em; }
.btn-copy {
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  padding: 5px 11px;
  background: var(--emerald-soft);
  color: var(--emerald-bright);
  font-size: 12px;
  font-weight: 700;
}
.btn-copy:hover { background: var(--emerald); color: #fff; }

.join-btns { display: flex; gap: 8px; }
.btn-join-lg {
  flex: 1;
  text-align: center;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #10b981, #0284c7);
  color: #fff;
  font-weight: 800;
  font-size: 13.5px;
  text-decoration: none;
}
.btn-tg {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-weight: 700;
  font-size: 12.5px;
  text-decoration: none;
}
.btn-tg:hover { border-color: var(--sky); color: var(--sky); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.price-card {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.price-card.is-free {
  border-color: color-mix(in srgb, var(--emerald) 55%, var(--line));
  background:
    radial-gradient(280px 120px at 90% 0%, var(--emerald-soft), transparent 72%),
    var(--bg-soft);
}
.price-card.is-season {
  border-color: color-mix(in srgb, var(--sky) 42%, var(--line));
}
.price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.price-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}
.price-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
}
.price-badge.free {
  background: var(--emerald-soft);
  color: var(--emerald-bright);
}
.price-badge.season {
  background: var(--sky-soft);
  color: var(--sky);
}
.price-val-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--font-mono);
}
.price-val {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.price-val.free {
  color: var(--emerald-bright);
}
.price-strike {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}
.price-unit {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}
.price-desc {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.55;
}

.join-exchanges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.jex-card {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.jex-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.jex-kind { font-family: var(--font-mono); font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; }
.jex-kind.cex { background: var(--accent-soft); color: var(--sky); }
.jex-kind.dex { background: var(--amber-soft); color: var(--amber); }
.jex-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-2);
}
.jex-row code { font-weight: 800; color: var(--ink); }
.btn-mini-copy {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
}
.btn-mini-copy:hover { border-color: var(--emerald); color: var(--emerald-bright); }
.jex-row a {
  margin-left: auto;
  color: var(--emerald-bright);
  font-weight: 700;
  text-decoration: none;
}
.jex-row a + a { margin-left: 4px; color: var(--sky); }
.jex-row a:hover { text-decoration: underline; }

/* ---------- Footer & Toast ---------- */
.foot {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding-top: 8px;
  line-height: 1.9;
}

.toast-stack {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid color-mix(in srgb, var(--emerald) 45%, var(--line));
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .kpi-grid, .strat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .join-top, .pricing-grid, .join-exchanges { grid-template-columns: 1fr; }
  .stage-controls { align-items: flex-start; }
}
@media (max-width: 640px) {
  .page { padding: 14px 12px 48px; }
  .hero-stage { padding: 16px 12px 14px; }
  .stage-title-group h1 { font-size: 20px; }
  .chart-wrap { height: 300px; }
  .callout-eyebrow { font-size: 9.5px; }
  .callout-x { font-size: 30px; }
  .hero-callout { padding: 8px 12px; border-radius: 12px; }
  .callout-meta { font-size: 10.5px; }
  .kpi-val { font-size: 22px; }
}
