/*
 * 自托管字体（静态子集单文件方案）
 * 由 Google Fonts 完整可变字体经 pyftsubset 子集化生成，脚本见 frontend/scripts/build-fonts.sh。
 * - Lexend：拉丁字集，400 / 700 两字重。
 * - Noto Sans SC：GBK 全集（约 2 万汉字，覆盖绝大多数中文人名用字），400 / 700 两字重。
 * 之前的 unicode-range 分片方案（520 条 @font-face + 104 个 woff2）在自托管单机上首屏串行加载达 22s，
 * 且首屏字重来不及匹配会回退到 Thin 字形被 faux-bold 撑肿；本方案每字重单文件、一次到位，不错配、不卡首屏。
 */

/* Lexend（英文/数字） */
@font-face {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/fonts/Lexend-400.woff2) format('woff2');
}
@font-face {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/fonts/Lexend-700.woff2) format('woff2');
}

/* Noto Sans SC（中文） */
@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/fonts/NotoSansSC-400.woff2) format('woff2');
}
@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/fonts/NotoSansSC-700.woff2) format('woff2');
}
