/* UI typeface — served from our own origin.
 *
 * Was: https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800
 * (which then pulled the woff2 files from fonts.gstatic.com — two third-party
 * hosts, either of which taking the day off left the whole UI in Times).
 *
 * Variable woff2, weight axis 400–800, one file per subset. The five discrete
 * weights the app uses (400/500/600/700/800) all come out of the same file, and
 * `font-black` (900) clamps to 800 exactly as it did on Google Fonts.
 *
 * ── About Cyrillic ───────────────────────────────────────────────────────────
 * Plus Jakarta Sans has no Cyrillic letters. Not "not in this subset" — the
 * family does not contain them. Google's own metadata for the family lists its
 * cyrillic-ext coverage as U+000D, U+0020, U+00A0 and U+20B4 (the hryvnia sign);
 * there is no cyrillic subset at all. So the Russian and Ukrainian UI has always
 * fallen through to whatever sans the OS supplies, and shipping the latin subsets
 * alone would have preserved that.
 *
 * Manrope is therefore registered *under the same family name* for the Cyrillic
 * ranges only, the same way Google composes a family out of per-subset files. It
 * is the closest geometric-humanist match to Plus Jakarta Sans that carries a
 * full Cyrillic set, so ru/uk get a designed face instead of Segoe UI. If that
 * substitution is unwanted, delete the two Manrope @font-face blocks below and
 * the two files in vendor/fonts/manrope/ — Cyrillic then falls back to the
 * system font, which is what happened before.
 *
 * U+20B4 (₴, the UAH symbol — the app has a Ukrainian currency) is deliberately
 * cut out of the Manrope cyrillic-ext range: Plus Jakarta Sans has that glyph and
 * should keep drawing it.
 *
 * Provenance, versions and licences: vendor/VENDOR.md.
 */

/* ── Plus Jakarta Sans — latin ─────────────────────────────────────────────── */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('plus-jakarta-sans/plus-jakarta-sans-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;
}

/* ── Plus Jakarta Sans — latin-ext (pl, tr, de, es, fr, it, pt … and ₴) ────── */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('plus-jakarta-sans/plus-jakarta-sans-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── Manrope — cyrillic (ru, uk) ───────────────────────────────────────────── */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('manrope/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ── Manrope — cyrillic-ext, minus U+20B4 ─────────────────────────────────── */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('manrope/manrope-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
