/* 火星CC 官网 — 全站样式
   叙事：首屏在轨道上看火星 → 往下滑逐渐降落 → 收尾站在火星地面上出发。
   颜色对比度均已按 WCAG AA 校验（正文最淡一档 5.9:1，主按钮 4.7:1）。 */

:root {
  --bg: #0b0908;
  --bg-warm: #1a0f0b;
  --bg-rust: #2a140d;
  --surface: rgba(255, 240, 228, 0.04);
  --surface-2: rgba(255, 240, 228, 0.07);
  --line: rgba(255, 236, 220, 0.10);
  --line-2: rgba(255, 236, 220, 0.18);
  --text: #f6f1ec;
  --text-2: rgba(246, 241, 236, 0.72);
  --text-3: rgba(246, 241, 236, 0.56);
  --red: #d23d27;
  --red-hover: #c2331e;
  --orange: #f08a5d;
  --glow: rgba(232, 110, 60, 0.45);
  --sand: #f1e9df;
  --sand-2: #e8dccd;
  --ink: #1d1714;
  --ink-2: #5c524b;
  --ink-accent: #b2331f;
  --font: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --nav-h: 68px;
  --gutter: 24px;
  --max: 1200px;
  --radius: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 600;
}
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* 设备区分：<head> 里的脚本给 html 打上 data-device。手机和平板不提供下载。 */
html[data-device="mobile"] .only-desktop { display: none !important; }
html:not([data-device="mobile"]) .only-mobile { display: none !important; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: 0.01em;
  border-radius: 12px; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  color: #fff; background: var(--red);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 28px -8px rgba(210, 61, 39, 0.7);
}
.btn-primary:hover { background: var(--red-hover); box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 12px 36px -8px rgba(232, 90, 50, 0.85); }
.btn-ghost { color: var(--text); background: var(--surface-2); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(255, 240, 228, 0.12); border-color: rgba(255, 236, 220, 0.3); }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 16px; border-radius: 14px; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.link-arrow { color: var(--text-2); border-bottom: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.link-arrow:hover { color: var(--text); border-color: var(--text-2); }

/* ===== 导航 ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 9, 8, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: var(--text-2);
  transition: color .15s, background-color .15s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; margin-left: auto; }
.menu-toggle:hover { background: var(--surface-2); }
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 100;
  padding: 88px var(--gutter) 32px;
  background: rgba(11, 9, 8, 0.97);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  display: flex; flex-direction: column; gap: 28px;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  padding: 16px 4px; font-size: 20px; font-weight: 600;
  border-bottom: 1px solid var(--line); color: var(--text);
}
.mobile-menu .menu-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.mobile-menu .menu-close svg { width: 22px; height: 22px; }
.mobile-menu .menu-note { font-size: 14px; color: var(--text-3); }

/* ===== 首屏 ===== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--nav-h) + 72px) 0 0;
  background: radial-gradient(120% 60% at 50% 0%, #120c0a 0%, var(--bg) 60%);
}
.hero-sky { position: absolute; inset: 0; z-index: -3; pointer-events: none; }
.hero-sky::before, .hero-sky::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 28% 42%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 12%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1px 1px at 63% 30%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 79% 14%, rgba(255,255,255,.65), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 38%, rgba(255,230,210,.55), transparent 60%),
    radial-gradient(1px 1px at 6% 52%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 94% 58%, rgba(255,255,255,.35), transparent 60%);
  animation: twinkle 7s ease-in-out infinite alternate;
}
.hero-sky::after { transform: translate(3%, 6%) scale(1.1); opacity: .6; animation-delay: -3.5s; }
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }
/* 火星地平线挂在产品窗口上沿：图片宽 160vw 时，行星边缘约在图片顶部往下 38.7vw 处 */
.hero-horizon {
  position: absolute; left: 50%; top: calc(-38.7vw - 56px); z-index: -1;
  width: 160vw; transform: translateX(-50%); pointer-events: none;
}
.hero-horizon img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent 22%, #000 48%, #000 70%, transparent 98%);
  mask-image: linear-gradient(to bottom, transparent 22%, #000 48%, #000 70%, transparent 98%);
}
.hero-content { position: relative; text-align: center; max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  background: rgba(255, 240, 228, 0.06); border: 1px solid var(--line);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.hero h1 {
  margin: 26px 0 22px;
  font-size: clamp(40px, 6.4vw, 84px); font-weight: 900; line-height: 1.08; letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero h1 .line { display: inline-block; }
.hero h1 .warm {
  background: linear-gradient(100deg, #ffd5bd 0%, var(--orange) 45%, #e0482c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { max-width: 640px; margin: 0 auto; font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); line-height: 1.8; }
.hero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.hero-meta { margin-top: 16px; font-size: 14px; color: var(--text-3); min-height: 1.7em; }
.hero-meta a { color: var(--text-2); border-bottom: 1px solid var(--line-2); }
.hero-meta a:hover { color: var(--text); }
.mobile-note { margin-top: 14px; font-size: 14px; color: var(--text-3); }

.hero-stage { position: relative; margin-top: 72px; padding: 0 var(--gutter); perspective: 1600px; }
.product-window {
  position: relative; max-width: 1080px; margin: 0 auto;
  border-radius: 14px; overflow: hidden;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 236, 220, 0.14),
    0 40px 120px -30px rgba(0, 0, 0, 0.9),
    0 30px 90px -40px var(--glow);
  transform-origin: 50% 100%;
  transform: rotateX(var(--tilt, 10deg)) translateY(var(--lift, 0px));
  transition: transform .2s linear;
  will-change: transform;
}
.product-window img { width: 100%; height: auto; }
.product-window figcaption { position: absolute; }
.hero-stage::after {
  content: ""; position: absolute; left: 50%; bottom: -40px; width: 70%; height: 120px; transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(240, 138, 93, 0.35), transparent 70%);
  filter: blur(30px); z-index: -1;
}
.hero-fade { height: 120px; background: linear-gradient(to bottom, transparent, var(--bg)); margin-top: -60px; position: relative; }

/* ===== 通用区块 ===== */
.section { position: relative; padding: 128px 0; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.14em; color: var(--orange); }
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(30px, 4vw, 52px); font-weight: 800; line-height: 1.18; letter-spacing: -0.015em;
  text-wrap: balance;
}
.seg { display: inline-block; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--text-2); text-wrap: pretty; }

/* 降落：背景从深空逐渐变暖 */
.descent { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg-warm) 55%, var(--bg-rust) 100%); }

/* ===== 9 个学习步骤 ===== */
.steps-layout { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
.steps { list-style: none; position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; left: 19px; top: 28px; bottom: 28px; width: 2px;
  background: linear-gradient(to bottom, var(--orange), rgba(240,138,93,0.15));
}
.step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 20px; padding: 14px 0; }
.step-no {
  position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--text);
  background: #2a1510; border: 1px solid rgba(240,138,93,0.45);
  box-shadow: 0 0 0 5px var(--bg-warm);
}
.step h3 { font-size: 19px; font-weight: 700; line-height: 1.4; padding-top: 7px; }
.step p { margin-top: 2px; font-size: 15px; color: var(--text-3); }
.step:hover .step-no { background: var(--red); border-color: var(--red); }
.steps-visual { position: sticky; top: calc(var(--nav-h) + 40px); }
.shot-explain { border-radius: 16px; }
.steps-caption { margin-top: 18px; font-size: 15px; color: var(--text-3); text-align: center; }

/* ===== AI 帮手 + 学习顾问 ===== */
.rust { background: linear-gradient(to bottom, var(--bg-rust) 0%, #221009 100%); }
.rust-deep { background: #1c0d08; }
.rust-deep + .rust-deep { padding-top: 0; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,240,228,0.06), rgba(255,240,228,0.015));
}
.duo-copy { padding: 32px 32px 8px; }
.duo-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--orange);
  background: rgba(240,138,93,0.12); border: 1px solid rgba(240,138,93,0.25);
}
.duo-tag svg { width: 16px; height: 16px; }
.duo-copy h3 { margin-top: 16px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; line-height: 1.35; }
.duo-copy .mode-points { margin-top: 20px; }
.mode-points { list-style: none; display: grid; gap: 12px; }
.mode-points li { position: relative; padding-left: 28px; color: var(--text-2); }
.mode-points li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--orange) 0 3px, rgba(240,138,93,.18) 4px 100%);
}
.mode-points strong { color: var(--text); font-weight: 600; }
.shot {
  position: relative; border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 236, 220, 0.14), 0 30px 80px -30px rgba(0,0,0,.85), 0 20px 60px -40px var(--glow);
}
.shot img { width: 100%; height: auto; }
.duo-shot { margin: 28px 32px 0; border-radius: 14px 14px 0 0; max-height: 460px; }
.duo-shot img { height: 460px; object-fit: cover; object-position: top; }
.duo-shot::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 90px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

/* ===== 特性网格 ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 28px; border-radius: var(--radius);
  background: rgba(255,240,228,0.035); border: 1px solid var(--line);
  transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
.feature:hover { border-color: var(--line-2); background: rgba(255,240,228,0.06); transform: translateY(-2px); }
.feature .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(240,138,93,0.12); color: var(--orange); border: 1px solid rgba(240,138,93,0.22);
}
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { margin-top: 18px; font-size: 19px; font-weight: 700; }
.feature p { margin-top: 8px; font-size: 16px; color: var(--text-2); }

/* ===== 视频 ===== */
.film {
  position: relative; max-width: 1040px; margin: 0 auto; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line-2); background: #000;
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.9), 0 30px 100px -50px var(--glow);
}
.film img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .9; transition: opacity .3s, transform .6s var(--ease); }
.film:hover img { opacity: 1; transform: scale(1.015); }
.film .play {
  position: absolute; inset: 0; display: grid; place-items: center; width: 100%;
}
.film .play span {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px 16px 20px; border-radius: 999px;
  font-size: 17px; font-weight: 600; color: #fff;
  background: rgba(11,9,8,0.55); border: 1px solid rgba(255,255,255,0.22);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color .2s, transform .2s;
}
.film .play:hover span { background: var(--red); transform: scale(1.03); }
.film .play svg { width: 26px; height: 26px; }

.video-dialog {
  width: min(1120px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px);
  margin: auto; padding: 0; border: 0; border-radius: 16px; overflow: visible;
  background: #000; color: var(--text);
}
.video-dialog::backdrop { background: rgba(5, 4, 3, 0.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.video-dialog video { width: 100%; height: auto; max-height: calc(100vh - 32px); border-radius: 16px; background: #000; }
.video-dialog .dialog-close {
  position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(255,255,255,0.1); color: #fff;
}
.video-dialog .dialog-close:hover { background: rgba(255,255,255,0.18); }
.video-dialog .dialog-close svg { width: 22px; height: 22px; }

/* ===== 常见问题（沙色浅底：落到地面） ===== */
.sand { background: var(--sand); color: var(--ink); }
.sand .section-kicker { color: var(--ink-accent); }
.sand .section-head p { color: var(--ink-2); }
.faq-layout { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.faq-layout .section-head { text-align: left; margin: 0; position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-list { border-top: 1px solid rgba(29, 23, 20, 0.14); }
.faq-item { border-bottom: 1px solid rgba(29, 23, 20, 0.14); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 4px; font-size: 19px; font-weight: 700; line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq-item summary .pm::before, .faq-item summary .pm::after {
  content: ""; position: absolute; left: 2px; right: 2px; top: 9px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease);
}
.faq-item summary .pm::after { transform: rotate(90deg); }
.faq-item[open] summary .pm::after { transform: rotate(0deg); }
.faq-item summary:hover { color: var(--ink-accent); }
.faq-item .answer { padding: 0 4px 26px; color: var(--ink-2); max-width: 680px; }
.faq-item .answer p + p { margin-top: 10px; }
.faq-item .answer a { color: var(--ink-accent); border-bottom: 1px solid currentColor; }
.sand :focus-visible { outline-color: var(--ink-accent); }

/* ===== 收尾：站在火星地面上 ===== */
.landing {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 180px 0 200px; text-align: center;
}
.landing-bg { position: absolute; inset: 0; z-index: -1; }
.landing-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.landing-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11,9,8,0.35) 0%, rgba(11,9,8,0.05) 45%, rgba(11,9,8,0.8) 100%);
}
.landing h2 { font-size: clamp(32px, 4.6vw, 60px); font-weight: 900; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.landing p { margin: 20px auto 0; max-width: 560px; font-size: 18px; color: var(--text); opacity: .86; text-shadow: 0 1px 16px rgba(0,0,0,.5); }
.landing .hero-cta { margin-top: 40px; }
.landing .hero-meta { color: rgba(246,241,236,.72); text-shadow: 0 1px 12px rgba(0,0,0,.6); }

/* ===== 页脚 ===== */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--line); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 28px; width: auto; }
.footer-brand p { margin-top: 16px; font-size: 14px; color: var(--text-3); line-height: 1.8; }
.footer h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer li a, .footer li button { font-size: 14px; color: var(--text-3); transition: color .15s; text-align: left; }
.footer li a:hover, .footer li button:hover { color: var(--text); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 13px; color: var(--text-3);
}

.footer > .footer-bottom { margin-top: 0; padding-top: 0; border-top: 0; }
.page-download .footer { padding: 28px 0; }

/* ===== 提示气泡 ===== */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 20px);
  padding: 12px 18px; border-radius: 12px; max-width: calc(100vw - 32px);
  font-size: 15px; font-weight: 500; color: var(--ink); background: var(--sand);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.8);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ===== 下载页 ===== */
.page-download { background: radial-gradient(90% 50% at 50% 0%, #1b0f0b 0%, var(--bg) 70%); min-height: 100vh; }
.dl-main { padding: calc(var(--nav-h) + 64px) 0 120px; }
.dl-head h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 900; line-height: 1.15; letter-spacing: -0.015em; }
.dl-head p { margin-top: 12px; font-size: 18px; color: var(--text-2); text-wrap: balance; }
.dl-card {
  position: relative; overflow: hidden; margin-top: 40px; padding: 40px;
  border-radius: 22px; border: 1px solid var(--line-2);
  background:
    radial-gradient(80% 120% at 100% 100%, rgba(232, 110, 60, 0.20), transparent 60%),
    linear-gradient(180deg, rgba(255,240,228,0.07), rgba(255,240,228,0.03));
}
.dl-card .detected { font-size: 14px; font-weight: 600; letter-spacing: .08em; color: var(--orange); }
.dl-card h2 { margin-top: 10px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.dl-card .meta { margin-top: 8px; color: var(--text-2); font-size: 15px; }
.dl-card .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dl-card .hint { margin-top: 18px; font-size: 14px; color: var(--text-3); }
.dl-card .hint a { color: var(--text-2); border-bottom: 1px solid var(--line-2); }
.dl-status { color: var(--text-2); }
.dl-status .btn { margin-top: 14px; }
.dl-sections { margin-top: 40px; display: grid; gap: 12px; }
.dl-section { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,240,228,0.025); }
.dl-section > summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 17px; font-weight: 600;
}
.dl-section > summary::-webkit-details-marker { display: none; }
.dl-section > summary .sub { font-size: 14px; font-weight: 400; color: var(--text-3); margin-left: 10px; }
.dl-section > summary .chev { width: 18px; height: 18px; color: var(--text-3); transition: transform .3s var(--ease); flex-shrink: 0; }
.dl-section[open] > summary .chev { transform: rotate(180deg); }
.dl-section .body { padding: 0 24px 24px; }
.dl-section .body > p { color: var(--text-2); font-size: 15px; margin-bottom: 16px; }
.guide { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.guide section { padding: 20px; border-radius: 14px; background: rgba(255,240,228,0.03); border: 1px solid var(--line); }
.guide h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.guide ol { padding-left: 20px; color: var(--text-2); font-size: 15px; display: grid; gap: 6px; }

.dl-static .dl-section-title { padding: 20px 24px; font-size: 17px; font-weight: 600; }
.guide-note { margin-top: 14px; font-size: 14px; color: var(--text-3); }
code { font-family: var(--mono); font-size: .9em; padding: 1px 6px; border-radius: 6px; background: rgba(255,240,228,0.08); }
.sand code { background: rgba(29,23,20,0.08); }
.release-hash { padding: 0; background: none; }

/* 版本列表（发行清单渲染） */
.release-card { padding: 20px 0; border-top: 1px solid var(--line); }
.release-card:first-child { border-top: 0; padding-top: 4px; }
.release-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.release-heading h4 { font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.release-badge { font-size: 12px; font-weight: 600; color: var(--orange); background: rgba(240,138,93,0.12); border-radius: 999px; padding: 3px 10px; }
.release-meta { display: block; margin-top: 2px; font-size: 14px; color: var(--text-3); }
.release-files { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.release-file {
  display: flex; flex-direction: column; gap: 8px; min-width: 0;
  padding: 16px; border-radius: 12px; background: rgba(255,240,228,0.03); border: 1px solid var(--line);
}
.release-file p { font-size: 14px; color: var(--text-2); overflow-wrap: anywhere; }
.release-file .btn { white-space: normal; text-align: center; }
.release-hash-label { font-size: 12px !important; color: var(--text-3) !important; letter-spacing: .06em; }
.release-hash { display: block; font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--text-3); overflow-wrap: anywhere; }
.release-status { color: var(--text-2); padding: 8px 0; }
.release-status p { margin-bottom: 12px; }

/* ===== 入场动画 ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .nav-inner { gap: 24px; }
  .steps-layout { grid-template-columns: 1fr; gap: 40px; }
  .steps-visual { position: static; max-width: 640px; margin: 0 auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-layout .section-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; --gutter: 16px; }
  body { font-size: 16px; }
  .nav-links, .nav-actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-logo img { height: 26px; }
  .hero { padding-top: calc(var(--nav-h) + 44px); }
  .hero h1 { margin: 22px 0 18px; }
  .hero h1 .line { display: block; }
  .hero-cta { flex-direction: column; align-items: stretch; max-width: 360px; margin-left: auto; margin-right: auto; }
  .hero-stage { margin-top: 48px; perspective: none; }
  .product-window { transform: none; border-radius: 12px; }
  .hero-horizon { width: 280vw; top: calc(-67.8vw - 36px); }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 44px; }
  .section-head p { font-size: 16px; }
  .features, .duo { grid-template-columns: 1fr; }
  .feature { padding: 22px; }
  .duo-copy { padding: 24px 22px 4px; }
  .duo-shot { margin: 22px 22px 0; max-height: 380px; }
  .duo-shot img { height: 380px; }
  .step h3 { font-size: 17px; }
  .product-window img { max-height: 460px; object-fit: cover; object-position: top; }
  .faq-item summary { font-size: 17px; padding: 20px 2px; }
  .landing { padding: 120px 0 140px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dl-card { padding: 26px 20px; }
  .release-files, .guide { grid-template-columns: 1fr; }
  .video-dialog .dialog-close { top: -50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .product-window { transform: none; }
}
