/* Brand: Budi ("The Coach's Whiteboard"), the default for free explainers.
   Source: poktalabs/budi packages/design-system/DESIGN.md (local: agentcamp-research/code/budi/DESIGN.md), read 2026-11-20.
   Fonts self-hosted, SIL OFL 1.1 (fonts/OFL.txt). */
@font-face { font-family: "Rubik Variable"; src: url(fonts/rubik-latin-wght-normal.woff2) format("woff2-variations"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque Variable"; src: url(fonts/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2-variations"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Shantell Sans Variable"; src: url(fonts/shantell-sans-latin-full-normal.woff2) format("woff2-variations"); font-weight: 300 800; font-display: swap; }

:root {
  --x-ground: #fff9f5;        /* paper */
  --x-ground-mark: #fff0e8;   /* paper-dark dot grid */
  --x-board: #ffffff;         /* panel */
  --x-panel: #ffffff;
  --x-recessed: #fff0e8;      /* paper-dark */

  --x-ink: #0a0a0a;
  --x-ink-soft: #3a3a3a;      /* charcoal */
  --x-on-dark: #ffffff;
  --x-line: #0a0a0a;          /* ink borders */
  --x-arrow: #0a0a0a;
  --x-chrome: #0a0a0a;

  --x-accent: #7c3aed;        /* violet */
  --x-accent-ink: #7c3aed;
  --x-fill-2: #c4177a;        /* magenta */
  --x-fill-3: #2563eb;        /* info */
  --x-highlight: #ffb800;     /* gold */
  --x-muted: #d6d2cc;         /* disabled */

  --x-ok: #15803d;
  --x-attn: #ffb800;
  --x-stop: #dc2626;

  --x-header-bg: #ffb800;     /* the gold header band */
  --x-header-rule: 3px;

  --x-radius: 8;              /* rounded.lg */
  --x-radius-sm: 6;           /* rounded.md */
  --x-stroke: 3;
  --x-chrome-w: 2px;
  --x-shadow: offset;         /* solid ink, zero blur */
  --x-shadow-color: #0a0a0a;
  --x-board-shadow: 6px 6px 0 0 #0a0a0a;
  --x-btn-shadow: 3px 3px 0 0 #0a0a0a;
  --x-texture: dots;

  --x-font-display: "Bricolage Grotesque Variable", ui-sans-serif, system-ui, sans-serif;
  --x-font-box: "Bricolage Grotesque Variable", ui-sans-serif, system-ui, sans-serif;
  --x-font-sans: "Rubik Variable", ui-sans-serif, system-ui, sans-serif;
  --x-font-hand: "Shantell Sans Variable", ui-rounded, cursive;
  --x-font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --x-display-weight: 800;
  --x-box-weight: 700;
  --x-hand-weight: 600;
  --x-hand-settings: "INFM" 60, "BNCE" 30;
  --x-hand-style: normal;
  --x-tracking-display: -0.02em;
  --x-tracking-label: 0.08em;
}

/* The logo lockup in the header (DESIGN.md "Logo"): mark 28px high, 8px gap, wordmark Bricolage 800 1.6rem, ink, no tile, no shadow. */
.x-logo { display: flex; align-items: center; gap: 8px; flex: none; font-family: var(--x-font-display); font-size: 1.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.025em; color: var(--x-ink); }
.x-logo-mark { display: block; height: 28px; width: auto; }
