/* Gamma Space brand typography: Helvetica Neue, as the brand book asks.
   Apple devices have Helvetica Neue installed and use it; no font file is sent to them.
   Everyone else gets Inter, the closest free relative (SIL Open Font License 1.1,
   © The Inter Project Authors, see /fonts/LICENSES.txt), served from this site.
   The browser downloads the Inter file only when Helvetica Neue is missing.
   Georgian text uses Noto Sans Georgian (OFL). */

/* Inter 4 Display: one variable file, weights 100–900, the optical size pinned to its Display
   cut so the x-height and cap height match Helvetica Neue. Built by tools/make-inter-display.mjs
   from the official Google Fonts source; the range below matches the characters kept there. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/inter-display.woff2?v=e498a87cc48a') format('woff2');
    unicode-range: U+0020-007E, U+00A0-017F, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301,
        U+0400-045F, U+0490-0491, U+04B0-04B1, U+2000-206F, U+20A0-20C0, U+2116, U+2122,
        U+2190-2193, U+2212, U+2215;
}

/* Georgian: neither Helvetica Neue nor Inter has it. The file's weight axis is 100–900,
   so Thin (200) headings get a real Thin rather than the nearest declared weight. */
@font-face {
    font-family: 'Noto Sans Georgian';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/noto-georgian.woff2?v=b31b7282fdfb') format('woff2');
    unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31;
}

:root {
    /* No Helvetica, Arial or 'Helvetica Neue Cyr' fallbacks: on Windows they would win over Inter. */
    --font-brand: 'Helvetica Neue', 'Inter', 'Noto Sans Georgian', sans-serif;
    --font-primary: var(--font-brand);
    --font-body: var(--font-brand);
}

/* Weights stay at 200, 300, 400, 500 and 700: Apple's Helvetica Neue has exactly those cuts
   (Thin, Light, Regular, Medium, Bold), and Inter's weight axis covers them all. */
body {
    font-family: var(--font-brand);
    font-weight: 400;
    /* Inter's cv10 is the Helvetica-style G with a spur; Helvetica Neue ignores it. */
    font-feature-settings: 'cv10';
}

button, input, select, textarea { font-family: inherit; }
strong, b { font-weight: 500; }
em { font-style: italic; }
