:root {
  /* Colors — Dark mode default */
  --color-bg: #0f0f0f;
  --color-surface: #1a1a1a;
  --color-surface-2: #252525;
  --color-surface-3: #2f2f2f;
  --color-border: #333333;
  --color-text: #e5e5e5;
  --color-text-muted: #888888;
  --color-accent: #f5a623;
  --color-accent-hover: #f7b84a;
  --color-accent-dim: rgba(245, 166, 35, 0.15);
  --color-success: #4caf50;
  --color-danger: #ef5350;
  --color-danger-dim: rgba(239, 83, 80, 0.15);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);

  /* Spacing — 8px base */
  --space-2xs: 2px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Typography */
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --text-caption: 0.75rem;
  --text-body-sm: 0.875rem;
  --text-body: 1rem;
  --text-subheading: 1.25rem;
  --text-h3: 1.5rem;
  --text-h2: 2rem;
  --text-h1: 2.5rem;

  /* Line heights */
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  /* Font weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Border radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;

  /* Layout */
  --nav-height: 64px;
  --sidebar-width: 240px;
  --content-max-width: 640px;
  --touch-target: 44px;
}

/* Light mode */
:root.light {
  --color-bg: #f5f5f5;
  --color-surface: #ffffff;
  --color-surface-2: #ebebeb;
  --color-surface-3: #e0e0e0;
  --color-border: #d4d4d4;
  --color-text: #1a1a1a;
  --color-text-muted: #666666;
  --color-accent-dim: rgba(245, 166, 35, 0.12);
  --color-danger-dim: rgba(239, 83, 80, 0.12);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}
