/* ==========================================================================
   Peace Equalizer 中文站 - 全站样式
   目标内核：Chromium 86+
   约定：不使用 :has() / 容器查询 / color-mix() / aspect-ratio / 子网格
   ========================================================================== */

/* ---------- 1. 设计令牌（配色提取自官方 Logo 蓝色渐变） ---------- */
:root {
  --brand-50:  #EEF6FF;
  --brand-100: #D9EAFF;
  --brand-200: #B6D8FF;
  --brand-300: #85BFFF;
  --brand-400: #4D9FFF;
  --brand-500: #1E88E5;   /* 主品牌蓝 */
  --brand-600: #1565C0;   /* 深一档，按钮 hover */
  --brand-700: #0D47A1;   /* 标题/深色块 */
  --brand-800: #082F6E;
  --accent:    #00B8D4;   /* 青色强调（图表、标签） */
  --accent-d:  #008BA3;

  --ink-900: #0F1C2E;     /* 标题 */
  --ink-700: #2B3A50;     /* 正文 */
  --ink-500: #5B6B82;     /* 次要文字 */
  --ink-300: #A9B4C4;     /* 占位/分隔 */

  --bg:        #FFFFFF;
  --bg-soft:   #F5F8FC;
  --bg-dark:   #0B1D3A;   /* 深色区块 */
  --line:      #E3EAF3;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 28, 46, .06), 0 1px 3px rgba(15, 28, 46, .08);
  --shadow-md: 0 6px 18px rgba(13, 71, 161, .10), 0 2px 6px rgba(15, 28, 46, .06);
  --shadow-lg: 0 20px 50px rgba(8, 47, 110, .18);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "Segoe UI Mono", Consolas, "Courier New", monospace;

  --container: 1180px;
  --header-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-500); }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink-900); line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.2vw, 48px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
p  { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: .35em; }
strong { color: var(--ink-900); font-weight: 600; }
code { font-family: var(--mono); font-size: .9em; background: var(--brand-50); color: var(--brand-700); padding: .15em .45em; border-radius: 6px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-soft); color: var(--ink-900); font-weight: 600; }
tbody tr:hover { background: var(--brand-50); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; 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: 16px; top: -60px; z-index: 1000;
  background: var(--brand-700); color: #fff; padding: 10px 18px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 3. 布局工具 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #C9D6EA; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #B7C6DD; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--ink-500); font-size: 18px; margin-bottom: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--brand-500); }
.section--dark .eyebrow { color: var(--brand-300); }
.section--dark .eyebrow::before { background: var(--accent); }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  font-size: 16px; font-weight: 600; line-height: 1; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
  text-decoration: none; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); color: #fff; box-shadow: 0 8px 20px rgba(21, 101, 192, .32); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(21, 101, 192, .4); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--outline { background: #fff; color: var(--brand-700); border-color: var(--brand-200); }
.btn--outline:hover { color: var(--brand-700); border-color: var(--brand-500); background: var(--brand-50); }
.btn--lg { padding: 17px 36px; font-size: 17px; }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- 5. 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-900); font-weight: 700; font-size: 19px; letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { color: var(--brand-700); }
.brand img { width: 36px; height: 36px; }
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-500); letter-spacing: .06em; line-height: 1; margin-top: 2px; }
.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 8px 14px; border-radius: 8px; color: var(--ink-700); font-weight: 500; font-size: 15px;
}
.nav__links a:hover { background: var(--brand-50); color: var(--brand-700); }
.nav__links a[aria-current="page"] { color: var(--brand-700); background: var(--brand-50); font-weight: 600; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px;
  align-items: center; justify-content: center; cursor: pointer; color: var(--ink-900);
}
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- 6. 首页 Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(30, 136, 229, .18), transparent 60%),
    radial-gradient(700px 380px at 95% 10%, rgba(0, 184, 212, .16), transparent 60%),
    linear-gradient(180deg, #F3F8FF 0%, #FFFFFF 100%);
  padding: 84px 0 72px;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--brand-200); color: var(--brand-700); font-size: 13px; font-weight: 600; margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { margin-bottom: 18px; }
.hero h1 .grad { display: block; background: linear-gradient(90deg, var(--brand-500), var(--brand-700)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 19px; color: var(--ink-500); max-width: 560px; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; color: var(--ink-500); padding-top: 22px; border-top: 1px solid var(--brand-100); }
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { width: 17px; height: 17px; color: var(--brand-600); }

/* Hero 右侧：CSS 绘制的均衡器示意 */
.eq-visual {
  position: relative; background: #0B1D3A; border-radius: var(--radius-lg); padding: 28px 28px 22px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .08);
}
.eq-visual__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.eq-visual__dots { display: flex; gap: 6px; }
.eq-visual__dots i { width: 11px; height: 11px; border-radius: 50%; background: #2A4470; display: block; }
.eq-visual__title { color: #8FA6C8; font-size: 13px; font-family: var(--mono); margin-left: auto; }
.eq-visual__canvas { position: relative; height: 230px; }
.eq-visual__grid { position: absolute; inset: 0; }
.eq-visual__grid line { stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.eq-visual__curve { position: absolute; left: 0; right: 0; top: 0; height: 100%; width: 100%; overflow: visible; }
.eq-visual__curve path { fill: none; stroke: url(#curveGrad); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.eq-visual__curve .area { fill: url(#areaGrad); stroke: none; opacity: .55; }
.eq-sliders { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; align-items: end; height: 190px; margin-top: 14px; }
.eq-slider { display: flex; flex-direction: column; align-items: center; height: 100%; }
.eq-slider__track { position: relative; flex: 1; width: 6px; background: #22406E; border-radius: 3px; }
.eq-slider__fill { position: absolute; left: 0; right: 0; bottom: 50%; background: linear-gradient(180deg, var(--accent), var(--brand-400)); border-radius: 3px; }
.eq-slider__fill--neg { top: 50%; bottom: auto; background: linear-gradient(180deg, var(--brand-400), var(--accent)); }
.eq-slider__knob { position: absolute; left: 50%; width: 18px; height: 10px; margin-left: -9px; border-radius: 3px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.eq-slider__label { margin-top: 8px; font-size: 10px; color: #7F95B8; font-family: var(--mono); }
.eq-visual__foot { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); color: #8FA6C8; font-size: 12px; }
.eq-visual__foot b { color: #fff; font-weight: 600; }

/* ---------- 7. 通用卡片网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100)); color: var(--brand-700); margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; font-size: 19px; }
.card p { color: var(--ink-500); margin-bottom: 0; font-size: 15px; }
.card--dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.card--dark:hover { border-color: rgba(255, 255, 255, .22); box-shadow: none; }
.card--dark h3 { color: #fff; }
.card--dark p { color: #B7C6DD; }
.card--dark .card__icon { background: rgba(30, 136, 229, .18); color: var(--brand-300); }

/* ---------- 8. 场景（首页） ---------- */
.scene { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 34px 30px; color: #fff; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; }
.scene::before { content: ""; position: absolute; inset: 0; opacity: .95; }
.scene--music::before  { background: linear-gradient(135deg, #0D47A1, #1E88E5); }
.scene--game::before   { background: linear-gradient(135deg, #082F6E, #1565C0); }
.scene--movie::before  { background: linear-gradient(135deg, #006064, #00ACC1); }
.scene--work::before   { background: linear-gradient(135deg, #1A237E, #3949AB); }
.scene > * { position: relative; }
.scene__icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .16); display: flex; align-items: center; justify-content: center; margin-bottom: auto; }
.scene__icon svg { width: 24px; height: 24px; }
.scene h3 { color: #fff; margin: 22px 0 6px; font-size: 21px; }
.scene p { color: rgba(255, 255, 255, .85); margin: 0; font-size: 15px; }

/* ---------- 9. 数据统计条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.stat__num { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; color: #fff; line-height: 1.1; letter-spacing: -.02em; }
.stat__num small { font-size: .5em; color: var(--brand-300); margin-left: 2px; }
.stat__label { color: #A9BAD6; font-size: 14px; margin-top: 8px; }
.stat__src { display: block; color: #6F85A8; font-size: 12px; margin-top: 6px; }

/* ---------- 10. 特性图文分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { position: relative; }
.split__list { list-style: none; padding: 0; margin: 24px 0 0; }
.split__list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--ink-700); }
.split__list svg { width: 20px; height: 20px; color: var(--accent-d); flex: none; margin-top: 4px; }
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden;
}
.mock__head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mock__head i { width: 11px; height: 11px; border-radius: 50%; background: var(--ink-300); display: block; }
.mock__head span { margin-left: auto; font-size: 12px; color: var(--ink-500); font-family: var(--mono); }
.mock__body { padding: 22px; }
.mock--dark { background: #0B1D3A; border-color: #16305B; }
.mock--dark .mock__head { background: #0F254A; border-color: #16305B; }
.mock--dark .mock__head i { background: #2A4470; }
.mock--dark .mock__head span { color: #8FA6C8; }

/* 模拟：AutoEQ 列表 */
.autoeq-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.autoeq-list li { display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; border-radius: 10px; color: var(--ink-700); }
.autoeq-list li.active { background: var(--brand-50); color: var(--brand-700); font-weight: 600; }
.autoeq-list .brand-name { color: var(--ink-500); font-size: 12px; }
.autoeq-list svg { width: 18px; height: 18px; color: var(--accent-d); }

/* 模拟：预设卡片 */
.preset-row { display: flex; flex-wrap: wrap; gap: 10px; }
.preset { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; color: var(--ink-700); }
.preset.active { background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); color: #fff; border-color: transparent; }

/* 模拟：自动化规则 */
.rule { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 10px; }
.rule__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); display: flex; align-items: center; justify-content: center; }
.rule__icon svg { width: 18px; height: 18px; }
.rule__title { font-weight: 600; color: var(--ink-900); font-size: 14px; }
.rule__desc { font-size: 12px; color: var(--ink-500); }
.rule__tag { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #E8F8FB; color: var(--accent-d); font-weight: 600; }

/* ---------- 11. 步骤 ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 26px 26px 26px 84px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.steps li::before {
  content: counter(step); position: absolute; left: 26px; top: 26px; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); color: #fff; font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { margin-bottom: 6px; font-size: 19px; }
.steps p { color: var(--ink-500); margin-bottom: 0; }
.steps .btn { margin-top: 14px; }

/* ---------- 12. 下载中心 ---------- */
.dl-hero { padding: 64px 0 40px; background: linear-gradient(180deg, #F3F8FF, #fff); }
.dl-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; height: 100%;
}
.dl-card--featured { border: 2px solid var(--brand-500); }
.dl-card__tag { position: absolute; top: -14px; left: 30px; padding: 5px 14px; border-radius: 999px; background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.dl-card h3 { font-size: 22px; margin-bottom: 4px; }
.dl-card .ver { color: var(--ink-500); font-size: 14px; margin-bottom: 18px; }
.dl-specs { list-style: none; padding: 0; margin: 0 0 24px; font-size: 14px; }
.dl-specs li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.dl-specs li span:first-child { color: var(--ink-500); }
.dl-specs li span:last-child { color: var(--ink-900); font-weight: 600; text-align: right; }
.dl-card .btn { margin-top: auto; }
.dl-note { display: flex; gap: 12px; padding: 16px 18px; border-radius: 12px; background: #FFF8E1; border: 1px solid #FFE082; color: #6D4C00; font-size: 14px; }
.dl-note svg { width: 20px; height: 20px; flex: none; color: #F9A825; margin-top: 2px; }
.dl-note--info { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-800); }
.dl-note--info svg { color: var(--brand-600); }
.verify { font-family: var(--mono); font-size: 13px; word-break: break-all; background: var(--bg-soft); padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-700); }

/* ---------- 13. 侧边目录（教程页） ---------- */
.with-toc { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 14px; }
.toc h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 7px 14px; color: var(--ink-500); border-left: 2px solid transparent; margin-left: -2px; }
.toc li a:hover, .toc li a.active { color: var(--brand-700); border-color: var(--brand-500); background: var(--brand-50); }
.article { max-width: 780px; }
.article h2 { margin-top: 56px; padding-top: 8px; font-size: 28px; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 32px; }
.article img { border-radius: var(--radius); border: 1px solid var(--line); }
.kbd { font-family: var(--mono); font-size: .85em; padding: 2px 7px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: #fff; color: var(--ink-900); }

/* FAQ */
.faq { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.faq + .faq { margin-top: 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; color: var(--ink-900); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--brand-600); flex: none; transition: transform .25s var(--ease); }
.faq[open] summary svg { transform: rotate(45deg); }
.faq__body { padding: 0 24px 22px; color: var(--ink-700); }
.faq__body p:last-child { margin-bottom: 0; }

/* 版本记录 */
.changelog { list-style: none; padding: 0; margin: 0; }
.changelog li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.changelog .ver { font-weight: 700; color: var(--brand-700); font-family: var(--mono); }
.changelog .date { display: block; color: var(--ink-500); font-size: 13px; font-weight: 400; }
.changelog p { margin: 0; color: var(--ink-700); font-size: 15px; }

/* ---------- 14. 页脚 ---------- */
.site-footer { background: var(--bg-dark); color: #A9BAD6; padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand:hover { color: #fff; }
.site-footer .brand small { color: #8FA6C8; }
.site-footer p { font-size: 14px; color: #A9BAD6; max-width: 360px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #A9BAD6; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer a svg { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-left: 4px; color: #6F85A8; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #7F95B8; }
.footer-bottom a { color: #7F95B8; font-size: 13px; }

/* ---------- 15. 面包屑 ---------- */
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; margin: 0; font-size: 14px; color: var(--ink-500); }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: var(--ink-300); }
.breadcrumb a { color: var(--ink-500); }
.breadcrumb a:hover { color: var(--brand-600); }
.breadcrumb [aria-current="page"] { color: var(--ink-900); font-weight: 500; }

/* ---------- 16. 下载弹窗 ---------- */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px;  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
button { outline: none } 
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 23, 48, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__dialog {
  position: relative; width: 100%; max-width: 640px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 36px 36px 32px; max-height: calc(100vh - 48px); overflow: auto; animation: modal-in .28s var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .modal__dialog { animation: none; } .eq-slider__knob, .card, .btn { transition: none; } }
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink-700); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.modal__close:hover { background: var(--bg-soft); color: var(--ink-900); }
.modal__close svg { width: 20px; height: 20px; }
.modal__icon { width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(135deg, var(--brand-50), var(--brand-200)); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.modal__icon svg { width: 30px; height: 30px; color: var(--brand-700); }
.modal__title { font-size: 24px; font-weight: 700; color: var(--ink-900); line-height: 1.25; margin: 0 0 6px; }
.modal__dialog .ver { color: var(--ink-500); font-size: 14px; margin-bottom: 22px; }
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.qr-box {
  border: 2px dashed var(--brand-300); border-radius: 16px; padding: 18px 16px 16px; text-align: center; background: var(--brand-50);
  transition: border-color .2s, background .2s;
}
.qr-box:hover { border-color: var(--brand-500); background: #fff; }
.qr-box__img {
  display: block; width: 200px; height: 200px; max-width: 100%; object-fit: contain; margin: 0 auto 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.qr-box__title { font-size: 15px; font-weight: 700; color: var(--ink-900); margin: 0 0 4px; }
.qr-box p { font-size: 13px; color: var(--ink-500); margin: 0; }
.modal__foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-500); display: flex; gap: 10px; }
.modal__foot svg { width: 18px; height: 18px; flex: none; color: var(--accent-d); margin-top: 2px; }
body.modal-open { overflow: hidden; }

/* ---------- 17. 进场动画（IntersectionObserver 触发） ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1024px) {
  .hero__grid, .split, .with-toc { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split { gap: 36px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .toc { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 44px; }
  .hero__lead { font-size: 17px; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .qr-grid { grid-template-columns: 1fr; }
  .qr-box__img { width: 170px; height: 170px; }
  .modal__dialog { padding: 28px 22px 24px; }
  .changelog li { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .dl-card { padding: 26px 22px; }

  /* 移动端导航：抽屉 */
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 16px 18px; margin: 0;
    box-shadow: 0 24px 48px rgba(8, 23, 48, .22); transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .22s var(--ease), opacity .22s, visibility .22s; z-index: 99;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav__links a { padding: 14px; font-size: 16px; border-radius: 10px; }
  .nav__actions .btn--primary { padding: 10px 14px; font-size: 13px; gap: 6px; }
  .nav__actions .btn--primary svg { width: 16px; height: 16px; }
  .nav { gap: 8px; }
  .nav__actions { gap: 8px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .brand small { display: none; }
  .nav-backdrop {
    position: fixed; inset: 0; top: var(--header-h); z-index: 98; background: rgba(8, 23, 48, .45);
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s, visibility .22s;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .eq-visual { padding: 20px 18px 16px; }
  .eq-visual__canvas { height: 170px; }
  .eq-sliders { gap: 6px; height: 150px; }
  .eq-slider__label { font-size: 9px; }
  .hero__cta .btn { flex: 1 1 100%; }
}
@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .stats { grid-template-columns: 1fr; }
}
