/* Self-hosted Inter + JetBrains Mono — premium typography, zero CDN deps.
 * Licenses:
 *   Inter: SIL Open Font License 1.1 (static/fonts/Inter-LICENSE.txt)
 *   JetBrains Mono: SIL Open Font License 1.1 (static/fonts/JetBrainsMono-LICENSE.txt)
 * font-display: swap — pokazuje fallback od razu, wymienia na Inter po załadowaniu.
 */

@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');
}

/* InterDisplay — optyczny wariant dla większych tytułów (h1, h2). */
@font-face {
    font-family: 'InterDisplay';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/static/fonts/InterDisplay-SemiBold.woff2') format('woff2');
}

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

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/static/fonts/JetBrainsMono-Regular.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');
}
