/*
  Design Tokens — Crumble & Co.
  All visual values (colors, spacing, typography, shadows, radii, transitions)
  are defined here. Components and pages reference these tokens exclusively.
*/

:root {
  /* Colors */
  --color-primary: #6B4226;
  --color-accent: #7B2D4E;
  --color-accent-hover: #5E1E3A;
  --color-bg: #FBF6F0;
  --color-surface: #FFFDF9;
  --color-text: #2C1810;
  --color-text-muted: #6D5D55;
  --color-border: #E2D5C8;
  --color-destructive: #C53030;
  --color-warm: #D4A574;
  --color-berry-light: rgba(123, 45, 78, 0.08);

  /* Typography — Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Typography — Scale */
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3.5rem;

  /* Typography — Tracking */
  --tracking-tight: -0.02em;
  --tracking-wide: 0.05em;

  /* Spacing (4px base, all multiples of 4) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 8rem;
  --space-20: 10rem;

  /* Layout */
  --max-width: 1200px;
  --gutter: var(--space-6);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease-out;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(44, 24, 16, 0.06);
  --shadow-md: 0 4px 12px rgba(44, 24, 16, 0.1);
  --shadow-lg: 0 8px 30px rgba(44, 24, 16, 0.14);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}
