/*
 * Cyrillic — Manrope, because Space Grotesk has no Cyrillic cut.
 *
 * GENERATED-ISH, BUT COMMITTED AND EDITABLE. Like every other face on this site the files are
 * served from our own origin, never a webfont CDN — the page states that no request leaves for
 * anybody else's server, and the host ships a strict CSP.
 *
 * ⚠ THIS FILE IS LOADED BY ONE LOCALE GROUP ONLY (ru, uk, kk), from
 * src/components/ScriptFont.tsx. That is the whole design: see the header of
 * src/styles/fonts.css for why unicode-range alone could not do this job.
 *
 * It sets --font-script / --font-mono-script rather than --font, so it never has to win a
 * cascade race against tokens.css: those two are consumed through var() inside --font, so the
 * order the stylesheets happen to load in cannot change the result.
 *
 * Two files per weight: `cyrillic` plus `cyrillic-ext`. The ext half is not optional here —
 * Kazakh needs Ғ ғ Қ қ Ң ң Һ һ Ә ә Ө ө, every one of which lives outside U+0400-045F, and
 * without it the kk page renders those letters in whatever the operating system picked.
 */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-cyrillic-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-cyrillic-ext-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/manrope-cyrillic-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/manrope-cyrillic-ext-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/manrope-cyrillic-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/manrope-cyrillic-ext-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono Cyrillic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-cyrillic-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono Cyrillic";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-cyrillic-ext-600-normal.woff2") format("woff2");
}

:root {
  --font-script: "Manrope";
  --font-mono-script: "JetBrains Mono Cyrillic";
}
