/* Reverium — self-hosted webfonts (combined Latin + Cyrillic subsets).
 *
 * Лицензии (все open source, commercial use OK, без attribution requirement):
 *   • Inter           — SIL OFL 1.1  (Rasmus Andersson)
 *   • Lora            — SIL OFL 1.1  (Cyreal)
 *   • JetBrains Mono  — SIL OFL 1.1  (JetBrains)
 *
 * Subsets: latin + latin-ext + cyrillic + cyrillic-ext
 * (Inter / Lora — для UI и body. JetBrains Mono — только latin, mono используется
 * для caps eyebrow'ов и kbd-плашек, кириллица там не появляется.)
 *
 * font-display: swap — пока шрифт грузится, показываем system fallback.
 * Размер total ~508 KB (woff2), кэшируется браузером на год через nginx headers.
 *
 * Бонус GDPR: ничего не грузится с fonts.googleapis.com — все файлы на нашем
 * origin'е, никаких third-party transfers, EU-юзеры не подпадают под cookie
 * consent. См. Munich vs. GFonts case (2022).
 */

/* ── Inter (sans) ─────────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-600.woff2') format('woff2');
}

/* ── Lora (serif headlines) ───────────────────────────────────────── */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/lora-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/lora-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/lora-400-italic.woff2') format('woff2');
}

/* ── JetBrains Mono (mono caps + kbd) ─────────────────────────────── */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-400.woff2') format('woff2');
}
