/* PantryWeave — Brand tokens (Field Forest)
   Source of truth: SofraPrototype/Design/AppTheme.swift → PantryWeaveDesignSystem.Palette
   Mark/icon: BrandKit/forest-cycle-r1 (founder-approved 2026-08-13; raster only, never redrawn)
   Rules: light-only like the app · max 3 visible colors per surface · flat, no gradients/glow
   Load BEFORE page styles; pages consume via var(--pw-*). */

:root {
  color-scheme: light;

  /* Surfaces */
  --pw-canvas: #F4F0E7;
  --pw-paper: #F7F3E8;          /* launch background */
  --pw-surface: #FFFCF5;
  --pw-surface-raised: #E9E1D2;
  --pw-border: #D8CFC0;

  /* Text */
  --pw-text: #17251D;
  --pw-text-secondary: #5F655F;
  --pw-on-action: #FFFFFF;

  /* Forest */
  --pw-accent: #3E6045;
  --pw-action: #234B34;
  --pw-accent-soft: #DCE6DA;

  /* Warm clay (graphical cue, never the only status carrier) */
  --pw-warm: #A75635;

  /* Semantic */
  --pw-success: #3F6D4D;
  --pw-warning: #9C542F;
  --pw-danger: #A53B32;

  /* Shape & type (mirrors app Radius / system text) */
  --pw-radius-sm: 12px;
  --pw-radius-md: 18px;
  --pw-radius-lg: 26px;
  --pw-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --pw-font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Legacy aliases consumed by programmatic/legal pages */
  --primary: var(--pw-accent);
  --primary-dark: var(--pw-action);
  --accent: var(--pw-warm);
  --bg: var(--pw-canvas);
  --text: var(--pw-text);
  --text-primary: var(--pw-text);
  --text-light: var(--pw-text-secondary);
  --card-bg: var(--pw-surface);
}
