/* ==========================================================================
   Design System Tokens (ui-design + styleseed + 90:10 Clean Spec + 4px Grid)
   - 90% Architectural Neutral (#FAFAFA / #FFFFFF / #F2F3F5 / #181818 / #6A6A6A)
   - 10% Single Crisp Accent (#0055FF Cobalt Blue, 0 purple, 0 card gradients)
   - Strict 4px Spacing / Sizing / Radius Scale (4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 48, 64, 80, 96, 144)
   - 24×24 Transparent Icon Frame (.icon-box) with 18×18 / 1.5px Stroke Icons
   ========================================================================== */
:root {
  --bg: #fafafa;
  --card: #ffffff;
  --soft: #f2f3f5;
  --soft-hover: #e6e8ec;
  --line: rgba(24, 24, 24, 0.08);
  --line-strong: rgba(24, 24, 24, 0.14);
  --text: #181818;
  --sub: #6a6a6a;
  --muted: #6a6a6a;
  --accent: #0055ff;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --display: "Geist", "SF Pro Display", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* 4px Spatial Scale Tokens */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-7: 28px;
  --s-8: 32px;
  --s-9: 36px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-36: 144px;

  /* Proportional Radius Tokens */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --nav-glass: rgba(250, 250, 250, 0.86);
}

[data-theme="dark"] {
  --bg: #0b0c0e;
  --card: #131519;
  --soft: #1b1e24;
  --soft-hover: #252932;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f5f7;
  --sub: #8e95a2;
  --muted: #8e95a2;
  --accent: #3b82f6;
  --nav-glass: rgba(11, 12, 14, 0.84);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  /* 必须使用 clip 而非 hidden，确保滚轮触发的 position: sticky 稳定生效 */
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, 100% - 48px); margin: 0 auto; }

/* 24×24 透明标准图标外框，内嵌 18×18 / 1.5px 线宽图标 */
.icon-box {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
}
.icon-box img,
.icon-box svg {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* 品牌字标（logo-design-skill 光学对齐调优） */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font: 700 16px/1 var(--mono);
  letter-spacing: -0.03em;
  color: var(--text);
}
.wordmark .icon-box { margin-right: 4px; }
.wordmark .u { color: var(--accent); }
.wordmark.small { font-size: 14px; }

/* 按钮体系（严格 4px 栅格，清晰主次权重差，零渐变） */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  height: var(--s-12);
  padding: 0 var(--s-7);
  border-radius: 999px;
  border: 0;
  font: 600 15px/1 var(--sans);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn-dark,
.btn-primary { background: var(--text); color: var(--bg); }
.btn-dark:hover,
.btn-primary:hover { opacity: 0.88; }
.btn-light,
.btn-ghost { background: var(--soft); color: var(--text); }
.btn-light:hover,
.btn-ghost:hover { background: var(--soft-hover); }
.btn-white { background: #ffffff; color: var(--text); }
.btn-white:hover { background: #f2f3f5; }
.btn-sm { height: var(--s-9); padding: 0 var(--s-4); font-size: 14px; }
.btn-block { width: 100%; border-radius: var(--r-md); }
.btn[disabled] { opacity: 0.45; cursor: default; transform: none; }

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: 400 14px/1.5 var(--sans);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(24, 24, 24, 0.24);
  transition: color 0.16s ease, text-decoration-color 0.16s ease;
}
.link-btn:hover { text-decoration-color: currentColor; }
.link-btn.inline { font-size: inherit; margin: 0 4px; }

/* 顶栏：悬浮首屏，滚动后切换毛玻璃白底与细分割线 */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  transition: background-color 0.28s ease, border-color 0.28s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-glass);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom-color: var(--line);
}
.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}
.theme-btn {
  width: var(--s-9);
  height: var(--s-9);
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--sub);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.theme-btn:hover {
  color: var(--text);
  border-color: var(--line-strong);
}
.lang-btn {
  width: auto;
  min-width: var(--s-9);
  padding: 0 8px;
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.06em;
}
.nav,
.nav-inner,
.links {
  overflow: visible;
}
.nav-community {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-community-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: color 0.16s ease;
}
.nav-community-btn:hover,
.nav-community.is-open .nav-community-btn {
  color: var(--text);
}
.nav-community-pop {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 40;
  padding: 12px 10px 10px;
  background: transparent;
}
.nav-community-pop[hidden] {
  display: none;
}
.nav-community-pop img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(240px, calc(100vw - 24px));
  max-height: calc(100vh - 96px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.35), 0 2px 10px rgba(0, 0, 0, 0.08);
}
.links a.active {
  color: var(--text);
  font-weight: 600;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  height: var(--s-16);
  padding: 0 var(--s-7);
}
.links {
  display: flex;
  gap: var(--s-8);
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--sub);
}
.links a { transition: color 0.16s ease; }
.links a:hover { color: var(--text); }
.nav-inner,
.nav-actions,
.links {
  flex-wrap: nowrap;
}
.wordmark,
.nav-actions,
.links,
.nav-library,
.nav-menu,
.nav-community {
  flex-shrink: 0;
}
.nav-menu {
  display: contents;
}
.nav-primary {
  display: contents;
}
.nav-menu-btn,
.nav-community-icon,
.nav-download-icon {
  display: none;
}
.nav-community-label,
.nav-download-label {
  display: inline;
}
.nav-download-btn {
  white-space: nowrap;
}
.nav-library {
  white-space: nowrap;
}

/* ==========================================================================
   首屏：精细化多层 3D 界面飞散（微缩窗口/手机外框 + 黄金角防碰撞轨道 + 空间点阵）
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  max-height: 1120px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(24, 24, 24, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: center center;
}
.cosmos {
  position: absolute;
  inset: 0;
  perspective: 1120px;
  perspective-origin: var(--px, 50%) var(--py, 50%);
  transform-style: preserve-3d;
}
.tile {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--w);
  height: var(--h);
  margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2);
  border-radius: 14px;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid rgba(24, 24, 24, 0.08);
  box-shadow: 0 18px 40px -12px rgba(15, 17, 21, 0.18), 0 2px 8px rgba(15, 17, 21, 0.06);
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
  animation: fly var(--dur) linear var(--delay) infinite;
}
.tile.tall {
  border-radius: 16px;
}
.tile.is-ambient {
  border-color: var(--line);
  box-shadow: 0 12px 26px -12px rgba(15, 17, 21, 0.12);
}
.tile.wide .tile-bar {
  height: 12px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fafafa;
  border-bottom: 1px solid rgba(24, 24, 24, 0.06);
}
.tile.wide .tile-bar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(24, 24, 24, 0.16);
}
.tile.phone {
  border-radius: var(--r-xl);
  padding: 4px;
  background: var(--card);
}
.tile.phone .tile-screen {
  position: relative;
  height: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--soft);
}
.tile.phone .tile-screen::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 24px;
  height: 4px;
  margin-left: -12px;
  border-radius: 4px;
  background: rgba(24, 24, 24, 0.18);
  z-index: 1;
  pointer-events: none;
}
.tile img {
  width: 100%;
  height: auto;
  display: block;
}
.tile-poster,
.tile-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.tile-video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.tile-video.is-ready {
  opacity: 1;
}

@keyframes fly {
  0% {
    transform: translate3d(var(--x0), var(--y0), -1360px) rotate(var(--rot));
    opacity: 0;
  }
  12% {
    opacity: calc(var(--peak, 0.96) * 0.45);
  }
  26% {
    opacity: var(--peak, 0.96);
  }
  78% {
    opacity: var(--peak, 0.96);
  }
  92% {
    opacity: calc(var(--peak, 0.96) * 0.36);
  }
  100% {
    transform: translate3d(var(--x1), var(--y1), 440px) rotate(var(--rot));
    opacity: 0;
  }
}

[data-theme="dark"] .hero {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
}
[data-theme="dark"] .tile {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 44px -12px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .hero-veil {
  background:
    radial-gradient(ellipse 33% 34% at 50% 51%, #0b0c0e 54%, rgba(11, 12, 14, 0.84) 76%, rgba(11, 12, 14, 0) 100%),
    linear-gradient(180deg, rgba(11, 12, 14, 0.82) 0%, rgba(11, 12, 14, 0) 10%, rgba(11, 12, 14, 0) 88%, #0b0c0e 100%);
}
[data-theme="dark"] .wordmark img {
  filter: invert(1) hue-rotate(180deg);
}
[data-theme="dark"] .tour-step.active {
  background: #1e222b;
  color: #f4f5f7;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
[data-theme="dark"] .plan-pro {
  background: #181b22;
  border-color: rgba(255, 255, 255, 0.18);
}
/* 中央阅读安全区紧凑遮罩：保护主标题、按钮与系统说明清晰度，同时让外圈飞散卡片通透锐利 */
.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 33% 34% at 50% 51%, #fafafa 54%, rgba(250, 250, 250, 0.82) 76%, rgba(250, 250, 250, 0) 100%),
    linear-gradient(180deg, rgba(250, 250, 250, 0.80) 0%, rgba(250, 250, 250, 0) 10%, rgba(250, 250, 250, 0) 88%, #fafafa 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--s-6);
  transform: translate3d(var(--cx, 0px), var(--cy, 0px), 0);
}
h1 {
  margin: 0;
  font: 700 clamp(52px, 8.2vw, 108px)/0.96 var(--display);
  letter-spacing: -0.05em;
  color: var(--text);
  animation: rise 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.lead {
  margin: var(--s-6) auto 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--sub);
  animation: rise 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) 0.08s both;
}
.cta {
  margin-top: var(--s-8);
  scroll-margin-top: 120px;
  animation: rise 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) 0.16s both;
}
.fine {
  margin: var(--s-4) 0 0;
  font-size: 14px;
  color: var(--sub);
  animation: rise 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) 0.22s both;
}
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: var(--s-7);
  z-index: 2;
  width: var(--s-10);
  height: var(--s-10);
  margin-left: -20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--card);
  color: var(--sub);
  border: 1px solid var(--line);
  transition: color 0.18s ease, border-color 0.18s ease;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-hint:hover {
  color: var(--text);
  border-color: var(--line-strong);
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ==========================================================================
   四步产品介绍：鼠标滚轮依次推进 + 零外层嵌套框（No Box-in-Box）
   ========================================================================== */
.tour {
  padding: var(--s-36) 0 var(--s-16);
  scroll-margin-top: var(--s-16);
}
.tour-heading {
  margin: 0 0 var(--s-16);
  font: 700 clamp(32px, 4vw, 48px)/1.12 var(--display);
  letter-spacing: -0.035em;
  color: var(--text);
}

.tour-scrolly {
  position: relative;
  width: 100%;
  height: calc(var(--tour-steps, 4) * 76vh);
}
.tour-sticky {
  position: sticky;
  top: clamp(88px, calc(50vh - 256px), 136px);
}
.tour-grid {
  display: grid;
  grid-template-columns: 336px minmax(0, 1fr);
  gap: var(--s-12);
  align-items: stretch;
}
.tour-rail {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}
/* 未选中步骤：无外框，纯对齐与字重层级；选中步骤：独立深墨色扁平卡片 */
.tour-step {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: var(--r-lg);
  padding: var(--s-3) var(--s-5);
  margin-bottom: var(--step-space, 0px);
  text-align: left;
  cursor: pointer;
  color: var(--sub);
  font: inherit;
  transition: background-color 0.22s ease, color 0.18s ease;
}
.tour-grid:not([data-rail-ready]) .tour-step.active {
  margin-bottom: auto;
}
.tour-step:hover:not(.active) {
  color: var(--text);
}
.tour-step.active {
  padding: var(--s-6);
  background: var(--text);
  color: #ffffff;
}
.tour-step-title {
  display: block;
  font: 700 18px/1.35 var(--sans);
  letter-spacing: -0.02em;
}
.tour-step:not(.active) .tour-step-title {
  font-size: 16px;
  font-weight: 600;
}
.tour-step-desc {
  display: none;
  margin-top: var(--s-2);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}
.tour-step.active .tour-step-desc {
  display: block;
}

/* 右侧产品画面舞台：1px 极细描边 + 单层轻阴影，滚轮 1:1 上推叠放 */
.tour-stage {
  position: relative;
  aspect-ratio: 1024 / 652;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px -20px rgba(24, 24, 24, 0.08);
}
.tour-panel {
  position: absolute;
  inset: 0;
  background: var(--card);
  transform: translateY(100%);
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.tour-panel:nth-child(1) { z-index: 1; transform: translateY(0); }
.tour-panel:nth-child(2) { z-index: 2; border-top: 1px solid var(--line); }
.tour-panel:nth-child(3) { z-index: 3; border-top: 1px solid var(--line); }
.tour-panel:nth-child(4) { z-index: 4; border-top: 1px solid var(--line); }
.tour-panel:nth-child(5) { z-index: 5; border-top: 1px solid var(--line); }
.tour-panel.active { transform: translateY(0); }
.tour-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.tour-panel.is-dialog {
  background: var(--soft);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tour-panel.is-dialog img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  box-shadow: 0 20px 44px -16px rgba(0, 0, 0, 0.18);
}

/* Agent 兼容标识列：无外层胶囊/卡片框，纯 24×24 标准图标框与间距分组 */
.agents {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-4) var(--s-7);
  margin-top: var(--s-20);
}
.agent {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--sub);
}

/* 通用区块标题 */
section h2 {
  margin: 0 0 var(--s-12);
  font: 700 clamp(28px, 3.6vw, 40px)/1.15 var(--display);
  letter-spacing: -0.03em;
  color: var(--text);
}

/* ==========================================================================
   价格卡片（ui-design 卡片层级：清晰主次对比、单分割线结构、24×24 图标清单、零嵌套小框）
   ========================================================================== */
.pricing {
  padding: var(--s-36) 0 var(--s-8);
  scroll-margin-top: var(--s-16);
}
.pricing h2,
.faq h2 { text-align: center; }
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  max-width: 800px;
  margin: 0 auto;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  padding: var(--s-9) var(--s-8);
  background: var(--card);
  border: 1px solid var(--line);
}
.plan-pro {
  background: var(--text);
  border-color: var(--text);
  color: #ffffff;
}
.plan-head {
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--line);
}
.plan-pro .plan-head {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.plan h3 {
  margin: 0;
  font: 600 16px/1.5 var(--sans);
  color: var(--sub);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.plan-pro h3 {
  color: rgba(255, 255, 255, 0.84);
}
.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 var(--s-3);
  border-radius: var(--r-sm);
  background: var(--accent);
  color: #ffffff;
  font: 600 12px/1 var(--sans);
}
.price {
  margin: var(--s-4) 0 0;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
}
.price b {
  font: 700 44px/1 var(--display);
  letter-spacing: -0.04em;
  color: var(--text);
}
.plan-pro .price b {
  color: #ffffff;
}
.price s {
  font-size: 16px;
  color: var(--sub);
}
.plan-pro .price s {
  color: rgba(255, 255, 255, 0.44);
}
.plan ul {
  list-style: none;
  margin: var(--s-6) 0 var(--s-8);
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.plan li {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}
.plan li .icon-box {
  color: var(--sub);
}
.plan-pro li {
  color: rgba(255, 255, 255, 0.88);
}
.plan-pro li .icon-box {
  color: #ffffff;
}
.plan-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  margin-top: auto;
}
.plan .btn { height: var(--s-12); font-size: 15px; }
.plan .link-btn {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration-color: rgba(255, 255, 255, 0.24);
}
.plan .link-btn:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

/* ==========================================================================
   常见问题（无外框手风琴，仅靠极细线与 24px 栅格留白分组）
   ========================================================================== */
.faq {
  padding: var(--s-36) 0;
  scroll-margin-top: var(--s-16);
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-6) 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
summary::-webkit-details-marker { display: none; }
summary .icon-box {
  color: var(--sub);
  transition: transform 0.2s ease, color 0.2s ease;
}
details[open] summary .icon-box {
  transform: rotate(180deg);
  color: var(--text);
}
details p {
  margin: 0 0 var(--s-6);
  color: var(--sub);
  font-size: 15px;
  line-height: 1.7;
}
details a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(24, 24, 24, 0.28);
}
details a:hover { text-decoration-color: var(--text); }

/* 页脚 */
.footer {
  padding: var(--s-8) 0;
  font-size: 14px;
  color: var(--sub);
  border-top: 1px solid var(--line);
}
.footer-inner { display: flex; align-items: center; gap: var(--s-6); }
.footer-links { margin-left: auto; display: flex; gap: var(--s-5); align-items: center; }
.footer-links a:hover,
.footer-links .link-btn:hover { color: var(--text); }
.footer-links .link-btn { font-size: 14px; text-decoration: none; }

/* 购买与找回弹窗（遵循 24px 外圆角与内部 12px 控件圆角） */
.modal {
  width: min(400px, 100% - 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: var(--s-8) var(--s-7) var(--s-7);
  background: var(--card);
  color: var(--text);
  box-shadow: 0 24px 48px -16px rgba(24, 24, 24, 0.16);
}
.modal::backdrop { background: rgba(24, 24, 24, 0.36); backdrop-filter: blur(4px); }
.modal h3 { margin: 0 0 var(--s-2); font-size: 18px; font-weight: 700; }
.modal .muted { margin: 0 0 var(--s-5); color: var(--sub); font-size: 14px; }
.modal .fine { animation: none; text-align: center; }
.modal-close { position: absolute; top: var(--s-4); right: var(--s-4); margin: 0; }
.modal-close button { border: 0; padding: 0; background: none; color: var(--sub); cursor: pointer; }
.modal-close button:hover { color: var(--text); }
.channels { display: grid; gap: var(--s-3); }
.channel {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  height: 56px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--soft);
  color: var(--text);
  font: 600 15px/1 var(--sans);
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.channel:hover { border-color: var(--text); background: var(--card); }
.channel i {
  width: 24px;
  height: 24px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  color: #ffffff;
  font: 700 12px/1 var(--sans);
  font-style: normal;
}
.channel .wx { background: #07c160; }
.channel .ali { background: #1677ff; }
.qr {
  width: 224px;
  height: 224px;
  margin: var(--s-2) auto var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-3);
  display: grid;
  place-items: center;
  background: var(--card);
}
.qr img { width: 100%; height: 100%; object-fit: contain; }
.waiting { display: flex; align-items: center; justify-content: center; gap: var(--s-2); margin: 0; font-size: 14px; color: var(--sub); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.25; transform: scale(0.8); } }
.order-no { text-align: center; margin: var(--s-3) 0 0; font-size: 12px; color: var(--sub); }
code { font-family: var(--mono); font-size: 13px; }
.code-box {
  background: var(--soft);
  border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4);
  margin: 0 0 var(--s-4);
  word-break: break-all;
  font-size: 13px;
  line-height: 1.6;
  user-select: all;
}
.error { color: #dc2626; font-size: 14px; margin: var(--s-3) 0 0; min-height: 4px; }
.recover-form { display: flex; gap: var(--s-2); }
.recover-form input {
  flex: 1;
  height: var(--s-12);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0 var(--s-4);
  background: var(--card);
  color: var(--text);
  font: 14px var(--mono);
  outline: none;
}
.recover-form input:focus { border-color: var(--text); }
[data-recover-result] { margin-top: var(--s-4); }

@media (max-width: 960px) {
  .tour-scrolly { height: auto; }
  .tour-sticky { position: static; }
  .tour-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .tour-rail { height: auto; gap: var(--s-2); }
  .tour-step,
  .tour-step.active { margin-bottom: 0 !important; padding: var(--s-4); }
}
@media (max-width: 860px) {
  .nav-inner {
    justify-content: space-between;
    padding: 0 var(--s-4);
    gap: var(--s-3);
  }
  .links,
  .nav-actions {
    gap: 8px;
    margin-left: 0;
  }
  .links {
    display: flex;
    margin-left: auto;
    align-items: center;
  }
  .nav-menu {
    display: block;
    position: relative;
  }
  .nav-menu-btn {
    display: inline-flex;
  }
  .nav-primary {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 40;
    min-width: 168px;
    padding: 8px;
    flex-direction: column;
    gap: 2px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.35), 0 2px 10px rgba(0, 0, 0, 0.08);
  }
  .nav-menu.is-open .nav-primary {
    display: flex;
  }
  .nav-primary a {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: var(--r-md);
    color: var(--text);
    font-weight: 500;
    white-space: nowrap;
  }
  .nav-primary a:hover,
  .nav-primary a.active {
    background: var(--soft);
    color: var(--text);
  }
  .nav-community-btn {
    width: var(--s-9);
    height: var(--s-9);
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--sub);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .nav-community-btn:hover,
  .nav-community.is-open .nav-community-btn {
    color: var(--text);
    border-color: var(--line-strong);
  }
  .nav-community-label,
  .nav-download-label {
    display: none;
  }
  .nav-community-icon,
  .nav-download-icon {
    display: block;
    width: 16px;
    height: 16px;
  }
  .nav-download-btn {
    width: var(--s-9);
    min-width: var(--s-9);
    height: var(--s-9);
    padding: 0;
    gap: 0;
  }
  .nav-download-btn:hover {
    transform: none;
    opacity: 0.88;
  }
  .tour { padding-top: var(--s-24); }
  .tour-heading { margin-bottom: var(--s-8); }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: var(--s-8) var(--s-6); }
  .pricing,
  .faq { padding-top: var(--s-24); }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .nav .wordmark > span:last-child {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  h1, .lead, .cta, .fine, .scroll-hint { animation: none; }
  .tile { animation-play-state: paused; }
  html { scroll-behavior: auto; }
}
