/*
  Inkwell Foundry — design tokens

  This is a deliberate departure from BRANDING.md's palette (Pollinator
  Patch's muted sage/cream/terracotta/gold), approved by the studio after
  two rounds of reallocating that palette's roles still read as "child
  garden app" rather than "foundry/scholarly studio" — see README.md
  "Design tokens and contrast" for the full reasoning. This is now its
  own palette: near-black ink, true neutral paper, one confident red
  accent (classic proofreader's-mark / letterpress red), chosen so the
  accent itself clears WCAG AA at normal text size, not just as a
  decorative device.
*/

:root {
  /* Surfaces — true neutrals, no warm/yellow cast */
  --color-canvas: #f7f6f2;
  --color-paper: #fcfbf9;

  /* Ink — near-black, neutral (not green-tinted) */
  --color-ink: #1a1a18;
  --color-ink-soft: #3a3a36;

  /* The one accent. Safe as normal-size text on canvas/paper (7.6:1+),
     not just for large text or decorative use. */
  --color-accent: #8c2f2a;

  /* Minor hairline, for the rare case a full-ink rule is too heavy */
  --color-border: #dedcd4;

  /* Type */
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: "Trebuchet MS", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Courier New", monospace;

  /* Rhythm */
  --measure: 66ch;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 3rem;
  --space-5: 5rem;

  --focus-ring: 3px solid var(--color-accent);
  --focus-ring-offset: 3px;
}
