/*
 * inter.css - Inter font, self-hosted (SIL Open Font License 1.1)
 * Source: https://rsms.me/inter/ - https://github.com/rsms/inter
 *
 * Pesos servidos localmente:
 *   400 (Regular), 500 (Medium), 600 (SemiBold), 700 (Bold), + InterVariable (100-900).
 *
 * Uso: incluir este archivo antes de app.css y usar
 *   font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
 *
 * font-display: swap  -> se muestra fallback mientras se descarga Inter (evita FOIT).
 */

/* --------------------------------------------------------------------------
 * Fuente variable (recomendada) - un solo archivo cubre 100..900 y evita
 * cargar los archivos estáticos si el navegador soporta variable fonts.
 * -------------------------------------------------------------------------- */
@font-face {
    font-family: 'InterVariable';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter/InterVariable.woff2') format('woff2-variations'),
         url('../fonts/inter/InterVariable.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
 * Pesos estáticos - fallback para navegadores sin variable-font support
 * y para asegurar rendering consistente en PDFs / correos.
 * -------------------------------------------------------------------------- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter/Inter-Regular.woff2') format('woff2');
}

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

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

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter/Inter-Bold.woff2') format('woff2');
}
