:root {
	color-scheme: dark;
	--base: #0b1017;
	--accent: #59c7e3;
	--text: #f2f7fa;
	--muted: #a6b7c5;
	--line: #263642;
	font-family: "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
	background: var(--base);
	color: var(--text);
}

* {
	box-sizing: border-box;
}
[hidden] {
	display: none !important;
}
body {
	margin: 0;
}

.shell {
	width: min(1160px, calc(100% - 112px));
	min-height: 100vh;
	min-height: 100svh;
	margin: auto;
	display: flex;
	flex-direction: column;
}

.site-header,
.site-footer {
	display: flex;
	align-items: center;
	padding-block: 23px;
}

.site-header {
	gap: 11px;
	font-weight: 700;
	border-bottom: 1px solid var(--line);
}

.site-header img {
	border-radius: 8px;
}

.hero {
	flex: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 16px;
	padding-block: clamp(36px, 8vh, 100px);
}

h1 {
	margin: 0;
	font-size: clamp(56px, 7.7vw, 108px);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -0.025em;
}

.subtitle {
	margin: 23px 0 0;
	font-size: clamp(17px, 2.15vw, 26px);
	color: var(--muted);
	line-height: 1.5;
}

.download {
	margin-top: 44px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 58px;
	padding: 0 25px;
	border-radius: 13px;
	background: var(--accent);
	box-shadow: 0 7px 31px #59c7e32b;
	color: #09191f;
	font-size: 16px;
	font-weight: 750;
	text-decoration: none;
	transition:
		background 180ms ease,
		box-shadow 180ms ease,
		transform 180ms ease;
}

.button[href]:hover {
	transform: translateY(-2px);
	background: #8ee1f3;
	box-shadow: 0 9px 35px #59c7e347;
}

.button[aria-disabled="true"] {
	background: #263e49;
	box-shadow: none;
	color: #c7d6dd;
}

.button:focus-visible,
.retry:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}

.release {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	min-height: 29px;
	margin-top: 15px;
	color: var(--muted);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

.version {
	padding: 3px 8px;
	border: 1px solid #59c7e34d;
	border-radius: 6px;
	background: #59c7e312;
	color: #a2e6f4;
}

.retry {
	border: 0;
	padding: 5px 2px;
	background: transparent;
	color: var(--accent);
	cursor: pointer;
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.art {
	position: relative;
	isolation: isolate;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	background: radial-gradient(circle, #142f42 0%, #0e1c29 37%, transparent 71%);
}

.grid,
.orbit,
.axis {
	position: absolute;
	z-index: -1;
	pointer-events: none;
}
.grid {
	inset: 0;
	background-image:
		linear-gradient(#59c7e31f 1px, transparent 1px),
		linear-gradient(90deg, #59c7e31f 1px, transparent 1px);
	background-size: 34px 34px;
	background-position: center;
	mask-image: radial-gradient(ellipse, black 18%, transparent 70%);
}

.orbit {
	border-radius: 50%;
}
.orbit-outer {
	inset: 8%;
	border: 1px dashed #59c7e33b;
}
.orbit-inner {
	inset: 17%;
	border: 1px solid #59c7e366;
}

.orbit-inner::before,
.orbit-inner::after {
	position: absolute;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 14px var(--accent);
	content: "";
}

.orbit-inner::before {
	top: 14%;
	left: 14%;
}
.orbit-inner::after {
	bottom: 14%;
	right: 14%;
}
.axis-x {
	width: 91%;
	height: 1px;
	background: linear-gradient(90deg, transparent, #59c7e355, transparent);
}
.axis-y {
	height: 91%;
	width: 1px;
	background: linear-gradient(transparent, #59c7e355, transparent);
}

.mark {
	width: 38%;
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	border: 1px solid #59c7e365;
	border-radius: 25%;
	background: linear-gradient(145deg, #1b3b4e, #0a1827 75%);
	box-shadow:
		0 17px 55px #030b14b8,
		0 0 55px #59c7e327,
		inset 0 1px #b3edfa38;
	animation: enter 650ms ease-out both;
}

.mark img {
	display: block;
	width: 73%;
	height: auto;
	border-radius: 21%;
}
.site-footer {
	justify-content: space-between;
	gap: 12px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 13px;
}

@keyframes enter {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (max-width: 760px) {
	.shell {
		width: calc(100% - 40px);
	}
	.site-header,
	.site-footer {
		padding-block: 17px;
	}
	.hero {
		grid-template-columns: 1fr;
		align-content: center;
		gap: 16px;
		padding-block: 16px 44px;
		text-align: center;
	}
	.art {
		order: -1;
		justify-self: center;
		width: min(75vw, 315px);
	}
	h1 {
		font-size: clamp(48px, 12vw, 72px);
	}
	.subtitle {
		margin-top: 13px;
	}
	.download {
		margin-top: 28px;
	}
	.release {
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mark {
		animation: none;
	}
	.button {
		transition: none;
	}
}
