/* Self-hosted variable fonts (subsetted to chars actually used on the site).
 * Replaces the Google Fonts CDN, which from mainland China was blocked /
 * extremely slow → first-paint stalled ~15s waiting for the request to time
 * out before the browser fell back to system fonts.
 *
 * After self-hosting: ~341KB total over 3 files, served same-origin =
 * ~100ms first paint. See /fonts/chars.txt for the subset character list
 * and /fonts/regenerate.sh for the re-subset command if site copy changes.
 *
 * Created 2026-05-06 (audit #38 fix). */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;             /* variable weight axis */
  font-display: swap;
  src: url('/fonts/inter.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/noto-sans-sc.woff2') format('woff2');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('/fonts/syne.woff2') format('woff2');
}
