/*
 * Self-hosted Rubik and Nunito: variable (wght axis), Cyrillic + Latin subsets.
 * Source: @fontsource-variable/rubik and /nunito 5.3.0. License: SIL OFL 1.1 (see assets/fonts).
 * The family names match --font-heading / --font-body in tokens.css.
 *
 * Trimmed in build step 7 with fontTools (pyftsubset + varLib.instancer):
 * - weight axis limited to the weights the style guide uses (Rubik 500–900, Nunito 400–800);
 * - Latin files keep Basic Latin, typographic punctuation, €, ™, ®, ×, ° and the accented
 *   letters that occur in product names (é in "Pokémon", ä, ö, ü, ø, ß…).
 * 110 KB → 88 KB for all four files. Characters outside the ranges use the system font.
 * All four are preloaded (inc/enqueue.php): every page has Cyrillic text, and spaces
 * and digits come from the Latin file.
 */

/* Rubik: headings, prices, badges, buttons (500–900) */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("../fonts/rubik-cyrillic-500-900.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("../fonts/rubik-latin-500-900.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2033, U+20AC, U+2122, U+2212;
}

/* Nunito: body and UI text (400–800) */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/nunito-cyrillic-400-800.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/nunito-latin-400-800.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2033, U+20AC, U+2122, U+2212;
}
