/* Free Coffee web tokens. Values mirror specs/DESIGN.md (source of truth); usage rules in specs/BRAND.md.
   Change DESIGN.md first, then this file. No other colors on the site. */
:root {
  color-scheme: light;
  --background: #FFF8F1;   /* cream */
  --surface: #FFFFFF;
  --primary: #A82E47;      /* deep rose */
  --on-primary: #FFFFFF;
  --primary-soft: #FBE4E8;
  --on-primary-soft: #7E1F33;
  --chip: #F6E3D3;
  --secondary: #C89F7B;    /* latte: decorative only, never text */
  --text: #3B2A26;         /* espresso */
  --text-muted: #75615C;
  --verified: #1F6B4E;  --verified-bg: #DDF3E9;
  --likely: #7A4B00;    --likely-bg: #FDEBC8;
  --shadow: 0 6px 24px rgb(59 42 38 / 0.10);
  --shadow-soft: 0 2px 10px rgb(59 42 38 / 0.06);

  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-card: 20px;
  --radius-pill: 999px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --max: 1120px;
  --prose: 42rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: #1F1715;
    --surface: #2A201D;
    --primary: #FF8A98;
    --on-primary: #1F1715;   /* dark text on the light rose: 7.8:1 (white would fail) */
    --primary-soft: #4A2630;
    --on-primary-soft: #FFD3DA;
    --chip: #3A2C27;
    --secondary: #D9B899;
    --text: #F7EDE6;
    --text-muted: #B8A59E;
    --verified: #6FD0A8;  --verified-bg: #1F3A30;
    --likely: #F7C063;    --likely-bg: #3D2E12;
    --shadow: 0 6px 24px rgb(0 0 0 / 0.35);
    --shadow-soft: 0 2px 10px rgb(0 0 0 / 0.25);
  }
}
