/**
 * 察心智能官网 - 自托管字体声明（不依赖任何境外 CDN）
 *
 * CX Web Sans：思源黑体同源版本（Noto Sans SC / Source Han Sans，同一套字形）
 *              按本站在用的 998 个字符做子集化，5 个字重，合计约 650KB
 * CX Web Mono：JetBrains Mono 拉丁子集，2 个字重，合计约 34KB
 *
 * 两者均为 SIL Open Font License 1.1。因属「修改版本」（子集化 + 转格式），
 * 依 OFL 第 3 条不再使用原保留名称，字体名统一改为不含保留名称的 CX Web *。
 * 版权声明与完整许可证见 assets/fonts/LICENSE-*.txt；来源与版本记录见 assets/fonts/README.md
 */
@font-face{font-family:"CX Web Sans";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/cx-web-sans-400.woff2") format("woff2")}
@font-face{font-family:"CX Web Sans";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/cx-web-sans-500.woff2") format("woff2")}
@font-face{font-family:"CX Web Sans";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/cx-web-sans-600.woff2") format("woff2")}
@font-face{font-family:"CX Web Sans";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/cx-web-sans-700.woff2") format("woff2")}
@font-face{font-family:"CX Web Sans";font-style:normal;font-weight:900;font-display:swap;src:url("../fonts/cx-web-sans-900.woff2") format("woff2")}
@font-face{font-family:"CX Web Mono";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/cx-web-mono-400.woff2") format("woff2")}
@font-face{font-family:"CX Web Mono";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/cx-web-mono-600.woff2") format("woff2")}

/**
 * 覆盖 Tailwind preflight 的 html{font-family:ui-sans-serif,...}
 * （preflight 与 style.css 同为元素选择器且加载更晚，会静默把中文换成系统默认字体；
 *   这里以同等特异性、最后加载的方式把中文正文字体改回自托管的 CX Web Sans）
 */
html {
  font-family: "CX Web Sans", "Source Han Sans SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}
