@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;800&family=Noto+Serif+SC:wght@600;700&display=swap');

:root {
	--site-bg: #0b1020;
	--site-panel: #12192d;
	--site-panel-strong: #18233e;
	--site-panel-soft: #0f1627;
	--site-border: rgba(151, 170, 224, 0.18);
	--site-text: #edf3ff;
	--site-text-muted: #a4b3d9;
	--site-text-soft: #7f90bb;
	--site-accent: #57a6ff;
	--site-accent-strong: #2f7bf3;
	--site-accent-soft: rgba(87, 166, 255, 0.14);
	--site-success: #6fe3b4;
	--site-shadow: 0 20px 60px rgba(3, 7, 18, 0.42);
	--site-radius: 24px;
	--site-radius-sm: 16px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at top left, rgba(87, 166, 255, 0.22), transparent 28%),
		radial-gradient(circle at top right, rgba(34, 197, 246, 0.12), transparent 22%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%),
		var(--site-bg);
	color: var(--site-text);
	font: 400 16px/1.72 "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

a {
	color: var(--site-text);
}

img {
	max-width: 100%;
	display: block;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	backdrop-filter: blur(18px);
	background: rgba(8, 12, 25, 0.72);
	border-bottom: 1px solid rgba(151, 170, 224, 0.1);
}

.site-nav {
	max-width: 1180px;
	margin: 0 auto;
	padding: 18px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	font: 700 20px/1 "Noto Serif SC", "Songti SC", serif;
	letter-spacing: 0.01em;
}

.brand img {
	width: 34px;
	height: 34px;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.nav-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid transparent;
	color: var(--site-text-muted);
	text-decoration: none;
	font-weight: 600;
	transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--site-border);
	color: var(--site-text);
}

.page-shell {
	max-width: 1180px;
	margin: 0 auto;
	padding: 40px 24px 80px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--site-border);
	color: var(--site-text-muted);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
	gap: 24px;
	align-items: stretch;
	margin-bottom: 28px;
}

.panel {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
		var(--site-panel);
	border: 1px solid var(--site-border);
	border-radius: var(--site-radius);
	box-shadow: var(--site-shadow);
	padding: 28px;
}

.panel.soft {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
		var(--site-panel-soft);
}

.hero-copy h1,
.page-title,
.prose h1,
.prose h2,
.prose h3,
.card h2,
.card h3 {
	font-family: "Noto Serif SC", "Songti SC", serif;
	letter-spacing: -0.02em;
}

.hero-copy h1,
.page-title {
	margin: 18px 0 14px;
	font-size: clamp(36px, 6vw, 62px);
	line-height: 0.98;
}

.lede {
	margin: 0;
	max-width: 62ch;
	font-size: 18px;
	color: var(--site-text-muted);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid transparent;
	background: linear-gradient(180deg, #68b5ff, #2f7bf3);
	color: #ffffff;
	text-decoration: none;
	font-weight: 700;
	box-shadow: 0 14px 32px rgba(47, 123, 243, 0.28);
}

.button.secondary {
	background: rgba(255, 255, 255, 0.04);
	border-color: var(--site-border);
	box-shadow: none;
	color: var(--site-text);
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 24px;
}

.stat {
	padding: 16px;
	border-radius: 18px;
	border: 1px solid rgba(151, 170, 224, 0.14);
	background: rgba(255, 255, 255, 0.035);
}

.stat strong {
	display: block;
	font: 700 18px/1.2 "Noto Serif SC", "Songti SC", serif;
	margin-bottom: 6px;
}

.stat span {
	color: var(--site-text-soft);
	font-size: 14px;
}

.visual-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100%;
}

.visual-card img {
	border-radius: 18px;
	border: 1px solid rgba(151, 170, 224, 0.16);
	background: #0b1222;
}

.visual-caption {
	margin-top: 16px;
	color: var(--site-text-muted);
}

.section {
	margin-top: 28px;
}

.section-header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 16px;
}

.section-header h2 {
	margin: 0;
	font: 700 clamp(26px, 4vw, 38px)/1.12 "Noto Serif SC", "Songti SC", serif;
}

.section-header p {
	margin: 0;
	max-width: 56ch;
	color: var(--site-text-muted);
}

.grid {
	display: grid;
	gap: 18px;
}

.grid.columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
	padding: 22px;
	border-radius: 22px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
		var(--site-panel-strong);
	border: 1px solid var(--site-border);
	box-shadow: var(--site-shadow);
}

.card h3 {
	margin: 0 0 10px;
	font-size: 24px;
}

.card p,
.card li,
.meta-list li,
.prose p,
.prose li {
	color: var(--site-text-muted);
}

.card ul,
.meta-list,
.prose ul,
.prose ol {
	margin: 14px 0 0;
	padding-left: 20px;
}

.card a,
.prose a,
.inline-link {
	color: #b6d7ff;
}

.callout {
	padding: 20px 22px;
	border-radius: 20px;
	background: var(--site-accent-soft);
	border: 1px solid rgba(87, 166, 255, 0.2);
	color: var(--site-text);
}

.callout strong {
	display: block;
	margin-bottom: 6px;
	font-family: "Noto Serif SC", "Songti SC", serif;
}

.guide-list {
	display: grid;
	gap: 16px;
}

.guide-item {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 18px;
	align-items: center;
	padding: 18px 20px;
	border-radius: 20px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
		var(--site-panel);
	border: 1px solid var(--site-border);
	text-decoration: none;
	box-shadow: var(--site-shadow);
}

.guide-item-number {
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.06);
	font: 700 18px/1 "Noto Serif SC", "Songti SC", serif;
}

.guide-item h3 {
	margin: 0 0 6px;
	font-size: 24px;
}

.guide-item p,
.guide-item small {
	margin: 0;
	color: var(--site-text-muted);
}

.guide-item-arrow {
	color: var(--site-text-soft);
	font-size: 20px;
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	color: var(--site-text-soft);
}

.breadcrumb a {
	color: var(--site-text-soft);
	text-decoration: none;
}

.article-hero {
	margin-bottom: 20px;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin-top: 18px;
	color: var(--site-text-soft);
	font-size: 14px;
}

.prose {
	max-width: 76ch;
}

.prose h2 {
	margin: 34px 0 12px;
	font-size: clamp(28px, 4vw, 38px);
	line-height: 1.06;
}

.prose h3 {
	margin: 22px 0 10px;
	font-size: 24px;
}

.prose p,
.prose li {
	font-size: 17px;
}

.prose code,
.kbd {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(151, 170, 224, 0.15);
	font: 600 13px/1.6 "Noto Sans SC", "PingFang SC", sans-serif;
	color: #d7e8ff;
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 18px;
	align-items: start;
}

.aside-card {
	position: sticky;
	top: 96px;
}

.footer {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px 42px;
	color: var(--site-text-soft);
}

.footer a {
	color: var(--site-text-muted);
}

@media screen and (max-width: 960px) {
	.hero,
	.grid.columns-3,
	.grid.columns-2,
	.split {
		grid-template-columns: 1fr;
	}

	.hero-stats {
		grid-template-columns: 1fr;
	}

	.guide-item {
		grid-template-columns: auto 1fr;
	}

	.guide-item-arrow {
		display: none;
	}
}

@media screen and (max-width: 720px) {
	.site-nav,
	.page-shell,
	.footer {
		padding-left: 18px;
		padding-right: 18px;
	}

	.site-nav {
		flex-direction: column;
		align-items: flex-start;
	}

	.hero-copy h1,
	.page-title {
		font-size: 38px;
	}

	.panel,
	.card {
		padding: 22px;
	}
}
