/*
 * 品牌字体,自己托管(Museify 第 8 阶段定的做法,产品负责人 2026-10-19;Meme Remix 沿用):不用 Google Fonts 的样式表。
 *
 * - 隐私:从 fonts.googleapis.com 加载时每次打开页面都把访客 IP 发给 Google,而隐私政策里没写这个第三方
 *   (欧盟有判例认定这违反 GDPR);同源发就没有这回事。
 * - 速度:Google 的样式表挡首帧,字体又是另一个域名;同源 + 预加载(根路由 `head()`)让字体赶上首帧。
 *
 * Schibsted Grotesk(标题与正文同一款,Meme Remix「Night Feed」设计稿,2026-11-04)是 2026-11-04 从 Google Fonts 下的可变字体
 * (v7,正体 400–900,不带斜体),只留 latin 与 latin-ext 两个子集(首发只有英文)。JetBrains Mono 是 Museify 时期
 * 2026-10-19 下的(400–500),等宽小标签沿用。字重范围、unicode-range 照 Google 当时给的样式表抄,换字体要连同 OFL.txt 一起换。
 * 字族名与 `tailwind.css` 的 `--font-display / --font-body / --font-mono` 对得上。
 *
 * 放在 public 里由页面直接 link,不进 tailwind.css:打包器不碰这里的 url(),dev 与 build 同一份。
 * 预加载的那一份(Schibsted Grotesk 的 latin)写在 `src/routes/__root.tsx` 的 `head()`。
 */

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/brand-fonts/schibsted-grotesk/schibsted-grotesk-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: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/brand-fonts/schibsted-grotesk/schibsted-grotesk-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/brand-fonts/jetbrains-mono/jetbrains-mono-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/brand-fonts/jetbrains-mono/jetbrains-mono-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;
}
