/* =========================================================
   TranslucentTB 中文官网 — 主样式表
   设计系统：扁平 / 现代 / 专业，品牌色取自官方 Logo
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* 品牌色（取自官方 Logo：T 蓝、B 绿、笔画橙） */
  --blue: #3e9bd4;
  --blue-600: #2f86bb;
  --blue-700: #236b97;
  --blue-50: #eef7fc;
  --green: #7fbb2e;
  --green-600: #699e20;
  --green-50: #f3f9e9;
  --orange: #eb7a55;
  --orange-50: #fdf2ee;

  /* 中性色 */
  --ink: #0e1419;
  --ink-2: #39454f;
  --ink-3: #66757f;
  --ink-4: #93a1ab;
  --line: #e3e8ed;
  --line-2: #eef2f5;
  --bg: #ffffff;
  --bg-2: #f6f9fb;
  --bg-3: #eef4f8;
  --dark: #10171d;

  /* 尺寸 */
  --radius-s: 8px;
  --radius: 12px;
  --radius-l: 18px;
  --container: 1160px;
  --header-h: 64px;

  /* 阴影：克制、扁平 */
  --shadow-s: 0 1px 2px rgba(14, 20, 25, .05);
  --shadow: 0 4px 16px rgba(14, 20, 25, .06);
  --shadow-l: 0 18px 48px rgba(14, 20, 25, .12);

  --font: "Segoe UI", system-ui, -apple-system, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

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

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color .16s ease;
}
a:hover { color: var(--blue-700); }

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section--dark { background: var(--dark); color: #c3ced6; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-head p { margin-top: 14px; color: var(--ink-3); font-size: 1.0625rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--green);
}

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; }
.brand-name {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.015em;
}
.brand-name span { color: var(--ink-4); font-weight: 500; }

.nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-s);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-2);
}
.nav-link:hover { background: var(--bg-3); color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--blue-700); background: var(--blue-50); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  background: #fff;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 1.8; fill: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-s);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.btn--primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 1px 2px rgba(35, 107, 151, .25);
}
.btn--primary:hover { background: var(--blue-700); color: #fff; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink-4); color: var(--ink); background: #fff; }

.btn--on-dark {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
}
.btn--on-dark:hover { background: rgba(255, 255, 255, .18); color: #fff; }

.btn--sm { padding: 8px 16px; font-size: .875rem; }
.btn--lg { padding: 14px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 76px;
  background:
    radial-gradient(900px 380px at 82% -8%, rgba(62, 155, 212, .1), transparent 68%),
    radial-gradient(620px 340px at 6% 4%, rgba(127, 187, 46, .1), transparent 66%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: var(--shadow-s);
}
.hero-badge b {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-600);
  font-size: .75rem;
  letter-spacing: .02em;
}
.hero h1 {
  margin: 20px 0 0;
  font-size: clamp(2.1rem, 4.3vw, 3.25rem);
  letter-spacing: -.025em;
  line-height: 1.16;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(to top, rgba(127, 187, 46, .34) 0 46%, transparent 46%);
  padding: 0 4px;
  margin: 0 -2px;
}
.hero-sub {
  margin-top: 18px;
  max-width: 30em;
  font-size: 1.0625rem;
  color: var(--ink-3);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
  font-size: .875rem;
  color: var(--ink-3);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; stroke: var(--green-600); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* --- 任务栏交互模拟器 --- */
.demo {
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #fff;
  box-shadow: var(--shadow-l);
  overflow: hidden;
}
.demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-2);
  background: #fbfdfe;
}
.demo-title { font-size: .8125rem; font-weight: 600; color: var(--ink-3); }
.demo-dots { display: flex; gap: 5px; }
.demo-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }

.demo-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  isolation: isolate;
  background-color: #0e2a3c;
}
/* 壁纸：WebP 优先，JPEG 兜底 */
.demo-wall {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.demo-wall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* 底部轻微压暗，让任务栏在浅色壁纸区域也保持轮廓 */
.demo-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(7, 21, 32, .2), rgba(7, 21, 32, 0));
}

.demo-window {
  position: absolute;
  left: 7%;
  top: 20%;
  width: 50%;
  padding: 12px 14px 16px;
  border-radius: 10px 10px 0 0;
  border: 1px solid rgba(255, 255, 255, .7);
  border-bottom: 0;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 14px 34px rgba(8, 24, 38, .3);
  z-index: 2;
}
.demo-window .w-bar { display: flex; gap: 5px; margin-bottom: 10px; }
.demo-window .w-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d8e0e6; }
.demo-window .w-line { height: 7px; border-radius: 4px; background: #eaeff3; margin-bottom: 7px; }
.demo-window .w-line:nth-child(3) { width: 78%; }
.demo-window .w-line:nth-child(4) { width: 46%; }

.demo-taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 15.5%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 3;
  transition: background-color .28s ease, backdrop-filter .28s ease, border-color .28s ease;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.tb-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--tb-ic, rgba(22, 36, 48, .62));
}
.tb-icon:nth-child(2) { background: rgba(47, 134, 187, .95); }
.tb-icon:nth-child(3) { background: rgba(105, 158, 32, .95); }
.tb-icon:nth-child(4) { background: rgba(216, 98, 66, .95); }
.tb-icon:nth-child(5) { background: var(--tb-ic-2, rgba(22, 36, 48, .26)); }
.tb-tray {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 600;
  color: var(--tb-txt, rgba(20, 34, 46, .82));
  letter-spacing: .02em;
}
.tb-tray i { width: 5px; height: 5px; border-radius: 50%; background: var(--tb-txt, rgba(20, 34, 46, .7)); }

/* 五种状态 */
.tb--normal {
  background: #101a24;
  --tb-ic: rgba(255, 255, 255, .9);
  --tb-ic-2: rgba(255, 255, 255, .38);
  --tb-txt: #ffffff;
}
.tb--opaque {
  background: #16222e;
  --tb-ic: rgba(255, 255, 255, .9);
  --tb-ic-2: rgba(255, 255, 255, .38);
  --tb-txt: #ffffff;
}
.tb--clear {
  background: rgba(255, 255, 255, .14);
  border-top-color: rgba(255, 255, 255, .46);
  --tb-ic: rgba(255, 255, 255, .92);
  --tb-ic-2: rgba(255, 255, 255, .42);
  --tb-txt: rgba(255, 255, 255, .92);
}
.tb--blur {
  background: rgba(255, 255, 255, .24);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-top-color: rgba(255, 255, 255, .55);
}
.tb--acrylic {
  background: rgba(255, 255, 255, .42);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border-top-color: rgba(255, 255, 255, .75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
}

.demo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line-2);
  background: #fbfdfe;
}
.chip {
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-3);
  transition: all .15s ease;
}
.chip:hover { border-color: var(--ink-4); color: var(--ink); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.demo-note {
  padding: 0 14px 13px;
  font-size: .75rem;
  color: var(--ink-4);
  background: #fbfdfe;
}

/* ---------- 7. Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-s);
}
.stat { padding: 26px 24px; border-right: 1px solid var(--line-2); }
.stat:last-child { border-right: 0; }
.stat-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.2;
}
.stat-num span { font-size: 1rem; font-weight: 600; color: var(--ink-3); }
.stat-label { margin-top: 4px; font-size: .8125rem; color: var(--ink-3); }

/* ---------- 8. Cards ---------- */
.grid {
  display: grid;
  gap: 20px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card:hover {
  border-color: #cfd9e1;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.card p { font-size: .9375rem; color: var(--ink-3); line-height: 1.72; }

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--blue-50);
}
.icon-box svg { width: 21px; height: 21px; fill: none; stroke: var(--blue-600); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-box--green { background: var(--green-50); }
.icon-box--green svg { stroke: var(--green-600); }
.icon-box--orange { background: var(--orange-50); }
.icon-box--orange svg { stroke: #c85f3c; }

/* 场景卡：带编号 */
.scene {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.scene-idx {
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink-4);
  letter-spacing: .06em;
}
.scene h3 { margin: 10px 0 8px; font-size: 1.0625rem; }
.scene p { font-size: .9375rem; color: var(--ink-3); }
.scene-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-3);
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink-2);
}

/* 特性列表（左文右图 / 双栏明细） */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--rev .split-media { order: -1; }

.check-list { display: grid; gap: 14px; margin-top: 22px; }
.check-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  font-size: .9375rem;
  color: var(--ink-2);
}
.check-list li svg {
  width: 20px; height: 20px; margin-top: 3px;
  stroke: var(--green-600); stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.check-list strong { color: var(--ink); font-weight: 600; }

/* 页内速查目录 */
.toc-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.toc-list li {
  font-size: .9375rem;
  color: var(--ink-3);
  line-height: 1.6;
}
.toc-list a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.toc-list a:hover { color: var(--blue-600); border-bottom-color: var(--blue-600); }

/* ---------- 9. Table ---------- */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
}
caption {
  padding: 16px 20px;
  text-align: left;
  font-size: .8125rem;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line-2);
  background: #fbfdfe;
}
th, td {
  padding: 13px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-2);
}
thead th {
  background: var(--bg-2);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: .02em;
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; color: var(--ink); }
td code, p code, li code {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-3);
  font-family: var(--mono);
  font-size: .86em;
  color: var(--ink);
  overflow-wrap: anywhere;
}

/* ---------- 10. Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding-bottom: 34px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--mono);
  font-size: .875rem;
  font-weight: 700;
  color: var(--blue-700);
  z-index: 1;
}
.step::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.step p { font-size: .9375rem; color: var(--ink-3); }
.step-body { padding-top: 8px; }

/* ---------- 11. FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.faq details[open] { border-color: #cfd9e1; box-shadow: var(--shadow-s); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink-4);
  border-bottom: 2px solid var(--ink-4);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-body {
  padding: 0 22px 20px;
  font-size: .9375rem;
  color: var(--ink-3);
}
.faq-body p + p { margin-top: 10px; }
.faq-body ul { margin-top: 8px; display: grid; gap: 6px; }
.faq-body ul li { position: relative; padding-left: 16px; }
.faq-body ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

/* ---------- 12. CTA band ---------- */
.cta {
  position: relative;
  padding: 56px 48px;
  border-radius: var(--radius-l);
  background:
    radial-gradient(560px 260px at 88% 0%, rgba(127, 187, 46, .22), transparent 65%),
    radial-gradient(520px 300px at 4% 100%, rgba(62, 155, 212, .28), transparent 62%),
    var(--dark);
  color: #c8d2da;
  overflow: hidden;
}
.cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta p { margin-top: 12px; max-width: 42em; font-size: 1rem; }
.cta .btn-row { margin-top: 26px; }
.cta-meta { margin-top: 22px; font-size: .8125rem; color: #8b98a3; }

/* ---------- 13. Page hero (子页面) ---------- */
.page-hero {
  padding: 56px 0 48px;
  background: linear-gradient(180deg, var(--bg-2) 0%, #fff 100%);
  border-bottom: 1px solid var(--line-2);
}
.page-hero h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.page-hero p { max-width: 46em; color: var(--ink-3); font-size: 1.0625rem; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: .8125rem;
  color: var(--ink-4);
}
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--blue-600); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--ink-4); }
.breadcrumb li { display: inline-flex; align-items: center; }

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 20px;
  font-size: .8125rem;
  color: var(--ink-4);
}

/* ---------- 14. Download page ---------- */
.dl-hero-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.dl-main { padding: 34px 32px; }
.dl-main h2 { font-size: 1.375rem; }
.dl-version {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-600);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.dl-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 24px 0 26px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-s);
  overflow: hidden;
}
.dl-facts div { padding: 12px 16px; background: #fff; }
.dl-facts dt { font-size: .75rem; color: var(--ink-4); }
.dl-facts dd { margin: 2px 0 0; font-size: .9375rem; font-weight: 600; color: var(--ink); }

.dl-side {
  padding: 34px 30px;
  border-left: 1px solid var(--line-2);
  background: #fbfdfe;
}
.dl-side h3 { font-size: .9375rem; margin-bottom: 14px; }
.dl-side ul { display: grid; gap: 10px; font-size: .875rem; color: var(--ink-3); }
.dl-side li { display: grid; grid-template-columns: 16px 1fr; gap: 9px; }
.dl-side li svg { width: 16px; height: 16px; margin-top: 4px; stroke: var(--green-600); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.channel {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.channel-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.channel h3 { font-size: 1.0625rem; }
.channel .badge {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.channel .badge--green { background: var(--green-50); color: var(--green-600); }
.channel p { margin: 10px 0 18px; font-size: .9375rem; color: var(--ink-3); flex: 1; }
.channel .btn { margin-top: auto; }

/* 二维码区块 */
.qr-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #fff;
}
.qr-item { text-align: center; }
.qr-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  margin: 0 auto 14px;
  max-width: 200px;
  border: 1px dashed #c8d4dd;
  border-radius: var(--radius);
  background:
    linear-gradient(45deg, #f4f8fa 25%, transparent 25%, transparent 75%, #f4f8fa 75%) 0 0/16px 16px,
    linear-gradient(45deg, #f4f8fa 25%, transparent 25%, transparent 75%, #f4f8fa 75%) 8px 8px/16px 16px,
    #fff;
  color: var(--ink-4);
  font-size: .75rem;
  letter-spacing: .04em;
}

/* 已填充真实二维码的方框：去掉虚线占位边框与棋盘格底 */
.qr-box.qr-box--filled {
  border-style: solid;
  border-color: var(--line);
  background: #fff;
  padding: 8px;
  overflow: hidden;
}
.qr-box.qr-box--filled img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 3px;
}
.qr-title { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.qr-desc { margin-top: 4px; font-size: .8125rem; color: var(--ink-3); }

/* 更新日志 */
.changelog { display: grid; gap: 18px; }
.release {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.release-side { border-right: 1px solid var(--line-2); padding-right: 24px; }
.release-tag {
  font-family: var(--mono);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
}
.release-date { margin-top: 4px; font-size: .8125rem; color: var(--ink-4); }
.release h4 {
  font-size: .8125rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 8px;
}
.release h4 + ul { margin-bottom: 16px; }
.release ul { display: grid; gap: 7px; }
.release ul li {
  position: relative;
  padding-left: 16px;
  font-size: .9375rem;
  color: var(--ink-2);
}
.release ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

/* ---------- 15. Dialog ---------- */
.modal {
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius-l);
  background: #fff;
  color: var(--ink-2);
  box-shadow: 0 32px 80px rgba(14, 20, 25, .28);
}
.modal::backdrop { background: rgba(14, 20, 25, .55); backdrop-filter: blur(3px); }
.modal[open] { animation: modalIn .2s ease-out; }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(8px) scale(.99); }
  to { opacity: 1; transform: none; }
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 26px 18px;
  border-bottom: 1px solid var(--line-2);
}
.modal-head h2 { font-size: 1.1875rem; }
.modal-head p { margin-top: 5px; font-size: .875rem; color: var(--ink-3); }
.modal-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-3);
}
.modal-close:hover { background: var(--bg-2); color: var(--ink); }
.modal-close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.modal-body { padding: 22px 26px 6px; }
.modal-body .qr-panel { border: 0; padding: 0; gap: 20px; }
.modal-body .qr-box { max-width: 176px; }
.modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 26px 22px;
  border-top: 1px solid var(--line-2);
  font-size: .8125rem;
  color: var(--ink-4);
}
.modal-tip {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 9px;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  background: var(--bg-2);
  font-size: .8125rem;
  color: var(--ink-3);
}
.modal-tip svg { width: 16px; height: 16px; margin-top: 3px; stroke: var(--blue-600); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 16. Footer ---------- */
.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line-2);
  background: var(--bg-2);
  font-size: .875rem;
  color: var(--ink-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { max-width: 26em; font-size: .875rem; }
.footer-col h4 {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { color: var(--ink-3); }
.footer-col a:hover { color: var(--blue-600); }
.footer-note {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: .8125rem;
  color: var(--ink-4);
}
.footer-note p { max-width: 62em; }
.footer-note a { color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 17. Reveal animation（渐进增强：默认可见，脚本就绪后才位移） ---------- */
.reveal {
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}
.reveal--armed { transform: translateY(16px); }
.reveal--armed.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal--armed { transform: none; }
}

/* ---------- 18. Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-sub { max-width: none; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--rev .split-media { order: 0; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .dl-hero-card { grid-template-columns: 1fr; }
  .dl-side { border-left: 0; border-top: 1px solid var(--line-2); }
}

@media (max-width: 860px) {
  .section { padding: 62px 0; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-2); }
  .release { grid-template-columns: 1fr; gap: 18px; }
  .release-side { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line-2); padding-bottom: 14px; }
  .cta { padding: 40px 28px; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    display: none;
    padding: 12px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { padding: 12px 14px; font-size: 1rem; }
  .nav-toggle { display: inline-flex; }
  .brand-name span { display: none; }
  .header-actions .btn { padding: 8px 13px; font-size: .875rem; }
  .header-inner { gap: 10px; }
  .brand-name { font-size: 1rem; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .qr-panel { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  /* 弹窗内保持双列，避免高度过长 */
  .modal-body .qr-panel { grid-template-columns: 1fr 1fr; gap: 14px; padding: 0; }
  .modal-body .qr-box { max-width: 128px; }
  .modal-body .qr-title { font-size: .8125rem; }
  .modal-body .qr-desc { font-size: .75rem; }
  .dl-main, .dl-side { padding: 24px 20px; }
  .dl-facts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta { padding: 34px 22px; border-radius: var(--radius); }
  .section-head { margin-bottom: 30px; }
  .step { grid-template-columns: 40px 1fr; gap: 14px; }
  .step::before { width: 38px; height: 38px; }
  .step::after { left: 18px; top: 38px; }
  .modal-head, .modal-body, .modal-foot { padding-left: 20px; padding-right: 20px; }
  th, td { padding: 11px 14px; white-space: normal; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  caption { padding: 12px 14px; }
}
