/*
 * Brand tokens. This is the only stylesheet a new business needs to change for its look
 * (scripts/new_business.py rewrites the marked values). Keep text/background pairs at
 * WCAG AA contrast or better: 4.5:1 for body text, 3:1 for large text and UI boundaries.
 * Keep --brand equal to THEME_COLOR in app/brand.py.
 */
:root {
  /* brand:start */
  --brand: #2e2420;            /* espresso: primary buttons, hero panel, footer, focus ring (15.1:1 white on it) */
  --brand-strong: #1f1916;     /* hover / pressed */
  --brand-soft: #ece4dc;       /* tinted backgrounds */
  --brand-contrast: #ffffff;   /* text on --brand */
  --accent: #9c5a4e;           /* small highlights: step numbers, dots (4.7:1 on --paper) */
  --font-sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Young Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --radius: 4px;
  /* brand:end */

  /* Espresso & Rose (Rene, 2026-10-25). Contrast on --paper: ink 13.6:1, ink-muted 5.7:1, link 7.2:1, accent 4.7:1,
     memorial 10.7:1. On --brand: --on-deep 13.2:1, --on-deep-muted 9.1:1. Espresso on the rose button 6.9:1. */
  --paper: #f6f1ec;            /* the one page ground */
  --paper-deep: #ede5dd;       /* image placeholders, quiet fills */
  --mat: #fbf8f5;
  --frame: #2b2420;
  --canvas-edge: #d8ccc2;
  --link: #7b3f37;             /* links in running text (7.2:1 on --paper) */
  --dusk: #3d3436;             /* memorial: replaces espresso for actions, quieter (10.7:1 on --paper) */
  --dusk-soft: #ede6e1;
  --cta: #d9a294;              /* dusty rose: the one warm action */
  --cta-strong: #e3b1a4;
  --cta-ink: #2e2420;          /* text on the rose button (6.9:1) */
  --on-deep: #f6eee6;          /* text on espresso */
  --on-deep-muted: #d6c6ba;    /* secondary text on espresso */
  --on-deep-rule: rgb(246 238 230 / 22%);

  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius-small: 2px;
  --radius-button: 2px;

  --ink: #2b2420;              /* body text */
  --ink-muted: #6a5d55;        /* secondary text (5.7:1 on --paper, 6.3:1 on white) */
  --surface: #ffffff;
  --surface-alt: #efe8e1;
  --border: #e6ddd5;           /* hairlines */
  --border-strong: #8a7b71;    /* form control borders (3.6:1 on --paper) */

  --good: #5b4636;  --good-bg: #efe6dc;
  --warn: #7a4a06;  --warn-bg: #fdf3d8;
  --bad: #9f1d1d;   --bad-bg: #fde8e8;
  --info: #1e3a8a;  --info-bg: #e6edfb;

  --shadow: 0 1px 2px rgb(43 36 32 / 6%), 0 1px 3px rgb(43 36 32 / 10%);
  --container: 72rem;
}
