@font-face {
	font-family: "Barlow Condensed";
	src: url("fonts/barlow-condensed-600.woff2") format("woff2");
	font-weight: 600;
	font-display: swap;
}

@font-face {
	font-family: "Instrument Sans";
	src: url("fonts/instrument-sans.woff2") format("woff2");
	font-weight: 400 700;
	font-stretch: 75% 100%;
	font-display: swap;
}

:root {
	color-scheme: dark;
	--bg: #1a1816;
	--text: #f1eee9;
	--muted: #c9c3bc;
}

@supports (color: oklch(0 0 0)) {
	:root {
		--bg: oklch(0.21 0.005 60);
		--text: oklch(0.95 0.008 80);
		--muted: oklch(0.82 0.012 70);
	}
}

body {
	margin: 0 auto;
	max-width: 42rem;
	padding: 3rem clamp(1.25rem, 5vw, 3rem) 4rem;
	background: var(--bg);
	color: var(--muted);
	font-family: "Instrument Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	overflow-wrap: break-word;
}

h1,
h2 {
	color: var(--text);
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
}

h1 {
	font-size: clamp(3rem, 12vw, 4.5rem);
	margin: 2rem 0;
}

h2 {
	font-size: 1.5rem;
	margin: 2.5rem 0 0.6rem;
}

p,
ul {
	margin: 0 0 1em;
}

strong {
	color: var(--text);
}

a {
	color: var(--text);
	text-underline-offset: 0.22em;
}

a:hover {
	text-decoration-thickness: 2px;
}

.back {
	font-size: 0.875rem;
	color: var(--muted);
}

footer {
	margin-top: 3rem;
	padding-top: 1.5rem;
	font-size: 0.875rem;
}

.badge {
	display: block;
	width: fit-content;
	margin-top: 1.5rem;
	line-height: 0;
}

.badge img {
	width: auto;
	height: 2rem;
}
