/* Make AI Visible — Field Register design tokens.
   Rules and rationale: content/BRAND-IDENTITY.md */

:root {
  /* Surfaces — cool stone, not warm paper */
  --paper: #edeee9;
  --surface: #f6f7f4;
  --sunken: #e2e4de;
  --line: #c9cdc2;
  --line-strong: #a8aea1;

  /* Ink */
  --ink: #121511;
  --ink-soft: #3a4036;
  --muted: #5a6155;

  /* The marker. Background and reverse-text only — fails AA as text on paper. */
  --marker: #bfd62f;
  /* Decorative hairlines/underlines only; focus rings use --ink (chrome.css). */
  --marker-edge: #8fa315;

  /* Diagram secondary: source / cited */
  --slate: #42596e;

  /* Semantic */
  --correct: #1f6b4f;
  --correct-bg: #e4efe9;
  --correct-line: #b6cfc1;
  --wrong: #a32b37;
  --wrong-bg: #f7e8e9;
  --wrong-line: #ddb4b8;
  --caution: #8a5a12;
  --caution-bg: #f5eddf;

  /* Type */
  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  /* Measure */
  --measure: 36rem;
  --page: 54rem;
  --rail: 8rem;

  /* Rhythm */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4.5rem;

  /* Geometry — near-sharp. No blur shadows anywhere. */
  --r: 2px;
  --register: 3px 3px 0 0 var(--ink);
}
