/* Typefaces (web::fonts), chosen in Apparence: <html data-font>. Shared by
   the application and printed records. Latin subset: French and its
   neighbours; anything else falls back to the system's font. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/static/fonts/inter.woff2) format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/static/fonts/plus-jakarta-sans.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/static/fonts/atkinson-hyperlegible-next.woff2) format("woff2"); }

:root {
  --system-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font: "Inter", var(--system-font);
  /* Inter reads best with its alternate digits and tighter titles. */
  --font-features: "cv11", "ss01";
  --title-tracking: -0.022em;
}
:root[data-font="jakarta"] { --font: "Plus Jakarta Sans", var(--system-font); --font-features: normal; --title-tracking: -0.02em; }
:root[data-font="atkinson"] { --font: "Atkinson Hyperlegible Next", var(--system-font); --font-features: normal; --title-tracking: -0.01em; }
:root[data-font="system"] { --font: var(--system-font); --font-features: normal; --title-tracking: -0.015em; }
