/* Instrument Sans for reading, Martian Mono for the machine voice: the two
   faces the system is set in, vendored as the same woff2 files the app serves
   (`npm run check` compares them byte for byte).

   Same-origin for the reason the app gives: under a strict CSP a third-party
   stylesheet and its woff2 are blocked outright, not merely slowed, and it
   keeps every page load from handing a reader's IP and referrer to a third
   party — a poor look for a security product's documentation.

   The multi-axis files, and `font-stretch` declared on both faces. The width
   axis is not decoration here: page titles are set condensed and the whole
   machine voice at 87.5%, and a face that omits the descriptor is matched at
   100% and clamped there — the titles would quietly render at normal width
   with nothing on screen to notice.

   This file is served verbatim from static/, not bundled, and the page head
   links it and preloads both fonts (`headTags` in docusaurus.config.ts).
   Bundled, webpack gave the fonts hashed names nothing could preload, so the
   browser only learned of them after downloading and parsing the main
   stylesheet — HTML, then CSS, then fonts. And a preload aimed at a fixed
   name while the bundled CSS pointed at a hashed copy downloads every font
   twice, which is why the rules live here and not in custom.css.

   One file per family, latin only. Latin covers U+0000-00FF, which holds every
   accent and inverted mark Spanish needs — á, ñ, ¿ and ¡ all sit below U+00FF.

   `font-display: swap` rather than the app's `optional`: the app prefers no
   swap flash in a screen somebody reads for hours, but on a docs site prose
   that never arrives is worse than prose that shifts once. */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("/fonts/instrument-sans-latin-var.woff2") format("woff2");
}

@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
  src: url("/fonts/martian-mono-latin-var.woff2") format("woff2");
}
