/* Design Tokens — OKLCH dark theme with indigo accent */

:root {
  /* Surfaces */
  --surface-0: #111118;
  --surface-1: #18181f;
  --surface-2: #1f1f2a;
  --surface-3: #282836;

  /* Brand / Accent */
  --color-primary: #5b5bd6;
  --color-primary-hover: #6e6ede;
  --color-primary-subtle: rgba(91, 91, 214, 0.15);

  /* Semantic */
  --color-success: #2eb88a;
  --color-success-subtle: rgba(46, 184, 138, 0.15);
  --color-danger: #d6453b;
  --color-danger-subtle: rgba(214, 69, 59, 0.15);
  --color-warning: #d4a72c;
  --color-warning-subtle: rgba(212, 167, 44, 0.15);

  /* Text */
  --text-primary: #ededf0;
  --text-secondary: #9898a8;
  --text-muted: #6b6b7b;

  /* Borders */
  --border-subtle: #2a2a38;
  --border-default: #363645;
  --border-focus: var(--color-primary);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* Spacing (4px base) */
  --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;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-lg: 16px;
  --text-xl: 18px;
  --text-2xl: 22px;
  --text-3xl: 28px;

  --weight-normal: 420;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 650;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.3);

  /* Transitions */
  --transition-fast: 120ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;

  /* Z-index */
  --z-dropdown: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 400;
}
