/* tokens.css — "The Ledger" design language.
   OrgWiki is a living, co-authored ledger: every entry is timestamped,
   attributed to a human or a machine, and never overwritten (append-only revs).
   Two ideas carry the identity:
     1. Color is rationed to encode authorship — ultramarine = human,
        burnt orange = agent. Nothing else is tinted.
     2. Structure is monospace. IDs, revisions, timestamps, provenance, types,
        keys, commands, AND record titles are set in IBM Plex Mono, so the wiki
        reads like a machine-readable register. Prose stays Inter for reading. */
:root {
  /* surfaces — cool off-white ledger stock, NOT warm cream */
  --paper:        #fcfcfa;   /* page background */
  --panel:        #ffffff;   /* raised cards / rows on hover */
  --panel-2:      #f1f2f4;   /* faint hover / inline code chip */
  --grey:         #fcfcfa;   /* chrome shares the page — lines separate */
  --grey-2:       #f1f2f4;
  --ink:          #14161b;   /* near-black text */
  --muted:        #5c626d;   /* secondary text */
  --faint:        #99a0ab;   /* tertiary / captions */
  --line:         #d6dae1;   /* blueprint hairline */
  --line-strong:  #bcc3ce;
  --grid:         #eceef2;   /* faint ledger grid rule */

  /* meaning — the only two accents in the whole system */
  --signal:       #2540ff;   /* ultramarine — links, active, HUMAN authorship */
  --signal-soft:  #e2e6ff;
  --signal-ink:   #1a2bcc;   /* darker ultramarine for text on paper */
  --agent:        #c2410c;   /* burnt orange — AGENT authorship */
  --agent-soft:   #f8e6db;
  --danger:       #c2410c;

  /* type — Inter for prose/UI, IBM Plex Mono for all structure + display */
  --font:         "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body:    var(--font);
  --font-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-display: var(--font-mono);   /* the signature: titles/hero in mono */

  /* scale — mono display runs tight; body stays comfortable */
  --fs-hero: 2.15rem;
  --fs-1:    1.55rem;
  --fs-2:    1.18rem;
  --fs-3:    1.02rem;
  --fs-body: 0.95rem;
  --fs-sm:   0.82rem;
  --fs-xs:   0.72rem;
  --fs-2xs:  0.66rem;
  --lh-body: 1.62;

  /* tracking — mono display is set tight and up-cased for labels */
  --track-display: -0.01em;
  --track-eyebrow:  0.16em;

  /* spacing */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px; --s6: 36px; --s7: 56px;

  /* form — near-square, ledger-like */
  --radius: 2px;
  --shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(20,25,40,.35);

  --sidebar-w: 252px;
  --meta-w: 268px;
  --content-max: 748px;
  --spine-w: 76px;   /* the append rail */
  --rail-w: 40px;
}
/* Light mode only — a ledger is read on paper. */
