/*
 * A28-residuo — font self-hosted.
 *
 * Prima le due famiglie arrivavano da `fonts.googleapis.com` con un <link> nel <head>:
 *  - due connessioni a terzi (preconnect googleapis + gstatic) prima ancora di poter
 *    disegnare il testo, sul percorso critico del primo render;
 *  - il CSS delle @font-face era esso stesso una richiesta di rete bloccante, quindi
 *    la catena era: HTML -> CSS Google -> woff2 Google -> testo;
 *  - un IP dell'utente inviato a Google a ogni apertura dell'app (che è anche il motivo
 *    per cui diverse autorità garanti considerano i Google Fonts remoti un trasferimento
 *    dati da dichiarare);
 *  - e su app NATIVA, dove il resto gira da file locali, i font restavano l'unica cosa
 *    che richiedeva Internet per apparire come si deve.
 *
 * Ora i .woff2 stanno in `public/fonts/` e questo foglio è servito dallo stesso host.
 *
 * SCELTE (le uniche due che contano):
 *  1. FONT VARIABILI: un solo file copre `font-weight: 400..900` (Inter) e `500..800`
 *     (Plus Jakarta Sans). Scaricare i 6+3 pesi statici richiesti dal vecchio <link>
 *     sarebbe stato ~9 file e più byte totali. Le dichiarazioni `font-weight: 600` sparse
 *     per l'app continuano a funzionare identiche.
 *  2. SOLO i sottoinsiemi `latin` e `latin-ext`. L'app è in italiano e le stringhe sono
 *     inline (deciso: niente i18n), quindi cirillico/greco/vietnamita erano ~200 KB
 *     scaricati per non essere mai disegnati. Gli `unicode-range` qui sotto sono quelli
 *     originali di Google: se un giorno servisse un altro alfabeto, il browser
 *     semplicemente non troverà il glifo e userà il fallback di sistema — non si rompe
 *     niente, si perde solo l'estetica su quel testo.
 *
 * `font-display: swap` invariato: il testo appare subito col font di sistema e viene
 * sostituito quando il woff2 è pronto. Mai una schermata bianca in attesa di un font.
 */

/* Inter — latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/inter-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;
}
/* Inter — latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/inter-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 (usata solo dalla vetrina) */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/fonts/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;
}
/* Plus Jakarta Sans — latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/fonts/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;
}
