/* Inter & JetBrains Mono as a single variable woff2 each (latin subset). One file
   covers every weight the page uses — Inter 300/400/500/600 and JBMono 400/500/600
   — replacing 4+3 static cuts (161KB) with 2 files (87KB). The wght range spans the
   font's full axis so any requested weight resolves to a real instance, never a
   synthetic/fallback. Char set verified identical to the old subsets (no glyph loss). */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-variable.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-variable.woff2") format("woff2");
}

/* Self-hosted MiSans Light, subset to the page's CJK glyphs (~62KB).
   Site-wide fallback for non-Apple visitors. The weight range 300–700 lets
   this single Light file serve body (400) and heading weights too, so a missing
   exact weight never falls through to a bold system font. */
@font-face {
  font-family: "MiSans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/misans-sc-light.woff2") format("woff2");
}
