/* Self-hosted typefaces. No third-party font CDN, so no visitor IP is handed to
   a font provider. See fonts/LICENSES.md for terms.

   URLs are relative to this file, so the same stylesheet works from the site
   root and from the og plate (hybrid/og.html) that renders og.png.

   Two voices only: Instrument Serif for display (h1, h2, the flood lockup) and
   Satoshi for everything else. The legal pages (terms, privacy, support) are
   Satoshi throughout, title included (doc.css .legal-doc). Satoshi files are the unmodified WEB woff2 from
   the official Fontshare kit (ITF Free Font License: self-hosting allowed, no
   subsetting, no format conversion). Instrument Serif is SIL OFL 1.1, Latin
   subset, one weight, upright and italic. */

:root { --display: 'Instrument Serif', 'Times New Roman', serif; }

/* Display tuning in one place. :root :is(...) is (0,2,0), which beats every
   per-section heading rule such as .showcase h2 or .doc h1 (0,1,1), so no heavy
   weight or tight sans tracking can leak back onto the serif. */
:root :is(h1, h2, .flood-word) { font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }

@font-face { font-family: 'Satoshi'; src: url('fonts/Satoshi-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/Satoshi-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/Satoshi-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/Satoshi-Black.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

@font-face { font-family: 'Instrument Serif'; src: url('fonts/instrument-serif.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('fonts/instrument-serif-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
