/*
 * Sequesign — shared "paper" theme.
 *
 * Single source of truth for the site palette and type stacks. Content pages
 * (legal, policy, changelog, contact, blog) link this file and drop their own
 * :root block, keeping only their page-specific layout rules inline.
 *
 * Palette mirrors the landing/templates/docs mockups:
 *   paper #FAF9F4 · ink #14181D · seal #9E2B25 · verify #17714A
 *
 * IMPORTANT — legacy variable names are kept as aliases so existing inline
 * layout rules retheme without edits. In the OLD dark theme --paper/--ink
 * were the *light foreground* colors (headings used color:var(--paper)) and
 * --bg was the dark background. Here the FOREGROUND aliases resolve to dark
 * ink and only the BACKGROUND aliases (--bg, --surface) go light, so text
 * stays legible on the light background.
 */
:root {
  /* canonical paper tokens (non-colliding — safe to use directly) */
  --paper-deep: #f2f0e8;
  --card: #ffffff;
  --ink-strong: #14181d;
  --ink-soft: #3c434b;
  --ink-mute: #6b7178;
  --seal: #9e2b25;
  --seal-deep: #7c1f1a;
  --verify: #17714a;
  --hairline: #e2dfd4;

  /* legacy aliases (dark-theme names → paper values) */
  --bg: #faf9f4; /* background */
  --surface: #ffffff; /* raised surface */
  --paper: #14181d; /* was light foreground ink → now dark ink */
  --ink: #14181d; /* base text */
  --muted: #6b7178; /* muted meta / nav */
  --muted-2: #3c434b; /* body copy */
  --line: rgba(20, 24, 29, 0.12); /* hairline */
  --line-strong: rgba(20, 24, 29, 0.26); /* stronger rule */
  --amber: #9e2b25; /* accent → seal red */

  /* type */
  --mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --sans: "Schibsted Grotesk", system-ui, "Segoe UI", sans-serif;
  --serif: "Newsreader", "Instrument Serif", Georgia, serif;

  --radius: 6px;
  --max: 860px;
}
