/* ============================================================
   QuickFind 官网 v2 · 设计系统
   深青品牌色 · 现代卡片式 · 明暗双主题 · 零构建
   ============================================================ */

:root {
  /* 品牌色（深青 / teal） */
  --brand: #0d9488;
  --brand-deep: #0f766e;
  --brand-ink: #0b5a54;
  --brand-soft: #e4f4f2;
  --brand-soft-2: #d1ece9;
  --brand-grad: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  --brand-glow: rgba(13, 148, 136, 0.16);

  /* 中性色 */
  --bg: #f6f8fa;
  --bg-soft: #edf2f5;
  --card: #ffffff;
  --ink: #0f1a24;
  --ink-2: #3c4d5f;
  --muted: #64748b;
  --line: #e1e8ee;
  --line-strong: #cbd8e0;

  /* 语义色 */
  --ok: #15803d;
  --ok-soft: #e5f4ea;
  --warn: #b45309;
  --warn-soft: #fdf0dd;
  --danger: #b91c1c;
  --danger-soft: #fdeaea;
  --beta: #7c3aed;
  --beta-soft: #f1eafe;

  /* 圆角 / 阴影 */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 26, 36, 0.05), 0 1px 6px rgba(15, 26, 36, 0.04);
  --shadow-md: 0 2px 6px rgba(15, 26, 36, 0.06), 0 8px 24px rgba(15, 26, 36, 0.06);
  --shadow-lg: 0 4px 12px rgba(15, 26, 36, 0.08), 0 18px 44px rgba(15, 26, 36, 0.10);

  /* 字体 */
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: "Cascadia Code", Consolas, "SF Mono", Menlo, monospace;

  --header-h: 64px;
  --container: 1120px;
  --radius: var(--r-lg);
}

html[data-theme="dark"] {
  --brand: #2dd4bf;
  --brand-deep: #5eead4;
  --brand-ink: #99f6e4;
  --brand-soft: #0d2c29;
  --brand-soft-2: #123b36;
  --brand-grad: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%);
  --brand-glow: rgba(45, 212, 191, 0.14);

  --bg: #0a1119;
  --bg-soft: #0e1722;
  --card: #111c29;
  --ink: #e6eef5;
  --ink-2: #b9c8d6;
  --muted: #8294a6;
  --line: #1e2c3b;
  --line-strong: #2c3e50;

  --ok: #4ade80;
  --ok-soft: #10271a;
  --warn: #fbbf24;
  --warn-soft: #2c2310;
  --danger: #f87171;
  --danger-soft: #331515;
  --beta: #c4b5fd;
  --beta-soft: #241c3d;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.35), 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 6px 16px rgba(0, 0, 0, 0.45), 0 22px 56px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}
a { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: none; color: var(--brand); }
img { max-width: 100%; height: auto; }
code { font-family: var(--mono); font-size: 0.92em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-soft-2); color: var(--ink); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }

/* ---------- Hero mock（产品示意窗口） ---------- */
.mock { position: relative; }
.mock-win {
  background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 7px; padding: 13px 16px;
  border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.mock-bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock-bar > span:nth-child(1) { background: #fca5a5; }
.mock-bar > span:nth-child(2) { background: #fcd34d; }
.mock-bar > span:nth-child(3) { background: #86efac; }
.mock-input {
  flex: 1; margin-left: 8px; font-family: var(--mono); font-size: 13.5px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px;
}
.mock-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.mock-row:last-of-type { border-bottom: 0; }
.mock-ico { font-size: 17px; opacity: 0.85; flex-shrink: 0; }
.mock-row > div { flex: 1; min-width: 0; }
.mock-row b { font-weight: 600; font-size: 13.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-row small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-row em {
  margin-left: auto; flex-shrink: 0; font-style: normal; font-size: 10.5px; font-weight: 700;
  color: var(--brand-deep); background: var(--brand-soft); border-radius: 999px; padding: 2px 8px;
}
.mock-foot {
  display: flex; justify-content: space-between; padding: 9px 16px;
  font-size: 11px; color: var(--muted); background: var(--bg-soft);
}

/* ---------- 顶部公告条 ---------- */
.announce {
  display: none;
  position: relative;
  background: var(--brand-grad);
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 8px 44px 8px 16px;
  line-height: 1.5;
}
.announce.show { display: block; }
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.announce .ann-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2); border: 0; color: #fff; cursor: pointer;
  width: 24px; height: 24px; border-radius: 6px; font-size: 14px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.announce .ann-close:hover { background: rgba(255, 255, 255, 0.35); }

/* ---------- 头部导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -0.2px;
  margin-right: 8px; flex-shrink: 0;
}
.brand .logo {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--brand-grad); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px var(--brand-glow);
}
.brand .logo svg { width: 19px; height: 19px; }
.brand:hover { color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px;
  border-radius: 10px; color: var(--ink-2); font-size: 15px; font-weight: 500;
  transition: background .15s, color .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.active { color: var(--brand-deep); background: var(--brand-soft); font-weight: 600; }

.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.lang-switch button {
  border: 0; background: transparent; color: var(--muted); font-size: 12.5px;
  padding: 4px 9px; border-radius: 7px; cursor: pointer; font-weight: 500;
  transition: all .15s;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.on { background: var(--card); color: var(--brand-deep); box-shadow: var(--shadow-sm); font-weight: 600; }

.icon-btn {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink-2); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.icon-btn:hover { color: var(--brand-deep); border-color: var(--line-strong); }
.icon-btn svg { width: 18px; height: 18px; }
.nav-toggle { display: none; }

/* ---------- 移动端菜单 ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 10px 16px 16px; gap: 2px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { height: 44px; padding: 0 12px; font-size: 16px; border-radius: 10px; }
}

/* ---------- 通用区块 ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-tight { padding: 56px 0; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.kicker {
  display: inline-block; margin: 0 0 10px;
  color: var(--brand-deep); font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase;
}
.section-head h1, .section-head h2 {
  margin: 0 0 10px; font-size: 34px; line-height: 1.25; letter-spacing: -0.5px; font-weight: 750;
}
.section-head .sub { margin: 0; color: var(--muted); font-size: 16.5px; }

h1, h2, h3, h4 { line-height: 1.3; letter-spacing: -0.2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 76px;
  background:
    radial-gradient(900px 420px at 85% -10%, var(--brand-glow), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, var(--brand-glow), transparent 55%),
    var(--bg);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-soft); color: var(--brand-deep); border: 1px solid var(--brand-soft-2);
  font-size: 13.5px; font-weight: 600; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.badge-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); }
.hero h1 { margin: 0 0 18px; font-size: 52px; line-height: 1.12; letter-spacing: -1px; font-weight: 800; }
.hero h1 .grad {
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero .lead { margin: 0 0 30px; font-size: 18px; color: var(--ink-2); max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-metrics {
  display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 34px;
  color: var(--muted); font-size: 14px; font-weight: 500;
}
.hero-metrics span { display: inline-flex; align-items: center; gap: 7px; }
.hero-metrics svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; font-size: 15px; font-weight: 600; padding: 11px 22px;
  border: 1px solid transparent; cursor: pointer; text-align: center; white-space: nowrap;
  transition: all .18s ease; line-height: 1.4;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: 0 4px 14px var(--brand-glow); }
.btn-primary:hover { color: #fff; filter: brightness(1.06); box-shadow: 0 6px 20px var(--brand-glow); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn-lg { padding: 14px 30px; font-size: 16.5px; border-radius: 14px; }
.btn-sm { padding: 7px 14px; font-size: 13.5px; border-radius: 9px; }
.btn[disabled], .btn.disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; }
.btn-ghost.disabled { opacity: 0.7; }

/* ---------- 卡片 / 网格 ---------- */
.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); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 26px 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card .icon {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 16px;
  background: var(--brand-soft); color: var(--brand-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.card .icon svg { width: 24px; height: 24px; }
.card .icon.teal { background: var(--brand-soft); color: var(--brand-deep); }
.card h3 { margin: 0 0 8px; font-size: 17.5px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- 语法展示卡 ---------- */
.syntax-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.syntax-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.syntax-card .qrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.syntax-card .q {
  font-family: var(--mono); font-size: 14.5px; color: var(--ink);
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 8px; word-break: break-all;
}
.syntax-card .tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--brand-deep); background: var(--brand-soft);
  padding: 3px 9px; border-radius: 999px; flex-shrink: 0;
}
.syntax-card h4 { margin: 0 0 6px; font-size: 16px; }
.syntax-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: var(--brand-grad); border-radius: var(--r-xl); color: #fff;
  text-align: center; padding: 56px 40px;
  box-shadow: 0 18px 48px var(--brand-glow);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 260px at 15% 0%, rgba(255,255,255,.14), transparent 60%),
              radial-gradient(500px 240px at 90% 100%, rgba(255,255,255,.10), transparent 55%);
}
.cta-band > * { position: relative; }
.cta-band h2 { margin: 0 0 10px; font-size: 30px; letter-spacing: -0.4px; }
.cta-band p { margin: 0 0 26px; opacity: 0.9; font-size: 16px; }
.cta-band .btn-ghost { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.24); color: #fff; border-color: rgba(255,255,255,0.7); }

/* ---------- 页首（内页） ---------- */
.page-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--brand-soft) 0%, transparent 100%); }
.page-hero .kicker { margin-bottom: 8px; }
.page-hero h1 { margin: 0 0 12px; font-size: 38px; letter-spacing: -0.6px; font-weight: 800; }
.page-hero .lead { margin: 0; color: var(--ink-2); font-size: 17px; max-width: 720px; }

/* ---------- 文档页（extra 渲染） ---------- */
.doc-body { max-width: 820px; margin: 0 auto; }
.doc-body .lead { color: var(--muted); font-size: 16.5px; margin: 0 0 36px; }
.doc-block { margin-bottom: 30px; }
.doc-block h2 {
  margin: 0 0 12px; font-size: 22px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px;
}
.doc-block h2::before { content: ""; width: 4px; height: 20px; border-radius: 4px; background: var(--brand-grad); flex-shrink: 0; }
.doc-block h3 { margin: 20px 0 8px; font-size: 17px; }
.doc-block p { margin: 0 0 12px; color: var(--ink-2); }
.doc-block ul { margin: 0 0 14px; padding-left: 22px; color: var(--ink-2); }
.doc-block li { margin: 6px 0; }
.doc-block .note { background: var(--brand-soft); border: 1px solid var(--brand-soft-2); color: var(--ink-2); border-radius: var(--r-md); padding: 14px 18px; font-size: 14.5px; }

/* ---------- 表格 ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 18px; border-radius: var(--r-md); border: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--card); min-width: 520px; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--bg-soft); font-weight: 600; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table td code { background: var(--bg-soft); padding: 2px 8px; border-radius: 6px; font-size: 13px; }
.table .yes { color: var(--ok); font-weight: 700; }
.table .no { color: var(--muted); }
.table .partial { color: var(--warn); }

/* ---------- FAQ 折叠 ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.faq-item[open] { border-color: var(--brand-soft-2); box-shadow: var(--shadow-md); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px;
  padding: 18px 22px; font-weight: 600; font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; margin-left: auto; font-size: 20px; color: var(--brand-deep);
  font-weight: 500; transition: transform .2s; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 18px; color: var(--ink-2); font-size: 15px; }
.faq-item .faq-body p { margin: 0; }

/* ---------- 快捷键 ---------- */
kbd {
  font-family: var(--mono); font-size: 12.5px; background: var(--bg-soft);
  border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px;
  padding: 2px 7px; color: var(--ink);
}

/* ---------- 下载页 ---------- */
.dl-row {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.dl-row .meta { min-width: 0; }
.dl-row h4 { margin: 0 0 4px; font-size: 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dl-row small { color: var(--muted); font-size: 13px; word-break: break-all; }
.dl-row .sha { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 6px; word-break: break-all; }
.dl-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
}
.dl-chip.ready { background: var(--ok-soft); color: var(--ok); }
.dl-chip.soon { background: var(--warn-soft); color: var(--warn); }

.platform-head { display: flex; align-items: center; gap: 14px; margin: 34px 0 16px; }
.platform-head .pl-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-deep);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.platform-head .pl-icon svg { width: 22px; height: 22px; }
.platform-head h2 { margin: 0; font-size: 21px; }
.platform-head p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }

.mirror-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.mirror-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  color: var(--ink-2); background: var(--card); transition: all .15s;
}
.mirror-chip:hover { border-color: var(--brand); color: var(--brand-deep); }
.mirror-chip.off { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.mirror-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.mirror-chip.on .dot { background: var(--ok); }
.mirror-chip.primary { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-deep); }

.code-block { position: relative; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; margin: 8px 0 4px; }
.code-block pre { margin: 0; overflow-x: auto; font-family: var(--mono); font-size: 13px; color: var(--ink); }
.code-copy {
  position: absolute; top: 10px; right: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink-2); font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 8px; cursor: pointer;
}
.code-copy:hover { color: var(--brand-deep); border-color: var(--brand); }

.steps { counter-reset: step; display: grid; gap: 16px; margin: 8px 0 0; }
.step { display: flex; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 22px; box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step);
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: var(--brand-grad); color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.step h4 { margin: 0 0 4px; font-size: 15.5px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- 更新日志时间线 ---------- */
.timeline { position: relative; margin: 8px 0 0; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line-strong); border-radius: 2px; }
.tl-item { position: relative; margin-bottom: 26px; }
.tl-item::before {
  content: ""; position: absolute; left: -29px; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--brand-grad); box-shadow: 0 0 0 4px var(--brand-glow);
}
.tl-item .tl-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tl-item h3 { margin: 0; font-size: 17px; }
.tl-item .tl-date { color: var(--muted); font-size: 13px; }
.tl-item .tl-body { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }
.tl-item .tl-body ul { margin: 6px 0 0; padding-left: 20px; }
.tl-item .tl-body li { margin: 4px 0; }

/* ---------- 表单 ---------- */
.form-card { max-width: 720px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 16px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.form-label .req { color: var(--danger); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px; font-size: 15px; font-family: var(--font);
  color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: 10px; transition: border-color .15s, box-shadow .15s, background .15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--brand); background: var(--card);
  box-shadow: 0 0 0 3px var(--brand-glow);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form-error { font-size: 13px; color: var(--danger); margin-top: 6px; display: none; }
.form-error.show { display: block; }
.form-ok { display: none; background: var(--ok-soft); border: 1px solid rgba(21,128,61,.25); color: var(--ok); border-radius: var(--r-md); padding: 16px 20px; font-size: 14.5px; margin-bottom: 18px; }
.form-ok.show { display: block; }
.form-err-panel { display: none; background: var(--danger-soft); border: 1px solid rgba(185,28,28,.2); color: var(--danger); border-radius: var(--r-md); padding: 14px 18px; font-size: 14px; margin-bottom: 18px; }
.form-err-panel.show { display: block; }
.select-wrap { position: relative; }
.select-wrap::after { content: "▾"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; font-size: 13px; }
.form-select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; }

.seg { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 11px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; color: var(--muted); font-size: 13.5px; font-weight: 600; padding: 7px 16px; border-radius: 8px; cursor: pointer; transition: all .15s; }
.seg button.on { background: var(--card); color: var(--brand-deep); box-shadow: var(--shadow-sm); }
.seg button:hover:not(.on) { color: var(--ink); }

/* ---------- 关于页 ---------- */
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.principle { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.principle .p-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-deep); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.principle .p-icon svg { width: 21px; height: 21px; }
.principle h3 { margin: 0 0 6px; font-size: 16.5px; }
.principle p { margin: 0; color: var(--muted); font-size: 14px; }
.fact-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; flex-wrap: wrap; }
.fact-row:last-child { border-bottom: 0; }
.fact-row .k { color: var(--muted); }
.fact-row .v { font-weight: 600; text-align: right; }

/* ---------- 支持中心 ---------- */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; } }
.support-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.support-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.support-card .s-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-soft); color: var(--brand-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.support-card .s-icon svg { width: 24px; height: 24px; }
.support-card h3 { margin: 0 0 8px; font-size: 17px; }
.support-card p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.support-card .link-list { display: flex; flex-direction: column; gap: 8px; }
.support-card .link-list a { font-size: 14.5px; font-weight: 500; }

/* ---------- 404 ---------- */
.err-wrap { text-align: center; padding: 100px 24px 120px; }
.err-code { font-size: 110px; font-weight: 800; letter-spacing: -4px; line-height: 1; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.err-wrap h1 { margin: 10px 0 10px; font-size: 28px; }
.err-wrap p { color: var(--muted); margin: 0 0 28px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 56px 0 0; margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand-col .brand { margin-bottom: 12px; }
.footer .brand-col p { color: var(--muted); font-size: 14px; max-width: 300px; }
.footer-col h4 { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: var(--ink); }
.footer-col a { display: block; color: var(--muted); font-size: 14px; padding: 4px 0; transition: color .15s; }
.footer-col a:hover { color: var(--brand-deep); }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 18px 0 20px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--brand-deep); }

/* ---------- 网站地图 ---------- */
.sitemap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .sitemap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sitemap-grid { grid-template-columns: 1fr; } }
.sitemap-col h3 { font-size: 15px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sitemap-col a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; }
.sitemap-col a:hover { color: var(--brand-deep); }

/* ---------- 博客 ---------- */
.blog-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.blog-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.blog-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.blog-item .blog-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.blog-item .blog-meta span { font-size: 12.5px; color: var(--muted); }
.blog-item h3 { margin: 0 0 10px; font-size: 18px; }
.blog-item p { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; }
.blog-item ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 13.5px; }

/* ---------- 通知 / 提示 ---------- */
.note-box { background: var(--brand-soft); border: 1px solid var(--brand-soft-2); color: var(--ink-2); border-radius: var(--r-md); padding: 16px 20px; font-size: 14.5px; margin: 10px 0; }
.note-box b { color: var(--brand-deep); }

/* ---------- 法律页 ---------- */
.legal-doc { max-width: 860px; margin: 0 auto; }
.legal-doc .legal-meta { color: var(--muted); font-size: 13.5px; margin-bottom: 26px; }
.legal-doc h2 { font-size: 21px; margin: 34px 0 12px; }
.legal-doc h3 { font-size: 16.5px; margin: 22px 0 8px; }
.legal-doc p { color: var(--ink-2); font-size: 15px; margin: 0 0 12px; }
.legal-doc ul { color: var(--ink-2); padding-left: 22px; }
.legal-doc li { margin: 6px 0; }
.legal-highlight { background: var(--brand-soft); border: 1px solid var(--brand-soft-2); border-radius: var(--r-md); padding: 16px 20px; font-size: 14.5px; color: var(--ink-2); margin: 0 0 8px; }

/* ---------- 小工具 ---------- */
.chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.chip-beta { background: var(--beta-soft); color: var(--beta); }
.chip-stable { background: var(--ok-soft); color: var(--ok); }
.divider { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

@media (max-width: 900px) {
  .hero { padding: 60px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { font-size: 40px; }
  .section { padding: 56px 0; }
  .page-hero h1 { font-size: 32px; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 34px; }
  .hero .lead { font-size: 16.5px; }
  .cta-band { padding: 42px 24px; }
  .form-card { padding: 24px 20px; }
  .dl-row { flex-direction: column; align-items: flex-start; }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
