/* Self-hosted web fonts. Spec AC-2.
 *
 * These were loaded from fonts.googleapis.com and fonts.gstatic.com until
 * 2026-08-18 — 48 references across 16 pages. Those hosts are not reliably
 * reachable from mainland China, which is where the traffic prompting the
 * translation work comes from. A page that waits on them does not fail; it
 * stalls, which reads to the visitor as a slow site rather than a blocked one.
 *
 * Inter ships as a variable font covering the 400-800 range the site uses, so
 * one file replaces five weights. JetBrains Mono is static at 400 and 500.
 * Total 532 KB, served from the same origin as everything else.
 *
 * font-display: swap so text paints immediately in the fallback and reflows
 * when the face arrives — never an invisible-text pause.
 */

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

@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/JetBrainsMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
