/* Fonturi self-hosted — Inter (text) + Space Grotesk (titluri).
 *
 * DE CE self-hosted si nu CDN-ul Google:
 * incarcarea de pe fonts.googleapis.com trimite IP-ul fiecarui vizitator catre
 * Google, ceea ce in UE a fost sanctionat ca transfer de date fara consimtamant
 * (cazul LG Munchen, 2022). Pentru o firma de plati, e un risc inutil — mai ales
 * cu certificarea PCI DSS in lucru. Self-hosted e si mai rapid (o conexiune mai putin).
 *
 * Fisierele .woff2 se descarca cu: bash deploy/fetch-fonts.sh
 *
 * font-display:swap — textul se vede imediat cu fontul de sistem si se schimba
 * cand se incarca fontul real (fara "flash of invisible text").
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0100-017F, U+0180-024F, U+2000-206F, U+2100-214F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0100-017F, U+0180-024F, U+2000-206F, U+2100-214F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0100-017F, U+0180-024F, U+2000-206F, U+2100-214F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0100-017F, U+0180-024F, U+2000-206F, U+2100-214F;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0100-017F, U+0180-024F, U+2000-206F, U+2100-214F;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0100-017F, U+0180-024F, U+2000-206F, U+2100-214F;
}
