/* Self-host de Inter + JetBrains Mono — D-010 / C-8 auditoría adversarial.
 *
 * Sustituye los `<link rel="stylesheet" href="https://fonts.googleapis.com/…">`
 * de los templates por una única hoja servida desde el propio dominio.
 * Sin Google Fonts → sin envío de IP del visitante a Google → sin
 * tratamiento de datos personales que exigiera consentimiento previo LSSI
 * (jurisprudencia alemana 2022 + criterio AEPD 2024-2025).
 *
 * Archivos en app/static/fonts/, servidos por FastAPI vía StaticFiles en /static.
 * font-display: swap → fallback inmediato si la fuente tarda; sin FOIT.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/fonts/Inter-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/fonts/Inter-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/static/fonts/Inter-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/static/fonts/Inter-ExtraBold.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/fonts/JetBrainsMono-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/fonts/JetBrainsMono-SemiBold.woff2') format('woff2');
}
