/* Basic Typography */

/* Inter 4.1, self-hosted (was rsms.me/inter/inter.css). The variable font
   covers every weight; the static fallbacks for pre-2018 browsers are gone. */
@font-face {
    font-family: InterVariable;
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(fonts/InterVariable.woff2) format('woff2');
}
@font-face {
    font-family: InterVariable;
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url(fonts/InterVariable-Italic.woff2) format('woff2');
}

:root {
    font-family: InterVariable, sans-serif;
    font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
}

/* No tabular figures sitewide: every number here sits in running text or a
   tag, where proportional figures read better. Inter's tnum also swapped the
   word space at a weight change in Safari (a wide gap on Method's heading).
   Add font-variant-numeric: tabular-nums locally for anything that counts,
   ticks or lines up in columns. */
body {
    font-variant-ligatures: common-ligatures;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #212529;
}

.fw100 { font-weight: 100; }
.fw200 { font-weight: 200; }
.fw300 { font-weight: 300; }
.fw400 { font-weight: 400; } /* Regular */
.fw500 { font-weight: 500; } /* Medium */
.fw600 { font-weight: 600; } /* SemiBold */
.fw700 { font-weight: 700; } /* Bold */
.fw800 { font-weight: 800; }
.fw900 { font-weight: 900; }

