/* ==========================================================================
   ContactMatch typefaces — SELF-HOSTED, no external call.

   DESIGN-tokens.md §6 ratifies Inter (UI) and JetBrains Mono (URLs, ids, raw
   system values), both SIL OFL 1.1. The binaries sit next to this file in
   app/static/fonts/, together with the licence text that shipped inside each
   project's own release archive and a SOURCES.md giving url, release tag,
   retrieval date and a sha256 per file.

   Nothing here reaches a CDN, a font service or any other host: the product
   surface makes no external font request in any state, which is a privacy
   property before it is a performance one.

   WHY font-display: optional, and not swap
   ----------------------------------------
   `swap` renders the fallback first and then re-renders in Inter. On the
   surface this product is actually used on — a dense table of names, roles and
   addresses — that second render moves every row, and a layout that jumps once
   the customer has started reading is the opposite of the calm the direction
   asks for (DESIGN-riktning §2).

   `optional` gives the browser a ~100 ms window: the font is used if it is
   ready, and otherwise this ONE page load stays in the fallback stack and the
   file is fetched in the background for the next navigation. A same-origin
   woff2 off local disk is ready inside that window on all but a first cold
   visit, so the practical trade is "a first cold view in Segoe UI / system-ui"
   against "no reflow, ever". The fallback stack in tokens.css is chosen to make
   that first view respectable rather than broken, which is what lets us take
   the stricter setting.
   ========================================================================== */

/* Inter, VARIABLE weight. One file covers 400, 550, 560, 600, 620, 640 and 700
   — the weights base.css actually asks for, four of which do not exist as
   static cuts at all. No italic file is loaded: no surface uses one. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url("../fonts/Inter-Variable.woff2") format("woff2");
}

/* JetBrains Mono, one weight. The mono face is for URLs, ids and raw system
   values (DESIGN-tokens.md §6) and nothing renders those bold. */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("../fonts/JetBrainsMono-Regular.woff2") format("woff2");
}
