/* =====================================================================
   AURESTA RCP — kroje pisma hostowane u nas, nie w Google Fonts.

   DLACZEGO NIE GOOGLE FONTS. Google tnie każdy krój na osobne pliki wg
   zakresu znaków: „latin" i „latin-ext". Polskie ogonki (Ą Ć Ę Ł Ń Ś Ź Ż)
   siedzą w tym drugim. Kiedy drugi plik nie dojedzie — Brave Shields, adblock,
   firewall firmowy, kiosk offline — reszta liter renderuje się właściwym
   krojem, a SAME OGONKI spadają na krój systemowy. Efekt: „ZALOGUJ SIĘ",
   w którym „Ę" jest grubsze i węższe od pozostałych liter. Zgłoszone
   z produkcji, odtworzone w przeglądarce.

   To ta sama przyczyna, co wcześniejszy biały ekran na klauzuli RODO
   (12,7 s pustej strony przy zablokowanym fonts.googleapis.com — opis
   w auresta.css i w tests/unit/frontend-render-blocking.test.js).

   CO TU JEST. Jeden plik na krój i wagę, pocięty do zakresu latin +
   latin-ext, czyli z polskimi znakami W ŚRODKU. Jedno żądanie, ten sam
   serwer co aplikacja, działa bez internetu. Przeglądarka pobiera tylko
   te kroje, których strona faktycznie używa — nieużywane @font-face nie
   generują żądania.

   font-display: swap — tekst pojawia się od razu krojem zastępczym
   i podmienia się po wczytaniu. Nigdy nie blokuje pierwszego renderu.

   Pliki zbudowane z oficjalnych źródeł Google Fonts (SIL Open Font
   License 1.1) narzędziem pyftsubset.

   PODMIENIASZ KRÓJ? Zmień NAZWĘ pliku. Stempel wersji z utils/htmlAssets.js
   dotyczy wyłącznie adresów w HTML-u (/css/*.css, /js/*.js) — adresy w środku
   arkusza nie są stemplowane, a nginx serwuje *.woff2 przez 7 dni jako
   `immutable`, czyli przeglądarka NIE sprawdzi, czy plik się zmienił.
   ===================================================================== */

/* ----- DM Sans ----- */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/dm-sans-300.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/dm-sans-400.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/dm-sans-500.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/dm-sans-600.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/dm-sans-700.woff2') format('woff2');
}

/* ----- Inter ----- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/inter-300.woff2') format('woff2');
}
@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');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/inter-700.woff2') format('woff2');
}

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

/* ----- Josefin Sans ----- */
@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/josefin-sans-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/josefin-sans-400.woff2') format('woff2');
}

/* ----- Sora ----- */
@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/sora-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/sora-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/sora-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/sora-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('/fonts/sora-800.woff2') format('woff2');
}

/* ----- Source Sans 3 ----- */
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/source-sans-3-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/source-sans-3-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/source-sans-3-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/source-sans-3-700.woff2') format('woff2');
}
