/*
 * 品牌字体,自己托管(不用 Google Fonts 的样式表):
 *
 * - 隐私:从 fonts.googleapis.com 加载时每次打开页面都把访客 IP 发给 Google,而隐私政策里没写这个第三方
 *   (欧盟有判例认定这违反 GDPR);同源发就没有这回事。
 * - 速度:Google 的样式表挡首帧,字体又是另一个域名;同源 + 预加载(根路由 `head()`)让字体赶上首帧。
 *
 * Sign Mockup 设计系统(tokens.json v3)的两款字体,2026-10-29 从 Google Fonts CSS2 接口给的 fonts.gstatic.com 地址下的可变字体
 * (请求参数 `family=Manrope:wght@400..800&family=Unbounded:wght@400..700`):
 * - **Unbounded**:标题、选项名、价格(`--font-display`),设计系统只用到 600,留 400–700 给标题档位微调;
 * - **Manrope**:界面与正文(`--font-body`),用到 500–800。
 * 两款都是 SIL OFL 1.1,许可证在各自目录的 OFL.txt(取自 google/fonts 仓库)。
 *
 * 每款只留 latin 与 latin-ext 两个子集:界面 10 种语言里除中文外都是拉丁字母(波兰语、捷克语的变音符在 latin-ext),
 * 中文界面本来就落到系统字体。字重范围、unicode-range 照 Google 当时给的样式表抄,换字体要连同 OFL.txt 一起换。
 * 字族名与 `tailwind.css` 的 `--font-display / --font-body` 对得上。
 *
 * 放在 public 里由页面直接 link,不进 tailwind.css:打包器不碰这里的 url(),dev 与 build 同一份。
 * 预加载的两份(Manrope、Unbounded 的 latin)写在 `src/routes/__root.tsx` 的 `head()`。
 */

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/brand-fonts/unbounded/unbounded-latin-ext.woff2') format('woff2');
  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-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/brand-fonts/unbounded/unbounded-latin.woff2') format('woff2');
  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;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/brand-fonts/manrope/manrope-latin-ext.woff2') format('woff2');
  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-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/brand-fonts/manrope/manrope-latin.woff2') format('woff2');
  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;
}
