/* Inter & Outfit — self-hosted (solo subset latino, sufficiente per it/en).
   font-display: optional evita il flash system-ui -> webfont: se il file
   (locale, precaricato) non e' pronto entro ~100ms il fallback resta per
   tutta la navigazione invece di scattare un cambio visibile a metà. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('/assets/vendors/fonts/inter-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url('/assets/vendors/fonts/inter-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('/assets/vendors/fonts/inter-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url('/assets/vendors/fonts/outfit-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('/assets/vendors/fonts/outfit-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('/assets/vendors/fonts/outfit-700.woff2') format('woff2');
}

/* Baloo 2 — headline delle viste "app" (genitori/insegnanti, v. app-mobile.css),
   stesso font del logotype BabyFox. Non preloadato in Template.php: usato solo
   in quelle viste, il browser lo scarica da sé al primo utilizzo reale. */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('/assets/vendors/fonts/baloo2-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('/assets/vendors/fonts/baloo2-700.woff2') format('woff2');
}
