/* Aperiodic design tokens (CSS side).
   Scales here must match js/tokens.js (tests/tokens.test.js checks); colours are
   first-paint defaults for the Paper palette, rewritten per palette by Tokens.apply(). */
/* the web fonts, served from this site (cut by scripts/fonts.mjs from src/fonts; SIL OFL):
   Newsreader is variable (weight and optical size), IBM Plex Mono one weight */
@font-face { font-family: "Newsreader"; src: url(/fonts/newsreader-latin.woff2) format("woff2"); font-style: normal; font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-21FF, U+2212, U+2215, U+221A, U+221E, U+2248, U+2260, U+2264-2265, U+22A5, U+25A0-25FF, U+2600-27BF, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; src: url(/fonts/newsreader-ext.woff2) format("woff2"); font-style: normal; font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0300-036F, U+1D00-1DBF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; src: url(/fonts/newsreader-italic-latin.woff2) format("woff2"); font-style: italic; font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-21FF, U+2212, U+2215, U+221A, U+221E, U+2248, U+2260, U+2264-2265, U+22A5, U+25A0-25FF, U+2600-27BF, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; src: url(/fonts/newsreader-italic-ext.woff2) format("woff2"); font-style: italic; font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0300-036F, U+1D00-1DBF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; src: url(/fonts/plex-mono-latin.woff2) format("woff2"); font-style: normal; font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-21FF, U+2212, U+2215, U+221A, U+221E, U+2248, U+2260, U+2264-2265, U+22A5, U+25A0-25FF, U+2600-27BF, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; src: url(/fonts/plex-mono-ext.woff2) format("woff2"); font-style: normal; font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0300-036F, U+1D00-1DBF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* colour (Paper) */
  --bg: #F3F0E9; --ink: #1C1C1A; --accent: #E0452B; --accent-text: #c33f28;
  --muted: #6e6d69; --soft: #474643; --line: #d3d0ca; --line-2: #b7b5af;
  --panel: #F3F0E9; --desk: #cccac4;
  /* type */
  --serif: "Newsreader", "Iowan Old Style", "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-micro: 10px; --fs-label: 10.5px; --fs-body: 11px; --fs-text: 12px; --fs-prose: 15px;
  --fs-heading: 17px; --fs-lede: 17px; --fs-subtitle: 20px; --fs-title: 26px;
  --fs-brand: 30px; --fs-display: 37px;
  /* space (4-px grid) */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-8: 32px;
  /* controls, motion */
  --control-h: 28px; --control-h-md: 32px; --control-h-lg: 40px;
  --dur-fast: 150ms; --dur-base: 250ms; --dur-slow: 450ms;
  --focus: 2px solid var(--accent);
  /* component sizes */
  --size-compass: 76px; --size-window: 84px; --size-icon: 44px; --size-pad: 120px;
  /* layout (plate.js reads the same values from tokens.js) */
  --pw: 288px; --gutter: 20px; --plate-x: 76px; --plate-top: 112px; --plate-right: 64px;
}
