/* Inter · 自托管 Web 字体（构建产物，勿手改）
 *
 * 由 scripts/fonts/build_inter_webfont.py 生成；用途与实测见
 * tasks/reports/frontend-commercial-redesign/d2-font-pipeline-inter.md
 *
 * 为什么自托管 Inter：Noto Sans SC 无 tnum，等宽数字（tokens.json#typography.numeric：
 * 指标/金额/计数/版本号）必须由 Inter 渲染，不能依赖系统安装。
 *
 * 单文件变量字体：font-weight: 400 700 覆盖 token 用到的 400/500/600（真字重，非合成加粗）。
 * wght 轴刻意不留 100-900 全轴：未使用的 5 个档位的 delta 会把首屏推过 300 KB 预算
 * （见 build_inter_webfont.py#WGHT_RANGE 与 d2-font-pipeline.md 首屏账目）。
 * font-display: swap —— 立即可读，字体到达后替换。不引任何外部 CDN（同源自托管，合规要求）。
 *
 * 字体栈约定（在全局样式里）：font-family: "Inter", "Noto Sans SC", system-ui, sans-serif;
 * Inter 在前 → 拉丁与数字由 Inter 胜出（等宽数字由此保证）；其 unicode-range 不覆盖 CJK，
 * 中文交给 Noto Sans SC。等宽数字在需要处叠加 font-variant-numeric: tabular-nums;（激活 tnum）。
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./inter-latin.woff2") format("woff2");
  unicode-range: U+0020-007E,U+00A0-00AC,U+00AE-0148,U+014A-017F,U+2000-200B,U+2010-2027,U+202F-2055,U+2057,U+205F,U+2212;
}
