/* ============================================================
   Motick 官网 — 纯静态首页样式
   色板：石墨墨蓝底 / 钛银文字 / App 品牌青 #21C0E0 / 琥珀时间点缀
   动效：CSS scroll-driven animations，全部 fail-open
   ============================================================ */

:root {
  --bg: #0A0E14;
  --bg-soft: #10141D;
  --panel: #141926;
  --panel-edge: rgba(148, 178, 218, 0.14);
  --ink: #E8EDF4;
  --ink-2: #9AA8BC;
  --ink-3: #5F6C80;
  --accent: #21C0E0;
  --accent-bright: #3AD4F2;
  --amber: #F5B84A;
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", monospace;
  --nav-h: 84px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

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

h1, h2, h3 { line-height: 1.25; font-weight: 700; letter-spacing: 0.01em; }
h2 { font-size: clamp(28px, 4.2vw, 44px); }

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

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.7,.3,1.2), box-shadow .25s, background .25s, border-color .25s;
  cursor: pointer;
}
.btn-sm { padding: 8px 18px; font-size: 13.5px; }
.btn-lg { padding: 17px 40px; font-size: 17px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #04141A;
  box-shadow: 0 0 0 1px rgba(33,192,224,.35), 0 8px 32px rgba(33,192,224,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(33,192,224,.5), 0 14px 44px rgba(33,192,224,.4); }
.btn-ghost {
  border-color: var(--panel-edge);
  color: var(--ink-2);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: rgba(148,178,218,.4); color: var(--ink); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 14, 20, 0.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--panel-edge);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  height: var(--nav-h);
  padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { border-radius: 12px; }
.brand-name {
  font-size: 26px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--ink);
}
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a {
  font-size: 14px; color: var(--ink-2);
  transition: color .2s;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px;
  height: 1.5px; background: var(--accent);
  transition: right .3s cubic-bezier(.2,.7,.3,1);
}
.nav-links a:hover::after { right: 0; }
.nav .btn-sm { margin-left: 8px; }

/* 语言切换入口：小型描边胶囊，区别于普通导航链接 */
.lang-link {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.1em;
  color: var(--ink-2);
  border: 1px solid var(--panel-edge);
  border-radius: 999px;
  padding: 5px 12px;
  transition: color .2s, border-color .2s;
}
.lang-link:hover { color: var(--accent-bright); border-color: rgba(33,192,224,.45); }
.nav-links .lang-link { align-self: center; }
.nav-links .lang-link::after { content: none; }
.nav-drawer-links > a.lang-link { font-size: 13px; font-weight: 400; }
.page-nav-side { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* 移动端汉堡导航（默认隐藏，≤900px 启用） */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-drawer {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(10, 14, 20, 0.97);
  backdrop-filter: blur(18px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.nav-drawer.open { opacity: 1; visibility: visible; }
.nav-drawer-links { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.nav-drawer-links > a { font-size: 22px; font-weight: 600; color: var(--ink-2); transition: color .2s; }
.nav-drawer-links > a:hover { color: var(--ink); }
.nav-drawer-links > a.btn { font-size: 17px; margin-top: 14px; color: #04141A; }
body.drawer-open { overflow: hidden; }

/* ============================================================
   内页（privacy / 404）— 复用站点基调的简洁文档页
   ============================================================ */
.page-body { min-height: 100vh; display: flex; flex-direction: column; }
.page-nav-home { margin-left: auto; }
.page-main { flex: 1; width: 100%; max-width: 780px; margin: 0 auto; padding: calc(var(--nav-h) + 60px) 24px 90px; }
.page-main h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 14px; }
.page-updated { margin-bottom: 40px; }
.page-main h2 { font-size: 21px; margin: 40px 0 12px; }
.page-main p, .page-main li { color: var(--ink-2); font-size: 15px; }
.page-main ul { padding-left: 22px; display: grid; gap: 8px; margin-top: 10px; }
.page-main p + p { margin-top: 10px; }
.page-main a { color: var(--accent); }
.page-main a:hover { color: var(--accent-bright); }
.page-actions { display: flex; gap: 14px; margin-top: 48px; flex-wrap: wrap; }
.page-actions a { color: inherit; }
.page-actions .btn-primary { color: #04141A; }
.page-main .err-code { font-size: clamp(72px, 14vw, 120px); font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 16px; letter-spacing: .02em; }

/* ============================================================
   PINNED HERO — 固定主视觉随滚动重组（morph）
   结构：320vh 容器 + 100vh sticky；命名 view-timeline 驱动子元素
   ============================================================ */
.hero-pin {
  height: 320vh;
  view-timeline: --hero block;
  position: relative;
}
.hero-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
}
/* 深色压暗层：保证任何屏幕下文字对比度达标 */
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,14,20,.55) 0%, rgba(10,14,20,.18) 34%, rgba(10,14,20,.62) 78%, var(--bg) 100%),
    radial-gradient(90% 60% at 70% 62%, rgba(10,14,20,.42), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: -1px;
  background: var(--bg);
  opacity: 0; pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
  margin-top: -4vh;
}
.hero-logo {
  width: 150px; height: auto;
  display: block; margin: 0 auto 34px;
  filter: drop-shadow(0 18px 48px rgba(33,192,224,.28)) drop-shadow(0 4px 14px rgba(0,0,0,.5));
}
.hero-kicker { margin-bottom: 22px; opacity: .9; }
.hero-title {
  font-size: clamp(40px, 7.2vw, 88px);
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.16;
}
.hero-title span { display: block; }
.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent-bright) 10%, var(--amber) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 26px;
  font-size: clamp(15px, 1.6vw, 18.5px);
  color: var(--ink-2);
}
.hero-cta {
  margin-top: 40px;
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* 声波线：与背景图声波同轴延伸，避免叠罗汉 */
.hero-wave {
  position: absolute; z-index: 1;
  left: 4%; right: 4%;
  top: 46vh;
  width: 92%; height: 110px;
  opacity: .5;
}
.wave-path {
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-dasharray: 2600;
  stroke-dashoffset: 2600;
}
.no-sda .wave-path { stroke-dashoffset: 0; }

/* 三步条（hero 后段浮现） */
.hero-steps {
  position: absolute; z-index: 2;
  left: 50%; transform: translateX(-50%);
  bottom: 9vh;
  display: flex; align-items: center; gap: 22px;
  opacity: 0;
}
.step { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.step-no { font-size: 11px; }
.step-t { font-size: 17px; font-weight: 700; }
.step-d { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.step-arrow {
  width: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .6;
  margin-bottom: 18px;
}

/* 滚动提示 */
.hero-scroll-hint {
  position: absolute; z-index: 2;
  bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--ink-3);
}
.hero-scroll-hint .mono { color: var(--ink-3); font-size: 10px; }
.hero-scroll-hint i {
  width: 1px; height: 34px;
  background: linear-gradient(180deg, var(--accent), transparent);
  display: block;
  animation: hintDrop 1.8s ease-in-out infinite;
}
@keyframes hintDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- scroll-driven 阶段编排（渐进增强：仅支持时生效） --- */
@supports (animation-timeline: view()) {
  /* 阶段一：背景聚焦（0~65%：zoom 推近日历卡） */
  .hero-bg img {
    animation: heroZoom linear both;
    animation-timeline: --hero;
    animation-range: cover 0% cover 68%;
  }
  /* 阶段二：65% 后整体压暗退场，交棒给三步 */
  .hero-bg::after {
    animation: heroDim linear both;
    animation-timeline: --hero;
    animation-range: cover 55% cover 82%;
  }
  /* 标题群：40%~68% 上浮消散 */
  .hero-content {
    animation: heroTitleOut linear both;
    animation-timeline: --hero;
    animation-range: cover 38% cover 68%;
  }
  /* 主 logo：30%~62% 先行收缩，暗示归入顶部导航 */
  .hero-logo {
    animation: heroLogoOut linear both;
    animation-timeline: --hero;
    animation-range: cover 30% cover 62%;
  }
  /* 声波：全程绘制 + 后段淡出 */
  .hero-wave {
    animation: waveFade linear both;
    animation-timeline: --hero;
    animation-range: cover 30% cover 70%;
  }
  .wave-path {
    animation: waveDraw linear both;
    animation-timeline: --hero;
    animation-range: cover 0% cover 42%;
  }
  /* 三步：60%~88% 依次浮出 */
  .hero-steps { animation: stepsIn linear both; animation-timeline: --hero; animation-range: cover 58% cover 86%; }
  .hero-steps .step:nth-child(1) { animation: stepPop linear both; animation-timeline: --hero; animation-range: cover 58% cover 70%; }
  .hero-steps .step:nth-child(3) { animation: stepPop linear both; animation-timeline: --hero; animation-range: cover 66% cover 78%; }
  .hero-steps .step:nth-child(5) { animation: stepPop linear both; animation-timeline: --hero; animation-range: cover 74% cover 86%; }
  /* 滚动提示：8% 后消失 */
  .hero-scroll-hint { animation: hintOut linear both; animation-timeline: --hero; animation-range: cover 0% cover 8%; }
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.16) translateY(-2.2%); }
}
@keyframes heroDim { to { opacity: .82; } }
@keyframes heroTitleOut {
  to { opacity: 0; transform: translateY(-52px); filter: blur(6px); }
}
@keyframes heroLogoOut {
  to {
    /* 150px × 0.37 ≈ 56px：收缩终点精确对齐导航条 logo，归位感闭环 */
    transform: scale(.37) translateY(-22px);
    filter: drop-shadow(0 0 0 rgba(33,192,224,0)) blur(5px);
  }
}
@keyframes waveFade { to { opacity: 0; } }
@keyframes waveDraw { to { stroke-dashoffset: 0; } }
@keyframes stepsIn { to { opacity: 1; } }
@keyframes stepPop {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hintOut { to { opacity: 0; } }

/* ============================================================
   SECTION OVERLAY — 章节覆盖（curtain 盖过 pinned hero）
   ============================================================ */
.overlay-section {
  position: relative; z-index: 10;
  margin-top: -1px;
}
.overlay-card {
  background: linear-gradient(180deg, #121724, var(--bg-soft) 60%);
  border: 1px solid var(--panel-edge);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -28px 80px rgba(0,0,0,.65);
  padding: clamp(72px, 12vh, 130px) 24px clamp(56px, 9vh, 100px);
  text-align: center;
}
.section-kicker { margin-bottom: 14px; }
.pain-title {
  font-size: clamp(36px, 5.6vw, 64px);
  font-weight: 800;
}
.pain-copy {
  margin-top: 22px;
  color: var(--ink-2);
  font-size: clamp(15px, 1.6vw, 17.5px);
}
.pain-quotes {
  margin-top: 44px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.q {
  font-size: 14px;
  color: var(--ink-2);
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px dashed rgba(148,178,218,.28);
  background: rgba(255,255,255,.02);
}
.q-hot {
  color: #1A1206;
  background: linear-gradient(135deg, #FFD98A, var(--amber));
  border: none; font-weight: 600;
  box-shadow: 0 6px 24px rgba(245,184,74,.3);
}

/* ============================================================
   通用章节
   ============================================================ */
.steps-section, .stack-zone, .hardware-section, .download-section, .faq-section {
  position: relative;
  padding: clamp(84px, 13vh, 140px) 24px;
}
.steps-section, .stack-zone { background: var(--bg-soft); }
.section-head {
  max-width: 760px;
  margin: 0 auto clamp(44px, 7vh, 72px);
  text-align: center;
}
.section-head h2 { margin-top: 2px; }

/* 三步卡 */
.steps-grid {
  list-style: none;
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step-card {
  background: linear-gradient(180deg, var(--panel), rgba(20,25,38,.6));
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius-md);
  padding: 34px 30px 30px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.step-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(33,192,224,.5), transparent);
}
.step-card:hover { transform: translateY(-5px); border-color: rgba(33,192,224,.32); }
.step-card .step-no {
  display: inline-block; margin-bottom: 16px;
  font-size: 13px;
  padding: 4px 12px;
  border: 1px solid rgba(33,192,224,.35);
  border-radius: 6px;
}
.step-card h3 { font-size: 21px; margin-bottom: 10px; }
.step-card p { color: var(--ink-2); font-size: 14.5px; }

/* ============================================================
   CARD STACKING — 滚动驱动的卡片堆叠
   ============================================================ */
.stack-zone { padding-bottom: 0; }
.stack-list {
  max-width: 860px; margin: 0 auto;
  padding-bottom: clamp(60px, 10vh, 110px);
}
.stack-card {
  position: sticky;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(33,192,224,.08), transparent 55%),
    linear-gradient(180deg, #161C2B, #10141D);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4.5vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  min-height: 320px;
  box-shadow: 0 -18px 50px rgba(0,0,0,.4);
}
.stack-card:nth-child(1) { top: calc(var(--nav-h) + 34px);  z-index: 1; }
.stack-card:nth-child(2) { top: calc(var(--nav-h) + 62px);  z-index: 2; }
.stack-card:nth-child(3) { top: calc(var(--nav-h) + 90px);  z-index: 3; }
.stack-visual {
  background: rgba(10,14,20,.55);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius-md);
  padding: 18px;
}
.stack-visual svg { width: 100%; height: auto; }
.stack-index { display: block; margin-bottom: 10px; }
.stack-copy h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 12px; }
.stack-copy p { color: var(--ink-2); font-size: 15.5px; max-width: 44ch; }

/* 已钉住的前卡随滚动下沉缩小（渐进增强） */
@supports (animation-timeline: view()) {
  .stack-card {
    animation: cardSink linear both;
    animation-timeline: view();
    animation-range: exit -40% exit 5%;
  }
}
@keyframes cardSink {
  to { transform: scale(.94) translateY(-12px); filter: brightness(.68); }
}

/* ============================================================
   HARDWARE
   ============================================================ */
.hardware-section { background: var(--bg); }
.hw-wrap {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 6fr 5fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.hw-lead { margin-top: 18px; color: var(--ink-2); font-size: 16.5px; }
.hw-list {
  list-style: none; margin-top: 26px;
  display: flex; flex-direction: column; gap: 12px;
}
.hw-list li {
  padding-left: 26px; position: relative;
  color: var(--ink-2); font-size: 15px;
}
.hw-list li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 12px; height: 1.5px;
  background: var(--accent);
}
.hw-note { margin-top: 30px; color: var(--ink-3); }

/* CSS 硬件示意卡 */
.hw-visual { display: flex; justify-content: center; }
.hw-card {
  width: min(300px, 78%);
  aspect-ratio: 300 / 380;
  border-radius: 36px;
  background:
    radial-gradient(120% 80% at 30% 12%, rgba(51,54,127,.9), transparent 60%),
    linear-gradient(160deg, #2B2F52, #171A2F 58%);
  border: 1px solid rgba(148,178,218,.2);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(242,244,255,.14);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hw-card::after {
  content: "";
  position: absolute; left: 24px; right: 24px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242,244,255,.5), transparent);
}
.hw-led {
  position: absolute; top: 30px; left: 50%;
  width: 7px; height: 7px; margin-left: -3.5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent), 0 0 30px rgba(33,192,224,.5);
  animation: ledPulse 2.6s ease-in-out infinite;
}
@keyframes ledPulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}
.hw-grid {
  position: absolute; inset: 60px 24px 90px;
  background-image:
    linear-gradient(rgba(148,178,218,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,178,218,.1) 1px, transparent 1px);
  background-size: 22px 22px;
  border-radius: 18px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 45%, #000 30%, transparent 100%);
          mask-image: radial-gradient(80% 80% at 50% 45%, #000 30%, transparent 100%);
}
.hw-m {
  position: relative;
  font-size: 64px; font-weight: 700;
  color: var(--ink);
  text-shadow: 0 0 34px rgba(33,192,224,.35);
}

/* ============================================================
   DOWNLOAD
   ============================================================ */
.download-section {
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(33,192,224,.09), transparent 60%),
    var(--bg-soft);
  text-align: center;
}
.dl-wrap { max-width: 760px; margin: 0 auto; }
.dl-actions { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.dl-note { margin-top: 2px; color: var(--ink-3); font-size: 13px; }
.btn-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.dl-channels {
  margin-top: 44px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.ch {
  font-size: 13px; color: var(--ink-2);
  padding: 9px 20px;
  border: 1px solid var(--panel-edge);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
}
.ch-dim { opacity: .45; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--bg); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item[open] { border-color: rgba(33,192,224,.32); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 16px; font-weight: 600;
  position: relative;
  padding-right: 52px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%;
  width: 9px; height: 9px;
  border-right: 1.6px solid var(--ink-2);
  border-bottom: 1.6px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item p { padding: 0 24px 22px; color: var(--ink-2); font-size: 14.5px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #070A0F; border-top: 1px solid var(--panel-edge); }
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 44px 24px 36px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-mark { opacity: .92; }
.footer-tag { color: var(--ink-3); font-size: 13px; margin-left: 10px; }
.footer-links { display: flex; gap: 24px; margin-left: auto; }
.footer-links a { color: var(--ink-2); font-size: 13.5px; }
.footer-links a:hover { color: var(--ink); }
.footer-contact { width: 100%; color: var(--ink-3); font-size: 12.5px; }
.footer-contact a { color: var(--ink-2); transition: color .2s; }
.footer-contact a:hover { color: var(--ink); }
.footer-legal { width: 100%; color: var(--ink-3); font-size: 12px; letter-spacing: .04em; }
.footer-legal .beian-link { color: inherit; transition: color .2s; }
.footer-legal .beian-link:hover { color: var(--ink-2); }

/* ============================================================
   REVEAL — fail-open：无 JS / 动画关闭时内容全部可见
   ============================================================ */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2,.65,.3,1), transform .7s cubic-bezier(.2,.65,.3,1);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   响应式
   ============================================================ */
.br-wide { display: inline; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav .btn-sm { display: none; }
  .nav-toggle { display: flex; }
  .steps-grid { grid-template-columns: 1fr; max-width: 520px; }
  .hw-wrap { grid-template-columns: 1fr; }
  .hw-visual { order: -1; }
  .hw-card { width: min(240px, 64%); }
  .stack-card { grid-template-columns: 1fr; min-height: 0; }
  .stack-visual { max-width: 320px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 21px; }
  .hero-steps { gap: 12px; bottom: 7vh; }
  .hero-logo { width: 84px; margin-bottom: 24px; }
  .step-d { display: none; }
  .step-arrow { width: 18px; }
  .hero-wave { display: none; }
  .br-wide { display: none; }
  .hero-cta .btn { width: 100%; max-width: 320px; }
  .footer-links { margin-left: 0; }
}

/* ============================================================
   REDUCED MOTION — 静态完整版（无动画但设计不缩水）
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-pin { height: auto; min-height: 100vh; }
  .hero-sticky { position: relative; height: auto; min-height: 100vh; padding: calc(var(--nav-h) + 60px) 24px 120px; }
  .hero-steps { position: static; transform: none; opacity: 1; margin-top: 56px; justify-content: center; }
  .hero-wave { display: none; }
  .hero-scroll-hint { display: none; }
  .hero-bg img, .hero-bg::after, .hero-content, .hero-logo, .hero-steps, .hero-steps .step,
  .hero-wave, .wave-path, .hero-scroll-hint, .stack-card {
    animation: none !important;
  }
  .wave-path { stroke-dashoffset: 0; }
  .hero-steps { opacity: 1; }
  .hw-led { animation: none; opacity: .9; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .nav-toggle span, .nav-drawer { transition: none; }
}

/* 不支持 scroll-driven animations 的浏览器：关键内容直接可见 */
@supports not (animation-timeline: view()) {
  .hero-steps { opacity: 1; }
  .wave-path { stroke-dashoffset: 0; }
  .hero-scroll-hint { opacity: 1; }
}

/* ============================================================
   SCENE PAGES — 场景页（律师/房产顾问/客户代表）
   ============================================================ */
.scene-kicker { margin-bottom: 14px; }
.scene-lead { color: var(--ink-2); font-size: 17px; max-width: 620px; margin-top: 6px; }
.scene-hero {
  margin: 36px 0 8px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--panel-edge); background: var(--bg-soft);
}
.scene-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.scene-hero figcaption { font-size: 12px; color: var(--ink-3); padding: 10px 16px; border-top: 1px solid var(--panel-edge); }
.pains-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.pain-card {
  background: var(--panel); border: 1px solid var(--panel-edge); border-radius: var(--radius-md);
  padding: 20px 18px;
}
.pain-card h3 { font-size: 15px; margin-bottom: 8px; }
.pain-card p { font-size: 13.5px; line-height: 1.65; }
.scene-steps { margin-top: 20px; }
.scene-faq { margin-top: 10px; display: grid; gap: 22px; }
.scene-faq h3 { font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.scene-faq h3::before { content: "Q"; font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-right: 10px; }
.scene-faq p { font-size: 14.5px; }
.scene-links { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--panel-edge); }
.scene-links h2 { font-size: 18px; margin-bottom: 16px; }
.scene-links ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.scene-links a { color: var(--accent); font-size: 15px; text-decoration: none; }
.scene-links a:hover { color: var(--accent-bright); }
.scene-links .ln-tag { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); margin-right: 10px; }

/* 首页「适合谁」入口卡片 */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.audience-card {
  display: block; background: var(--panel); border: 1px solid var(--panel-edge);
  border-radius: var(--radius-md); padding: 22px 20px; text-decoration: none;
  transition: border-color .25s ease, transform .25s ease; color: inherit;
}
.audience-card:hover { border-color: rgba(94, 184, 255, .45); transform: translateY(-2px); }
.audience-card h3 { font-size: 16px; margin: 10px 0 6px; color: var(--ink); }
.audience-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }
.audience-card .mono { font-size: 11px; }
.audience-card .ac-go { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--accent); }

@media (max-width: 900px) {
  .pains-grid, .audience-grid { grid-template-columns: 1fr; max-width: 520px; }
}
