/* -----------------------------------------------------------------------
   fonts.css - self-hosted webfonts (Inter, Source Sans 3)

   App.razor used to <link> these from fonts.googleapis.com on every page
   load. LoadGen ships as an on-premise appliance and is routinely deployed
   on firewalled or air-gapped networks, where that request simply fails and
   the whole UI silently falls back to a system font stack - a typography
   regression nobody gets an error for. Found by live inspection 2026-07-29.

   Both faces are VARIABLE fonts: Google returns one file per family that
   covers the entire 400-700 weight axis, so requesting four static weights
   downloaded the same bytes four times over (verified by hash: eight files,
   two distinct). Declaring `font-weight: 400 700` as a range is the correct
   form here and is what lets a single file serve regular, medium, semibold
   and bold. Two files, 75 KB total, replacing eight files and 301 KB.

   Latin subset only: the product UI is English, and the other subsets Google
   serves would add megabytes of glyphs the app never renders. unicode-range
   is preserved so anything outside latin still falls back per glyph rather
   than rendering as tofu.

   To refresh: re-download both woff2 files into assets/fonts/ from the
   Google Fonts CSS (latin block) and keep this file as-is. Do not
   reintroduce the external <link>.
   ----------------------------------------------------------------------- */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-variable.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: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/source-sans-3-variable.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;
}
