:root {
  /* ── Background ── */
  --bg: #0a0d17;
  --bg-secondary: #0f1424;
  --surface: #141a31;
  --surface-hover: #1a2140;
  --surface-elevated: #1f274a;
  --surface-active: #27315a;

  /* ── Borders ── */
  --border: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(255, 255, 255, 0.18);
  --border-strong: rgba(255, 255, 255, 0.22);
  --border-focus: var(--accent);

  /* ── Text ── */
  --text-primary: #f5f7ff;
  --text-secondary: #aab2d1;
  --text-muted: #7781a8;
  --text-disabled: #535a7d;

  /* ── Accent ── */
  --accent: #7c5cff;
  --accent-hover: #8f73ff;
  --accent-active: #6a46ff;
  --accent-muted: rgba(124, 92, 255, 0.18);
  --accent-glow: rgba(124, 92, 255, 0.35);

  /* ── Semantic ── */
  --success: #22c55e;
  --success-muted: rgba(34, 197, 94, 0.15);
  --danger: #ef4444;
  --danger-muted: rgba(239, 68, 68, 0.15);
  --warning: #f59e0b;
  --warning-muted: rgba(245, 158, 11, 0.15);
  --info: #3b82f6;
  --info-muted: rgba(59, 130, 246, 0.15);

  /* ── Glass ── */
  --glass: rgba(255, 255, 255, 0.03);
  --glass-hover: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --glass-light: rgba(255, 255, 255, 0.04);

  /* ── Layout ── */
  --header-height: 64px;
  --sidebar-width: 260px;
  --sidebar-collapsed-width: 60px;

  /* ── Spacing ── */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-xs: var(--space-1);
  --space-sm: var(--space-2);
  --space-md: var(--space-4);
  --space-lg: var(--space-6);
  --space-xl: var(--space-8);
  --space-2xl: var(--space-12);

  /* ── Typography ── */
  --font-sans: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-md: 15px;
  --text-lg: 17px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 36px;
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-size-xs: var(--text-xs);
  --font-size-sm: var(--text-sm);
  --font-size-base: var(--text-base);
  --font-size-md: var(--text-md);
  --font-size-lg: var(--text-lg);
  --font-size-xl: var(--text-xl);
  --font-size-2xl: var(--text-2xl);
  --line-height: var(--leading-relaxed);

  /* ── Radius ── */
  --radius-sm: 8px;
  --radius: 10px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.36);
  --shadow-xl: 0 20px 56px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 28px var(--accent-glow);
  --shadow-inner: inset 0 2px 6px rgba(0, 0, 0, 0.25);
  --shadow-1: var(--shadow-md);
  --shadow-2: var(--shadow-lg);
  --shadow-3: var(--shadow-xl);

  /* ── Animation ── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s var(--ease-out);
  --transition-base: 0.2s var(--ease-out);
  --transition-slow: 0.3s var(--ease-out);

  /* ── Z-index ── */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}
