/*
 * WebUI 字体面（68 §3.3 F2 决策：自托管拉丁可变字体子集）。
 * 唯一真相在 design-system/assets/fonts.css，经 sync 管道直拷 public/design/fonts.css；
 * 壳 index.html 在 tokens.css 之后引入，快照提取 stylesheet 后同源 /design/ 放行匿名面。
 *
 * 边界（极低开销铁律）：
 * - 仅 latin + latin-ext 两个可变子集（wght 100–900 单文件，合计 ≈130KB，
 *   永久缓存 + font-display:swap）；中文/日文等 CJK 永远回落 --font-sans 系统黑体，
 *   禁止内嵌 CJK 字库（3–10MB）。
 * - 仅正体；斜体由浏览器合成（工程界面不使用真斜体）。
 * - 同源自托管零外链；CSP default-src 'self' 覆盖字体，无需 font-src。
 * - 许可证：OFL-1.1（fonts/LICENSE-Inter.md），来源 @fontsource-variable/inter 5.3.0。
 */

/* inter-latin-ext-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/design/fonts/inter-var-latin-ext.woff2) format('woff2-variations');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* inter-latin-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/design/fonts/inter-var-latin.woff2) format('woff2-variations');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
