/* ==========================================================================
   Self-hosted brand fonts — Inter + JetBrains Mono (OFL, see fonts/*-OFL.txt).
   Replaces the render-blocking fonts.googleapis.com link: Google Fonts is
   throttled / blocked on many RU mobile networks and VPNs, which stalled the
   landing (HTML loaded, the blocking font stylesheet timed out). These woff2
   ship from our own origin, so there's no third-party dependency.
   `font-display: swap` renders text immediately in the system fallback and
   swaps the webfont in when it arrives — the page is never blocked on fonts.
   ========================================================================== */

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

/* ---- JetBrains Mono ---- */
@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/JetBrainsMono-Regular.woff2") format("woff2");
}
@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/JetBrainsMono-Medium.woff2") format("woff2");
}
@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/JetBrainsMono-Bold.woff2") format("woff2");
}
