/* Self-hosted Inter Variable font.
 * Replaces the fonts.googleapis.com <link> previously in every view.
 *
 * Why self-host?
 *   - No third-party privacy leak (Google sees every page view)
 *   - One less TLS handshake (fonts.googleapis.com + fonts.gstatic.com)
 *   - Future-proof against CDN policy changes
 *   - Inter Variable covers all weights (100-900) in one .woff2 — same
 *     or lower total bytes than the 6 individual weight files Google
 *     was serving.
 *
 * Variable font support: every browser shipped since late 2018 supports
 * font-variation-settings; modern format() syntax declares variations
 * tech so older browsers without variable-font support fall back to
 * the system stack on the next CSS rule.
 */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/InterVariable.woff2') format('woff2-variations'),
         url('/fonts/InterVariable.woff2') format('woff2');
}

/* Optional convenience class — matches existing CSS that already
 * declares `font-family: Inter, ...` system fallback chains. */
.inter {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont,
                 'Segoe UI', Roboto, Arial, sans-serif;
}
