:root {
	--bg: #fff;
	--fg: #14181f;
	--muted: #5b6472;
	--accent: #208aef;
	--line: #e5e8ee;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0e1116;
		--fg: #eef1f6;
		--muted: #9aa4b2;
		--accent: #5aa9f5;
		--line: #232a35;
	}
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font:
		16px / 1.65 system-ui,
		-apple-system,
		"Segoe UI",
		Roboto,
		sans-serif;
	color: var(--fg);
	background: var(--bg);
}

header,
main,
footer {
	max-width: 760px;
	padding: 16px;
	margin: 0 auto;
}

header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--line);
}

header a.logo {
	font-size: 20px;
	font-weight: 800;
	color: var(--fg);
	text-decoration: none;
}

nav a {
	margin-left: 16px;
	font-size: 14px;
	color: var(--muted);
	text-decoration: none;
}

a {
	color: var(--accent);
}

h1 {
	font-size: 32px;
	line-height: 1.2;
}

h2 {
	margin-top: 32px;
}

.note {
	padding: 12px 16px;
	font-size: 14px;
	background: var(--line);
	border-radius: 12px;
}

footer {
	margin-top: 48px;
	font-size: 14px;
	color: var(--muted);
	border-top: 1px solid var(--line);
}

footer a {
	margin-right: 16px;
}
