/* ============================================================
   PiDesk 官网 · 视觉体系沿用 docs/design.html
   ============================================================ */

:root {
	--bg-color: #0e0d0c;
	--surface-color: rgba(28, 26, 25, 0.6);
	--card-bg: rgba(35, 33, 32, 0.4);
	--accent-glow: rgba(142, 136, 132, 0.15);
	--border-subtle: rgba(255, 255, 255, 0.06);
	--border-active: rgba(255, 255, 255, 0.12);

	--text-primary: #dcd6d1;
	--text-bright: #f0ebe6;
	--text-secondary: #8e8884;
	--text-muted: #5c5855;

	--sage: #a8c69f;
	--clay: #c6a89f;
	--steel: #a8b2c6;
	--sand: #c6c19f;

	--radius-lg: 24px;
	--radius-md: 12px;
	--radius-sm: 8px;

	--font-main:
		"Inter", system-ui, -apple-system, "Segoe UI", "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", Roboto,
		sans-serif;
	--font-mono: "JetBrains Mono", "Cascadia Mono", "IBM Plex Mono", Consolas, "Sarasa Mono SC", monospace;

	--shell: 1400px;
	--head-h: 68px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--head-h) + 24px);
}

body {
	background-color: var(--bg-color);
	color: var(--text-primary);
	font-family: var(--font-main);
	font-size: 15px;
	line-height: 1.65;
	min-height: 100vh;
	overflow-x: hidden;
}

/* 网格 + 顶部辉光，铺满整页 */
.backdrop {
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		radial-gradient(circle at 50% -20%, rgba(142, 136, 132, 0.12) 0%, transparent 55%),
		radial-gradient(circle at 88% 12%, rgba(168, 178, 198, 0.05) 0%, transparent 40%),
		linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
	background-size:
		100% 100%,
		100% 100%,
		80px 80px,
		80px 80px;
}

::selection {
	background: rgba(220, 214, 209, 0.22);
	color: var(--text-bright);
}

.shell {
	max-width: var(--shell);
	margin: 0 auto;
	padding: 0 40px;
	width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

code {
	font-family: var(--font-mono);
	font-size: 0.86em;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-subtle);
	border-radius: 5px;
	padding: 1px 6px;
	white-space: nowrap;
}

/* ---------- 语言切换 ---------- */
html[lang="zh-CN"] [data-lang="en"],
html[lang="en"] [data-lang="zh"] {
	display: none !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--text-primary);
	color: var(--bg-color);
	padding: 10px 18px;
	border-radius: var(--radius-sm);
}
.skip-link:focus {
	left: 16px;
	top: 16px;
}

/* ---------- 通用排版零件 ---------- */
.card-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-secondary);
	display: block;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-secondary);
	margin-bottom: 28px;
}
.tick {
	width: 28px;
	height: 1px;
	background: var(--text-secondary);
	display: inline-block;
}

.crosshair {
	position: absolute;
	width: 11px;
	height: 11px;
	pointer-events: none;
	opacity: 0.7;
}
.ch-tl {
	top: 18px;
	left: 18px;
}
.ch-tr {
	top: 18px;
	right: 18px;
}
.ch-br {
	bottom: 18px;
	right: 18px;
}
.crosshair::before,
.crosshair::after {
	content: "";
	position: absolute;
	background: var(--text-muted);
}
.crosshair::before {
	top: 5px;
	left: 0;
	width: 11px;
	height: 1px;
}
.crosshair::after {
	left: 5px;
	top: 0;
	width: 1px;
	height: 11px;
}

/* ---------- 按钮 ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid var(--border-subtle);
	background: transparent;
	color: var(--text-secondary);
	padding: 9px 20px;
	border-radius: 40px;
	font-size: 13px;
	font-family: inherit;
	font-weight: 500;
	cursor: pointer;
	transition:
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
	white-space: nowrap;
}
.btn:hover {
	color: var(--text-primary);
	border-color: var(--border-active);
	background: var(--card-bg);
}
.btn-primary {
	background: var(--text-primary);
	color: var(--bg-color);
	border-color: transparent;
	font-weight: 600;
}
.btn-primary:hover {
	background: var(--text-bright);
	color: var(--bg-color);
	transform: translateY(-1px);
}
.btn-lg {
	padding: 13px 28px;
	font-size: 14px;
}

/* ---------- 顶栏 ---------- */
.site-head {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--head-h);
	background: rgba(14, 13, 12, 0.72);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--border-subtle);
}
.head-inner {
	max-width: var(--shell);
	margin: 0 auto;
	padding: 0 40px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	letter-spacing: 0.02em;
	font-weight: 600;
}
.brand-icon {
	width: 26px;
	height: 26px;
	background: url("favicon.png") center / contain no-repeat;
}
.chip {
	font-family: var(--font-mono);
	font-size: 9px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 20px;
	border: 1px solid var(--border-active);
	color: var(--text-secondary);
}
.chip-beta {
	border-color: rgba(168, 198, 159, 0.3);
	color: var(--sage);
}

.seg-nav {
	display: flex;
	align-items: center;
	background: var(--surface-color);
	backdrop-filter: blur(12px);
	padding: 4px;
	border-radius: 40px;
	border: 1px solid var(--border-subtle);
}
.seg-nav a {
	color: var(--text-secondary);
	padding: 7px 16px;
	font-size: 13px;
	border-radius: 30px;
	transition: all 0.2s ease;
	white-space: nowrap;
}
.seg-nav a:hover {
	color: var(--text-primary);
}
.seg-nav a.is-active {
	background: var(--card-bg);
	color: var(--text-primary);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.head-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.lang-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: transparent;
	border: 1px solid var(--border-subtle);
	border-radius: 40px;
	padding: 8px 14px;
	color: var(--text-muted);
	font-family: var(--font-mono);
	font-size: 12px;
	cursor: pointer;
	transition: border-color 0.2s ease;
}
.lang-toggle:hover {
	border-color: var(--border-active);
}
.lang-toggle .lang-opt[data-active="true"] {
	color: var(--text-primary);
}

/* ---------- HERO ---------- */
.hero {
	padding: 88px 0 24px;
	position: relative;
}
.hero-title {
	font-size: clamp(30px, calc(5.6vw + 8px), 82px);
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: var(--text-bright);
	max-width: 17em;
}
.hero-title em {
	font-style: italic;
	color: var(--text-bright);
	white-space: nowrap;
	background: linear-gradient(180deg, transparent 86%, rgba(168, 198, 159, 0.24) 86%);
}
.lede {
	margin-top: 28px;
	max-width: 78ch;
	font-size: 17px;
	color: var(--text-secondary);
	line-height: 1.75;
}
.lede a {
	color: var(--text-primary);
	border-bottom: 1px solid var(--border-active);
}
.lede a:hover {
	border-bottom-color: var(--text-secondary);
}
.hero-cols .lede {
	margin-top: 0;
	flex: 1 1 460px;
}

.hero-cols {
	margin-top: 28px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
}
.hero-cols .term-card {
	flex: 0 1 700px;
	min-width: min(100%, 480px);
}

.term-card {
	background: rgba(0, 0, 0, 0.34);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	overflow: hidden;
}
.term-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--border-subtle);
	background: rgba(255, 255, 255, 0.02);
}
.term-dots {
	display: inline-flex;
	gap: 5px;
}
.term-dots i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--text-muted);
	opacity: 0.55;
}
.term-title {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-right: auto;
}
.copy-btn {
	background: transparent;
	border: 1px solid var(--border-subtle);
	color: var(--text-muted);
	font-family: var(--font-mono);
	font-size: 9px;
	letter-spacing: 0.12em;
	padding: 4px 10px;
	border-radius: 20px;
	cursor: pointer;
	transition: all 0.2s ease;
}
.copy-btn:hover {
	color: var(--text-primary);
	border-color: var(--border-active);
}
.copy-btn.is-done {
	color: var(--sage);
	border-color: rgba(168, 198, 159, 0.35);
}
.term-body {
	padding: 16px 18px;
	overflow-x: auto;
}
.term-body code {
	background: none;
	border: none;
	padding: 0;
	white-space: pre;
	font-size: 12.5px;
	line-height: 1.9;
	color: var(--text-primary);
}
.prompt {
	color: var(--sage);
}
.cmt {
	color: var(--text-muted);
}
.cmt-hi {
	color: var(--text-bright);
}

.hero-cta {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
}
.hero-cols .hero-cta {
	margin-left: auto;
}

.spec-strip {
	margin-top: 56px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	padding: 22px 0;
	border-top: 1px solid var(--border-subtle);
	border-bottom: 1px solid var(--border-subtle);
}
.spec-item dt {
	font-size: 9px;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin-bottom: 6px;
}
.spec-item dd {
	font-family: var(--font-mono);
	font-size: 12.5px;
	color: var(--text-primary);
}

.hero-figure {
	margin-top: 64px;
}
.shot-frame {
	position: relative;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	overflow: hidden;
	background: #131211;
	box-shadow:
		0 30px 80px -30px rgba(0, 0, 0, 0.9),
		0 0 0 1px rgba(0, 0, 0, 0.4);
}
.shot-frame::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 22%);
}
.shot-frame img {
	display: block;
	width: 100%;
	height: auto;
}
img[data-zoom] {
	cursor: zoom-in;
}
:focus-visible {
	outline: 2px solid var(--text-secondary);
	outline-offset: 2px;
	border-radius: var(--radius-sm);
}
.fig-cap {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
	font-size: 12px;
	color: var(--text-muted);
	font-family: var(--font-mono);
	letter-spacing: 0.02em;
}
.fig-cap code {
	font-size: 11px;
}
.fig-no {
	color: var(--text-secondary);
	border: 1px solid var(--border-subtle);
	border-radius: 20px;
	padding: 2px 9px;
	font-size: 10px;
	letter-spacing: 0.1em;
	flex: none;
}
.fig-inside {
	position: absolute;
	left: 14px;
	bottom: 14px;
	z-index: 3;
	margin: 0;
	padding: 6px 12px;
	border-radius: 30px;
	background: rgba(14, 13, 12, 0.78);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border-subtle);
}

.scroll-hint {
	margin-top: 40px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--text-muted);
}
.scroll-hint .arrow {
	display: inline-block;
	animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(5px);
	}
}

/* ---------- 区块 ---------- */
.band {
	padding: 60px 0;
	position: relative;
}
.band-tight {
	padding-top: 0;
	padding-bottom: 0;
}
.band + .band::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: min(var(--shell), calc(100% - 80px));
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--border-active), transparent);
}
.sec-no {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	color: var(--text-muted);
	margin-bottom: 18px;
}
.sec-title,
.sec-head h2 {
	font-size: clamp(28px, 3.4vw, 46px);
	font-weight: 300;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: var(--text-bright);
	max-width: 15em;
}
.sec-lede {
	margin-top: 20px;
	max-width: 76ch;
	font-size: 16px;
	color: var(--text-secondary);
}
.sec-title + .sec-lede,
.sec-head .sec-lede {
	margin-bottom: 0;
}

/* ---------- 概览卡片 ---------- */
.summary-grid {
	margin-top: 48px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.card {
	background: var(--surface-color);
	backdrop-filter: blur(20px);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	padding: 28px;
	position: relative;
	overflow: hidden;
}
.card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--border-active), transparent);
}
.card-value {
	font-size: 44px;
	font-weight: 300;
	letter-spacing: -0.03em;
	margin-top: 10px;
	color: var(--text-bright);
	line-height: 1;
}
.card-value .unit {
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
	color: var(--text-secondary);
}
.card-subtext {
	font-size: 13px;
	color: var(--text-muted);
	margin-top: 14px;
	line-height: 1.6;
}

/* ---------- 架构图 ---------- */
.arch {
	margin-top: 52px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.arch-node {
	background: var(--surface-color);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	padding: 24px;
	position: relative;
}
.arch-node strong {
	display: block;
	font-size: 18px;
	font-weight: 500;
	color: var(--text-bright);
	margin: 8px 0 10px;
	letter-spacing: -0.01em;
}
.arch-node p {
	font-size: 12.5px;
	color: var(--text-muted);
	line-height: 1.6;
}
.arch-store {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 20px;
	align-items: stretch;
}
.arch-node.is-store {
	border-style: dashed;
}
.arch-consequences {
	list-style: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	padding: 24px 28px;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	background: var(--card-bg);
}
.arch-consequences li {
	font-size: 14px;
	color: var(--text-secondary);
	padding-left: 22px;
	position: relative;
}
.arch-consequences li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--sage);
	font-family: var(--font-mono);
}

/* ---------- 列表 ---------- */
.feature-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.feature-list li {
	padding: 20px 24px;
	border: 1px solid transparent;
	border-radius: var(--radius-md);
	transition:
		background 0.25s ease,
		border-color 0.25s ease;
}
.feature-list li:hover {
	background: var(--surface-color);
	border-color: var(--border-subtle);
}
.feature-list strong {
	display: block;
	font-size: 15px;
	font-weight: 500;
	color: var(--text-primary);
	margin-bottom: 6px;
}
.feature-list li > span {
	display: block;
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.7;
}
.feature-list.tight li {
	padding: 16px 0;
	border-bottom: 1px solid var(--border-subtle);
	border-radius: 0;
}
.feature-list.tight li:hover {
	background: none;
	border-color: var(--border-subtle);
}
.feature-list.tight li:last-child {
	border-bottom: none;
}

/* ---------- 会话区：左文右图 ---------- */
.split-grid {
	margin-top: 56px;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}
.strip-stack {
	display: flex;
	flex-direction: column;
	gap: 14px;
	position: sticky;
	top: calc(var(--head-h) + 40px);
}
.shot-frame.big {
	margin-top: 48px;
}

/* ---------- 面板 2x2 ---------- */
.panel-grid {
	margin-top: 56px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}
.panel-card {
	background: var(--surface-color);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	padding: 18px 18px 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	transition:
		border-color 0.3s ease,
		transform 0.3s ease;
}
.panel-card:hover {
	border-color: var(--border-active);
	transform: translateY(-2px);
}
.panel-card .shot-frame {
	flex: none;
	border-radius: var(--radius-md);
}
.panel-body h3 {
	font-size: 19px;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--text-bright);
	margin: 8px 0 10px;
}
.panel-body p {
	font-size: 13.5px;
	color: var(--text-secondary);
	line-height: 1.7;
}

/* ---------- 扩展生态 ---------- */
.ext-grid {
	margin-top: 56px;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}
.ext-media,
.desktop-media {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.pair-shots {
	margin-top: 24px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: start;
}
/* ---------- View SDK 槽位示意图 ---------- */
.viewmap-card {
	margin-top: 24px;
	background: var(--surface-color);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	padding: 26px 26px 24px;
	position: relative;
	overflow: hidden;
}
.viewmap-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--border-active), transparent);
}
.viewmap,
.archmap {
	display: block;
	width: 100%;
	height: auto;
	max-width: 1060px;
	margin: 0 auto;
}
:is(.viewmap, .archmap) text {
	font-family: var(--font-mono);
}
:is(.viewmap, .archmap) .vs-frame {
	fill: rgba(255, 255, 255, 0.015);
	stroke: var(--text-primary);
	stroke-opacity: 0.5;
	stroke-width: 1.5;
}
:is(.viewmap, .archmap) .vs-line {
	stroke: var(--text-secondary);
	stroke-opacity: 0.4;
	stroke-width: 1.1;
	fill: none;
	stroke-linecap: round;
}
.viewmap .vs-inbox {
	stroke: var(--text-secondary);
	stroke-opacity: 0.4;
	stroke-width: 1.1;
	fill: rgba(255, 255, 255, 0.02);
}
:is(.viewmap, .archmap) .vs-soft {
	stroke: var(--text-secondary);
	stroke-opacity: 0.16;
	stroke-width: 1.1;
	fill: none;
	stroke-linecap: round;
}
:is(.viewmap, .archmap) .vs-blob {
	fill: var(--text-secondary);
	opacity: 0.14;
}
:is(.viewmap, .archmap) .vs-txt {
	font-size: 10px;
	fill: var(--text-secondary);
	opacity: 0.55;
}
.viewmap .vs-leader {
	stroke: var(--slot);
	stroke-opacity: 0.55;
	stroke-width: 1.1;
	fill: none;
	stroke-dasharray: 2 4;
	stroke-linecap: round;
}
.viewmap .slot-box {
	fill: none;
	stroke: var(--slot);
	stroke-opacity: 0.85;
	stroke-width: 1.2;
	stroke-dasharray: 5 4;
	transition: stroke-width 0.16s ease, stroke-opacity 0.16s ease;
}
.viewmap .slot-fill {
	opacity: 0.5;
	transition: opacity 0.16s ease;
}
.viewmap .slot {
	cursor: crosshair;
}
.viewmap .slot:hover .slot-box {
	stroke-width: 1.9;
	stroke-opacity: 1;
}
.viewmap .slot:hover .slot-fill {
	opacity: 1;
}
:is(.viewmap, .archmap) .vs-bar {
	stroke: var(--slot);
	stroke-opacity: 0.75;
	stroke-width: 3;
	stroke-linecap: round;
	fill: none;
}
:is(.viewmap, .archmap) .vs-strong {
	stroke: var(--slot);
	stroke-opacity: 0.7;
	stroke-width: 2;
	stroke-linecap: round;
	fill: none;
}
.viewmap .vs-gear {
	stroke: var(--slot);
	stroke-opacity: 0.8;
	stroke-width: 1.4;
	fill: none;
}
:is(.viewmap, .archmap) .vs-dot {
	fill: var(--slot);
}
:is(.viewmap, .archmap) .vs-num {
	font-size: 11px;
	fill: var(--slot);
	letter-spacing: 0.06em;
}
:is(.viewmap, .archmap) .vs-name {
	font-size: 12.5px;
	fill: var(--text-primary);
}
:is(.viewmap, .archmap) .vs-desc {
	font-size: 10px;
	fill: var(--text-secondary);
	letter-spacing: 0.02em;
}
.archmap .am-arrow {
	stroke: var(--slot);
	stroke-opacity: 0.85;
	stroke-width: 1.6;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.archmap .am-head {
	stroke: var(--slot);
	stroke-opacity: 0.85;
	stroke-width: 1.6;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.archmap .am-read {
	stroke: var(--slot);
	stroke-opacity: 0.6;
	stroke-width: 1.1;
	fill: none;
	stroke-dasharray: 3 5;
	stroke-linecap: round;
}
.archmap .am-body {
	fill-opacity: 0.3;
	stroke: var(--slot);
	stroke-opacity: 0.8;
	stroke-width: 1.3;
}
.archmap .am-top {
	fill: rgba(255, 255, 255, 0.02);
	stroke: var(--slot);
	stroke-opacity: 0.8;
	stroke-width: 1.3;
}
.archmap .vs-num {
	font-size: 12px;
	letter-spacing: 0.04em;
}
.vs-c1 {
	--slot: var(--sage);
}
.vs-c2 {
	--slot: var(--steel);
}
.vs-c3 {
	--slot: var(--clay);
}
.vs-c4 {
	--slot: var(--sand);
}
.vs-hatch line {
	stroke-width: 1;
	stroke-opacity: 0.5;
}
#vs-h1 line {
	stroke: var(--sage);
}
#vs-h2 line {
	stroke: var(--steel);
}
#vs-h3 line {
	stroke: var(--clay);
}
#vs-h4 line {
	stroke: var(--sand);
}
.viewmap-footer {
	margin-top: 18px;
	padding-top: 20px;
	border-top: 1px dashed var(--border-subtle);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 32px;
	align-items: start;
}
.viewmap-copy .card-label {
	color: var(--text-muted);
}
.viewmap-copy h3 {
	font-size: 19px;
	font-weight: 500;
	color: var(--text-bright);
	margin: 10px 0 10px;
}
.viewmap-copy p {
	font-size: 13.5px;
	color: var(--text-secondary);
	max-width: 46em;
}
.slot-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}
.slot-list li {
	font-family: var(--font-mono);
	font-size: 11px;
	padding: 5px 11px;
	border-radius: 20px;
	border: 1px solid var(--border-subtle);
	background: var(--card-bg);
	color: var(--text-secondary);
	transition: color 0.15s ease, border-color 0.15s ease;
}
.slot-list li i {
	font-style: normal;
	margin-right: 7px;
	font-size: 10px;
	color: var(--chip, var(--text-muted));
}
.slot-list li.vs-c1 {
	--chip: var(--sage);
}
.slot-list li.vs-c2 {
	--chip: var(--steel);
}
.slot-list li.vs-c3 {
	--chip: var(--clay);
}
.slot-list li.vs-c4 {
	--chip: var(--sand);
}
.slot-list li:hover {
	color: var(--text-primary);
	border-color: var(--chip, var(--border-active));
}
.viewmap-terms {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: stretch;
}
.viewmap-terms .term-card {
	min-width: 360px;
}
.shot-frame.wide {
	margin-top: 24px;
}
.frame-1610 {
	aspect-ratio: 16 / 10;
}
.frame-1610 img {
	height: 100%;
	object-fit: cover;
	object-position: top left;
}

/* ---------- 桌面体验 ---------- */
.desktop-grid {
	margin-top: 56px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: 48px;
	align-items: start;
}

/* ---------- 演示 ---------- */
.demo-grid {
	margin-top: 56px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}
.demo-card {
	background: var(--surface-color);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	padding: 16px;
}
.demo-card video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-md);
	background: #000;
	border: 1px solid var(--border-subtle);
	object-fit: cover;
}
.demo-card figcaption {
	padding: 18px 8px 6px;
}
.demo-card h3 {
	font-size: 18px;
	font-weight: 500;
	color: var(--text-bright);
	margin: 8px 0 8px;
}
.demo-card p {
	font-size: 13.5px;
	color: var(--text-secondary);
}

/* ---------- 没做什么 ---------- */
.not-grid {
	margin-top: 56px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.not-card {
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	padding: 26px;
	background: var(--card-bg);
	transition: border-color 0.3s ease;
}
.not-card:hover {
	border-color: var(--border-active);
}
.not-card h3 {
	font-size: 16px;
	font-weight: 500;
	color: var(--text-primary);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.not-card h3 .no-slash {
	width: 21px;
	height: 21px;
	flex: none;
	overflow: visible;
}
.not-card h3 .no-slash circle {
	fill: none;
	stroke: var(--clay);
	stroke-opacity: 0.85;
	stroke-width: 1.8;
}
.not-card h3 .no-slash .no-bar {
	stroke: var(--clay);
	stroke-opacity: 0.85;
	stroke-width: 1.8;
	stroke-linecap: round;
}
#not-built .shell {
	position: relative;
}
.not-sign {
	position: absolute;
	top: 4px;
	right: 30px;
	width: 164px;
	height: auto;
	pointer-events: none;
}
.not-sign .ns-pole {
	stroke: var(--steel);
	stroke-opacity: 0.6;
	stroke-width: 2;
	fill: none;
	stroke-linecap: round;
}
.not-sign .ns-board {
	stroke: var(--clay);
	stroke-opacity: 0.7;
	stroke-width: 1.4;
	fill-opacity: 0.25;
}
.not-sign .ns-grass {
	stroke: var(--sage);
	stroke-opacity: 0.5;
	stroke-width: 1.2;
	fill: none;
	stroke-linecap: round;
}
.not-sign .ns-text {
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.18em;
	fill: var(--text-bright);
}
.not-card p {
	margin-top: 12px;
	font-size: 13.5px;
	color: var(--text-muted);
	line-height: 1.7;
}

/* ---------- 开始使用 ---------- */
.start-grid {
	margin-top: 56px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 48px;
	align-items: start;
}
.steps {
	list-style: none;
	counter-reset: step;
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.steps li {
	position: relative;
	padding-left: 58px;
}
.step-no {
	position: absolute;
	left: 0;
	top: 2px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	color: var(--text-secondary);
	border: 1px solid var(--border-subtle);
	border-radius: 50%;
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
}
.steps h3 {
	font-size: 19px;
	font-weight: 500;
	color: var(--text-bright);
	margin-bottom: 8px;
}
.steps p {
	font-size: 14px;
	color: var(--text-secondary);
	margin-bottom: 14px;
}
.dev-card {
	background: var(--surface-color);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	padding: 28px;
}
.dev-req {
	font-family: var(--font-mono);
	font-size: 11.5px;
	color: var(--text-muted);
	margin: 10px 0 18px;
}
.repo-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	margin-top: 26px;
}
.repo-table caption {
	text-align: left;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--text-secondary);
	margin-bottom: 10px;
}
.repo-table th {
	text-align: left;
	padding: 12px 14px;
	font-weight: 500;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 10px;
	border-bottom: 1px solid var(--border-subtle);
}
.repo-table td {
	padding: 14px;
	border-bottom: 1px solid var(--border-subtle);
	color: var(--text-secondary);
	vertical-align: top;
}
.repo-table tr:last-child td {
	border-bottom: none;
}
.repo-table tbody tr:hover td {
	background: rgba(255, 255, 255, 0.02);
}
.repo-table td:first-child {
	white-space: nowrap;
	color: var(--text-primary);
}

/* ---------- CTA ---------- */
.cta-band {
	padding-top: 0;
	padding-bottom: 0;
}
.cta-card {
	text-align: center;
	padding: 72px 40px;
}
.cta-card h2 {
	font-size: clamp(28px, 3.6vw, 48px);
	font-weight: 300;
	letter-spacing: -0.02em;
	color: var(--text-bright);
}
.cta-card p {
	margin-top: 16px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--text-muted);
	text-transform: uppercase;
}
.cta-card .hero-cta {
	flex-direction: row;
	justify-content: center;
	margin-top: 34px;
	flex-wrap: wrap;
}

/* ---------- 页脚 ---------- */
.site-foot {
	border-top: 1px solid var(--border-subtle);
	padding: 28px 0 40px;
}
.foot-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 18px;
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
}
.foot-inner a:hover {
	color: var(--text-primary);
}

/* ---------- 灯箱 ---------- */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(8, 7, 7, 0.92);
	backdrop-filter: blur(8px);
	display: grid;
	place-items: center;
	padding: 40px;
	cursor: zoom-out;
}
.lightbox[hidden] {
	display: none;
}
.lightbox img {
	max-width: 100%;
	max-height: 100%;
	border-radius: var(--radius-md);
	border: 1px solid var(--border-active);
	box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 1);
}
.lightbox-close {
	position: absolute;
	top: 24px;
	right: 28px;
	background: transparent;
	border: 1px solid var(--border-subtle);
	color: var(--text-secondary);
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.12em;
	padding: 8px 14px;
	border-radius: 30px;
	cursor: pointer;
}
.lightbox-close:hover {
	color: var(--text-primary);
}

/* ---------- 入场动画：仅在 JS 可用时先隐藏，禁用 JS 时全文可读 ---------- */
html.js .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
		transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
	will-change: opacity, transform;
}
html.js .reveal.is-in {
	opacity: 1;
	transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
	:root {
		--head-h: 112px;
	}
	.site-head {
		height: auto;
	}
	.head-inner {
		height: auto;
		flex-wrap: wrap;
		padding: 12px 24px 10px;
		row-gap: 8px;
	}
	.seg-nav {
		order: 3;
		width: 100%;
		overflow-x: auto;
		scrollbar-width: none;
		border-radius: 30px;
	}
	.seg-nav::-webkit-scrollbar {
		display: none;
	}
	.summary-grid,
	.not-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.not-sign {
		display: none;
	}
	.split-grid,
	.ext-grid,
	.desktop-grid,
	.start-grid,
	.arch-store,
	.viewmap-footer,
	.pair-shots {
		grid-template-columns: minmax(0, 1fr);
	}
	.strip-stack,
	.desktop-media {
		position: static;
	}
}

@media (max-width: 860px) {
	.shell {
		padding: 0 22px;
	}
	.head-inner {
		padding: 10px 22px 8px;
	}
	.term-body code {
		white-space: pre-wrap;
		overflow-wrap: anywhere;
	}
	.band {
		padding: 40px 0;
	}
	.hero {
		padding-top: 56px;
	}
	.hero-cols,
	.demo-grid,
	.panel-grid,
	.pair-shots,
	.summary-grid,
	.not-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.spec-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}
	.panel-card {
		flex-direction: column;
		align-items: stretch;
	}
	.panel-card .shot-frame {
		flex: none;
	}
	.hero-cta {
		width: 100%;
	}
	.hero-cta .btn {
		width: 100%;
	}
	.fig-inside {
		position: static;
		margin-top: 10px;
		background: none;
		border: none;
		padding: 0;
	}
	.card {
		padding: 22px;
	}
	.card-value {
		font-size: 34px;
	}
	.head-inner {
		gap: 12px;
	}
	.head-actions {
		gap: 8px;
	}
	.head-actions .btn-ghost {
		display: none;
	}
	.head-actions .btn-primary {
		padding: 8px 14px;
	}
	.chip-beta {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.reveal,
	html.js .reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.scroll-hint .arrow {
		animation: none;
	}
	* {
		transition-duration: 0.01ms !important;
	}
}
