:root {
	color-scheme: light;
	--sky: #bcd3f7;
	--disc: #e5bf62;
	--far: #62a48f;
	--mid: #2f6b5c;
	--ground: #ffffff;
	--text: #101318;
	--soft: #39404d;
	--line: #d5dbe6;
	--link: #1f57c4;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-scheme="light"]) {
		color-scheme: dark;
		--sky: #1b2450;
		--disc: #f3e2c3;
		--far: #5b3a63;
		--mid: #38264a;
		--ground: #15152a;
		--text: #f2f3f8;
		--soft: #c3c7d6;
		--line: #363654;
		--link: #9dbcff;
	}
}
:root[data-scheme="dark"] {
	color-scheme: dark;
	--sky: #1b2450;
	--disc: #f3e2c3;
	--far: #5b3a63;
	--mid: #38264a;
	--ground: #15152a;
	--text: #f2f3f8;
	--soft: #c3c7d6;
	--line: #363654;
	--link: #9dbcff;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ground);
	color: var(--text);
	font: 400 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrap { width: min(100% - 3rem, 68rem); margin-inline: auto; }
h1, h2, dt, .mark { letter-spacing: -0.025em; font-weight: 750; }

.scene {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: min(88svh, 50rem);
	padding-bottom: clamp(13rem, 27vw, 22rem);
	overflow: hidden;
	background: var(--sky);
}
.bar { display: flex; align-items: center; justify-content: space-between; padding-block: 1.5rem; }
.mark { font-size: 1.375rem; }
.switch {
	display: inline-grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin-right: -0.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: inherit;
	cursor: pointer;
}
.switch[hidden] { display: none; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.lead { position: relative; z-index: 1; padding-top: clamp(1.5rem, 6vh, 4rem); }
h1 {
	max-width: 13ch;
	margin: 0;
	font-size: clamp(2.6rem, 7.2vw, 5.5rem);
	line-height: 1.02;
	letter-spacing: -0.04em;
}
.status { max-width: 46ch; margin: 1.5rem 0 0; font-size: 1.25rem; line-height: 1.45; }
.land { position: absolute; inset: auto 0 -1px; width: 100%; height: clamp(17rem, 34vw, 28rem); }
.disc { fill: var(--disc); }
.far { fill: var(--far); }
.mid { fill: var(--mid); }
.near { fill: var(--ground); }

main { padding-block: clamp(2rem, 5vw, 4rem); }
h2 { margin: 0; font-size: 1.5rem; line-height: 1.25; }
p { margin: 0; }
p, dd { text-wrap: pretty; }
.theme { padding-bottom: 3rem; }
.theme .intro { margin-top: 1rem; max-width: 36ch; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35; letter-spacing: -0.015em; }
dl { max-width: 62ch; margin: 2.5rem 0 0; }
dt { font-size: 1.125rem; }
dd { margin: 0.25rem 0 1.5rem; color: var(--soft); }
dd:last-child { margin-bottom: 0; }
.plugin { padding-block: 2rem; border-top: 1px solid var(--line); }
.plugin p { max-width: 62ch; margin-top: 0.75rem; color: var(--soft); }
footer { padding-block: 2rem 3rem; border-top: 1px solid var(--line); color: var(--soft); font-size: 0.9375rem; }
footer p { max-width: 78ch; }
footer p + p { margin-top: 0.75rem; }
a { color: var(--link); }
.lost { padding-block: 20vh; }
.lost p { margin-top: 1.5rem; }

@media (min-width: 48rem) {
	.theme, .plugin { display: grid; grid-template-columns: 14rem 1fr; gap: 3rem; }
	.plugin p, .theme .intro { margin-top: 0; }
}
@media (prefers-reduced-motion: no-preference) {
	.scene, .disc, .far, .mid, .near { transition: background-color 0.5s, fill 0.5s; }
	body { transition: background-color 0.5s, color 0.3s; }
}
