/*
 * True Baby Cost: the one place the brand's colours, radii and shadows are defined (SOM-525).
 *
 * Every page links this file BEFORE its own inline <style>, so a page can still
 * override a token and win. scripts/check-brand-tokens.js fails when one of the
 * palette hexes below appears anywhere else, so a rebrand is an edit to this file.
 *
 * Two layers:
 *   --palette-*  the raw values. Only this file names a hex.
 *   --primary, --text, ...  what a rule means. Pages and generators use these.
 *
 * Today the palette is exactly what the site already used; this file changes no
 * pixel. The refresh (SOM-526 onward) edits the values here.
 */
:root {
  /* palette */
  --palette-cream-100: #f9f6f1;
  --palette-white: #ffffff;
  --palette-forest-900: #1a2e1c;
  --palette-forest-700: #3A5A3D;
  --palette-forest-600: #4A6B4D;
  --palette-forest-500: #5B7F5E;
  --palette-forest-400: #6B9A6E;
  --palette-forest-300: #8BAE8D;
  --palette-moss-600: #5a6b5c;
  --palette-moss-200: #d4ddd5;
  --palette-tan-400: #D4A574;
  --palette-red-600: #dc2626;

  /* the primary green as an r, g, b triple, for rgba(var(--primary-rgb), .08) */
  --primary-rgb: 74, 107, 77;

  /* roles */
  --bg: var(--palette-cream-100);
  --bg-pattern: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  --card: var(--palette-white);
  --primary: var(--palette-forest-600);
  --primary-hover: var(--palette-forest-700);
  --primary-light: var(--palette-forest-500);
  --accent: var(--palette-forest-300);
  --accent-hover: var(--palette-forest-400);
  --accent-warm: var(--palette-tan-400);
  --danger: var(--palette-red-600);
  --text: var(--palette-forest-900);
  --text-muted: var(--palette-moss-600);
  --border: var(--palette-moss-200);
  --shadow: 0 2px 8px rgba(var(--primary-rgb), 0.08), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 24px -4px rgba(var(--primary-rgb), 0.15), 0 4px 8px -2px rgba(0,0,0,0.08);
  --shadow-hover: 0 16px 32px -4px rgba(var(--primary-rgb), 0.2), 0 6px 12px -2px rgba(0,0,0,0.1);
  --radius: 16px;
  --radius-sm: 10px;
}
