/*
 * Fonts of the theme, self-hosted (no Google Fonts: it is often blocked in Russia).
 * Inter for all text, Geologica for the accent headings. Variable woff2, weights 100–900,
 * Latin and Cyrillic subsets loaded by unicode-range. Both are SIL OFL 1.1 (fonts/*-OFL.txt),
 * taken from @fontsource-variable/inter and @fontsource-variable/geologica 5.3.0.
 * Loaded after desc.css and media.css in header.php, so these families win.
 */

@font-face {
	font-family: "Inter Variable";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/inter-cyrillic-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Inter Variable";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Geologica Variable";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/geologica-cyrillic-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Geologica Variable";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/geologica-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--font-text: "Inter Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-accent: "Geologica Variable", "Inter Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Everything is Inter, including form controls that do not inherit by default. */
body,
button,
input,
select,
textarea {
	font-family: var(--font-text);
}

/* Accent headings: page titles, section titles, the call to action and platform names. */
.title-h1,
.title-set,
.title-h2,
.title-h2-s,
.top-plat-block h3 {
	font-family: var(--font-accent);
	letter-spacing: -0.01em;
}
