/* Cream design tokens: the single definition of the brand.
 *
 * These values are canonical and are documented in DESIGN.md. The marketing
 * website links this file directly. The consoles still embed their own :root
 * block (they predate this file); where they differ, this file wins and the
 * console is the thing to fix.
 *
 * Nothing here describes layout. Tokens only, so any surface can adopt the
 * file without inheriting another surface's opinions.
 */

:root {
  color-scheme: dark;

  /* ground */
  --ground: #16120B;        /* page */
  --ground-raise: #1E1810;  /* raised panels */
  --ground-sink: #110D07;   /* wells, inputs */

  /* rules and borders */
  --rule: rgba(232, 220, 188, 0.13);
  --rule-strong: rgba(232, 220, 188, 0.28);

  /* ink */
  --ink: #EDE6D3;           /* primary text */
  --ink-soft: #BCB29B;      /* secondary text */
  --ink-faint: #8A8069;     /* labels, eyebrows; sparingly at small sizes */

  /* accent */
  --gold: #C6A15B;          /* primary accent, active states */
  --gold-bright: #E4C77E;   /* emphasis within accent, hover */

  /* evidence provenance, the trust ramp. Darkest is least corroborated.
     This is the only place colour encodes data, and it always means
     provenance, never quality. */
  --t-self: #837B6B;
  --t-build: #B08A57;
  --t-call: #C6A15B;
  --t-ref: #E7CB82;

  /* semantic */
  --green: #8FA26A;         /* healthy, on track */
  --below: #B5714E;         /* below the bar, warm rust, never alarm red */

  /* type */
  --serif: "Iowan Old Style", "Palatino Linotype", "Palatino", "Georgia", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, monospace;
}
