:root {
  /* Color palette */
  --color-bg: #0B0F14;
  --color-surface: #11161D;
  --color-surface-elevated: #161D26;
  --color-border: #1E2731;
  --color-border-strong: #2A3441;
  --color-text-primary: #E8EEF4;
  --color-text-secondary: #98A6B5;
  --color-text-muted: #6B7785;
  --color-accent: #4ADE80;
  --color-accent-hover: #3CC76B;
  --color-accent-muted: #1F3A29;
  --color-danger: #F87171;
  --color-warning: #FBBF24;
  --color-info: #60A5FA;

  /* Typography families */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Type scale */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.75rem;
  --fs-7xl: 4.5rem;

  /* Line heights */
  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.75;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.6);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.8);

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
}

html { color-scheme: dark; }
body {
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
}
code, pre { font-family: var(--font-mono); }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); }
