/* Shared by the three public pages. Served from the same directory, so one
   file rather than three copies of the same inline block. */

:root {
	--bg: #fbfaf8;
	--surface: #ffffff;
	--border: #e6e2dc;
	--text: #23201c;
	--muted: #6b655d;
	--accent: #2f7d76;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #16181a;
		--surface: #1d2023;
		--border: #2c3034;
		--text: #e8e6e3;
		--muted: #9a958e;
		--accent: #4db6ac;
	}
}

* { box-sizing: border-box; }

body {
	margin: 0;
	padding: 3rem 1.25rem 5rem;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		system-ui, sans-serif;
	-webkit-text-size-adjust: 100%;
}

main {
	max-width: 38rem;
	margin: 0 auto;
}

header {
	margin-bottom: 2.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--border);
}

h1 {
	margin: 0 0 0.4rem;
	font-size: 1.6rem;
	letter-spacing: -0.02em;
}

h2 {
	margin: 2.25rem 0 0.6rem;
	font-size: 1.05rem;
	letter-spacing: -0.01em;
}

.sub {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

p, li { color: var(--text); }

ul { padding-left: 1.15rem; }
li { margin: 0.3rem 0; }

a { color: var(--accent); }
a:hover { text-decoration: none; }

.note {
	margin-top: 2rem;
	padding: 0.9rem 1.1rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	color: var(--muted);
	font-size: 0.9rem;
}

footer {
	max-width: 38rem;
	margin: 3.5rem auto 0;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border);
	color: var(--muted);
	font-size: 0.875rem;
}

footer a { margin-right: 1.1rem; }

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