﻿/* =========================================================
   ShadowTouch · 树懒轻Tech
   设计令牌 + 组件样式（无框架、零依赖）
   ========================================================= */

:root {
  --bg: #fffdfa;
  --bg-warm: #fdf7f0;
  --surface: #ffffff;
  --ink: #1c1917;
  --ink-2: #44403c;
  --muted: #78716c;
  --muted-2: #a8a29e;
  --line: #ece7e1;
  --line-strong: #ded6cc;
  --primary: #f97316;
  --primary-dark: #ea580c;
  --primary-deep: #c2410c;
  --primary-soft: #fff4e8;
  --primary-line: #fbd7b1;
  --green: #059669;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.04), 0 10px 30px -20px rgba(28, 25, 23, 0.18);
  --shadow-md: 0 24px 60px -30px rgba(120, 53, 15, 0.35);
  --max: 1120px;
  --header-h: 68px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

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

button {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary-deep);
}

::selection {
  background: rgba(249, 115, 22, 0.24);
}

:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nowrap {
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

/* ---------- 滚动出现 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 253, 250, 0.86);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 12px 30px -28px rgba(28, 25, 23, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
  flex: none;
}

.brand img {
  width: 38px;
  height: 38px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="true"] {
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.lang-switch:hover {
  border-color: var(--primary-line);
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 11px;
  font-size: 0.85rem;
}

.btn-lg {
  min-height: 52px;
  padding: 0 26px;
  border-radius: 14px;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #c2410c, #9a3412);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(234, 88, 12, 0.72);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -14px rgba(234, 88, 12, 0.8);
}

.btn-secondary {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--primary-line);
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
}

.btn-ghost:hover {
  background: var(--primary-soft);
  color: var(--primary-deep);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6.5vw, 84px) 0 clamp(40px, 5.5vw, 64px);
  background:
    radial-gradient(circle at 86% 18%, rgba(249, 115, 22, 0.1), transparent 46%),
    radial-gradient(circle at 6% 84%, rgba(251, 146, 60, 0.08), transparent 42%),
    var(--bg);
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -180px;
  width: 900px;
  height: 360px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(249, 115, 22, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--primary-line);
  border-radius: 999px;
  background: #fff;
  color: var(--primary-deep);
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
  animation: pulse 2.6s infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(249, 115, 22, 0);
  }
}

.hero h1 {
  font-size: clamp(2.45rem, 5vw, 4.05rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin: 20px 0 18px;
}

.gradient-text {
  background: linear-gradient(115deg, #ea580c 8%, #c2410c 55%, #9a3412 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[lang="en"] .hero h1 {
  font-size: clamp(1.95rem, 4.2vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

html[lang="en"] .hero-sub {
  max-width: 570px;
  font-size: 1.04rem;
}

.hero-sub {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.07rem;
  line-height: 1.8;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-hint {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.hero-visual {
  position: relative;
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border: 1px solid #ffe4cb;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 42%, #ffffff 0%, #fff6ec 52%, #ffe9d4 100%);
  box-shadow: inset 0 1px 0 #fff, 0 50px 90px -60px rgba(120, 53, 15, 0.55);
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px dashed rgba(249, 115, 22, 0.24);
  border-radius: 50%;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 100%, rgba(249, 115, 22, 0.12), transparent 55%);
  pointer-events: none;
}

.hero-stage img {
  position: relative;
  z-index: 1;
  width: min(84%, 560px);
  height: auto;
  filter: drop-shadow(0 34px 42px rgba(120, 53, 15, 0.2));
}

.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.float-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.chip-cloud {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.chip-1 {
  top: 9%;
  left: -2%;
}

.chip-2 {
  top: 24%;
  right: -3%;
}

.chip-3 {
  bottom: 9%;
  left: 8%;
}

.chip-4 {
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
}

.chip-5 {
  top: 43%;
  left: -5%;
}

.chip-6 {
  top: 43%;
  right: -5%;
}

.chip-7 {
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
}

.chip-8 {
  right: 16%;
  bottom: 22%;
}

/* ---------- 信任条 ---------- */
.trust {
  border-block: 1px solid var(--line);
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 20px 18px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.trust-item:first-child {
  border-left: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- 通用区块 ---------- */
.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.section-warm {
  background: var(--bg-warm);
}

.section-head {
  max-width: 700px;
  margin: 0 auto clamp(32px, 4.5vw, 52px);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.display-h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-head p:last-child {
  color: var(--muted);
  font-size: 1rem;
}

.section-note {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
}

/* ---------- 演示视频 ---------- */
.video-frame {
  max-width: 960px;
  margin: 0 auto;
}

.video-poster {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid #3b2a1c;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1c1917;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.video-poster > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.video-poster:hover > img {
  transform: scale(1.02);
}

.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  place-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, background 0.25s ease;
}

.play-btn svg {
  width: 26px;
  height: 26px;
  fill: var(--primary-dark);
  margin-left: 4px;
}

.video-poster:hover .play-btn {
  transform: scale(1.07);
  background: #fff;
}

.video-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.video-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 56px 32px 26px;
  text-align: left;
  background: linear-gradient(transparent, rgba(12, 10, 9, 0.78));
  color: #fff;
}

.video-title {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.video-sub {
  display: block;
  margin-top: 3px;
  color: #d6d3d1;
  font-size: 0.86rem;
}

.chapters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.chapters button {
  display:inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.chapters button:hover {
  border-color: var(--primary-line);
  background: var(--primary-soft);
  color: var(--primary-deep);
}

.chapters .time {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--primary-deep);
  background: var(--primary-soft);
  padding: 2px 7px;
  border-radius: 6px;
}

.chapters button:hover .time {
  background: #fff;
}

/* ---------- 功能 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.feature-card {
  padding: 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-line);
  box-shadow: var(--shadow-md);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border: 1px solid var(--primary-line);
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.icon-tile svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.feature-grid > .reveal:nth-child(3n + 2) {
  transition-delay: 0.06s;
}

.feature-grid > .reveal:nth-child(3n + 3) {
  transition-delay: 0.12s;
}

/* ---------- 连接教程 ---------- */
.switch-guide {
  max-width: 980px;
  margin: 48px auto 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #fffaf4);
  box-shadow: var(--shadow-sm);
}

.switch-head {
  max-width: 700px;
}

.switch-head .eyebrow {
  margin-bottom: 6px;
}

.switch-head h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.switch-head p {
  color: var(--muted);
  font-size: 0.92rem;
}

.switch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.switch-step {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.switch-step .step-num {
  margin-bottom: 10px;
}

.switch-step h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.switch-step > p {
  color: var(--muted);
  font-size: 0.88rem;
}

.switch-step figure {
  margin: 16px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.switch-step img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.switch-step figcaption {
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  background: #fffdfa;
  color: var(--muted);
  font-size: 0.74rem;
}

.switch-guide .step-hint {
  margin-top: 18px;
}

.guide-subhead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto 14px;
}

.guide-subhead strong {
  font-size: 1.08rem;
}

.guide-subhead span {
  color: var(--muted);
  font-size: 0.86rem;
}

.guide-tabs {
  display: flex;
  gap: 5px;
  max-width: 680px;
  margin: 0 auto 28px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.tab {
  flex: 1;
  padding: 11px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.2s ease;
}

.tab:hover {
  color: var(--primary-deep);
  background: var(--primary-soft);
}

.tab[aria-selected="true"] {
  background: linear-gradient(135deg, #c2410c, #9a3412);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(234, 88, 12, 0.85);
}

.tab[aria-selected="true"]:hover {
  color: #fff;
}

.guide-panel {
  max-width: 980px;
  margin: 0 auto;
}

.guide-panel[hidden] {
  display: none;
}

.guide-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
  padding: 15px 20px;
  border: 1px solid var(--primary-line);
  border-radius: 16px;
  background: var(--primary-soft);
  color: #9a3412;
  font-size: 0.9rem;
}

.guide-intro p {
  color: #7c2d12;
}

.guide-time {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-deep);
  font-size: 0.74rem;
  font-weight: 700;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  align-items: center;
  gap: clamp(24px, 4vw, 46px);
  padding: 36px 0;
  border-bottom: 1px dashed var(--line-strong);
}

.step:last-child {
  border-bottom: 0;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border: 1px solid var(--primary-line);
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 0.86rem;
  font-weight: 800;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.step-body > p {
  color: var(--muted);
  font-size: 0.94rem;
}

.step-hint {
  margin-top: 12px !important;
  padding: 8px 12px;
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  background: #fffaf4;
  color: #9a3412 !important;
  font-size: 0.84rem !important;
}

.step-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.step-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg-warm);
}

.step-media figcaption {
  padding: 9px 14px;
  border-top: 1px solid var(--line);
  background: #fffdfa;
  color: var(--muted);
  font-size: 0.76rem;
}

.step-media.is-phone {
  max-width: 300px;
  margin: 0 auto;
  padding: 8px;
  border-color: #1c1917;
  border-radius: 28px;
  background: #1c1917;
  box-shadow: 0 24px 46px -28px rgba(28, 25, 23, 0.7);
}

.step-media.is-phone img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 600px;
  margin: 0 auto;
  border-radius: 20px;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.step-media.is-phone figcaption {
  padding: 9px 6px 4px;
  border-top: 0;
  background: transparent;
  color: #d6d3d1;
  text-align: center;
}

.ios-part-title {
  margin: 42px 0 4px;
  font-size: 1.18rem;
}

.ios-part-title:first-of-type {
  margin-top: 22px;
}

.ios-part-lead {
  max-width: 790px;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.92rem;
}

.ios-fix {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.ios-fix details {
  padding: 0 20px;
}

.ios-fix summary {
  font-size: 0.94rem;
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 26px;
  padding: 17px 20px;
  border: 1px solid var(--primary-line);
  border-radius: 16px;
  background: #fff8ef;
  color: #7c2d12;
  font-size: 0.9rem;
}

.callout svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--primary-dark);
}

.callout strong {
  color: #9a3412;
}

.callout.is-warn {
  border-color: #fecaca;
  background: #fff5f5;
  color: #7f1d1d;
}

.callout.is-warn svg {
  color: #dc2626;
}

.app-guide {
  max-width: 980px;
  margin: 36px auto 0;
  padding-top: 30px;
  border-top: 1px dashed var(--line-strong);
}

.app-guide-head {
  max-width: 700px;
}

.app-guide-head .eyebrow {
  margin-bottom: 6px;
}

.app-guide-head h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.app-guide-head p {
  color: var(--muted);
  font-size: 0.9rem;
}

.app-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.app-step {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.app-media {
  order: -1;
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-warm);
}

.app-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.app-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  border: 1px solid var(--primary-line);
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 0.72rem;
  font-weight: 800;
}

.app-step h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.app-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.app-guide-note {
  padding: 24px;
  border: 1px solid var(--primary-line);
  border-radius: 20px;
  background: var(--primary-soft);
}

.app-guide-note h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.app-guide-note > p,
.app-guide-note .app-guide-head p {
  color: #7c2d12;
  font-size: 0.9rem;
}

.app-guide-note .app-guide-head h3 {
  color: #7c2d12;
}

.app-guide-note .step-hint {
  background: #fff;
}

kbd {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: #fff;
  color: #292524;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

/* ---------- 实拍图集 ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.shot {
  margin: 0;
}

.shot-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  cursor: zoom-in;
}

.shot-btn img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.shot-btn.is-contain {
  background: radial-gradient(circle at 50% 45%, #fff 0%, #fff5e9 70%, #ffe9d4 100%);
}

.shot-btn.is-contain img {
  object-fit: contain;
  padding: 8%;
}

.shot-btn:hover img {
  transform: scale(1.025);
}

.shot-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.68);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.shot-tag.is-pending {
  background: rgba(194, 65, 12, 0.94);
}

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

.shot figcaption strong {
  font-size: 0.92rem;
}

.shot figcaption span {
  color: var(--muted);
  font-size: 0.74rem;
  text-align: right;
}

.gallery > .reveal:nth-child(3n + 2) {
  transition-delay: 0.05s;
}

.gallery > .reveal:nth-child(3n + 3) {
  transition-delay: 0.1s;
}

/* ---------- 快捷键 ---------- */
.table-card {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.table-scroll {
  overflow-x: auto;
}

.shortcut-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.shortcut-table th {
  padding: 13px 24px;
  background: var(--primary-soft);
  color: #9a3412;
  text-align: left;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shortcut-table td {
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  vertical-align: middle;
}

.shortcut-table tbody tr:hover td {
  background: #fffaf4;
}

.shortcut-table td:first-child {
  font-weight: 600;
}

.keys-cell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.keys-cell .plus {
  color: var(--primary-deep);
  font-weight: 800;
  font-size: 0.78rem;
}

.keys-cell .text {
  color: var(--muted);
  font-size: 0.84rem;
}

/* ---------- 规格 ---------- */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 940px;
  margin: 0 auto;
}

.spec-card {
  padding: 10px 26px 16px;
}

.spec-card h3 {
  margin: 16px 0 6px;
  font-size: 1rem;
}

.spec-list {
  margin: 0;
}

.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row dt {
  flex: none;
  color: var(--muted);
  font-size: 0.88rem;
}

.spec-row dd {
  margin: 0;
  text-align: right;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- 下载 ---------- */
.download-section {
  padding: clamp(64px, 8vw, 104px) 0;
  border-block: 1px solid var(--primary-line);
  background:
    radial-gradient(circle at 10% 8%, rgba(249, 115, 22, 0.12), transparent 44%),
    radial-gradient(circle at 92% 88%, rgba(251, 146, 60, 0.1), transparent 40%),
    #fffaf4;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.download-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
}

.dl-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.dl-head > div {
  min-width: 0;
}

.dl-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-warm);
  color: var(--ink);
}

.dl-icon svg {
  width: 22px;
  height: 22px;
}

.dl-head h3 {
  font-size: 1.06rem;
}

.dl-head p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.dl-badge {
  flex: none;
  margin-left: auto;
  padding: 3px 9px;
  border: 1px solid var(--primary-line);
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 0.68rem;
  font-weight: 700;
}

.dl-badge.is-neutral {
  border-color: var(--line);
  background: #fafaf9;
  color: var(--muted);
}

.dl-meta {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.84rem;
}

.dl-meta li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.dl-meta svg {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--primary);
}

.download-card .btn {
  width: 100%;
  margin-top: auto;
}

.dl-guide-link {
  text-align: center;
  color: var(--primary-deep);
  font-size: 0.8rem;
  font-weight: 600;
}

.dl-guide-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-meta {
  margin-top: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
}

.download-meta a {
  color: var(--primary-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}

details {
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

details:hover {
  border-color: var(--primary-line);
}

details[open] {
  border-color: var(--primary-line);
  box-shadow: var(--shadow-sm);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.96rem;
  list-style: none;
}

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

summary::after {
  content: "+";
  flex: none;
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
  color: var(--primary-deep);
}

details p {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 0.9rem;
}

details p + p {
  margin-top: -6px;
}

details a {
  color: var(--primary-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 64px 0 28px;
  background: #171412;
  color: #d6d3d1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.9fr 1fr;
  gap: 40px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 0.87rem;
}

.footer-col h4 {
  margin-bottom: 14px;
  color: #a8a29e;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  color: #d6d3d1;
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: #fb923c;
}

.footer-qr {
  width: 132px;
  height: 132px;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
}

.footer-contact p {
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 0.78rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #a8a29e;
  font-size: 0.78rem;
}

/* ---------- 弹窗 ---------- */
dialog {
  max-width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: inherit;
  overflow: visible;
}

dialog::backdrop {
  background: rgba(20, 16, 13, 0.66);
  backdrop-filter: blur(6px);
}

.modal {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.4);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f4f1ed;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: #e9e3dc;
}

.video-modal {
  width: min(920px, calc(100vw - 24px));
  background: #0c0a09;
  color: #fafaf9;
}

.video-modal-body {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #0c0a09;
}

.video-modal video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.video-modal .modal-close {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.video-placeholder {
  max-width: 520px;
  padding: 40px;
  text-align: center;
}

.placeholder-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.12);
  color: #fb923c;
}

.placeholder-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  margin-left: 3px;
}

.video-placeholder h3 {
  margin-bottom: 8px;
  color: #fafaf9;
  font-size: 1.3rem;
}

.video-placeholder p {
  margin-bottom: 20px;
  color: var(--muted-2);
  font-size: 0.9rem;
}

.lightbox {
  width: auto;
  max-width: calc(100vw - 32px);
  padding: 14px;
  border-radius: 20px;
  background: #0c0a09;
  color: #fafaf9;
}

.lightbox img {
  max-width: min(100%, 920px);
  max-height: 78vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  object-fit: contain;
}

.lightbox p {
  margin: 12px 4px 2px;
  color: #d6d3d1;
  font-size: 0.82rem;
  text-align: center;
}

.lightbox .modal-close {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 79;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 14px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: #fffdfa;
    box-shadow: 0 30px 40px -30px rgba(28, 25, 23, 0.3);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.98rem;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .hero-stage {
    max-width: 460px;
    margin: 0 auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-card:last-child {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .footer-contact h4 {
    margin: 0;
  }

  .footer-contact p {
    margin: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 62px;
  }

  .container {
    width: min(calc(100% - 36px), var(--max));
  }

  .hero {
    padding-top: 40px;
  }

  .hero h1 {
    letter-spacing: -0.04em;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-stage {
    max-width: 360px;
    border-radius: 32px;
  }

  .hero-stage {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    padding: 22px 14px 18px;
  }

  .hero-stage::before {
    inset: 9% 12% 40%;
  }

  .hero-stage img {
    width: 88%;
  }

  .chip-cloud {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
  }

  .float-chip {
    position: static;
    transform: none;
    padding: 5px 10px;
    font-size: 0.68rem;
  }

  .chip-1 {
    left: 0;
  }

  .chip-2 {
    right: 0;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-item:nth-child(-n + 2) {
    border-top: 0;
  }

  .trust-item:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .video-overlay {
    padding: 38px 18px 16px;
  }

  .video-title {
    font-size: 0.95rem;
  }

  .video-sub {
    font-size: 0.76rem;
  }

  .video-badge {
    top: 12px;
    right: 12px;
  }

  .play-btn {
    width: 64px;
    height: 64px;
  }

  .play-btn svg {
    width: 20px;
    height: 20px;
  }

  .chapters {
    gap: 6px;
  }

  .chapters button {
    padding: 7px 11px;
    font-size: 0.78rem;
  }

  .guide-tabs {
    justify-content: flex-start;
    max-width: 100%;
    overflow-x: auto;
    border-radius: 16px;
    scrollbar-width: none;
  }

  .switch-guide {
    padding: 22px 18px;
    margin: 32px auto 0;
  }

  .switch-grid,
  .app-steps {
    grid-template-columns: 1fr;
  }

  .guide-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    flex: none;
    padding: 9px 6px;
    font-size: 0.74rem;
  }

  .guide-intro {
    align-items: flex-start;
    padding: 13px 16px;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 0;
  }

  .step-media {
    order: -1;
  }

  .step h3 {
    font-size: 1.15rem;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .feature-grid,
  .gallery,
  .download-grid {
    grid-template-columns: 1fr;
  }

  /* 快捷键表格在手机上改为堆叠行，避免横向滚动 */
  .table-scroll {
    overflow: visible;
  }

  .shortcut-table {
    min-width: 0;
  }

  .shortcut-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .shortcut-table,
  .shortcut-table tbody,
  .shortcut-table tr,
  .shortcut-table td {
    display: block;
  }

  .shortcut-table tbody tr {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 6px;
    padding: 13px 16px;
    border-top: 1px solid var(--line);
  }

  .shortcut-table tbody tr:first-child {
    border-top: 0;
  }

  .shortcut-table td {
    padding: 0;
    border: 0;
  }

  .shortcut-table td:first-child {
    font-size: 0.88rem;
  }

  .shortcut-table tbody tr:hover td {
    background: transparent;
  }

  .keys-cell {
    justify-content: flex-start;
    text-align: left;
  }

  .download-card:last-child {
    grid-column: auto;
  }

  .cta-row .btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .hero-stage {
    max-width: 320px;
  }

  .section-head {
    text-align: left;
  }

  .section-head .eyebrow::before {
    display: none;
  }

  .video-title {
    max-width: 82%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .gradient-text {
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }

  .btn-primary {
    border: 1px solid ButtonText;
  }
}

@media print {
  .site-header,
  .video-frame,
  .chapters,
  dialog {
    display: none !important;
  }

  .section {
    padding: 24px 0;
  }

  body {
    padding: 0;
  }
}

/* ---------- 透明抠图（开关键、权限弹窗） ----------
   这类素材自带透明通道：不铺卡片底色、不投影，让页面背景直接透出来；
   同时不锁 16:10，按图片原比例居中显示。 */
.step-media.is-cutout,
.app-media.is-cutout,
.switch-step figure.is-cutout {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.step-media.is-cutout img,
.app-media.is-cutout img,
.switch-step figure.is-cutout img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 560px;
  margin: 0 auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
}

.app-media.is-cutout img {
  max-height: 360px;
}

.switch-step figure.is-cutout img {
  max-height: 440px;
}

.step-media.is-cutout figcaption,
.switch-step figure.is-cutout figcaption {
  border-top: 0;
  background: transparent;
  text-align: center;
}



@media (max-width: 380px) {
  .dl-head {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: start;
    column-gap: 13px;
    row-gap: 8px;
  }

  .dl-icon {
    grid-column: 1;
    grid-row: 1;
  }

  .dl-head > div {
    grid-column: 2;
    grid-row: 1;
  }

  .dl-badge {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-left: 0;
  }
}
