/*
 * The site's own copy of its web fonts (design/typography-families-sizes-weights-accents-stored-value-case-line-box-time-periods-and-single-line-fittext-and-fine-print-justified-measure.md, "Families").
 *
 * The woff2 files beside this stylesheet are the families the application and
 * the design system use — Archivo, Manrope, Golos Text, JetBrains Mono, Noto
 * Sans Armenian, Noto Sans Georgian, Noto Sans Devanagari, Noto Sans Central
 * Asian Cyrillic — with their SIL Open Font License texts in `licenses/`.
 * Nothing here reaches Google: the build copies this directory as a public
 * asset, and the browser fetches the faces from the site's own origin. The
 * build docs (CONTRIBUTING.md, "Angular and Styles") say how the next family
 * is added.
 *
 * Faces are the variable ones (one file per subset; `font-weight` is the
 * axis' range), split by the `unicode-range` subsets of the families' own
 * coverage. Every face swaps: the site's text and display families have the
 * metric-matched local fallbacks in `apps/pinqwin/src/styles/main.scss` paint
 * until the file arrives, and the section-scoped Golos Text paints the first
 * local face of its own chain.
 */

/* Archivo — display face (`--font-display`). Coverage: Latin and Latin
   Extended only; Cyrillic, Armenian, Georgian and Devanagari are not in the
   family and fall through the font-family chain. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('archivo-latin-49365e47702e2327.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;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('archivo-latin-ext-f56b03cce8b038ef.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-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* Manrope — primary family. Coverage: Latin, Latin Extended, Cyrillic and
   Cyrillic Extended, except nine Kazakh, Kyrgyz and Tajik letter pairs (Noto Sans
   Central Asian Cyrillic below, which also holds Һ һ for JetBrains Mono). Armenian, Georgian and Devanagari fall through. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('manrope-latin-2a0f13844e7dd34c.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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('manrope-latin-ext-445c91314326d320.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-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('manrope-cyrillic-9b822545d0e04306.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('manrope-cyrillic-ext-a2c33b4e1a8c1dc0.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Golos Text — the welcome-bonus rules section's own face
   (`pages/welcome-bonuses/README.md`, "The rules section carries its own
   layout over the shared components"). Only that section's scoped font-family
   names it, so
   the rest of the site never fetches it. Coverage: Latin, Latin Extended,
   Cyrillic and Cyrillic Extended; the Kazakh, Kyrgyz and Tajik letters the
   family lacks fall through to Noto Sans Central Asian Cyrillic in the
   section's chain, and Armenian, Georgian and Devanagari to their Noto
   families. Weights 400–700 are the draft's. */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('golos-latin-5dc4af97f5b5b9cd.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;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('golos-latin-ext-66a9d2f0cfb4418b.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-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('golos-cyrillic-4803d5c68029f076.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('golos-cyrillic-ext-7e308d1e79df8ead.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* JetBrains Mono — amounts and every other monospaced text (`--font-mono`).
   Coverage: Latin, Latin Extended, Cyrillic and Cyrillic Extended (of which the
   font has Ү ү Ө ө only); no other script, so Armenian, Georgian and Devanagari
   fall through the font-family chain to the Noto Sans families, and the Kazakh,
   Kyrgyz and Tajik letters it lacks to Noto Sans Central Asian Cyrillic. Every glyph
   advances 0.6 em (600 of 1000 units), the no-break space, the comma and the full
   stop included, which is what the layouts derived from an amount's width are
   computed on; the narrow no-break space and the thin space are not in the font.
   A spec reads the files and keeps this true (`apps/pinqwin/src/styles/mono-font.spec.ts`). */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('jetbrains-mono-latin-20aa68d5b54e3e3d.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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('jetbrains-mono-latin-ext-e4f5b885d1595c16.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-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('jetbrains-mono-cyrillic-7806a19981d24f84.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('jetbrains-mono-cyrillic-ext-f6e6b590ee2f12c2.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* Noto Sans Armenian — the Armenian script in the `hy` locale. Latin and
   Latin Extended faces of the family are not needed: Manrope and Archivo
   paint those characters before the chain reaches this family. */
@font-face {
  font-family: 'Noto Sans Armenian';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('noto-sans-armenian-armenian-7510f30ffcad3971.woff2') format('woff2');
  unicode-range: U+0308, U+0530-058F, U+2010, U+2024, U+25CC, U+FB13-FB17;
}

/* Noto Sans Georgian — the Georgian script in the `ka` locale. Same reasoning
   as the Armenian family: only its Georgian face is needed. */
@font-face {
  font-family: 'Noto Sans Georgian';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('noto-sans-georgian-georgian-be4a6a0c438202dd.woff2') format('woff2');
  unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31;
}

/* Noto Sans Devanagari — the Devanagari script in the `hi` locale. Same
   reasoning as the two families above: only its Devanagari face is needed, and
   the `unicode-range` keeps the file from being fetched by a page with no
   Devanagari letters. */
@font-face {
  font-family: 'Noto Sans Devanagari';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('noto-sans-devanagari-devanagari-f9af3c89e8914b1e.woff2') format('woff2');
  unicode-range:
    U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839,
    U+A8E0-A8FF, U+11B00-11B0A;
}

/* Noto Sans Central Asian Cyrillic — the Kazakh, Kyrgyz and Tajik letters that
   Manrope's or JetBrains Mono's Cyrillic Extended face does not have: Ә ә Ғ ғ Қ қ
   Ң ң Ұ ұ Ӣ ӣ Ӯ ӯ Ҳ ҳ Ҷ ҷ Һ һ, in the `kk`, `ky` and `tg` locales. Both families
   carry this face in their chains, so it holds the letters either of them lacks:
   Manrope lacks all of them but Һ һ, JetBrains Mono lacks all of them. The range
   lists exactly those code points, so the browser fetches the file only on a page
   that draws one of them and no code looks for them; a spec derives the set from
   the alphabets and the locale files against the cmaps of both families and keeps
   this range equal to it (`apps/pinqwin/src/styles/script-fallback-fonts.spec.ts`).
   The file is Noto Sans v2.015 (Noto Project Authors), variable weight 100–900, cut
   to these glyphs and the components their shapes are built from, by Google Fonts'
   own text subsetting:
   `https://fonts.googleapis.com/css2?family=Noto+Sans:wght@100..900&text=<the letters>`.
   Ө ө Ү ү are in both families and are not here. */
@font-face {
  font-family: 'Noto Sans Central Asian Cyrillic';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('noto-sans-central-asian-cyrillic-6bc83234ced98cbc.woff2') format('woff2');
  unicode-range:
    U+0492-0493, U+049A-049B, U+04A2-04A3, U+04B0-04B3, U+04B6-04B7, U+04BA-04BB, U+04D8-04D9,
    U+04E2-04E3, U+04EE-04EF;
}
