/* ─────────────────────────── Tokens ─────────────────────────── */
:root {
  --bg: #05070B;
  --bg-soft: #0A0D13;
  --surface: rgba(255, 255, 255, 0.028);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #EAF0F7;
  --muted: #8B95A7;
  --faint: #5B6475;
  --bull: #0ECB81;
  --bear: #F6465D;
  --accent: #0ECB81;
  --accent-2: #38D9F5;
  --gold: #FFB300;
  --violet: #8B7CFF;
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; scrollbar-color: rgba(255, 255, 255, 0.18) transparent; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: rgba(14, 203, 129, 0.3); }

.container { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--mono); }
.bull { color: var(--bull); }
.bear { color: var(--bear); }
.muted { color: var(--muted); }

/* Ambient background: soft glow + faint grid that fades out */
.ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 50% -140px, rgba(14, 203, 129, 0.16), transparent 70%),
    radial-gradient(700px 400px at 85% 10%, rgba(56, 217, 245, 0.07), transparent 70%),
    var(--bg);
}
.ambient::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 30%, transparent 75%);
}

/* ─────────────────────────── Type ─────────────────────────── */
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.035em; line-height: 1.05; margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6.6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 640px; }
.grad {
  background: linear-gradient(100deg, #fff 10%, var(--bull) 55%, var(--accent-2) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bull);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.6; }

.section { padding: 100px 0; position: relative; }
.section-head { display: grid; gap: 18px; margin-bottom: 56px; max-width: 760px; }
.section-head.center { text-align: center; margin-inline: auto; justify-items: center; }

/* ─────────────────────────── Buttons ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.96rem; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  color: #03140C;
  background: linear-gradient(180deg, #3DF2A8, var(--bull));
  box-shadow: 0 0 0 1px rgba(14, 203, 129, 0.5), 0 10px 40px -10px rgba(14, 203, 129, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(14, 203, 129, 0.7), 0 16px 50px -10px rgba(14, 203, 129, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-ghost { background: var(--surface-2); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 0.88rem; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ─────────────────────────── Nav ─────────────────────────── */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(var(--maxw), 100% - 28px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.nav.scrolled { background: rgba(8, 11, 16, 0.72); border-color: var(--border); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.03em; }
.brand-mark { width: 30px; height: 30px; }
.brand small { font-family: var(--mono); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.1em; color: var(--muted); padding: 3px 7px; border: 1px solid var(--border); border-radius: 6px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 0.92rem; color: var(--muted); transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface-2); }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--text); margin: 4px auto; transition: transform 0.3s; }

/* ─────────────────────────── Hero ─────────────────────────── */
.hero { padding: 170px 0 60px; text-align: center; }
.hero-inner { display: grid; justify-items: center; gap: 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px;
  border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem; color: var(--muted);
}
.pill b { font-weight: 600; color: #03140C; background: var(--bull); border-radius: 999px; padding: 2px 9px; font-size: 0.74rem; }
.hero h1 { max-width: 980px; }
.hero .lead { margin-inline: auto; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-notes { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; font-size: 0.86rem; color: var(--muted); }
.hero-notes span { display: inline-flex; gap: 8px; align-items: center; }
.hero-notes svg { color: var(--bull); }

/* The TradingView-style chart window */
.stage { margin-top: 64px; position: relative; perspective: 1800px; }
.stage::before {
  content: ""; position: absolute; inset: 8% 6% -6%; z-index: -1;
  background: radial-gradient(closest-side, rgba(14, 203, 129, 0.28), transparent);
  filter: blur(50px);
}
.window {
  position: relative; border-radius: 22px; overflow: hidden; text-align: left;
  background: linear-gradient(180deg, #0C1017, #080B10);
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  transform: rotateX(8deg) scale(0.97); transform-origin: 50% 0;
  transition: transform 1.2s var(--ease);
}
.window.in { transform: rotateX(0deg) scale(1); }
.win-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.82rem; }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #2A2F39; }
.ticker { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ticker .sym { font-family: var(--mono); font-size: 0.8rem; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); }
.tfs { display: flex; gap: 2px; margin-left: auto; font-family: var(--mono); font-size: 0.74rem; color: var(--faint); }
.tfs span { padding: 3px 8px; border-radius: 6px; }
.tfs span.on { color: var(--text); background: var(--surface-2); }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--bull); font-family: var(--mono); font-size: 0.72rem; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bull); box-shadow: 0 0 0 0 rgba(14, 203, 129, 0.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(14, 203, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(14, 203, 129, 0); } }

.chart-area { position: relative; height: clamp(360px, 46vw, 560px); }
.chart-area canvas { position: absolute; inset: 0; }

/* In-chart dashboard replica */
.dash {
  position: absolute; bottom: 16px; right: 90px; width: 236px;
  border-radius: 12px; overflow: hidden; font-size: 0.74rem;
  background: rgba(10, 13, 19, 0.86); border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
}
.dash-head { display: flex; justify-content: space-between; padding: 8px 12px; background: linear-gradient(90deg, #0A7E5C, #0B9468); color: #fff; font-weight: 700; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em; }
.dash-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 12px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.dash-row span:first-child { color: var(--muted); }
.dash-row span:last-child { font-weight: 700; font-family: var(--mono); font-size: 0.7rem; transition: color 0.3s; }
.dash-row .flash { animation: flash 0.9s var(--ease); }
@keyframes flash { 0% { background: rgba(14, 203, 129, 0.35); } 100% { background: transparent; } }

/* Alert toast */
.toast {
  position: absolute; left: 18px; top: 16px; width: min(360px, calc(100% - 36px));
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px;
  border-radius: 14px; background: rgba(14, 18, 26, 0.92); border: 1px solid var(--border-strong);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(-14px) scale(0.98); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: none; }
.toast-icon { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(14, 203, 129, 0.14); color: var(--bull); }
.toast-title { font-weight: 700; font-size: 0.86rem; display: flex; justify-content: space-between; gap: 10px; }
.toast-title small { font-weight: 500; color: var(--faint); font-size: 0.72rem; }
.toast-body { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); margin-top: 2px; }

.caption { margin-top: 16px; font-size: 0.78rem; color: var(--faint); text-align: center; }

/* ─────────────────────────── Stats strip ─────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--border); }
.stat { padding: 34px 24px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; letter-spacing: -0.04em; }
.stat span { color: var(--muted); font-size: 0.9rem; }

/* ─────────────────────────── Cards & bento ─────────────────────────── */
.card {
  position: relative; border-radius: var(--radius); padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
/* Cursor-following glow, driven by --mx/--my from main.js */
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(14, 203, 129, 0.1), transparent 60%);
}
.card:hover { border-color: var(--border-strong); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(14, 203, 129, 0.1); color: var(--bull); border: 1px solid rgba(14, 203, 129, 0.25);
}
.tag { display: inline-block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--border-strong); color: var(--muted); margin-bottom: 14px; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento .card { grid-column: span 2; }
.bento .wide { grid-column: span 3; }
.bento .xl { grid-column: span 4; }
.bento .tall { grid-row: span 2; }

/* Mini visuals inside bento cards */
.viz { margin: -4px -4px 22px; height: 150px; border-radius: 14px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--border); position: relative; overflow: hidden; }
.viz svg { width: 100%; height: 100%; }
.concept-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.concept-list span { font-size: 0.8rem; padding: 6px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: #C9D2DF; }

/* Full dashboard replica card */
.dash-big { width: 100%; max-width: 360px; margin: 6px auto 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-strong); background: #0B0F15; font-size: 0.82rem; }
.dash-big .dash-row { padding: 8px 14px; }

/* ─────────────────────────── Walkthrough ─────────────────────────── */
.walk { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 28px; align-items: stretch; }
.steps { display: grid; gap: 12px; align-content: start; }
.step {
  text-align: left; padding: 22px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); transition: background 0.3s, border-color 0.3s; position: relative; overflow: hidden;
}
.step .num { font-family: var(--mono); font-size: 0.72rem; color: var(--faint); letter-spacing: 0.1em; }
.step h3 { margin: 6px 0 6px; }
.step p { color: var(--muted); font-size: 0.93rem; }
.step.active { background: rgba(14, 203, 129, 0.06); border-color: rgba(14, 203, 129, 0.35); }
.step.active .num { color: var(--bull); }
.step .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--bull); }
.step.active .bar { animation: fill var(--dur, 6s) linear forwards; }
@keyframes fill { to { width: 100%; } }
.walk-view { border-radius: var(--radius); border: 1px solid var(--border-strong); background: linear-gradient(180deg, #0C1017, #080B10); position: relative; overflow: hidden; min-height: 420px; }
.walk-view .chart-area { height: 100%; min-height: 420px; }
.walk-legend { position: absolute; left: 18px; top: 16px; font-family: var(--mono); font-size: 0.74rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.walk-legend b { color: var(--bull); }

/* ─────────────────────────── Grading ─────────────────────────── */
.grade-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.checks { display: grid; gap: 10px; }
.check {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface);
  transition: border-color 0.25s, background 0.25s;
}
.check .box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--border-strong); display: grid; place-items: center; transition: background 0.25s, border-color 0.25s; }
.check .box svg { opacity: 0; transform: scale(0.6); transition: 0.25s var(--ease); color: #03140C; }
.check.on { border-color: rgba(14, 203, 129, 0.35); background: rgba(14, 203, 129, 0.05); }
.check.on .box { background: var(--bull); border-color: var(--bull); }
.check.on .box svg { opacity: 1; transform: none; }
.check strong { display: block; font-size: 0.97rem; }
.check small { color: var(--muted); font-size: 0.84rem; }
.grade-card { text-align: center; padding: 44px 28px; }
.ring { width: 220px; height: 220px; margin: 0 auto 22px; position: relative; }
.ring svg { transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .track { stroke: rgba(255, 255, 255, 0.06); }
.ring .prog { stroke: var(--bull); stroke-linecap: round; transition: stroke-dashoffset 0.7s var(--ease), stroke 0.4s; }
.ring .letter { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 5rem; font-weight: 700; letter-spacing: -0.05em; }
.ring .score { position: absolute; left: 0; right: 0; bottom: 50px; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.grade-note { color: var(--muted); font-size: 0.95rem; min-height: 3em; }

/* ─────────────────────────── Alerts ─────────────────────────── */
.alerts { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); gap: 2px; margin-bottom: 18px; }
.tabs button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-size: 0.86rem; color: var(--muted); transition: 0.25s; }
.tabs button.on { background: var(--text); color: var(--bg); font-weight: 600; }
.alert-preview { min-height: 280px; }
.notif { display: flex; gap: 12px; padding: 16px; border-radius: 16px; background: rgba(20, 24, 33, 0.9); border: 1px solid var(--border-strong); margin-bottom: 12px; animation: rise 0.5s var(--ease) both; }
.notif:nth-child(2) { animation-delay: 0.08s; }
.notif:nth-child(3) { animation-delay: 0.16s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.notif > div:last-child { flex: 1; min-width: 0; }
.notif .app { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; }
.notif .t { font-weight: 700; font-size: 0.9rem; display: flex; justify-content: space-between; gap: 8px; }
.notif .t small { color: var(--faint); font-weight: 500; }
.notif .b { color: var(--muted); font-size: 0.86rem; }
.discord { border-left: 3px solid var(--bull); }
.discord-embed { margin-top: 8px; padding: 10px 12px; border-radius: 8px; background: rgba(0, 0, 0, 0.3); font-size: 0.82rem; display: grid; grid-template-columns: repeat(3, auto); gap: 4px 22px; }
.discord-embed small { color: var(--faint); display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; }
pre.code { margin: 0; padding: 20px; border-radius: 16px; background: #0A0D13; border: 1px solid var(--border-strong); font-family: var(--mono); font-size: 0.8rem; line-height: 1.7; color: #C9D2DF; overflow-x: auto; animation: rise 0.5s var(--ease) both; }
pre.code .k { color: var(--accent-2); }
pre.code .s { color: var(--bull); }
pre.code .n { color: var(--gold); }

/* ─────────────────────────── Themes ─────────────────────────── */
.themes { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.theme-view { height: 320px; border-radius: var(--radius); border: 1px solid var(--border-strong); background: linear-gradient(180deg, #0C1017, #080B10); position: relative; overflow: hidden; }
.theme-view .chart-area { height: 100%; }
.swatches { display: grid; gap: 10px; }
.swatch { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); text-align: left; transition: 0.25s; }
.swatch.on { border-color: var(--border-strong); background: var(--surface-2); }
.swatch .chips { display: flex; }
.swatch .chips i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--bg); }
.swatch .chips i + i { margin-left: -7px; }
.swatch strong { font-size: 0.95rem; }
.swatch small { color: var(--muted); display: block; font-size: 0.8rem; }

/* ─────────────────────────── Audience & honesty ─────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.honest { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.honest-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.honest-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.honest-list li b { color: var(--text); font-weight: 600; }
.honest-list svg { flex: none; margin-top: 3px; color: var(--bull); }
.no-list svg { color: var(--bear); }

/* ─────────────────────────── Pricing ─────────────────────────── */
.billing { display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; color: var(--muted); font-size: 0.9rem; }
.switch { width: 46px; height: 26px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border-strong); position: relative; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--text); transition: transform 0.3s var(--ease); }
.switch[aria-checked="true"] { background: rgba(14, 203, 129, 0.25); border-color: rgba(14, 203, 129, 0.5); }
.switch[aria-checked="true"]::after { transform: translateX(20px); background: var(--bull); }
.save { font-size: 0.74rem; font-weight: 700; color: #03140C; background: var(--bull); padding: 2px 8px; border-radius: 999px; }
.founders { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; margin: -20px auto 28px; max-width: 760px; padding: 14px 20px; border-radius: 16px; border: 1px solid rgba(255, 179, 0, 0.35); background: rgba(255, 179, 0, 0.06); color: var(--muted); font-size: 0.95rem; }
.founders b { color: var(--text); }
.founders-badge { font-family: var(--mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; color: #1A1200; background: var(--gold); padding: 4px 10px; border-radius: 999px; }
.price + .muted s { color: var(--faint); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 22px; padding: 32px; }
.plan.featured { border-color: rgba(14, 203, 129, 0.45); background: linear-gradient(180deg, rgba(14, 203, 129, 0.09), rgba(255, 255, 255, 0.015)); box-shadow: 0 30px 80px -40px rgba(14, 203, 129, 0.6); }
.plan .ribbon { position: absolute; top: 18px; right: 18px; font-size: 0.7rem; font-weight: 700; font-family: var(--mono); letter-spacing: 0.06em; color: #03140C; background: var(--bull); padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 1.05rem; color: var(--muted); font-family: var(--font); font-weight: 600; letter-spacing: 0; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-family: var(--display); font-size: 3.2rem; font-weight: 600; letter-spacing: -0.05em; }
.price span { color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 0.93rem; color: #C9D2DF; }
.plan li { display: flex; gap: 10px; }
.plan li svg { flex: none; margin-top: 4px; color: var(--bull); }
.plan .btn { margin-top: auto; }
.fine { color: var(--faint); font-size: 0.8rem; text-align: center; margin-top: 22px; }

/* ─────────────────────────── FAQ ─────────────────────────── */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border-radius: 16px; border: 1px solid var(--border); background: var(--surface); transition: background 0.3s, border-color 0.3s; }
.faq details[open] { background: var(--surface-2); border-color: var(--border-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; transition: transform 0.35s var(--ease); }
.faq details[open] .plus { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 22px; color: var(--muted); }
.faq .answer p + p { margin-top: 10px; }

/* ─────────────────────────── CTA & footer ─────────────────────────── */
.cta-final { text-align: center; padding: 90px 30px; border-radius: 32px; position: relative; overflow: hidden; border: 1px solid rgba(14, 203, 129, 0.3); background: radial-gradient(600px 300px at 50% 0%, rgba(14, 203, 129, 0.22), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)); }
.cta-final h2 { max-width: 760px; margin: 0 auto 18px; }
.cta-final .lead { margin: 0 auto 30px; }

footer { padding: 70px 0 40px; border-top: 1px solid var(--border); margin-top: 120px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h4 { font-family: var(--font); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 0.92rem; color: var(--muted); }
.foot a:hover { color: var(--text); }
.disclaimer { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); font-size: 0.76rem; line-height: 1.7; color: var(--faint); display: grid; gap: 10px; }

/* ─────────────────────────── Modal ─────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(3, 5, 8, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal { grid-template-columns: minmax(0, 460px); justify-content: center; }
.modal-card { width: 100%; max-height: calc(100vh - 40px); overflow-y: auto; padding: 32px; border-radius: 24px; background: #0C1017; border: 1px solid var(--border-strong); transform: translateY(16px) scale(0.98); transition: transform 0.4s var(--ease); position: relative; }
.modal.open .modal-card { transform: none; }
.modal-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface-2); }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field label { font-size: 0.84rem; color: var(--muted); }
.field input { height: 48px; border-radius: 12px; border: 1px solid var(--border-strong); background: rgba(0, 0, 0, 0.3); color: var(--text); padding: 0 14px; font: inherit; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus { border-color: var(--bull); box-shadow: 0 0 0 4px rgba(14, 203, 129, 0.15); }
.field small { color: var(--faint); font-size: 0.78rem; }
.modal .btn { width: 100%; margin-top: 22px; }
.pre-steps { margin: 20px 0 0; padding-left: 20px; display: grid; gap: 10px; color: var(--muted); font-size: 0.9rem; }
.pre-steps b { color: var(--text); font-weight: 600; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; padding: 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-size: 0.84rem; color: var(--muted); cursor: pointer; }
.agree input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--bull); }

/* ─────────────────────────── Docs pages ─────────────────────────── */
.doc-hero { padding: 150px 0 40px; }
.doc { display: grid; grid-template-columns: 230px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 2px; font-size: 0.9rem; }
.toc a { padding: 7px 12px; border-radius: 8px; color: var(--muted); border-left: 2px solid transparent; }
.toc a:hover, .toc a.on { color: var(--text); background: var(--surface); border-left-color: var(--bull); }
.prose { max-width: 740px; }
.prose h2 { font-size: 1.9rem; margin: 64px 0 16px; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 10px; }
.prose p, .prose li { color: #B7C0CE; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; margin: 14px 0; }
.prose code { font-family: var(--mono); font-size: 0.86em; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.92rem; }
.prose th, .prose td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--faint); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.callout { padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(14, 203, 129, 0.3); background: rgba(14, 203, 129, 0.06); margin: 20px 0; color: #C9D2DF; }
.callout.warn { border-color: rgba(255, 179, 0, 0.35); background: rgba(255, 179, 0, 0.06); }
.placeholder { background: rgba(255, 179, 0, 0.12); color: var(--gold); padding: 1px 6px; border-radius: 5px; font-family: var(--mono); font-size: 0.85em; }

/* ─────────────────────────── Reveal ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ─────────────────────────── Responsive ─────────────────────────── */
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .card, .bento .wide, .bento .xl { grid-column: span 2; }
  .bento .tall { grid-row: auto; }
  .walk, .grade-wrap, .alerts, .themes, .honest { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .grid-3 { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .doc { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: block; }
  .nav.menu-open { border-radius: 24px; flex-wrap: wrap; background: rgba(8, 11, 16, 0.95); border-color: var(--border); }
  .nav.menu-open .nav-links { display: grid; width: 100%; order: 3; padding: 6px 0 4px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--border); }
  .dash { display: none; }
  .tfs { display: none; }
  .section { padding: 84px 0; }
}
@media (max-width: 560px) {
  .brand small { display: none; }
  .nav { padding-left: 14px; }
  .pill { font-size: 0.8rem; }
  .foot { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; }
  .card { padding: 22px; }
  .modal-card { padding: 26px 22px; }
  .discord-embed { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .window { transform: none; }
}
