/* Shared by the home page and the analytics dashboard. */
@font-face {
	font-family: "Fira Code";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("/fonts/fira-code-700.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Light is a cool paper. Dark is a quiet blue-gray slate, not a navy. */
:root {
	color-scheme: light;
	--bg: #f6f6f8;
	--surface: #ffffff;
	--border: #c8c8d8;
	--rule: #dcdce6;
	--fg: #222222;
	--muted: #555555;
	--heading-muted: #1e6a78;
	--accent: #222222;
	--accent-2: #1e6a78;
	--focus: #1e6a78;
	--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
	--head: "Fira Code", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
	/* Chart series: ink and teal, with a rust for a third line. */
	--c1: #222222;
	--c2: #1e6a78;
	--c3: #9a4f1c;
	--grid: #e2e3ea;
	--heat: 30, 106, 120;
}
@media (prefers-color-scheme: dark) {
	:root {
		color-scheme: dark;
		--bg: #22252c;
		--surface: #3a3d44;
		--border: #585b62;
		--rule: #4c4f56;
		--fg: #f8f8f2;
		--muted: #b4b6b0;
		--heading-muted: #66d9ef;
		--accent: #f8f8f2;
		--accent-2: #66d9ef;
		--focus: #66d9ef;
		--c1: #f8f8f2;
		--c2: #66d9ef;
		--c3: #e0a06a;
		--grid: #32363e;
		--heat: 102, 217, 239;
	}
}
