/* fonts.css — self-hosted IBM Plex Mono (latin subset, OFL: see /fonts/OFL.txt)
   Glyphs outside the latin subset (arrows, box drawing, □■, █░ etc.) fall back
   per-character to the next font in --mono. */

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/ibm-plex-mono-latin-400-italic.woff2') format('woff2');
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/ibm-plex-mono-latin-700-normal.woff2') format('woff2');
}

:root { --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace; }

body, button, input, select, textarea { font-family: var(--mono); }

/* browsers give these `font-family: monospace` directly, so they don't inherit from body */
pre, code, kbd, samp { font-family: var(--mono); }

/* the "rad.typo" wordmark keeps its original system monospace */
.site-title, .header h1 { font-family: monospace; }
