/* ─── Design Tokens ─── */

:root {
  /* Light mode */
  --color-bg: #F5F4F2;
  --color-surface: #FFFFFF;
  --color-surface-hover: #EDEBE8;
  --color-text-primary: #1A1A1C;
  --color-text-secondary: #6B6A66;
  --color-text-tertiary: #9C9A96;
  --color-border: #E2E0DC;
  --color-border-hover: #C8C5C0;
  --color-accent: #8A7A6C;
  --color-accent-hover: #7A6A5C;
  --color-accent-subtle: rgba(138, 122, 108, 0.08);
  --color-accent-secondary: #4A8A7A;
  --color-accent-secondary-subtle: rgba(74, 138, 122, 0.08);
  --color-overlay: rgba(26, 26, 28, 0.04);
  --color-code-bg: #EDEBE8;
  --color-shadow: rgba(26, 26, 28, 0.06);

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* Font sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.75rem;
  --text-4xl: 2rem;
  --text-5xl: 2.5rem;
  --text-6xl: 3rem;
  --text-7xl: 4rem;
  --text-8xl: 5rem;
  --text-9xl: 6rem;

  /* Line heights */
  --leading-tight: 1.05;
  --leading-snug: 1.2;
  --leading-normal: 1.4;
  --leading-relaxed: 1.6;
  --leading-loose: 1.8;

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

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-28: 7rem;
  --space-32: 8rem;
  --space-40: 10rem;
  --space-48: 12rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 860px;
  --content-padding: var(--space-6);
  --content-padding-desktop: var(--space-8);

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 2px var(--color-shadow);
  --shadow-md: 0 4px 12px var(--color-shadow);
  --shadow-lg: 0 8px 24px var(--color-shadow);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 300ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
