/* Shared design tokens and self-hosted fonts for the whole site (explorer, Detect & Resolve; the explainer's story.css
   points its own @font-face rules at the same files). Load it before the page stylesheet. The scale tokens below are
   defined, not yet applied: later PRs migrate page.css to them. Font files and licences: ../fonts/README.md. */

@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:300 700;font-display:swap;src:url(../fonts/space-grotesk-latin.woff2) format("woff2");
  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+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:300 700;font-display:swap;src:url(../fonts/space-grotesk-latin-ext.woff2) format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:100 800;font-display:swap;src:url(../fonts/jetbrains-mono-latin.woff2) format("woff2");
  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+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:100 800;font-display:swap;src:url(../fonts/jetbrains-mono-latin-ext.woff2) format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:100 800;font-display:swap;src:url(../fonts/jetbrains-mono-greek.woff2) format("woff2");
  unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}
/* display serif: static 400 opsz 48 instances (fonts/newsreader/README.md); no bold face, so use it at 400 only */
@font-face{font-family:"Newsreader";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/newsreader/newsreader-display-latin.woff2) format("woff2");
  unicode-range:U+0020-007E,U+00A0-00FF,U+2009,U+2010-2027,U+202F,U+2030-203A,U+2212,U+2192}
@font-face{font-family:"Newsreader";font-style:italic;font-weight:400;font-display:swap;src:url(../fonts/newsreader/newsreader-display-latin-italic.woff2) format("woff2");
  unicode-range:U+0020-007E,U+00A0-00FF,U+2009,U+2010-2027,U+202F,U+2030-203A,U+2212,U+2192}

:root{
  --font-ui:"Space Grotesk",system-ui,sans-serif;--font-mono:"JetBrains Mono",ui-monospace,Menlo,monospace;
  --font-display:"Newsreader","Iowan Old Style",Georgia,serif;
  --fs-micro:11px;--fs-xs:12px;--fs-s:13px;--fs-m:14px;--fs-l:16px;--fs-xl:18px;--fs-2xl:20px;
  --sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:24px;--sp-6:32px;--sp-7:48px;--sp-8:64px;
  --r-xs:6px;--r-pill:999px;--h-touch:44px;--side-w:320px;
  --z-base:1;--z-bar:30;--z-sheet:40;--z-pop:50;--z-toast:60;
}

/* numeric readouts: tabular digits so values do not jitter as they change (explorer outputs, fit status, readouts) */
.num,output,#fitstatus,#readouts{font-variant-numeric:tabular-nums}
