/* ==========================================================================
   NovaForge — 官方下载站设计系统
   取向：大字号排版 + 渐变光晕底纹 + 液态玻璃卡片 + 克制的滚动动效
   纯静态、自包含，不引用任何外部字体或 CDN
   断点：640 / 820 / 900 / 1080
   ========================================================================== */

:root {
  color-scheme: light dark;

  /* 品牌 */
  --brand: #008a7f;
  --brand-strong: #006b62;
  --brand-light: #12b3a3;
  --brand-soft: rgba(0, 138, 127, .10);
  --accent: #0c93a6;

  /* 文本与底色 */
  --ink: #0a1614;
  --ink-2: #41544f;
  --muted: #788b86;
  --bg: #f7faf9;
  --bg-2: #edf4f2;
  --surface: rgba(255, 255, 255, .74);
  --surface-solid: #ffffff;
  --surface-2: #f0f6f4;
  --surface-3: #e4edea;
  --window-bg: rgba(255, 255, 255, .88);
  --mock-side: rgba(240, 247, 245, .72);

  /* 线条与阴影 */
  --line: rgba(12, 40, 34, .09);
  --line-strong: rgba(12, 40, 34, .17);
  --glass-border: rgba(255, 255, 255, .66);
  --glass-line: rgba(12, 40, 34, .08);
  --glass-sheen: rgba(255, 255, 255, .8);
  --ring: rgba(0, 138, 127, .26);

  --shadow-sm: 0 1px 2px rgba(8, 30, 26, .05);
  --shadow: 0 14px 38px -16px rgba(8, 30, 26, .22), 0 2px 8px rgba(8, 30, 26, .05);
  --shadow-lg: 0 40px 90px -30px rgba(8, 30, 26, .34), 0 10px 28px rgba(8, 30, 26, .08);

  /* 按钮 */
  --btn-bg: #008a7f;
  --btn-bg-hover: #006b62;
  --btn-glow: rgba(0, 138, 127, .28);

  /* 尺寸 */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --wrap: 1160px;
  --gutter: 24px;
  --topbar-h: 66px;
  --hero-glow: rgba(0, 179, 164, .22);

  /* 缓动 */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Liberation Mono", monospace;

  /* 代码高亮 */
  --code-k: #0b7285;
  --code-s: #b45309;
  --code-f: #6d43c8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #37d9c7;
    --brand-strong: #6ce8da;
    --brand-light: #8af2e4;
    --brand-soft: rgba(55, 217, 199, .12);
    --accent: #45c6dd;

    --ink: #e9f4f1;
    --ink-2: #a4b8b3;
    --muted: #7c908b;
    --bg: #060c0b;
    --bg-2: #0a1312;
    --surface: rgba(20, 31, 29, .62);
    --surface-solid: #0f1917;
    --surface-2: #131f1d;
    --surface-3: #1a2826;
    --window-bg: rgba(14, 24, 22, .9);
    --mock-side: rgba(12, 22, 20, .7);

    --line: rgba(255, 255, 255, .08);
    --line-strong: rgba(255, 255, 255, .17);
    --glass-border: rgba(255, 255, 255, .12);
    --glass-line: rgba(255, 255, 255, .075);
    --glass-sheen: rgba(255, 255, 255, .22);
    --ring: rgba(55, 217, 199, .3);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow: 0 18px 44px -18px rgba(0, 0, 0, .7), 0 2px 10px rgba(0, 0, 0, .35);
    --shadow-lg: 0 44px 100px -30px rgba(0, 0, 0, .85), 0 12px 32px rgba(0, 0, 0, .45);

    --btn-bg: #0e8f83;
    --btn-bg-hover: #12a396;
    --btn-glow: rgba(18, 163, 150, .3);

    --hero-glow: rgba(45, 212, 191, .16);

    --code-k: #5eead4;
    --code-s: #fbbf24;
    --code-f: #c4b5fd;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- 背景：光晕 + 细网格 ---------- */
body::before {
  content: "";
  position: fixed;
  inset: -18vmax;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(40vmax 40vmax at 8% 0%, rgba(0, 179, 164, .20), transparent 62%),
    radial-gradient(34vmax 34vmax at 92% 4%, rgba(12, 147, 166, .16), transparent 60%),
    radial-gradient(46vmax 46vmax at 84% 86%, rgba(94, 124, 224, .12), transparent 66%),
    radial-gradient(34vmax 34vmax at 10% 92%, rgba(0, 138, 127, .14), transparent 64%);
  filter: blur(10px);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 85% 62% at 50% 0%, #000 12%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 62% at 50% 0%, #000 12%, transparent 78%);
  opacity: .55;
}

@media (prefers-color-scheme: dark) {
  body::before {
    background:
      radial-gradient(40vmax 40vmax at 8% 0%, rgba(0, 179, 164, .20), transparent 62%),
      radial-gradient(34vmax 34vmax at 92% 4%, rgba(45, 198, 221, .13), transparent 60%),
      radial-gradient(48vmax 48vmax at 84% 86%, rgba(76, 92, 220, .18), transparent 66%),
      radial-gradient(34vmax 34vmax at 10% 92%, rgba(0, 138, 127, .18), transparent 64%);
  }
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.16;
  letter-spacing: -.028em;
  font-weight: 700;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, dl, dd, dt { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }

code {
  font-family: var(--font-mono);
  font-size: .82em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 1px 6px;
  word-break: break-all;
}

svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: var(--brand-soft); color: var(--ink); }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow { max-width: 800px; }

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease),
              box-shadow .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-lg svg { width: 19px; height: 19px; }
.btn-sm { padding: 8px 18px; font-size: 13.5px; }
.btn:active { transform: scale(.98); }

.btn-primary {
  background: linear-gradient(180deg, var(--btn-bg), var(--btn-bg-hover));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 24px -8px var(--btn-glow), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -10px var(--btn-glow), inset 0 1px 0 rgba(255, 255, 255, .34);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

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

.btn-soft {
  background: var(--brand-soft);
  border-color: transparent;
  color: var(--brand);
}
.btn-soft:hover { background: var(--ring); }

/* ==========================================================================
   顶栏
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--surface);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.topbar.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -22px rgba(8, 30, 26, .5);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--topbar-h);
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-badge {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--brand-light), var(--brand) 55%, var(--brand-strong));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 6px 16px -6px var(--btn-glow), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.brand-name { font-size: 16.5px; font-weight: 700; letter-spacing: -.015em; }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 14px;
}
.nav a {
  position: relative;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  transition: color .16s var(--ease), background .16s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }

.topbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.lang-toggle {
  min-width: 46px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease);
}
.lang-toggle:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 34px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 1.6px; background: var(--ink); border-radius: 2px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(52px, 7.6vw, 100px) 0 clamp(48px, 6.4vw, 76px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -52%;
  left: 50%;
  width: min(1180px, 130vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--hero-glow), transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: 40px 56px;
}

.hero-copy { min-width: 0; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 12.5px;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.pill .dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
  animation: pulseDot 2.6s var(--ease) infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px var(--brand-soft); }
  50% { box-shadow: 0 0 0 6px rgba(0, 179, 164, .06); }
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 800;
}

.lede {
  max-width: 33em;
  margin-top: 20px;
  font-size: clamp(15.5px, 1.45vw, 17px);
  line-height: 1.78;
  color: var(--ink-2);
}
.lede b { color: var(--ink); font-weight: 650; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  min-height: 20px;
}
.hero-note b { color: var(--ink-2); font-weight: 600; }

.hero-meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-top: clamp(26px, 4vw, 46px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-meta > div { padding: 0 26px; }
.hero-meta > div:first-child { padding-left: 0; }
.hero-meta > div + div { border-left: 1px solid var(--line); }
.hero-meta dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta dd {
  margin-top: 7px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
}

/* ---------- Hero 产品预览（纯 CSS/SVG 绘制） ---------- */
.hero-visual {
  position: relative;
  min-width: 0;
  perspective: 1200px;
}

.mock-window {
  position: relative;
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  background: var(--window-bg);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  backdrop-filter: blur(26px) saturate(160%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-sheen);
  overflow: hidden;
  transform: rotate(-1.4deg);
  transition: transform .5s var(--ease-out);
  animation: mockIn .9s var(--ease-out) both;
}
.hero-visual:hover .mock-window { transform: rotate(0deg) translateY(-4px); }

@keyframes mockIn {
  from { opacity: 0; transform: translateY(22px) rotate(-3deg) scale(.98); }
  to { opacity: 1; transform: rotate(-1.4deg); }
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid var(--glass-line);
}
.mock-dots { display: flex; gap: 6px; flex: none; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); }
.mock-dots i:nth-child(1) { background: rgba(255, 95, 87, .75); }
.mock-dots i:nth-child(2) { background: rgba(254, 188, 46, .75); }
.mock-dots i:nth-child(3) { background: rgba(40, 200, 64, .7); }
.mock-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-badge {
  margin-left: auto;
  flex: none;
  padding: 3px 9px;
  border: 1px solid var(--ring);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .12em;
}

.mock-body {
  display: grid;
  grid-template-columns: 146px minmax(0, 1fr);
}
.mock-side {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 10px 16px;
  border-right: 1px solid var(--glass-line);
  background: var(--mock-side);
}
.mock-side-title {
  margin: 8px 0 4px;
  padding: 0 7px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--muted);
  opacity: .8;
}
.mock-side-title:first-child { margin-top: 2px; }
.mock-file {
  padding: 4px 7px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-file.is-active { background: var(--brand-soft); color: var(--brand); }

.mock-main { padding: 13px 16px 15px; min-width: 0; }
.mock-tabs {
  display: flex;
  gap: 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--glass-line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
}
.mock-tabs .is-active { color: var(--ink); border-bottom: 1.5px solid var(--brand); padding-bottom: 8px; margin-bottom: -9px; }

.mock-code {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-family: var(--font-mono);
  font-size: 10.8px;
  line-height: 1.85;
  color: var(--ink-2);
  overflow: hidden;
}
.mock-line { display: flex; gap: 8px; white-space: nowrap; }
.mock-line .ln { width: 1.5em; flex: none; text-align: right; color: var(--muted); opacity: .55; }
.mock-code .k { color: var(--code-k); }
.mock-code .s { color: var(--code-s); }
.mock-code .f { color: var(--code-f); }
.mock-code .n { color: var(--brand); }

.mock-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}
.mock-status-left { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.status-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .16);
}
.mock-progress {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}
.mock-progress i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-light), var(--brand));
}
.mock-status-right { color: var(--brand); font-weight: 700; }

.mock-terminal {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 11px;
  padding: 9px 12px;
  border: 1px solid var(--glass-line);
  border-radius: 10px;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-2);
}
.mock-terminal span:first-child { color: var(--brand); }

.mock-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--window-bg);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.mock-float b {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 9px;
  font-weight: 800;
}
.mock-float .mock-float-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .14);
}
.mock-float-a { top: 7%; right: -14px; animation: bob 7s ease-in-out infinite; }
.mock-float-b { bottom: 3%; left: -22px; animation: bob 9s ease-in-out infinite reverse; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   区块
   ========================================================================== */
.section { padding: clamp(56px, 7vw, 92px) 0; }
.section-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.section-head { max-width: 700px; margin-bottom: clamp(28px, 3.6vw, 44px); }
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -.035em;
  font-weight: 750;
}
.section-head p {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

/* ==========================================================================
   下载
   ========================================================================== */
.dl-group + .dl-group { margin-top: clamp(36px, 4.4vw, 54px); }

.dl-group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.dl-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
}

.dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow: var(--shadow), inset 0 1px 0 var(--glass-sheen);
  overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.dl-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--glass-sheen), transparent);
}
.dl-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-sheen);
}
.dl-card.is-current {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand-soft), 0 0 0 6px rgba(0, 179, 164, .05), var(--shadow);
}
.dl-card.is-current:hover {
  box-shadow: 0 0 0 2px var(--brand-soft), 0 0 0 6px rgba(0, 179, 164, .07), var(--shadow-lg);
}

.dl-card-head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 20px 20px 16px;
}
.dl-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  padding: 10px;
  border-radius: 13px;
  background: var(--surface-2);
  border: 1px solid var(--glass-line);
  color: var(--ink);
}
.dl-card-title { flex: 1; min-width: 0; }
.dl-card-title h4 { font-size: 16.5px; letter-spacing: -.02em; }
.dl-card-title p { margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.5; }

/* 平台图标着色 */
.dl-card[data-platform="windows"] .dl-ico { color: #0b79d0; background: rgba(11, 121, 208, .10); }
.dl-card[data-platform="macos"] .dl-ico   { color: #6e6e73; background: rgba(110, 110, 115, .12); }
.dl-card[data-platform="linux"] .dl-ico   { color: #d98200; background: rgba(217, 130, 0, .12); }
.dl-card[data-platform="android"] .dl-ico { color: #1a9b58; background: rgba(26, 155, 88, .12); }
.dl-card[data-platform="ios"] .dl-ico     { color: #78788a; background: rgba(120, 120, 138, .12); }
.dl-card[data-platform="harmony"] .dl-ico { color: #e03131; background: rgba(224, 49, 49, .10); }
.dl-card[data-platform="web"] .dl-ico     { color: #0c8599; background: rgba(12, 133, 153, .12); }
.dl-card[data-platform="weapp"] .dl-ico   { color: #07a35a; background: rgba(7, 163, 90, .12); }

@media (prefers-color-scheme: dark) {
  .dl-card[data-platform="windows"] .dl-ico { color: #62b6ff; }
  .dl-card[data-platform="macos"] .dl-ico   { color: #b9b9c4; }
  .dl-card[data-platform="linux"] .dl-ico   { color: #f5ae3c; }
  .dl-card[data-platform="android"] .dl-ico { color: #3ddc84; }
  .dl-card[data-platform="ios"] .dl-ico     { color: #c3c3d0; }
  .dl-card[data-platform="harmony"] .dl-ico { color: #ff6b6b; }
  .dl-card[data-platform="web"] .dl-ico     { color: #45c6dd; }
  .dl-card[data-platform="weapp"] .dl-ico   { color: #2bd47d; }
}

.dl-badge {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--glass-line);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.dl-badge-ok { background: var(--brand-soft); border-color: transparent; color: var(--brand); }
.dl-badge.wait { background: transparent; border: 1px dashed var(--line-strong); color: var(--muted); }

/* 文件行 */
.dl-files { border-top: 1px solid var(--glass-line); }
.dl-files li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  transition: background .16s var(--ease);
}
.dl-files li + li { border-top: 1px solid var(--glass-line); }
.dl-files li:hover { background: rgba(0, 138, 127, .035); }

.f-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.f-name { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.f-meta { font-size: 11.5px; color: var(--muted); }
.f-size::before { content: " · "; }
.f-size:empty::before { content: ""; }

/* 折叠说明 */
.dl-note { margin-top: auto; border-top: 1px solid var(--glass-line); }
.dl-note > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color .16s var(--ease), background .16s var(--ease);
}
.dl-note > summary::-webkit-details-marker { display: none; }
.dl-note > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: auto;
  flex: none;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .22s var(--ease);
}
.dl-note[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.dl-note > summary:hover { color: var(--ink); background: var(--surface-2); }

.dl-note-body {
  padding: 2px 20px 18px;
  font-size: 12px;
  line-height: 1.72;
  color: var(--ink-2);
}
.dl-note-body p + p { margin-top: 9px; }

.hash-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
}
.hash-line code { font-size: 10.5px; padding: 1px 5px; }

.copy-btn {
  padding: 2px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease);
}
.copy-btn:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }

/* 国内分卷 */
.cn-split {
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.cn-split-title { font-size: 11.5px; color: var(--ink-2); }
.cn-split-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cn-split-links a {
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-solid);
  font-size: 11px;
  color: var(--ink);
  transition: border-color .16s var(--ease), color .16s var(--ease);
}
.cn-split-links a:hover { border-color: var(--brand); color: var(--brand); }
.cn-split-tip { margin-top: 8px; font-size: 11px; color: var(--muted); line-height: 1.7; }
.cn-split-tip code { display: inline-block; margin-top: 4px; }

.dl-foot-note {
  margin-top: 34px;
  font-size: 13px;
  color: var(--muted);
}
.dl-foot-note a { color: var(--brand); font-weight: 600; }
.dl-foot-note a:hover { text-decoration: underline; }

/* ==========================================================================
   功能（Bento）
   ========================================================================== */
.feature-grid {
  counter-reset: feat;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  position: relative;
  grid-column: span 3;
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow: var(--shadow), inset 0 1px 0 var(--glass-sheen);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.feature:nth-child(1) { grid-column: span 4; }
.feature:nth-child(2) { grid-column: span 2; }
.feature:nth-child(3) { grid-column: span 2; }
.feature:nth-child(4) { grid-column: span 4; }

.feature::before {
  counter-increment: feat;
  content: counter(feat, decimal-leading-zero);
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 46px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.05em;
  color: var(--ink);
  opacity: .055;
  pointer-events: none;
}
.feature::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -46%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-soft), transparent 70%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-sheen);
}
.feature:hover::after { opacity: 1; }
.feature > * { position: relative; z-index: 1; }

.ico { display: grid; place-items: center; }
.ico-lg {
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 14px;
  background: var(--brand-soft);
  border: 1px solid var(--ring);
  color: var(--brand);
}
.feature h3 { margin-top: 18px; font-size: 16.5px; letter-spacing: -.02em; }
.feature p { margin-top: 9px; font-size: 13.5px; line-height: 1.72; color: var(--ink-2); }

/* ==========================================================================
   系统要求表
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  box-shadow: var(--shadow), inset 0 1px 0 var(--glass-sheen);
  -webkit-overflow-scrolling: touch;
}
.req-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 13.5px;
}
.req-table th,
.req-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--glass-line);
  white-space: nowrap;
}
.req-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
}
.req-table tbody tr:last-child td { border-bottom: 0; }
.req-table tbody tr { transition: background .16s var(--ease); }
.req-table tbody tr:hover td { background: rgba(0, 138, 127, .035); }
.req-table td:first-child { font-weight: 600; color: var(--ink); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 11.5px;
  font-weight: 600;
}
.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status.ok { color: var(--brand); background: var(--brand-soft); border-color: var(--ring); }
.status.wait { color: var(--muted); background: var(--surface-2); border-color: var(--line); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  padding: 0 20px;
  margin-bottom: 10px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--glass-sheen);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.faq:hover { border-color: var(--line-strong); }
.faq[open] { box-shadow: var(--shadow), inset 0 1px 0 var(--glass-sheen); }

.faq > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  flex: none;
  border-right: 1.7px solid var(--muted);
  border-bottom: 1.7px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .22s var(--ease), border-color .2s var(--ease);
}
.faq[open] > summary::after { transform: rotate(-135deg) translateY(-2px); border-color: var(--brand); }
.faq > p {
  padding: 0 0 20px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-2);
}
.faq > p b { color: var(--ink); font-weight: 650; }

/* ==========================================================================
   结尾 CTA
   ========================================================================== */
.cta-band { padding: clamp(16px, 2vw, 28px) 0 clamp(56px, 7vw, 92px); }

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(30px, 4.4vw, 56px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 0% 0%, var(--brand-soft), transparent 58%),
    var(--surface);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-sheen);
  overflow: hidden;
}
.cta-inner::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -60%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 179, 164, .18), transparent 68%);
  pointer-events: none;
}
.cta-copy { position: relative; z-index: 1; max-width: 52ch; }
.cta-copy h2 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -.035em; }
.cta-copy p { margin-top: 12px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, var(--bg-2));
  padding: clamp(40px, 5vw, 64px) 0 28px;
  overflow: hidden;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.footer-slogan { font-size: 12px; color: var(--muted); margin-top: 2px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13px;
  color: var(--ink-2);
  max-width: 560px;
}
.footer-links a { transition: color .16s var(--ease); }
.footer-links a:hover { color: var(--brand); }

.footer-wordmark {
  margin-top: clamp(32px, 4.6vw, 56px);
  font-size: clamp(58px, 15.4vw, 208px);
  line-height: .78;
  font-weight: 800;
  letter-spacing: -.06em;
  background: linear-gradient(180deg, var(--ink) 6%, transparent 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .1;
  user-select: none;
  pointer-events: none;
}
@media (prefers-color-scheme: dark) {
  .footer-wordmark { opacity: .16; }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.footer-note { color: var(--muted); }

.mirror-status { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mirror-label { color: var(--muted); }
.mirror-badge {
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--ink-2);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
}
.mirror-tip { color: var(--muted); }

/* ==========================================================================
   提示条 / 入场动画
   ========================================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 90;
  transform: translate(-50%, 12px);
  padding: 11px 22px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(10, 20, 18, .9);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .3);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   客服面板
   ========================================================================== */
.cs {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.cs-fab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 20px 0 16px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--window-bg);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow), inset 0 1px 0 var(--glass-sheen);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cs-fab:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg), inset 0 1px 0 var(--glass-sheen); }
.cs-fab:active { transform: scale(.98); }
.cs-fab-ico { width: 22px; height: 22px; flex: none; color: var(--brand); }
.cs-fab-dot {
  position: absolute;
  top: 11px;
  right: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.cs.is-open .cs-fab { display: none; }

.cs-panel {
  display: flex;
  flex-direction: column;
  width: min(392px, calc(100vw - 32px));
  max-height: min(640px, calc(100vh - 120px));
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  background: var(--window-bg);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .24), inset 0 1px 0 var(--glass-sheen);
  overflow: hidden;
  transform-origin: bottom right;
  animation: csIn .24s var(--ease-out);
}
.cs-panel[hidden] { display: none; }
@keyframes csIn {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: none; }
}

.cs-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--glass-line);
}
.cs-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--brand-light), var(--brand));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 6px 14px -6px var(--btn-glow);
}
.cs-head-text { flex: 1; min-width: 0; }
.cs-head-text h3 { font-size: 15px; letter-spacing: -.01em; }
.cs-sub { margin-top: 2px; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.cs-close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  padding: 7px;
  border: 1px solid var(--glass-line);
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--ink-2);
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.cs-close:hover { color: var(--ink); border-color: var(--line-strong); }

.cs-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  -webkit-overflow-scrolling: touch;
}

.cs-msg {
  max-width: 90%;
  padding: 10px 14px;
  border-radius: 15px;
  font-size: 13px;
  line-height: 1.72;
  word-break: break-word;
}
.cs-msg-bot {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--glass-line);
  border-bottom-left-radius: 6px;
  color: var(--ink-2);
}
.cs-msg-user {
  align-self: flex-end;
  background: linear-gradient(180deg, var(--btn-bg), var(--btn-bg-hover));
  color: #fff;
  border-bottom-right-radius: 6px;
}
.cs-msg a { color: var(--brand); font-weight: 600; text-decoration: underline; word-break: break-all; }
.cs-msg-user a { color: #fff; }
.cs-msg-tag {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
}
.cs-msg-note { margin-top: 6px; font-size: 11px; color: var(--muted); }

.cs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-chip {
  padding: 6px 12px;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease);
}
.cs-chip:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }

.cs-thread { display: flex; flex-direction: column; gap: 10px; }
.cs-thread:empty { display: none; }

.cs-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--glass-line);
}
.cs-input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.cs-input::placeholder { color: var(--muted); }
.cs-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.cs-send {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  padding: 9px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--btn-bg), var(--btn-bg-hover));
  color: #fff;
  cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
  box-shadow: 0 8px 18px -8px var(--btn-glow);
}
.cs-send:hover { transform: translateY(-1px); }
.cs-send:active { transform: scale(.94); }

.cs-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 10px 16px 12px;
  border-top: 1px solid var(--glass-line);
  font-size: 11.5px;
  color: var(--muted);
}
.cs-foot a { color: var(--ink-2); }
.cs-foot a:hover { color: var(--brand); text-decoration: underline; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-inner { gap: 36px; }
  .mock-body { grid-template-columns: 128px minmax(0, 1fr); }
  .mock-code { font-size: 10.2px; }
  .mock-float-a { right: -6px; }
  .mock-float-b { left: -10px; }
}

@media (max-width: 940px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 640px; }
  .hero-visual { margin-top: 8px; max-width: 620px; width: 100%; }
  .hero-meta { margin-top: 34px; }
}

@media (max-width: 820px) {
  .nav {
    position: absolute;
    top: var(--topbar-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 12px var(--gutter) 18px;
    background: var(--surface-solid);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 15px; border-radius: 10px; }
  .nav-toggle { display: flex; }
  .topbar-actions .btn-ghost { display: none; }

  .feature:nth-child(n) { grid-column: span 3; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  :root { --gutter: 18px; --topbar-h: 62px; }
  .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .lede { font-size: 15px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-meta { grid-template-columns: 1fr; gap: 14px; padding-top: 22px; }
  .hero-meta > div { padding: 0; }
  .hero-meta > div + div { border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-code { font-size: 10.5px; }
  .mock-float { display: none; }
  .feature:nth-child(n) { grid-column: span 6; }
  .dl-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero { padding-top: 44px; }
  .dl-card-head { padding: 17px 16px 13px; }
  .dl-files li { padding: 12px 16px; }
  .dl-note > summary { padding: 11px 16px; }
  .dl-note-body { padding: 2px 16px 16px; }
  .req-table th, .req-table td { padding: 12px 15px; }
  .faq { padding: 0 16px; }
  .cs { right: 16px; bottom: 16px; left: 16px; align-items: stretch; }
  .cs-fab { align-self: flex-end; }
  .cs-panel { width: 100%; max-height: calc(100vh - 150px); }
  .dl-card, .feature, .faq, .table-wrap, .cta-inner {
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
  }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 auto; }
}

/* 不支持 backdrop-filter 时降级为实心表面 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar, .dl-card, .feature, .table-wrap, .faq, .pill, .btn-outline,
  .cta-inner, .cs-fab, .cs-panel, .mock-window, .mock-float {
    background: var(--surface-solid);
  }
  body::after { display: none; }
}

/* ---------- 微信小程序 ---------- */
.weapp-open {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 18px 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
}
.weapp-qr {
  display: block;
  flex: none;
  width: 156px;
  padding: 7px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.weapp-qr:hover { transform: scale(1.035); box-shadow: 0 12px 32px rgba(0, 0, 0, .16); }
.weapp-qr img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.weapp-copy { min-width: 0; }
.weapp-copy strong { display: block; font-size: 16px; letter-spacing: -.01em; }
.weapp-copy p { margin-top: 7px; color: var(--text-secondary); font-size: 13px; line-height: 1.6; }
.weapp-copy > span { display: block; margin-top: 10px; color: var(--brand); font-size: 12px; font-weight: 600; }
@media (max-width: 480px) {
  .weapp-open { gap: 14px; margin-inline: 14px; padding: 13px; }
  .weapp-qr { width: 128px; }
  .weapp-copy strong { font-size: 15px; }
  .weapp-copy p { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock-window { animation: none; transform: none; }
  .mock-float, .pill .dot { animation: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .dl-card:hover, .feature:hover, .cs-fab:hover, .hero-visual:hover .mock-window { transform: none; }
}

/* 辅助说明文字 */
.muted { color: var(--muted, #6b6b6b); }
.muted a { text-decoration: underline; }
