:root {
  /* Background layers — deep slate */
  --color-bg: #0A0F14;
  --color-bg-deep: #060A0E;
  --color-surface-1: #141B23;
  --color-surface-2: #1E2732;
  --color-surface-3: #28333F;
  --color-border: #2A3545;
  --color-border-strong: #384759;

  /* Text */
  --color-text: #F0F4F8;
  --color-text-muted: #9AA8B8;
  --color-text-dim: #5E7080;

  /* Saffron — primary action, splits badge */
  --color-saffron: #F4A261;
  --color-saffron-strong: #E8895A;
  --color-saffron-deep: #C96D3A;
  --color-saffron-glow: rgba(244, 162, 97, 0.30);
  --color-saffron-soft: rgba(244, 162, 97, 0.12);

  /* Sage — low-carb / healthy indicator */
  --color-sage: #6FBF9F;
  --color-sage-strong: #5AAF8E;
  --color-sage-soft: rgba(111, 191, 159, 0.12);
  --color-sage-glow: rgba(111, 191, 159, 0.25);

  /* Coral — warning / high carb */
  --color-coral: #E76F51;
  --color-coral-soft: rgba(231, 111, 81, 0.12);

  /* Semantic */
  --color-success: #6FBF9F;
  --color-warning: #F4A261;
  --color-danger: #E76F51;
  --color-info: #7BA7C4;

  /* Carb badge scale */
  --color-carb-low: #6FBF9F;
  --color-carb-mid: #F4A261;
  --color-carb-high: #E76F51;

  /* Split type colors */
  --color-split-pasta: #B8A9E0;
  --color-split-pasta-soft: rgba(184, 169, 224, 0.12);
  --color-split-rijst: #7BA7C4;
  --color-split-rijst-soft: rgba(123, 167, 196, 0.12);
  --color-split-other: #F4A261;
  --color-split-other-soft: rgba(244, 162, 97, 0.12);

  /* Gradients */
  --gradient-hero: radial-gradient(ellipse at 50% 0%, #1A2535 0%, #141B23 40%, #0A0F14 80%);
  --gradient-saffron: linear-gradient(135deg, #F4A261 0%, #E76F51 100%);
  --gradient-saffron-soft: linear-gradient(135deg, rgba(244,162,97,0.2) 0%, rgba(231,111,81,0.1) 100%);
  --gradient-sage: linear-gradient(135deg, #6FBF9F 0%, #5AAF8E 100%);
  --gradient-card: linear-gradient(180deg, #1A2230 0%, #141B23 100%);
  --gradient-card-hover: linear-gradient(180deg, #1F2A38 0%, #18222E 100%);

  /* Typography */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', Menlo, monospace;

  --fs-hero: clamp(2.25rem, 5vw + 1rem, 4rem);
  --fs-h1: clamp(1.75rem, 3vw + 1rem, 2.75rem);
  --fs-h2: 1.625rem;
  --fs-h3: 1.25rem;
  --fs-body: 1.125rem;
  --fs-sm: 1rem;
  --fs-xs: 0.875rem;

  --lh-tight: 1.1;
  --lh-normal: 1.5;
  --lh-loose: 1.7;

  /* Spacing (4px scale) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.4);
  --shadow-saffron: 0 8px 32px var(--color-saffron-glow);
  --shadow-sage: 0 8px 32px var(--color-sage-glow);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 160ms;
  --dur-med: 280ms;
  --dur-slow: 480ms;

  /* Layout */
  --max-content: 1280px;
  --header-h: 68px;
  --tabbar-h: 64px;
}
