/* GEI 官网 · 简体中文 (zh) 专用字体声明 — 仅 /zh/ 页 link
   Noto Serif SC / 思源宋体 子集（按定稿文案 subset）+ Newsreader Latin（数字/英文/品牌）。
   仅 zh 页加载本文件 → en/ja 绝不下载 Noto Serif SC。
   子集再生: scripts/build-fonts.sh（定稿改一字必重跑）。 */

/* —— Noto Serif SC 子集 —— display(600 标题) + body(400 正文) */
@font-face {
  font-family: "Noto Serif SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/NotoSerifSC-400-subset.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Serif SC";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/NotoSerifSC-600-subset.woff2") format("woff2");
}

/* —— zh 页 font token 覆盖 —— display/body 指向 Noto Serif SC，
   latin（数字 · "GEI" · 命令周边英文 · 进度 01/07）保持 Newsreader —— */
html:lang(zh-Hans) {
  --font-display: "Noto Serif SC", "Songti SC", "STSong", serif;
  --font-body:    "Noto Serif SC", "Songti SC", "STSong", serif;
  --font-latin:   "Newsreader", system-ui, sans-serif;
}
