/*
 * Self-hosted webfonts.
 *
 * Inter (variable, OFL): rsms.me/inter — single file covers all weights.
 * IBM Plex Mono (OFL): fontsource CDN — 400 and 500 only for portal use.
 *
 * font-display: swap — render with fallback first, swap when font loads.
 * No external CDN load at runtime; all files served from /static/fonts/.
 */

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/InterVariable.woff2") format("woff2-variations"),
       url("/static/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/static/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/static/fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
