/* ============================================================
   自托管 Web 字体（2026-10-07，官网 official_site）
   ------------------------------------------------------------
   为什么改：原来两页都是
     <link href="https://fonts.googleapis.com/css2?family=Archivo...">
   三个实测出来的问题（真实浏览器取证，见 docs/2026-10-07-项目红线全量速查.md）：
     ① 国内网络打不开 fonts.gstatic.com ⇒ 请求 0B / 失败，document.fonts 里一个字体都没有；
     ② `--font-dp` 上的 **font-weight:900** 在「无 900 字重」的系统字体（如 Microsoft YaHei）
        上被浏览器**合成**（faux bold）—— canvas 实测 900 与 700 宽度完全相同 ⇒
        暗底浅字出现笔画重叠，即业主反馈的「重影发虚」；
     ③ `<link rel=stylesheet>` 是**渲染阻塞**资源 ⇒ 官网首屏要等 Google 超时（国内常见数秒白屏）。
   现在：从原 CDN 抓取 **latin 子集** woff2 落到本域，family 名保持 'Archivo' / 'JetBrains Mono'
     ⇒ 样式表里的 --font-dp / --font-mo **无需改动**即可命中，且零外网依赖。
   许可：Archivo = SIL OFL 1.1；JetBrains Mono = SIL OFL 1.1（均允许自托管/再分发）。
   注：只取 latin 子集（数字 / 英文 / · / — 等）；中文仍由 --font-cn 字体栈兜底。
        不写 unicode-range 是**故意**的 —— 缺字形时由浏览器自动 fallback，
        避免 range 抄错导致个别符号漏字。
   ============================================================ */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;   /* 可变字重：一个文件覆盖 400/600/700/800/900 */
  font-display: swap;
  src: url(./archivo-var-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(./jetbrains-mono-var-latin.woff2) format('woff2');
}
