/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --bg-0: #050508;
  --bg-1: #08080f;
  --bg-2: #0d0b24;
  --bg-3: #140e32;
  --line: #1e1e3a;
  --line-2: #2a1f5e;
  --text-0: #f1f5f9;
  --text-1: #94a3b8;
  --text-2: #64748b;
  --text-3: #3b3b5c;
  --violet: #7c3aed;
  --violet-2: #a855f7;
  --cyan: #06b6d4;
  --cyan-2: #67e8f9;
  --gold: #f59e0b;
  --green: #22c55e;
  --pink: #ec4899;
  --accent: var(--violet);
  --accent-2: var(--cyan);
  --holo: linear-gradient(135deg, var(--violet-2), var(--cyan));

  --space-card: 32px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg-0);
  color: var(--text-0);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ── Typography utilities ───────────────────────────────────── */
.display, h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; }
.eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.mono { font-family: 'JetBrains Mono', monospace; }

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(5,5,8,0.6);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(145deg,#0d0b24,#140e32,#0a1428);
  box-shadow: 0 0 0 1px var(--line-2), 0 4px 16px rgba(124,58,237,0.35);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800; font-size: 17px; letter-spacing: -0.01em;
  color: var(--text-0);
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 13px; color: var(--text-1); font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text-0); }
.nav-cta {
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--text-0); color: var(--bg-0);
  font-size: 13px; font-weight: 700;
  border: none;
  transition: transform 0.15s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,255,255,0.15); }

/* ── Footer base ────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  background: #03030a;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--text-3);
}
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom a { transition: color 0.15s; }
.footer-bottom a:hover { color: var(--text-1); }

@media (max-width: 980px) {
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
}
