/* SteelAxis OS — fonts
 *
 * Loads Inter (display, body, UI) and IBM Plex Mono (compliance strings, code).
 * To self-host instead, use the @fontsource packages — see brand/README.md.
 */

/* The Google Fonts stylesheet is linked DIRECTLY from App.razor's <head> (with
 * preconnect), not @import-ed here: an @import inside a stylesheet is only found
 * after this file downloads, so the fonts arrived late and the page re-wrapped
 * when Inter replaced the fallback (2026-10-22).
 *
 * Metric-matched fallbacks: while Inter / Plex Mono load, text is drawn in a local
 * font scaled to the same widths, so the swap doesn't move lines. */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
  size-adjust: 107.12%;
}

@font-face {
  font-family: 'IBM Plex Mono Fallback';
  src: local('Courier New');
  ascent-override: 102.5%;
  descent-override: 27.5%;
  line-gap-override: 0%;
  size-adjust: 100%;
}
