/* 前端加载的字体与服务器 fc-cache 注册的是同一批文件（app/static/fonts/）。
   两份 @font-face 都指向同一批 woff2：服务端渲染文档里的 @font-face 由
   app/render/document.py 注入，只是把 URL 换成内部域名（见 app/render/browser.py）。

   见 PRD/07-business-logic.md 7.1 业务规则 3 与 docs/spec.md 8.3。

   Noto Sans SC 与思源黑体是同一套设计（Google 发行版 / Adobe 发行版），
   这里注册的逻辑名沿用 PRD 里的 "Source Han Sans SC"。 */

@font-face {
  font-family: "Source Han Sans SC";
  font-weight: 400;
  font-style: normal;
  font-display: block;
  src: url("/static/fonts/noto-sans-sc-sc-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Han Sans SC";
  font-weight: 700;
  font-style: normal;
  font-display: block;
  src: url("/static/fonts/noto-sans-sc-sc-700.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-weight: 400;
  font-style: normal;
  font-display: block;
  src: url("/static/fonts/jetbrains-mono-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-weight: 500;
  font-style: normal;
  font-display: block;
  src: url("/static/fonts/jetbrains-mono-latin-500.woff2") format("woff2");
}
