:root {
	--ink: #eaf3ff;
	--muted: #a9bad0;
	--line: rgba(181, 215, 255, 0.2);
	--panel: rgba(8, 21, 38, 0.78);
	--accent: #59d6c2;
	--accent-strong: #35b9e8;
}

html {
	scroll-behavior: smooth;
}

body,
body input,
body select,
body textarea {
	color: var(--ink);
	font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

body {
	background: #07111f;
}

#bg:before {
	background-image:
		linear-gradient(135deg, rgba(4, 16, 31, 0.94), rgba(8, 47, 67, 0.68)),
		url("../../images/overlay.png");
}

#bg:after {
	background-position: center;
	filter: saturate(0.8);
}

#wrapper {
	max-width: 1240px;
	margin: 0 auto;
	padding: 4.5rem 3rem 2rem;
}

#header {
	align-items: flex-start;
	width: 100%;
	text-align: left;
}

#header > * {
	margin-top: 2rem;
}

#header > *:before {
	display: none;
}

#header .logo {
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	border: 0;
	border-radius: 1.25rem;
	background: linear-gradient(135deg, var(--accent), var(--accent-strong));
	box-shadow: 0 1rem 2.5rem rgba(53, 185, 232, 0.24);
	transform: rotate(-6deg);
}

#header .logo .icon:before {
	color: #07111f;
	font-size: 1.5rem;
	transform: rotate(6deg);
}

#header .content {
	width: min(760px, 100%);
	border: 0;
}

#header .content .inner {
	padding: 0;
	overflow: visible;
}

#header .content .eyebrow {
	margin-bottom: 1rem;
	color: var(--accent);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18rem;
	text-transform: uppercase;
}

#header .content h1 {
	margin-bottom: 1rem;
	font-size: clamp(2.5rem, 7vw, 5rem);
	letter-spacing: 0.08rem;
	line-height: 1.05;
	text-transform: none;
}

#header .content p:not(.eyebrow) {
	max-width: 680px;
	margin-bottom: 0;
	color: var(--muted);
	font-size: 1rem;
	letter-spacing: 0.04rem;
	line-height: 1.9;
	text-transform: none;
}

#header nav {
	width: 100%;
	margin-top: 3rem;
}

#header nav ul {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 1rem;
	background: rgba(8, 21, 38, 0.62);
	box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(16px);
}

#header nav ul li {
	border-left: 1px solid var(--line);
}

#header nav ul li:first-child {
	border-left: 0;
}

#header nav ul li a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: 3.5rem;
	padding: 0 0.75rem;
	color: var(--muted);
	font-size: 0.72rem;
	letter-spacing: 0.06rem;
	text-align: center;
	text-transform: none;
}

#header nav ul li a:hover,
#header nav ul li a:focus-visible {
	background: rgba(89, 214, 194, 0.12);
	color: var(--ink);
	outline: none;
}

#header nav.use-middle:after {
	display: none;
}

#main article {
	width: min(760px, 100%);
	margin: 3rem 0 0;
	padding: 3.5rem;
	border: 1px solid var(--line);
	border-radius: 1.5rem;
	background: var(--panel);
	box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(18px);
}

#main article h2 {
	margin-bottom: 1.5rem;
	font-size: clamp(1.25rem, 3vw, 1.8rem);
	letter-spacing: 0.04rem;
	text-transform: none;
}

#main article p,
#main article li {
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.9;
}

#main article p {
	margin-bottom: 1.25rem;
}

#main article .image.main {
	margin: 0 0 1.75rem;
	border-radius: 1rem;
	overflow: hidden;
}

#main article .image.main img {
	display: block;
	width: 100%;
	height: auto;
}

#main article .feature-list {
	margin: -0.5rem 0 1.5rem 1.25rem;
	list-style: disc;
}

#main article .feature-list li {
	padding-left: 0.25rem;
}

#main article a {
	border-bottom-color: rgba(89, 214, 194, 0.55);
	color: var(--accent);
}

#main article a:hover,
#main article a:focus-visible {
	color: #b8fff3;
}

#main article .download-link {
	display: inline-flex;
	align-items: center;
	min-height: 2.25rem;
	margin: 0.25rem 0;
	padding: 0.35rem 0.85rem;
	border: 1px solid rgba(89, 214, 194, 0.35);
	border-radius: 0.55rem;
	background: rgba(89, 214, 194, 0.08);
	border-bottom-width: 1px;
	font-size: 0.85rem;
}

#main article .download-link:hover,
#main article .download-link:focus-visible {
	background: rgba(89, 214, 194, 0.18);
}

#contact ul {
	margin-bottom: 0;
}

#contact ul li {
	margin-bottom: 0.7rem;
}

#footer {
	margin-top: 3rem;
}

#footer .copyright {
	color: var(--muted);
	letter-spacing: 0.05rem;
	font-size: 0.7rem;
	text-transform: none;
}

#footer .copyright a {
	color: var(--accent);
}

@media screen and (max-width: 760px) {
	#wrapper {
		padding: 2.5rem 1.25rem 1.5rem;
	}

	#header nav {
		margin-top: 2rem;
	}

	#header nav ul {
		grid-template-columns: repeat(3, 1fr);
	}

	#header nav ul li:nth-child(4) {
		border-left: 0;
		border-top: 1px solid var(--line);
	}

	#header nav ul li:nth-child(5),
	#header nav ul li:nth-child(6) {
		border-top: 1px solid var(--line);
	}

	#main article {
		padding: 3rem 1.5rem 1.25rem;
		border-radius: 1.1rem;
	}
}

@media screen and (max-width: 420px) {
	#header nav ul li a {
		height: 3.25rem;
		font-size: 0.68rem;
	}

	#main article {
		padding-right: 1.1rem;
		padding-left: 1.1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*:before,
	*:after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
