/* ==================================================================
   TOKENS — colour, type, spacing, radii, motion
   ================================================================== */

:root {
  color-scheme: dark;

  /* Surfaces */
  --bg-0: #07080f;
  --bg-1: #0b0e17;
  --bg-2: #0e1220;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-raised: rgba(255, 255, 255, 0.045);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.055);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Type */
  --text: #f8fafc;
  --text-soft: #cbd5e1;
  --muted: #94a3b8;
  --faint: #70809a;

  /* Accents */
  --indigo: #6366f1;
  --indigo-bright: #818cf8;
  --violet: #7c3aed;
  --violet-bright: #a78bfa;
  --cyan: #06b6d4;
  --cyan-bright: #22d3ee;
  --emerald: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;

  --grad-brand: linear-gradient(
    118deg,
    #818cf8 0%,
    #a78bfa 46%,
    #22d3ee 100%
  );
  --grad-brand-soft: linear-gradient(
    135deg,
    rgba(129, 140, 248, 0.18),
    rgba(167, 139, 250, 0.12) 50%,
    rgba(34, 211, 238, 0.12)
  );
  --grad-surface: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.052),
    rgba(255, 255, 255, 0.018)
  );

  /* Fonts */
  --font-display: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui,
    -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    monospace;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 76px;
  --section-y: clamp(84px, 9vw, 132px);

  /* Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-2xl: 38px;
  --radius-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Elevation */
  --shadow-sm: 0 10px 28px -16px rgba(0, 0, 0, 0.7);
  --shadow-md: 0 28px 70px -36px rgba(0, 0, 0, 0.9);
  --shadow-glow: 0 24px 80px -34px rgba(99, 102, 241, 0.48);
  --shadow-glow-cyan: 0 22px 70px -34px rgba(6, 182, 212, 0.32);
}
