:root {
  /* SavoriQ brand palette — synced with frontend/lib/core/theme/savoriq_colors.dart */
  --color-cream: #fdfbf7;
  --color-linen: #f5f0e8;
  --color-foreground: #2d2a26;
  --color-muted: #7a7268;
  --color-terracotta: #c4734a;
  --color-terracotta-light: rgba(196, 115, 74, 0.1);
  --color-terracotta-hover: #b56842;
  --color-sage: #9caf88;
  --color-sage-light: rgba(156, 175, 136, 0.14);
  --color-amber-soft: #e5c98a;
  --color-card: #fffcf9;
  --color-border: #e8e2da;
  --color-dark: #1a1815;

  /* Typography */
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font-sans);

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: clamp(1.875rem, 4vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 5vw, 3.25rem);
  --text-5xl: clamp(2.75rem, 6vw, 4rem);

  --leading-tight: 1.1;
  --leading-snug: 1.35;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  --tracking-tight: -0.03em;
  --tracking-normal: -0.01em;
  --tracking-wide: 0.08em;

  /* 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-32: 8rem;

  /* Layout */
  --container-max: 72rem;
  --container-narrow: 42rem;
  --header-height: 4.5rem;
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 1.75rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Elevation */
  --shadow-soft:
    0 1px 2px rgba(45, 42, 38, 0.04),
    0 8px 24px rgba(45, 42, 38, 0.08);
  --shadow-card:
    0 1px 2px rgba(45, 42, 38, 0.04),
    0 12px 32px rgba(45, 42, 38, 0.06);
  --shadow-phone: 0 32px 64px rgba(26, 24, 21, 0.18);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 150ms;
  --duration-normal: 280ms;
  --duration-slow: 600ms;
}
