/* 本站自托管字体 —— ★由 tools/build-fonts.py 生成，别手改★
 * 改了文案后重跑：cd 网站-astro && python tools/build-fonts.py
 * 为什么自托管：fonts.googleapis.com 在中国大陆连不上，会让大陆访客首屏卡住。
 * 这些是【可变字体】：一个文件覆盖所有粗细，比切成多个静态档更小。
 * font-display:swap —— 字体没下来先用系统字体顶上，不让文字空白。 */

@font-face{
  font-family:'Manrope';
  src:url('/assets/fonts/manrope-subset.woff2') format('woff2-variations');
  font-weight:200 800;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:'Noto Sans SC';
  src:url('/assets/fonts/notosanssc-subset.woff2') format('woff2-variations');
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:'JetBrains Mono';
  src:url('/assets/fonts/jetbrainsmono-subset.woff2') format('woff2-variations');
  font-weight:100 800;
  font-style:normal;
  font-display:swap;
}
