/* ── Pascaline IA — this product's own palette ───────────────────────────────
 *
 * The ten `--color-brand-*` primitives `src/styles/tokens.css` declares, in this
 * product's own values. The contract — why only the primitives, why the
 * `html.dark` block is repeated, and why this link has to be last — is in
 * `frontend/README.md`, which also carries how these values were arrived at.
 *
 * This file is served to a visitor verbatim: no ticket numbers, and keep it
 * short. It ships in the image as the default a tenant's mount overlays.
 *
 * Brass and ink, after the brass calculating machine of 1642 and the paperwork
 * it was built to carry. Warm on purpose — the neutral scale underneath it is
 * warm, so a cool navy would fight it.
 *
 * Every value is measured against the dozen contrast requirements the token
 * wiring implies; `--color-brand-secondary` is the tight one, because it is a
 * fill on light and link text on dark at the same time.
 */

:root {
  --color-brand-primary: #16263a; /* ink — the wordmark's lettering, links, light fills */
  --color-brand-primary-hover: #243f5e;
  --color-brand-secondary: #c2963f; /* brass — fills, the active rail, dark-mode links */
  --color-brand-secondary-hover: #a87d2d;
  --color-brand-secondary-soft: #e9d09a; /* soft fills and tints */
  --color-brand-secondary-subtle: #f8f1e2; /* the user's own message bubble */
  --color-brand-secondary-ink: #7f5a16; /* brass TEXT on light surfaces — 6.2:1 on white */
  --color-brand-on-secondary: #2a1c04; /* ink placed ON a brass fill — 5.1:1 */
  --color-brand-accent: #b23a2c; /* rouge — the "thinking" / interrupt accent */
  --color-brand-accent-hover: #96281c;
}

/* Repeated because `:root` and `.dark` have the same specificity and this file
   is last: a `:root`-only override would keep applying in dark mode and cancel
   the inversion `tokens.css` declares. `frontend/README.md` has the measurement. */
html.dark {
  --color-brand-primary: #ffffff;
  --color-brand-primary-hover: #ededec;
}
