/* Tokens pulled from the logo: deep navy ink, slate steel, gear orange. */
:root {
	--ink: #1b2330;
	--ink-soft: #5b6472;
	--ground: #f7f5f1;
	--card: #ffffff;
	--rule: #e0dcd3;
	--accent: #e8921d;
	--accent-ink: #8a5208;
}

@media (prefers-color-scheme: dark) {
	:root {
		--ink: #e8e9ec;
		--ink-soft: #9aa3b0;
		--ground: #121824;
		--card: #1a2231;
		--rule: #2b3444;
		--accent: #f4a62e;
		--accent-ink: #f4a62e;
	}
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 3rem 1.5rem 2rem;
	background: var(--ground);
	color: var(--ink);
	font: 1rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	text-align: center;
}

main {
	max-width: 30rem;
}

/* The mark is pixel art; let it scale as pixels, not mush. */
.mark {
	width: clamp(10rem, 40vw, 16rem);
	height: auto;
	image-rendering: pixelated;
}

h1 {
	margin: 1rem 0 0;
	font-size: clamp(1.9rem, 6vw, 2.6rem);
	letter-spacing: -0.02em;
}

.llc {
	font-size: 0.55em;
	font-weight: 600;
	letter-spacing: 0.12em;
	color: var(--ink-soft);
	vertical-align: 0.2em;
}

.lede {
	margin: 0.25rem 0 1.5rem;
	font-size: 1.15rem;
	color: var(--ink-soft);
}

p {
	margin: 1rem 0;
}

/* The one thing to click: the product card. */
.product {
	display: block;
	margin: 2rem 0 0;
	padding: 1.25rem 1.5rem;
	background: var(--card);
	border: 1px solid var(--rule);
	border-radius: 0.75rem;
	text-decoration: none;
	color: inherit;
	text-align: left;
	transition: border-color 0.15s ease;
}

.product:hover,
.product:focus-visible {
	border-color: var(--accent);
}

.product-name {
	display: block;
	font-size: 1.3rem;
	font-weight: 700;
}

.product-line {
	display: block;
	margin-top: 0.25rem;
	color: var(--ink-soft);
	font-size: 0.95rem;
}

.product-go {
	display: block;
	margin-top: 0.75rem;
	font-weight: 600;
	color: var(--accent-ink);
}

footer {
	margin-top: 3rem;
	font-size: 0.85rem;
	color: var(--ink-soft);
}

footer p {
	margin: 0;
}
