/*
 * One screen, one colour, no build step. The page is content, not a package — there is nothing
 * to install and nothing to compile, which is the whole reason `website/` is a plain directory.
 */

:root {
	--ink: #ede9e3;
	--ink-dim: #8f8880;
	--ground: #0e0d0c;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 2rem;
	background: var(--ground);
	color: var(--ink);
	font-family: ui-serif, Georgia, "Times New Roman", serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

main {
	max-width: 34rem;
	text-align: center;
}

h1 {
	margin: 0;
	font-size: clamp(3rem, 18vw, 8rem);
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 0.9;
}

.note {
	margin: 2.5rem 0 0;
	color: var(--ink-dim);
	font-family: ui-monospace, "SF Mono", Menlo, monospace;
	font-size: 0.8125rem;
	line-height: 1.8;
	letter-spacing: 0.01em;
}

/* The body copy only. `.note` is a paragraph too and stays centred, and a bare `main p` would
 * catch it — specificity does not help when the class declares no alignment of its own. */
main p:not([class]) {
	margin: 1.25rem 0 0;
	text-align: left;
}

a {
	color: var(--ink);
	text-decoration-color: var(--ink-dim);
	text-underline-offset: 0.2em;
}

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