/* 实现工作项 #16 — 字体本地化（方向 A：系统中文字体栈 + 本地轻量英文字体 Inter）
   安全约束：零外部 CDN，字体一律本地打包，不引 Google Fonts。

   当前状态：Inter 字体文件尚未放入（见 assets/fonts/README.txt）。
   下面的 @font-face 已预留挂载位——一旦把对应 .woff2 放进 assets/fonts/，
   Inter 立即生效；在此之前浏览器找不到文件会静默回退到系统字体栈
   （PingFang SC / 微软雅黑等），页面不报错、显示正常。

   font-display: swap 确保字体加载期间先用系统字体渲染，无空白闪烁。 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;               /* 可变字重范围 */
  font-display: swap;
  src: local("Inter"),
       url("../fonts/Inter-roman.var.woff2") format("woff2");
}
