/* ==========================================================================
   GRIP-Tek™ — Three-Layer Design Token Architecture
   Layer 1: Primitive  ->  Layer 2: Semantic  ->  Layer 3: Component
   Identity: Deep Obsidian Dark · Electric Blue · Burnished Bronze/Gold
   Typography: Sora (Display/Body) + JetBrains Mono (Technical/Telemetry)
   ========================================================================== */

:root {
  /* === LAYER 1: PRIMITIVES === */
  --gt-obsidian-950: #04070f;
  --gt-obsidian-900: #070c18;
  --gt-obsidian-850: #0b1222;
  --gt-obsidian-800: #0f172a;
  --gt-obsidian-700: #17233b;
  --gt-obsidian-600: #243451;

  --gt-slate-100: #f1f5f9;
  --gt-slate-200: #e2e8f0;
  --gt-slate-300: #cbd5e1;
  --gt-slate-400: #94a3b8;
  --gt-slate-500: #64748b;

  --gt-blue-300: #7dd3fc;
  --gt-blue-400: #38bdf8;
  --gt-blue-500: #0ea5e9;
  --gt-blue-600: #0284c7;
  --gt-cyan-400: #22d3ee;

  --gt-bronze-300: #f3c978;
  --gt-bronze-400: #dfa44d;
  --gt-bronze-500: #c4842f;
  --gt-bronze-600: #8f5c1c;

  --gt-emerald-400: #34d399;
  --gt-emerald-500: #10b981;
  --gt-amber-400: #fbbf24;
  --gt-amber-500: #f59e0b;
  --gt-red-400: #f87171;
  --gt-red-500: #ef4444;

  /* Typography Primitives */
  --gt-font-display: 'Sora', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --gt-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Spacing Scale */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.5rem;   /* 24px */
  --space-6: 2rem;     /* 32px */
  --space-7: 3rem;     /* 48px */
  --space-8: 4rem;     /* 64px */
  --space-9: 5.5rem;   /* 88px */

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Easing & Timing (fast, responsive UI — opposite of Lumy) */
  --ease-snappy: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --dur-slow: 360ms;

  /* === LAYER 2: SEMANTIC === */
  --bg-canvas: var(--gt-obsidian-950);
  --bg-surface: var(--gt-obsidian-900);
  --bg-elevated: var(--gt-obsidian-850);
  --bg-card: rgba(11, 18, 34, 0.78);
  --bg-card-hover: rgba(17, 27, 50, 0.92);

  --text-primary: #f8fafc;
  --text-secondary: var(--gt-slate-300);
  --text-muted: var(--gt-slate-400);
  --text-dim: var(--gt-slate-500);

  --accent-electric: var(--gt-blue-400);
  --accent-electric-strong: var(--gt-blue-500);
  --accent-cyan: var(--gt-cyan-400);
  --accent-bronze: var(--gt-bronze-400);
  --accent-bronze-light: var(--gt-bronze-300);

  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-electric: rgba(56, 189, 248, 0.35);
  --border-bronze: rgba(223, 164, 77, 0.35);

  --glow-electric: 0 0 28px rgba(56, 189, 248, 0.22);
  --glow-bronze: 0 0 28px rgba(223, 164, 77, 0.18);

  /* === LAYER 3: COMPONENT === */
  --topbar-height: 76px;
  --container-max: 1180px;
  --focus-ring: 0 0 0 2px var(--bg-canvas), 0 0 0 4px var(--accent-electric);
}
