@charset "utf-8";
/* ===========================================================================
   淘应用 Tao App · 官网设计系统
   pages.css —— 页面级组件：Hero / 卡片 / Bento / 机模 / 数据 / 步骤 /
                时间轴 / 手风琴 / 表格 / 长文 / 面包屑 / CTA 等
   =========================================================================== */

/* ---------------------------------------------------------------------------
   1. 首页 Hero
   --------------------------------------------------------------------------- */
.hero {
	position: relative;
	padding-block: clamp(36px, 5vw, 68px) clamp(30px, 4vw, 52px);
	overflow: hidden;
	isolation: isolate;
}

.hero-bg {
	position: absolute;
	inset: -20% -10% auto;
	height: 130%;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(48% 44% at 18% 8%, rgba(56, 189, 248, 0.22), transparent 62%),
		radial-gradient(40% 38% at 84% 2%, rgba(37, 99, 235, 0.18), transparent 64%),
		radial-gradient(46% 40% at 68% 62%, rgba(124, 92, 255, 0.12), transparent 66%);
	filter: blur(2px);
}

.hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, var(--line-2) 1px, transparent 1px),
		linear-gradient(to bottom, var(--line-2) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(60% 52% at 50% 32%, #000 10%, transparent 78%);
	mask-image: radial-gradient(60% 52% at 50% 32%, #000 10%, transparent 78%);
	opacity: 0.7;
}

.hero-in {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}

.hero-copy { max-width: 620px; }

.hero h1 {
	margin: 18px 0 20px;
	font-size: clamp(2.2rem, 5.1vw, 3.7rem);
	line-height: 1.14;
	letter-spacing: -0.035em;
}

.hero h1 .hl {
	position: relative;
	display: inline-block;
	isolation: isolate;
	background: var(--brand-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.hero p.lead {
	max-width: 33em;
	margin-bottom: 30px;
}

.hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--line-2);
	font-size: 0.845rem;
	color: var(--text-3);
}

.hero-trust span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.hero-trust svg {
	width: 15px;
	height: 15px;
	color: var(--mint);
	flex-shrink: 0;
}

/* 机模舞台 */
.stage {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 520px;
	padding-block: 10px;
}

.stage::before {
	content: "";
	position: absolute;
	width: 74%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: conic-gradient(from 200deg, rgba(37, 99, 235, 0.26), rgba(56, 189, 248, 0.22), rgba(124, 92, 255, 0.2), rgba(46, 155, 255, 0.16), rgba(37, 99, 235, 0.26));
	filter: blur(58px);
	opacity: 0.75;
	animation: hue 18s linear infinite;
}

@keyframes hue {
	to { transform: rotate(360deg); }
}

.phone {
	position: relative;
	width: min(288px, 78vw);
	aspect-ratio: 300 / 533;
	padding: 8px;
	border-radius: 40px;
	background: linear-gradient(155deg, #2b3040 0%, #12151c 42%, #0a0c10 100%);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.09) inset,
		0 44px 80px -34px rgba(12, 16, 24, 0.62),
		0 0 0 10px rgba(16, 20, 28, 0.045);
	transform: rotate(-2.2deg);
	animation: float-y 7s ease-in-out infinite;
}

@keyframes float-y {
	0%, 100% { transform: rotate(-2.2deg) translateY(0); }
	50% { transform: rotate(-1.2deg) translateY(-12px); }
}

.phone-screen {
	position: relative;
	height: 100%;
	border-radius: 33px;
	overflow: hidden;
	background: var(--surface);
}

/* 实机截图：按原图比例铺满机身，不拉伸 */
.phone-shot {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}		

.ps-notch {
	position: absolute;
	top: 7px;
	left: 50%;
	width: 64px;
	height: 15px;
	transform: translateX(-50%);
	border-radius: 99px;
	background: #0a0c10;
	z-index: 2;
}

/* 浮动信息卡 */
.float {
	position: absolute;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 10px 13px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: color-mix(in srgb, var(--surface) 86%, transparent);
	-webkit-backdrop-filter: blur(14px) saturate(160%);
	backdrop-filter: blur(14px) saturate(160%);
	box-shadow: var(--shadow-md);
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--text);
	animation: float-y2 6s ease-in-out infinite;
}

@keyframes float-y2 {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-9px); }
}

.float i {
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 9px;
	font-style: normal;
	flex-shrink: 0;
}

.float i svg { width: 15px; height: 15px; }

.float b { display: block; font-size: 0.78rem; line-height: 1.3; }

.float span {
	display: block;
	font-size: 0.68rem;
	font-weight: 500;
	color: var(--text-3);
	line-height: 1.3;
}

.float-1 {
	top: 12%;
	left: 0;
	animation-delay: 0.4s;
}

.float-1 i { background: color-mix(in srgb, var(--mint) 16%, transparent); color: var(--mint); }

.float-2 {
	top: 44%;
	right: 0;
	animation-delay: 1.6s;
}

.float-2 i { background: color-mix(in srgb, var(--brand-1) 14%, transparent); color: var(--brand-1); }

.float-3 {
	bottom: 12%;
	left: 3%;
	animation-delay: 2.5s;
}

.float-3 i { background: color-mix(in srgb, var(--violet) 14%, transparent); color: var(--violet); }

.stage-cap {
	position: absolute;
	bottom: -4px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 0.7rem;
	color: var(--text-3);
	letter-spacing: 0.04em;
	white-space: nowrap;
}

/* ---------------------------------------------------------------------------
   2. 分类跑马灯
   --------------------------------------------------------------------------- */
.marquee {
	position: relative;
	overflow: hidden;
	padding-block: 14px;
	border-block: 1px solid var(--line-2);
	background: color-mix(in srgb, var(--surface) 55%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
	display: flex;
	width: max-content;
	gap: 40px;
	animation: slide 34s linear infinite;
	will-change: transform;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes slide {
	to { transform: translateX(-50%); }
}

.marquee-item {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--text-3);
	white-space: nowrap;
	transition: color 0.2s var(--ease);
}

.marquee-item:hover { color: var(--text-2); }

.marquee-item svg {
	width: 15px;
	height: 15px;
	opacity: 0.55;
}

.marquee-sep {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--line);
	align-self: center;
	flex-shrink: 0;
}

/* ---------------------------------------------------------------------------
   3. 通用卡片
   --------------------------------------------------------------------------- */
.card {
	position: relative;
	padding: clamp(20px, 2.4vw, 28px);
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	background: var(--surface);
	box-shadow: var(--shadow-xs);
	overflow: hidden;
	transition: transform 0.34s var(--ease), box-shadow 0.34s var(--ease), border-color 0.34s var(--ease);
}

.card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: var(--brand-grad);
	opacity: 0;
	transition: opacity 0.34s var(--ease);
}

.card:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--brand-1) 26%, var(--line));
	box-shadow: var(--shadow-md);
}

.card:hover::before { opacity: 1; }

.card h3 { margin-bottom: 0.5em; }

.card p {
	font-size: 0.925rem;
	color: var(--text-2);
	line-height: 1.8;
}

.card-ico {
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	margin-bottom: 18px;
	border-radius: 14px;
	background: color-mix(in srgb, var(--brand-1) 9%, var(--surface-2));
	border: 1px solid color-mix(in srgb, var(--brand-1) 14%, transparent);
	color: var(--brand-1);
}

.card-ico svg { width: 22px; height: 22px; }

.card-ico--mint {
	background: color-mix(in srgb, var(--mint) 11%, var(--surface-2));
	border-color: color-mix(in srgb, var(--mint) 18%, transparent);
	color: var(--mint);
}

.card-ico--violet {
	background: color-mix(in srgb, var(--violet) 11%, var(--surface-2));
	border-color: color-mix(in srgb, var(--violet) 18%, transparent);
	color: var(--violet);
}

.card-ico--sky {
	background: color-mix(in srgb, var(--sky) 11%, var(--surface-2));
	border-color: color-mix(in srgb, var(--sky) 18%, transparent);
	color: var(--sky);
}

.card-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 16px;
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--brand-1);
}

.card-link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.card:hover .card-link svg { transform: translateX(3px); }

/* Bento 网格 */
.bento {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: clamp(14px, 1.8vw, 20px);
}

.bento .card { display: flex; flex-direction: column; }

.bento .span-2 { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento .span-6 { grid-column: span 6; }

.bento-hero {
	background:
		radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--brand-1) 10%, transparent), transparent 60%),
		var(--surface);
}

.bento-stat {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-top: auto;
	padding-top: 18px;
}

.bento-stat b {
	font-size: 2.1rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
	background: var(--brand-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.bento-stat span { font-size: 0.86rem; color: var(--text-3); }

/* 迷你列表卡 */
.mini-list {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.mini-list li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 0.88rem;
	color: var(--text-2);
	line-height: 1.65;
	margin: 0;
}

.mini-list svg {
	width: 15px;
	height: 15px;
	margin-top: 3px;
	color: var(--mint);
	flex-shrink: 0;
}

/* 分类卡 */
.cat-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	background: var(--surface);
	transition: all 0.3s var(--ease);
	height: 100%;
}

.cat-card:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--brand-1) 30%, var(--line));
	box-shadow: var(--shadow-md);
}

.cat-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.cat-ico {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	font-size: 1.05rem;
	font-weight: 800;
	color: #fff;
	flex-shrink: 0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cat-card h3 { font-size: 1rem; margin: 0; }

.cat-card p {
	font-size: 0.855rem;
	color: var(--text-3);
	line-height: 1.7;
	margin: 0;
}

.cat-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid var(--line-2);
	font-size: 0.76rem;
	color: var(--text-3);
}

.cat-meta b { color: var(--brand-1); font-weight: 700; }

/* 实机截图卡 */
.shot-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 14px 14px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	background: var(--surface);
	box-shadow: var(--shadow-xs);
	transition: transform 0.34s var(--ease), box-shadow 0.34s var(--ease), border-color 0.34s var(--ease);
}

.shot-card:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--brand-1) 26%, var(--line));
	box-shadow: var(--shadow-md);
}

.shot-card img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
	border: 1px solid var(--line-2);
	background: var(--surface-2);
}

.shot-card figcaption {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding-inline: 4px;
}

.shot-card figcaption b {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text);
}

.shot-card figcaption span {
	font-size: 0.78rem;
	color: var(--text-3);
}

/* ---------------------------------------------------------------------------
   4. 数据带
   --------------------------------------------------------------------------- */
.stats {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	overflow: hidden;
	background: var(--line-2);
}

.stat {
	padding: clamp(20px, 2.6vw, 28px) clamp(16px, 2vw, 24px);
	background: var(--surface);
	text-align: center;
}

.stat b {
	display: block;
	font-size: clamp(1.7rem, 3.4vw, 2.3rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.1;
	background: var(--brand-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.stat span {
	display: block;
	margin-top: 8px;
	font-size: 0.85rem;
	color: var(--text-3);
}

/* ---------------------------------------------------------------------------
   5. 步骤
   --------------------------------------------------------------------------- */
.steps {
	display: grid;
	gap: clamp(14px, 2vw, 20px);
	counter-reset: step;
}

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

.step {
	position: relative;
	padding: clamp(20px, 2.4vw, 26px);
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	background: var(--surface);
	counter-increment: step;
	transition: all 0.3s var(--ease);
}

.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.step::before {
	content: counter(step, decimal-leading-zero);
	display: block;
	margin-bottom: 14px;
	font-family: var(--font-mono);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--brand-1);
}

.step h3 { font-size: 1.05rem; margin-bottom: 0.45em; }

.step p {
	font-size: 0.9rem;
	color: var(--text-2);
	line-height: 1.8;
	margin: 0;
}

/* ---------------------------------------------------------------------------
   6. 时间轴
   --------------------------------------------------------------------------- */
.timeline {
	position: relative;
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0 0 0 0;
	list-style: none;
}

.timeline li {
	position: relative;
	padding: 0 0 30px 34px;
	margin: 0;
	border-left: 1px solid var(--line);
}

.timeline li:last-child {
	border-left-color: transparent;
	padding-bottom: 0;
}

.timeline li::before {
	content: "";
	position: absolute;
	top: 7px;
	left: -5.5px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--bg);
	border: 2px solid var(--brand-1);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-1) 10%, transparent);
}

.tl-date {
	display: block;
	margin-bottom: 6px;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--brand-1);
}

.tl-title {
	display: block;
	margin-bottom: 6px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--text);
}

.timeline p {
	font-size: 0.9rem;
	color: var(--text-2);
	line-height: 1.8;
	margin: 0;
}

.timeline ul {
	margin: 8px 0 0;
	padding-left: 1.1em;
	font-size: 0.88rem;
	color: var(--text-2);
}

/* ---------------------------------------------------------------------------
   7. 手风琴（原生 details）
   --------------------------------------------------------------------------- */
.acc {
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	background: var(--surface);
	overflow: hidden;
	transition: border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.acc + .acc { margin-top: 10px; }

.acc[open] {
	border-color: color-mix(in srgb, var(--brand-1) 26%, var(--line));
	box-shadow: var(--shadow-xs);
}

.acc summary {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 17px 20px;
	font-size: 0.975rem;
	font-weight: 700;
	color: var(--text);
	cursor: pointer;
	list-style: none;
	line-height: 1.55;
}

.acc summary::-webkit-details-marker { display: none; }

.acc summary::after {
	content: "";
	flex-shrink: 0;
	margin-left: auto;
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--text-3);
	border-bottom: 2px solid var(--text-3);
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.acc[open] summary::after {
	transform: rotate(225deg) translateY(-2px);
	border-color: var(--brand-1);
}

.acc summary:hover { background: var(--surface-2); }

.acc-body {
	padding: 0 20px 18px;
	font-size: 0.925rem;
	color: var(--text-2);
	line-height: 1.85;
}

.acc-body > *:first-child { margin-top: 0; }

.acc-body ul { padding-left: 1.2em; }

/* ---------------------------------------------------------------------------
   8. 表格
   --------------------------------------------------------------------------- */
.table-wrap {
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	overflow-x: auto;
	background: var(--surface);
	-webkit-overflow-scrolling: touch;
}

table.data {
	width: 100%;
	min-width: 620px;
	border-collapse: collapse;
	font-size: 0.9rem;
}

table.data th,
table.data td {
	padding: 14px 18px;
	text-align: left;
	border-bottom: 1px solid var(--line-2);
	vertical-align: middle;
}

table.data thead th {
	background: var(--surface-2);
	font-size: 0.79rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-3);
	white-space: nowrap;
}

table.data tbody tr:last-child td { border-bottom: 0; }

table.data tbody tr:hover { background: color-mix(in srgb, var(--brand-1) 3%, var(--surface)); }

table.data td:first-child { font-weight: 700; color: var(--text); white-space: nowrap; }

table.data .yes { color: var(--mint); font-weight: 700; }
table.data .no { color: var(--text-3); }

/* ---------------------------------------------------------------------------
   9. 内页页头 / 面包屑
   --------------------------------------------------------------------------- */
.crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin-bottom: 18px;
	font-size: 0.8rem;
	color: var(--text-3);
	list-style: none;
	padding: 0;
}

.crumb li { margin: 0; display: inline-flex; align-items: center; gap: 7px; }

.crumb li + li::before {
	content: "/";
	color: var(--line);
	font-size: 0.7rem;
}

.crumb a { color: var(--text-3); transition: color 0.2s var(--ease); }
.crumb a:hover { color: var(--brand-1); }
.crumb [aria-current] { color: var(--text-2); font-weight: 600; }

.page-head {
	position: relative;
	padding-block: clamp(30px, 4.5vw, 56px) clamp(22px, 3vw, 34px);
	overflow: hidden;
	isolation: isolate;
	border-bottom: 1px solid var(--line-2);
}

.page-head::before {
	content: "";
	position: absolute;
	inset: -60% -10% auto;
	height: 180%;
	z-index: -1;
	background:
		radial-gradient(42% 40% at 12% 20%, rgba(56, 189, 248, 0.2), transparent 62%),
		radial-gradient(38% 36% at 78% 0%, rgba(37, 99, 235, 0.16), transparent 64%);
	pointer-events: none;
}

.page-head h1 {
	font-size: clamp(1.9rem, 4.2vw, 2.95rem);
	letter-spacing: -0.03em;
	margin-bottom: 16px;
	max-width: 20em;
}

.page-head .lead { max-width: 46em; }

.page-head-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	margin-top: 22px;
	font-size: 0.8rem;
	color: var(--text-3);
}

.page-head-meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-head-meta svg { width: 14px; height: 14px; }

/* ---------------------------------------------------------------------------
   10. 长文排版
   --------------------------------------------------------------------------- */
.prose {
	max-width: 74ch;
	font-size: 1.005rem;
	line-height: 1.92;
	color: var(--text-2);
}

.prose > h2 {
	margin: 2.4em 0 0.75em;
	padding-top: 1.1em;
	border-top: 1px solid var(--line-2);
	font-size: clamp(1.32rem, 2.4vw, 1.62rem);
	color: var(--text);
}

.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.prose h3 {
	margin: 1.9em 0 0.6em;
	font-size: 1.14rem;
	color: var(--text);
}

.prose h4 {
	margin: 1.6em 0 0.5em;
	font-size: 1rem;
	color: var(--text);
}

.prose p { margin: 0 0 1.15em; }

.prose ul,
.prose ol { margin: 0 0 1.2em; padding-left: 1.35em; }

.prose li { margin-bottom: 0.55em; }

.prose li::marker { color: color-mix(in srgb, var(--brand-1) 60%, var(--text-3)); }

.prose strong { color: var(--text); }

.prose a:not(.btn) {
	color: var(--brand-1);
	font-weight: 600;
	border-bottom: 1px solid color-mix(in srgb, var(--brand-1) 32%, transparent);
	transition: border-color 0.2s var(--ease);
}

.prose a:not(.btn):hover { border-bottom-color: var(--brand-1); }

.prose blockquote {
	margin: 1.6em 0;
	padding: 16px 22px;
	border-left: 3px solid var(--brand-1);
	border-radius: 0 var(--radius-m) var(--radius-m) 0;
	background: color-mix(in srgb, var(--brand-1) 5%, var(--surface));
	color: var(--text-2);
	font-size: 0.95rem;
}

.prose blockquote p:last-child { margin-bottom: 0; }

.prose code { font-size: 0.85em; }

.prose hr { margin: 2.6em 0; }

/* 提示框 */
.note {
	display: flex;
	gap: 13px;
	margin: 1.6em 0;
	padding: 16px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	background: var(--surface);
	font-size: 0.92rem;
	line-height: 1.8;
	color: var(--text-2);
}

.note svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-top: 4px;
	color: var(--brand-1);
}

.note--mint { border-color: color-mix(in srgb, var(--mint) 26%, var(--line)); }
.note--mint svg { color: var(--mint); }

.note--warn {
	border-color: color-mix(in srgb, #f0a020 34%, var(--line));
	background: color-mix(in srgb, #f0a020 5%, var(--surface));
}

.note--warn svg { color: #e0901a; }

.note b { color: var(--text); }

.note > div { min-width: 0; }

.note p:last-child { margin-bottom: 0; }

/* 目录 */
.with-toc {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 240px;
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}

.toc {
	position: sticky;
	top: calc(var(--nav-h) + 24px);
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	background: var(--surface);
}

.toc h4 {
	margin: 0 0 12px;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-3);
}

.toc ol {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: toc;
	display: grid;
	gap: 3px;
}

.toc li { margin: 0; counter-increment: toc; }

.toc a {
	display: flex;
	gap: 9px;
	padding: 6px 8px;
	margin-left: -8px;
	border-radius: 8px;
	font-size: 0.855rem;
	color: var(--text-2);
	line-height: 1.5;
	transition: all 0.2s var(--ease);
}

.toc a::before {
	content: counter(toc, decimal-leading-zero);
	font-family: var(--font-mono);
	font-size: 0.72rem;
	color: var(--text-3);
	flex-shrink: 0;
	padding-top: 2px;
}

.toc a:hover {
	background: var(--surface-2);
	color: var(--brand-1);
}

/* ---------------------------------------------------------------------------
   11. CTA 区块
   --------------------------------------------------------------------------- */
.cta-band {
	position: relative;
	padding: clamp(32px, 5vw, 56px);
	border-radius: var(--radius-xl);
	background:
		radial-gradient(90% 140% at 100% 0%, rgba(255, 255, 255, 0.2), transparent 55%),
		linear-gradient(118deg, #1d4ed8 0%, #2563eb 46%, #38bdf8 100%);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
	box-shadow: 0 30px 60px -30px rgba(37, 99, 235, 0.55);
	text-align: center;
}

.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
	background-size: 22px 22px;
	opacity: 0.5;
	-webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 75%);
	mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 75%);
	z-index: -1;
}

.cta-band h2 { color: #fff; margin-bottom: 12px; }

.cta-band p {
	max-width: 44em;
	margin-inline: auto;
	color: rgba(255, 255, 255, 0.9);
	font-size: 1rem;
	line-height: 1.8;
}

.cta-band .btn-row { justify-content: center; margin-top: 26px; }

.cta-band .btn-light {
	background: #fff;
	color: #1d4ed8;
	box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5);
}

.cta-band .btn-light:hover { transform: translateY(-2px); }

.cta-band .btn-outline {
	background: rgba(255, 255, 255, 0.13);
	border-color: rgba(255, 255, 255, 0.42);
	color: #fff;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.cta-band .btn-outline:hover { background: rgba(255, 255, 255, 0.22); }

.cta-note {
	margin-top: 18px;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.78);
}

/* ---------------------------------------------------------------------------
   12. 翻页 / 相关
   --------------------------------------------------------------------------- */
.pager {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: clamp(34px, 4vw, 52px);
}

.pager a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	background: var(--surface);
	transition: all 0.28s var(--ease);
}

.pager a:hover {
	border-color: color-mix(in srgb, var(--brand-1) 32%, var(--line));
	transform: translateY(-3px);
	box-shadow: var(--shadow-sm);
}

.pager span {
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-3);
}

.pager b {
	font-size: 1rem;
	font-weight: 700;
	color: var(--text);
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.pager svg { width: 15px; height: 15px; color: var(--brand-1); }

.pager .next { text-align: right; align-items: flex-end; }

.related-box {
	margin-top: clamp(30px, 4vw, 48px);
	padding: clamp(20px, 3vw, 28px);
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	background: var(--surface-2);
}

.related-box h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	font-size: 0.95rem;
}

.related-box h3 svg { width: 16px; height: 16px; color: var(--brand-1); }

/* ---------------------------------------------------------------------------
   13. 下载页专用
   --------------------------------------------------------------------------- */
.dl-card {
	position: relative;
	padding: clamp(24px, 3.4vw, 40px);
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background:
		radial-gradient(100% 120% at 90% 0%, color-mix(in srgb, var(--brand-1) 10%, transparent), transparent 58%),
		var(--surface);
	box-shadow: var(--shadow-md);
	overflow: hidden;
}

.dl-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(22px, 3vw, 40px);
	align-items: center;
}

.dl-info h2 { margin-bottom: 10px; }

.dl-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.dl-points {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: grid;
	gap: 9px;
}

.dl-points li {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 0.9rem;
	color: var(--text-2);
	margin: 0;
}

.dl-points svg { width: 15px; height: 15px; color: var(--mint); flex-shrink: 0; }

.mail-box {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border: 1px dashed color-mix(in srgb, var(--brand-1) 36%, var(--line));
	border-radius: var(--radius-m);
	background: color-mix(in srgb, var(--brand-1) 4%, var(--surface));
	flex-wrap: wrap;
}

.mail-box code {
	background: transparent;
	border: 0;
	padding: 0;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text);
}

.mail-box .copy-btn {
	margin-left: auto;
	padding: 6px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	background: var(--surface);
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--text-2);
	cursor: pointer;
	transition: all 0.2s var(--ease);
}

.mail-box .copy-btn:hover { color: var(--brand-1); border-color: color-mix(in srgb, var(--brand-1) 40%, transparent); }
.mail-box .copy-btn.is-done { color: var(--mint); border-color: color-mix(in srgb, var(--mint) 45%, transparent); }

.qr {
	width: 138px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-m);
	background: var(--surface);
	text-align: center;
	box-shadow: var(--shadow-xs);
}

.qr-art {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 8px;
	background:
		repeating-conic-gradient(var(--text) 0% 25%, transparent 0% 50%) 50% / 14px 14px,
		var(--surface);
	opacity: 0.88;
	image-rendering: pixelated;
}

.qr span {
	display: block;
	margin-top: 9px;
	font-size: 0.72rem;
	color: var(--text-3);
}

/* ---------------------------------------------------------------------------
   14. 页面顶部锚点高亮（用于目录滚动）
   --------------------------------------------------------------------------- */
.prose h2[id],
.prose h3[id] { scroll-margin-top: calc(var(--nav-h) + 20px); }

/* ---------------------------------------------------------------------------
   15. 响应式
   --------------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.with-toc { grid-template-columns: minmax(0, 1fr); }
	.toc {
		position: static;
		order: -1;
		margin-bottom: 8px;
	}
	.toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	.hero-in { grid-template-columns: minmax(0, 1fr); gap: 34px; }
	.hero-copy { max-width: none; }
	.stage { min-height: 470px; margin-top: 6px; }
	.float-1 { left: 0; }
	.float-2 { right: 0; }
	.float-3 { left: 2%; }
	.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bento .span-2,
	.bento .span-3,
	.bento .span-4,
	.bento .span-6 { grid-column: span 2; }
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps--3,
	.steps--4 { grid-template-columns: minmax(0, 1fr); }
	.dl-grid { grid-template-columns: minmax(0, 1fr); }
	.qr { margin-inline: auto; }
}

@media (max-width: 640px) {
	.hero { padding-block: 22px 30px; }
	.hero h1 { margin-top: 14px; }
	.hero-trust { gap: 8px 16px; font-size: 0.8rem; margin-top: 24px; padding-top: 18px; }
	.stage { min-height: 430px; }
	.phone { width: min(250px, 68vw); }
	.float { padding: 8px 11px; font-size: 0.72rem; border-radius: 12px; }
	.float i { width: 24px; height: 24px; border-radius: 7px; }
	.float b { font-size: 0.72rem; }
	.float span { font-size: 0.63rem; }
	.float-1 { top: 8%; left: -2%; }
	.float-2 { top: 52%; right: -3%; }
	.float-3 { bottom: 8%; left: 0; }
	.bento { grid-template-columns: minmax(0, 1fr); }
	.bento .span-2,
	.bento .span-3,
	.bento .span-4,
	.bento .span-6 { grid-column: span 1; }
	.pager { grid-template-columns: minmax(0, 1fr); }
	.toc ol { grid-template-columns: minmax(0, 1fr); }
	.cta-band { padding: 28px 20px; border-radius: var(--radius-l); }
	.cta-band .btn-row { flex-direction: column; }
	.cta-band .btn { width: 100%; }
	.page-head-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
	table.data th,
	table.data td { padding: 12px 14px; }
	.acc summary { padding: 15px 16px; font-size: 0.93rem; }
	.acc-body { padding: 0 16px 16px; }
	.timeline li { padding-left: 26px; }
}
