/* Self-hosted Inter (latin subset). Replaces Google Fonts CDN. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter/inter-latin-600-normal.woff2') format('woff2');
}

/* Inter 700 — added 12-Sep-2026 (typography audit P1-3). 229 screen
   declarations requested a weight with no matching face (189x 700, 33x 650,
   3x 550, 1x 800, 3x var(--font-weight-bold)); the browser was synthesizing
   bold by smearing Inter 600, which blurs stems on Windows and Chrome/Android
   and collapsed 650/700/800 into one indistinguishable output. Same source as
   the 400/500/600 faces above: @fontsource/inter@5.0.16, latin subset
   (the 600 file in this folder is a byte-for-byte match for that package). */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter/inter-latin-700-normal.woff2') format('woff2');
}

/* JetBrains Mono 400/500 — added 12-Sep-2026 (typography audit P1-5).
   rt-design-system's typography.fontFamily.mono token is
   `JetBrains Mono, monospace`, but the face was never self-hosted, so all
   monospace text fell through to the system mono: SF Mono on macOS, Consolas
   on Windows, DejaVu Sans Mono on Android. Those have different advance
   widths, so the numeric columns in the payroll and cockpit tables aligned
   differently per device -- the one thing the mono font was there to do.
   Source: @fontsource/jetbrains-mono@5.3.0, latin subset.
   Read through var(--font-family-mono), defined in main.css. */
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/jetbrains-mono/jetbrains-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/jetbrains-mono/jetbrains-mono-latin-500-normal.woff2') format('woff2');
}
