/* Always dark, whatever the system's color scheme: the logo (design/logo.ts) is a light box made for it. */
:root {
	--background: #09080b;
	--ink: #f2f1f5;
	--muted: #a19eac;
	color-scheme: dark;
}

* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	background: var(--background);
}

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	/* Lighter at the top, fading into the background towards the bottom. */
	background: radial-gradient(120% 90% at 50% 0%, #2b2836 0%, #131117 55%, var(--background) 100%);
	color: var(--ink);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 17px;
	line-height: 1.55;
}

a {
	color: inherit;
}

main {
	flex: 1;
	width: 100%;
	max-width: 44rem;
	margin: 0 auto;
	padding: 3rem 1rem;
}

.home {
	display: flex;
	align-items: center;
	justify-content: center;
}

.home h1 {
	margin: 0;
}

.logo {
	display: block;
	width: min(13rem, 50vw);
	height: auto;
}

.legal h1 {
	font-size: 1.8rem;
	line-height: 1.2;
	margin: 0 0 1.5rem;
}

.legal h2 {
	font-size: 1.1rem;
	margin: 2rem 0 0.5rem;
}

.back {
	display: inline-block;
	margin-bottom: 2rem;
	color: var(--muted);
}

.placeholder {
	background: #ffe066;
	color: #16151a;
}

footer {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	padding: 1.5rem 1rem;
	font-size: 0.9rem;
	color: var(--muted);
}
