/* ── Design Tokens ── */

:root {
  /* Brand palette */
  --color-cream: #f6f4f0;
  --color-white: #ffffff;
  --color-charcoal: #3a3a3a;
  --color-text-mid: #6b6b63;
  --color-text-muted: #9a9a8e;
  --color-slate: #4f6d7a;
  --color-slate-hover: #3d5a66;
  --color-sage: #8a9a6c;
  --color-sage-dark: #6b7d52;
  --color-warm-border: #ece9e3;
  --color-surface: #eae7e1;
  --color-surface-hover: #ddd8d0;
  --color-border-light: #d5d2cc;
  --color-border: #c8c5bd;

  /* Semantic colors */
  --color-bg: var(--color-cream);
  --color-text: var(--color-charcoal);
  --color-text-secondary: var(--color-text-mid);
  --color-text-tertiary: var(--color-text-muted);
  --color-accent: var(--color-slate);
  --color-accent-hover: var(--color-slate-hover);
  --color-accent-subtle: var(--color-sage);
  --color-danger: #c44;
  --color-danger-dark: #a33;
  --color-success: #2d6e30;
  --color-success-dark: #4a7c3f;

  /* Typography */
  --font-system: system-ui, -apple-system, sans-serif;
  --font-handwritten: 'QEVRead', cursive;

  --text-display: 32px;
  --text-title: 22px;
  --text-lg: 16px;
  --text-base: 15px;
  --text-sm: 14px;
  --text-xs: 13px;
  --text-2xs: 12px;
  --text-3xs: 11px;
  --text-4xs: 10px;

  --weight-light: 300;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --leading-tight: 1.3;
  --leading-normal: 1.55;
  --leading-relaxed: 1.7;

  /* Spacing (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 48px;

  /* Border / Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 100px;
  --radius-circle: 50%;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-elevated: 1px 2px 6px rgba(0,0,0,0.05), 0 0 0 1px rgba(0,0,0,0.02);
  --shadow-modal: 1px 2px 8px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.03);
  --shadow-dropdown: 0 2px 12px rgba(0,0,0,0.12);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
}
