:root {
	color-scheme: dark;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: #0f172a;
	color: #f8fafc;
}

* { box-sizing: border-box; }

body {
	min-height: 100vh;
	margin: 0;
	display: grid;
	place-items: center;
	padding: 2rem;
	background: radial-gradient(circle at top, #071c83, #370b50 55%);
}

h1 {
	margin: 0;
	font-size: clamp(2.5rem, 8vw, 6rem);
	letter-spacing: -0.06em;
	text-align: center;
	text-shadow: 0 12px 30px rgb(0 0 0 / 25%);
}

h2 {
	margin: 0;
	font-size: clamp(1.5rem, 2vw, 6rem);
	letter-spacing: -0.02em;
	text-align: center;
	text-shadow: 0 12px 30px rgb(0 0 0 / 25%);
}

footer {
	position: fixed;
	bottom: 1rem;
	left: 0;
	right: 0;
	text-align: center;
	font-size: 0.75rem;
	color: #94a3b8;
}

footer a {
	color: inherit;
}

.link-button {
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
}

dialog#legal-notice {
	max-width: 40rem;
	width: 90vw;
	max-height: 80vh;
	overflow-y: auto;
	line-height: 1.6;
	background: #0f172a;
	color: #f8fafc;
	border: 1px solid #334155;
	border-radius: 0.75rem;
	padding: 1.5rem 2rem;
}

dialog#legal-notice::backdrop {
	background: rgb(0 0 0 / 60%);
}

dialog#legal-notice a {
	color: inherit;
}

dialog#legal-notice .close-button {
	margin-top: 1rem;
	background: #1e293b;
	color: inherit;
	border: 1px solid #334155;
	border-radius: 0.5rem;
	padding: 0.4rem 1rem;
	cursor: pointer;
}
