/* ========================================
   西里尔覆盖（ru / uk）—— 只在 <html lang="ru|uk"> 的语言页生效
   加载方式：i18n/core/builder.py 对 ru/uk 语言页注入本文件
   （排在 style.css 之后，只覆盖 --font-family 变量）。
   字体本地自托管（css/fonts/，只含西里尔子集，约 17KB），
   不请求 Google，俄罗斯用户不受墙影响；font-display:swap 不挡首屏。
   英文源页与其它语言页不加载本文件。
   ======================================== */

/* ===== Manrope variable（200-800，无斜体）：西里尔子集，拉丁仍走 Outfit ===== */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-cyrillic-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0500-052F, U+2DE0-2DFF, U+A640-A69F;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0400-04FF;
}

/* ===== 字体覆盖：Manrope 放 Outfit 前面 =====
   原因：Outfit 若自带质量差的西里尔字形，浏览器会优先用它，
   Manrope 永远落不上；Manrope 放首位则 ru/uk 整页统一用 Manrope
   （Manrope 拉丁与 Outfit 同为几何无衬线，观感接近，品牌词不违和）。 */
html[lang="ru"],
html[lang="uk"] {
  --font-family: 'Manrope', 'Outfit', Helvetica, Arial, sans-serif;
}
