/* Design tokens – see docs/DESIGN.md. Components use tokens only, never raw hex values. */
:root {
  /* Colors */
  --c-gold-300: #f2c879;
  --c-gold-500: #e3a23b;
  --c-gold-700: #b5741c;
  --c-cream-50: #fffbf3;
  --c-cream-100: #fbf1de;
  --c-brown-900: #3b2a1e;
  --c-brown-600: #7a5a43;
  --c-white: #ffffff;
  --c-leaf-500: #5e9e6e;
  --c-leaf-50: #eaf4ec;
  --c-leaf-700: #3d7a4d;
  --c-sky-500: #5a9bc9;
  --c-sky-50: #e9f2f9;
  --c-coral-500: #e2574c;
  --c-coral-600: #c9443a;
  --c-coral-50: #fdecea;
  --c-tongue: #e98a8a;

  /* Semantic */
  --bg: var(--c-cream-50);
  --surface: var(--c-white);
  --surface-alt: var(--c-cream-100);
  --text: var(--c-brown-900);
  --text-muted: var(--c-brown-600);
  --primary: var(--c-gold-500);
  --on-primary: var(--c-brown-900);
  --danger: var(--c-coral-500);
  --on-danger: var(--c-white);
  --border: rgb(59 42 30 / 0.1);
  --focus: var(--c-sky-500);

  /* Typography */
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;

  /* Shape & spacing */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --shadow-1: 0 2px 8px rgb(59 42 30 / 0.08);
  --shadow-2: 0 6px 20px rgb(59 42 30 / 0.14);

  /* Layout */
  --header-h: 56px;
  --tabbar-h: 64px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --content-max: 560px;
}
