/* ==========================================================================
   PureMac — 全站样式
   配色提取自官方 logo（复古 Mac 图标）：
   青蓝 #0EA5E9（屏幕发光区） / 深青 #086F66（净化） / 金 #F5B301（星） / 米白 #F7F5F0
   兼容 Chromium 86：不使用 :has()、container queries、nesting、color-mix()
   ========================================================================== */

:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-deep: #0369a1;
  --teal: #086f66;
  --teal-light: #e7f1ed;
  --gold: #f5b301;
  --gold-light: #fff7db;

  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #1c1917;
  --ink-2: #44403c;
  --muted: #57534e;
  --line: #e7e5e4;
  --line-2: #d6d3d1;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.06), 0 1px 3px rgba(28, 25, 23, 0.08);
  --shadow: 0 8px 24px rgba(28, 25, 23, 0.08), 0 2px 6px rgba(28, 25, 23, 0.04);
  --shadow-lg: 0 24px 60px rgba(28, 25, 23, 0.16);

  --container: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
button { outline: none } 
/* ---------- 深色模式（跟随系统） ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121417;
    --surface: #1b1e23;
    --ink: #f1efec;
    --ink-2: #d4d0cb;
    --muted: #a8a29e;
    --line: #2a2e35;
    --line-2: #3a3f47;
    --teal-light: #14302c;
    --gold-light: #3a2f0c;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  }
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }
img { max-height: none; }

a { color: var(--primary-dark); text-decoration: none; }
a:hover { color: var(--primary-deep); }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: 0.35em; }

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--teal-light);
  color: var(--teal);
  padding: 0.15em 0.45em;
  border-radius: 6px;
}

button { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  z-index: 1000;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.text-center { text-align: center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); color: #fff; }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
}
.btn--primary:hover { background: var(--primary-dark); box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { background: var(--surface); border-color: var(--primary); color: var(--primary-dark); }

.btn--dark {
  background: var(--ink);
  color: var(--bg);
}
.btn--dark:hover { background: var(--ink-2); color: var(--bg); }

.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.icon {
  width: 1.15em; height: 1.15em;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
@media (prefers-color-scheme: dark) {
  .site-header { background: rgba(18, 20, 23, 0.8); }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--teal-light); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--primary-dark); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-toggle .icon { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 0.85rem 1rem; font-size: 1rem; }
  .nav-links .nav-links__cta { display: block; margin-top: 8px; }
  .nav-links .nav-links__cta .btn { display: inline-flex; width: 100%; }
}
.nav-links__cta { display: none; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 72px;
  background: linear-gradient(160deg, #ffffff 0%, #f0f9ff 45%, #ecfdf5 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 45% at 15% 5%, rgba(14, 165, 233, 0.22), transparent 60%),
    radial-gradient(40% 40% at 85% 25%, rgba(16, 185, 129, 0.18), transparent 60%),
    radial-gradient(28% 28% at 70% 95%, rgba(245, 179, 1, 0.2), transparent 60%),
    radial-gradient(25% 25% at 40% 80%, rgba(56, 189, 248, 0.12), transparent 60%);
  pointer-events: none;
}
/* 细网格纹理，增加"干净、有秩序"的科技感 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 100%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
@media (prefers-color-scheme: dark) {
  .hero { background: linear-gradient(160deg, #121417 0%, #0c1a24 50%, #0e1c1a 100%); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.4rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0369a1;
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero-badge .icon { width: 16px; height: 16px; color: #f5b301; fill: #f5b301; stroke: #f5b301; }
.hero-badge strong { color: var(--ink); font-weight: 700; }
@media (prefers-color-scheme: dark) {
  .hero-badge { background: rgba(14, 165, 233, 0.18); color: #7dd3fc; border-color: rgba(14, 165, 233, 0.35); }
  .hero-badge strong { color: var(--ink); }
}

.hero h1 { margin-bottom: 20px; font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.hero h1 .h1-sub { font-size: 0.82em; color: var(--muted); font-weight: 600; }
.hero h1 .accent {
  color: transparent;
  background: linear-gradient(90deg, #0ea5e9 0%, #086f66 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
@media (prefers-color-scheme: dark) {
  .hero h1 .accent { background: linear-gradient(90deg, #38bdf8 0%, #34d399 100%); -webkit-background-clip: text; background-clip: text; }
}
.hero .lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero .btn-group { margin-bottom: 36px; }
.hero .btn--primary {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 60%, #0891b2 100%);
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.45);
}
.hero .btn--primary:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 60%, #0369a1 100%);
  box-shadow: 0 14px 34px rgba(14, 165, 233, 0.55);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  font-size: 0.875rem;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .icon { width: 16px; height: 16px; color: var(--primary-dark); }

/* Hero 右侧：真实应用截图 */
.hero-visual {
  position: relative;
  padding-top: 18px;
}
.hero-shot {
  margin: 0;
  position: relative;
  border-radius: 18px;
  background: var(--surface);
  box-shadow:
    0 0 0 1px rgba(14, 165, 233, 0.18),
    0 30px 80px rgba(14, 165, 233, 0.25),
    0 12px 30px rgba(28, 25, 23, 0.12);
  overflow: hidden;
}
.hero-shot picture { display: block; }
.hero-shot img {
  width: 100%;
  height: auto;
  display: block;
}
@media (prefers-color-scheme: dark) {
  .hero-shot {
    box-shadow:
      0 0 0 1px rgba(56, 189, 248, 0.25),
      0 30px 80px rgba(0, 0, 0, 0.6),
      0 0 60px rgba(14, 165, 233, 0.12);
  }
}

.hero-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.18), 0 2px 6px rgba(28, 25, 23, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-float .icon { width: 18px; height: 18px; color: var(--teal); }
@media (prefers-color-scheme: dark) {
  .hero-float { background: rgba(27, 30, 35, 0.9); }
}
.hero-float--bl { bottom: 36px; left: -24px; }
.hero-float--br { bottom: -16px; right: -12px; }
.hero-float--br .icon { color: var(--gold); }

@media (max-width: 960px) {
  .hero { padding: 56px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero .lead { max-width: none; }
  .hero-float--bl { left: -8px; }
  .hero-float--br { right: -8px; }
}
@media (max-width: 520px) {
  .hero-float { display: none; }
  .hero-shot { border-radius: 14px; }
}

/* macOS 红绿灯（供指南页系统设置示意图使用） */
.app-window__dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.app-window__dot--r { background: #ff5f57; }
.app-window__dot--y { background: #febc2e; }
.app-window__dot--g { background: #28c840; }

/* 透明边界区块的删除行为列表（首页） */
.scan-list { display: flex; flex-direction: column; gap: 10px; }
.scan-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}
.scan-row .icon-box {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-light);
  color: var(--teal);
}
.scan-row .icon-box--blue { background: rgba(14, 165, 233, 0.12); color: var(--primary-dark); }
.scan-row .icon-box--gold { background: var(--gold-light); color: #a16207; }
.scan-row .icon { width: 18px; height: 18px; }
.scan-row strong { display: block; font-size: 0.9rem; font-weight: 600; }
.scan-row small { font-size: 0.75rem; color: var(--muted); display: block; }
.scan-row .size {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

/* ---------- 信任条 ---------- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.trust .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
}
.trust-item .icon { width: 22px; height: 22px; color: var(--teal); flex: none; }
@media (max-width: 860px) {
  .trust .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .trust .container { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- 场景卡片 ---------- */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.scene-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.scene-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.scene-card .icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-light);
  color: var(--teal);
  margin-bottom: 18px;
}
.scene-card .icon-wrap--blue { background: rgba(14, 165, 233, 0.12); color: var(--primary-dark); }
.scene-card .icon-wrap--gold { background: var(--gold-light); color: #a16207; }
.scene-card .icon { width: 24px; height: 24px; }
.scene-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.scene-card p { font-size: 0.95rem; color: var(--muted); margin-bottom: 0; }
.scene-card .scene-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
@media (max-width: 900px) { .scene-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .scene-grid { grid-template-columns: 1fr; } }

/* ---------- 特性网格 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}
.feature .icon {
  width: 26px; height: 26px;
  color: var(--primary-dark);
  margin-bottom: 14px;
}
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { font-size: 0.92rem; color: var(--muted); margin-bottom: 0; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- 对比 / 两栏图文 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse .split__media { order: -1; }
.split h2 { margin-bottom: 16px; }
.split p { color: var(--muted); }
.split ul { list-style: none; padding: 0; margin: 20px 0 0; }
.split li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: var(--ink-2);
}
.split li .icon { width: 20px; height: 20px; color: var(--teal); margin-top: 3px; flex: none; }
@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
}

/* 媒体展示块 */
.media {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.media--flat { box-shadow: none; }
.media-title { font-size: 0.8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }

/* 存储条形图 */
.bar-list { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 0.9rem; }
.bar-row .bar-label { font-weight: 600; }
.bar-row .bar-size { font-family: var(--mono); font-size: 0.85rem; color: var(--muted); }
.bar-track {
  grid-column: 1 / -1;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.bar-fill { height: 100%; border-radius: 999px; background: var(--primary); }
.bar-fill--teal { background: var(--teal); }
.bar-fill--gold { background: var(--gold); }
.bar-fill--gray { background: var(--line-2); }

/* 步骤 */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.92rem; color: var(--muted); margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 对比表 ---------- */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 0.95rem;
}
.compare-table th, .compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th {
  background: var(--bg);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { font-weight: 600; }
.compare-table .col-puremac { color: var(--primary-dark); }
.compare-table .yes { color: var(--teal); font-weight: 700; }
.compare-table .no { color: var(--muted); }
.compare-table .icon { width: 18px; height: 18px; vertical-align: -3px; }
.table-wrap { overflow-x: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 0 22px;
  transition: border-color 0.2s;
}
.faq details[open] { border-color: var(--primary); }
.faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary-dark);
  line-height: 1;
  flex: none;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 0 20px; color: var(--muted); font-size: 0.95rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 55%, var(--teal) 100%);
  color: #fff;
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 50% 0%, rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: rgba(255, 255, 255, 0.9); max-width: 560px; margin: 0 auto 28px; }
.cta .btn--light {
  background: #fff;
  color: var(--primary-deep);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.cta .btn--light:hover { background: #f0f9ff; color: var(--primary-deep); }
.cta .cta-note { font-size: 0.8rem; margin: 16px 0 0; color: rgba(255, 255, 255, 0.75); }

/* ---------- 下载中心 ---------- */
.dl-hero {
  padding: 64px 0 40px;
  text-align: center;
}
.dl-hero h1 { margin-bottom: 16px; }
.dl-hero p { color: var(--muted); max-width: 600px; margin: 0 auto 28px; font-size: 1.1rem; }

.dl-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .dl-grid { grid-template-columns: 1fr; } }

.dl-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.dl-card h2 { font-size: 1.4rem; }
.dl-card .dl-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; }

.dl-main {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  margin-bottom: 20px;
}
.dl-main img { width: 88px; height: 88px; border-radius: 20px; flex: none; }
.dl-main h3 { font-size: 1.2rem; margin-bottom: 4px; }
.dl-main .dl-meta { font-size: 0.85rem; color: var(--muted); margin: 0 0 12px; }
@media (max-width: 520px) { .dl-main { flex-direction: column; text-align: center; } .dl-main .btn-group { justify-content: center; } }

.dl-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  font-size: 0.9rem;
  margin-top: 24px;
}
.dl-specs div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); }
.dl-specs dt { color: var(--muted); }
.dl-specs dd { margin: 0; font-weight: 600; font-family: var(--mono); font-size: 0.85rem; }
@media (max-width: 520px) { .dl-specs { grid-template-columns: 1fr; } }

.terminal {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: var(--radius);
  padding: 18px 20px;
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.8;
  overflow-x: auto;
}
.terminal .prompt { color: #38bdf8; }
.terminal .cmnt { color: #64748b; }
.terminal code { background: transparent; color: inherit; padding: 0; }

.dl-notes { font-size: 0.9rem; color: var(--muted); }
.dl-notes ul { padding-left: 1.2em; }

.hash-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.hash-box code { flex: 1; overflow-x: auto; white-space: nowrap; font-size: 0.8rem; background: var(--bg); border: 1px solid var(--line); }
.hash-box .dl-notes { flex: 1; min-width: 0; }
.copy-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.copy-btn:hover { border-color: var(--primary); color: var(--primary-dark); }
.copy-btn .icon { width: 14px; height: 14px; }

/* ---------- 文章 / 指南 ---------- */
.page-hero {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { color: var(--muted); font-size: 1.05rem; max-width: 680px; margin-bottom: 0; }
.breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary-dark); }

.article-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  padding: 48px 0 80px;
}
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; gap: 24px; padding: 32px 0 56px; } }

.toc {
  position: sticky;
  top: 88px;
  align-self: start;
  font-size: 0.9rem;
}
.toc strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 6px 14px; color: var(--muted); border-left: 2px solid transparent; margin-left: -2px; }
.toc li a:hover { color: var(--primary-dark); border-color: var(--primary); }
@media (max-width: 900px) {
  .toc { position: static; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
  .toc ol { border-left: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; }
  .toc li a { padding: 2px 0; margin-left: 0; border-left: 0; }
}

.article { max-width: 760px; }
.article h2 {
  font-size: 1.6rem;
  margin-top: 48px;
  padding-top: 8px;
  scroll-margin-top: 88px;
}
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 1.2rem; margin-top: 32px; scroll-margin-top: 88px; }
.article p, .article li { color: var(--ink-2); }
.article img { border-radius: var(--radius); border: 1px solid var(--line); margin: 24px 0; }
.article .figure { margin: 28px 0; }
.article .figure figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 10px; text-align: center; }

.callout {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--teal-light);
  border: 1px solid transparent;
  border-left: 4px solid var(--teal);
  margin: 24px 0;
  font-size: 0.95rem;
}
.callout .icon { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 2px; }
.callout p { margin: 0; }
.callout strong { color: var(--teal); }
.callout--warn { background: var(--gold-light); border-left-color: var(--gold); }
.callout--warn .icon, .callout--warn strong { color: #a16207; }
.callout--info { background: rgba(14, 165, 233, 0.08); border-left-color: var(--primary); }
.callout--info .icon, .callout--info strong { color: var(--primary-dark); }

/* 系统设置步骤示意图 */
.settings-window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
}
.settings-window .sw-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg);
  color: var(--muted); font-size: 0.75rem;
}
.settings-window .sw-body { padding: 16px 20px; }
.sw-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 8px;
}
.sw-row.is-on { background: var(--teal-light); }
.sw-row .icon { width: 18px; height: 18px; color: var(--muted); flex: none; }
.sw-row.is-on .icon { color: var(--teal); }
.sw-row span { flex: 1; }
.sw-toggle {
  width: 38px; height: 22px; border-radius: 999px;
  background: var(--line-2); position: relative; flex: none;
}
.sw-toggle::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.sw-toggle.on { background: #28c840; }
.sw-toggle.on::after { left: 18px; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 56px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { font-size: 0.9rem; color: var(--muted); margin-top: 14px; max-width: 320px; }
.footer-col strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 0.92rem; color: var(--ink-2); }
.footer-col a:hover { color: var(--primary-dark); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--primary-dark); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- 下载弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 36px 36px 32px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  animation: modalIn 0.25s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 520px) { .modal__dialog { padding: 28px 22px 24px; } }

.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.modal__close:hover { background: var(--bg); color: var(--ink); }
.modal__close .icon { width: 18px; height: 18px; }

.modal__head { text-align: center; margin-bottom: 28px; }
.modal__head img { width: 64px; height: 64px; border-radius: 14px; margin: 0 auto 16px; }
.modal__head h2, .modal__head .modal__title { font-size: 1.4rem; margin: 0 0 6px; font-weight: 700; line-height: 1.3; }
.modal__head p { color: var(--muted); font-size: 0.92rem; margin: 0; }

.qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 420px) { .qr-grid { grid-template-columns: 1fr; } }

.qr-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
  text-align: center;
}
.qr-img {
  width: 160px;
  height: 160px;
  display: block;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}
.qr-slot strong { font-size: 0.95rem; }
.qr-slot small { font-size: 0.78rem; color: var(--muted); }

.modal__foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}
.modal__foot p { margin: 0; }
.modal__foot a { color: var(--primary-dark); font-weight: 600; }

body.modal-open { overflow: hidden; }

/* ---------- 动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .modal__dialog { animation: none; }
  .btn, .scene-card { transition: none; }
}

/* ---------- 打印 ---------- */
@media print {
  .site-header, .site-footer, .cta, .nav-toggle, .modal { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}
