:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #fafbfc;
  --line: #e4e7ec;
  --line-strong: #d3d8df;
  --text: #1c2129;
  --text-dim: #5b6470;
  --text-faint: #8a93a3;
  --accent: #14968f;
  --accent-deep: #0f7f79;
  --accent-2: #0e7490;
  --accent-soft: rgba(20, 150, 143, 0.1);
  --accent-2-soft: rgba(14, 116, 144, 0.08);
  --code-bg: #f4f6f8;
  --code-line: #e2e6ea;
  --serif: "Noto Serif SC", "Songti SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --mono: "JetBrains Mono", "Noto Sans SC", monospace;
  --radius: 16px;
  --radius-sm: 12px;
  --topbar-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); font-size: 0.92em; }

::selection { background: rgba(20, 150, 143, 0.2); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.16);
  border-radius: 6px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.28); }

/* 顶部导航 */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--topbar-h);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: 1320px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-mark svg { width: 100%; height: 100%; }

.brand-text {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.02em;
}

.brand-text small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.28em;
  margin-top: 2px;
}

.topnav {
  display: flex;
  gap: 6px;
}

.topnav a {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.25s, background 0.25s;
}

.topnav a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.topbar-actions { display: flex; align-items: center; gap: 12px; }

.version-pill {
  font-family: var(--mono);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--accent-2);
  border: 1px solid rgba(20, 150, 143, 0.4);
  background: var(--accent-2-soft);
}

.icon-link {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--text-dim);
  border: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.icon-link:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.icon-link svg { width: 20px; height: 20px; }

/* 三栏布局 */
.layout {
  max-width: 1320px;
  margin: 0 auto;
  padding: calc(var(--topbar-h) + 24px) 28px 0;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 250px;
  gap: 28px;
  align-items: start;
}

/* 左侧目录 */
.sidebar { position: relative; }
.sidebar-sticky { position: sticky; top: calc(var(--topbar-h) + 24px); }

.sidebar-title {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.toc { display: flex; flex-direction: column; gap: 2px; }

.toc-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.25s, background 0.25s;
}

.toc-link:hover { color: var(--text); background: var(--surface-2); }

.toc-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-faint);
  transition: background 0.3s, transform 0.3s;
}

.toc-link.is-active {
  color: var(--text);
  background: var(--accent-soft);
}

.toc-link.is-active .toc-dot {
  background: var(--accent);
  transform: scale(1.4);
}

.sidebar-card {
  margin-top: 26px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.7;
}

.sidebar-card svg {
  width: 18px;
  height: 18px;
  color: var(--accent-2);
  margin-bottom: 8px;
}

/* 主内容 */
.content { min-width: 0; }

/* Hero */
.hero { padding: 56px 8px 40px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 30px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
}

.badge-sep { width: 1px; height: 14px; background: var(--line-strong); }

.hero-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(44px, 6.5vw, 72px);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.hero-cql {
  color: var(--accent);
  font-family: var(--mono);
  margin-right: 16px;
}

.title-sub {
  font-size: 0.52em;
  color: var(--text-dim);
  font-family: var(--sans);
  font-weight: 700;
  margin-left: 14px;
  vertical-align: middle;
  letter-spacing: 0.02em;
}

.hero-slogan {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.06em;
}

.hero-desc {
  margin-top: 16px;
  max-width: 620px;
  font-size: 15.5px;
  color: var(--text-dim);
}

.hero-desc code {
  color: var(--accent-2);
  background: var(--accent-2-soft);
  padding: 1px 6px;
  border-radius: 6px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.btn svg { width: 17px; height: 17px; }

.btn-primary {
  color: #ffffff;
  background: var(--accent);
}

.btn-primary:hover { background: var(--accent-deep); }

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line-strong);
}

.btn-ghost:hover { background: var(--surface-2); border-color: var(--text-faint); }

/* 终端窗口（代码块区域保持深色不变） */
.hero-terminal {
  margin-top: 44px;
  border-radius: var(--radius);
  background: var(--code-bg);
  border: 1px solid var(--code-line);
  overflow: hidden;
}

.term-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--code-line);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.term-path {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-faint);
}

.term-body { padding: 20px 24px; }
.term-body pre { font-family: var(--mono); font-size: 14px; line-height: 1.85; white-space: pre-wrap; }
.term-body pre code { font-size: inherit; }

.term-mini { margin-top: 16px; }

/* 代码高亮色（浅色代码块内） */
.c-comment { color: #8a93a3; font-style: italic; }
.c-kw { color: #0e7490; }
.c-str { color: #b45309; }
.c-num { color: #a16207; }
.c-fn { color: #1d4ed8; }
.c-bool { color: #7c3aed; }
.c-punc { color: #6b7280; }
.c-promt { color: #0f766e; }
.c-out { color: #0f766e; }
.c-dim { color: #8a93a3; }

/* 通用区块 */
.section { padding: 56px 8px 16px; scroll-margin-top: calc(var(--topbar-h) + 12px); }

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 34px;
}

.section-index {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 8px;
  background: var(--accent-soft);
  border: 1px solid rgba(20, 150, 143, 0.35);
  flex: none;
}

.section-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.section-sub { margin-top: 6px; font-size: 14.5px; color: var(--text-dim); }

/* 特性卡片 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.3s, background 0.3s;
}

.feature-card:hover {
  border-color: rgba(20, 150, 143, 0.5);
  background: var(--surface-2);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 16px;
  color: var(--accent-2);
  background: var(--accent-2-soft);
  border: 1px solid rgba(20, 150, 143, 0.3);
}

.feature-card:nth-child(even) .feature-icon {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(20, 150, 143, 0.35);
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p { font-size: 13.5px; color: var(--text-dim); line-height: 1.75; }

/* 快速开始 */
.step-list { display: flex; flex-direction: column; gap: 22px; }

.step {
  display: flex;
  gap: 20px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  scroll-margin-top: calc(var(--topbar-h) + 18px);
}

.step-num {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(20, 150, 143, 0.35);
}

.step-body h3 { font-size: 17px; margin-bottom: 4px; }
.step-body > p { font-size: 14px; color: var(--text-dim); margin-bottom: 14px; }
.step-note { margin-top: 12px !important; margin-bottom: 0 !important; }
.step-note code {
  color: var(--accent-2);
  background: var(--accent-2-soft);
  padding: 1px 6px;
  border-radius: 6px;
}

/* 代码窗口（保持深色不变） */
.code-window {
  border-radius: var(--radius-sm);
  background: var(--code-bg);
  border: 1px solid var(--code-line);
  overflow: hidden;
}

.code-head {
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--code-line);
}

.code-lang {
  font-family: var(--mono);
  font-size: 11.5px;
  color: #5b6470;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.code-window pre {
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.85;
  overflow-x: auto;
  white-space: pre;
  color: #1c2129;
}

.python-block {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(20, 150, 143, 0.35);
}

.python-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.python-head svg { width: 18px; height: 18px; }

/* 语法速查 */
.syntax-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.syntax-card {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.syntax-card h3 {
  font-size: 16px;
  margin-bottom: 14px;
  color: var(--text);
}

.syntax-card h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  margin-right: 10px;
  transform: rotate(45deg);
}

.map-table { width: 100%; border-collapse: collapse; font-size: 13px; }

.map-table th {
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  font-weight: 400;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
}

.map-table td {
  padding: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
}

.map-table tr:last-child td { border-bottom: none; }

.map-table td code {
  color: var(--text);
  font-size: 12.5px;
}

.syntax-foot {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--text-dim);
}

.syntax-foot code {
  color: var(--accent-2);
  background: var(--accent-2-soft);
  padding: 1px 6px;
  border-radius: 6px;
}

/* 生态网格 */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.eco-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.3s, background 0.3s;
}

.eco-card:hover {
  border-color: rgba(20, 150, 143, 0.45);
  background: var(--accent-2-soft);
}

.eco-code {
  flex: none;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(20, 150, 143, 0.35);
}

.eco-card h3 { font-size: 14.5px; font-weight: 600; }
.eco-card p { font-size: 12px; color: var(--text-faint); }

/* 命令行工具（终端保持深色） */
.cli-terminal {
  border-radius: var(--radius);
  background: var(--code-bg);
  border: 1px solid var(--code-line);
  overflow: hidden;
}

.term-table { padding: 8px 24px; }

.cmd-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cmd-row:last-child { border-bottom: none; }

.cmd-name {
  flex: none;
  width: 150px;
  font-size: 13.5px;
  color: #0f766e;
  font-family: var(--mono);
}

.cmd-row span { font-size: 13.5px; color: #5b6470; }

/* 右侧通用栏 */
.aside { position: relative; }
.aside-sticky { position: sticky; top: calc(var(--topbar-h) + 24px); display: flex; flex-direction: column; gap: 16px; }

.aside-card {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.aside-label {
  font-size: 11.5px;
  letter-spacing: 0.28em;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.version-big {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

.meta-list { list-style: none; }

.meta-list li {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.meta-list li:last-child { border-bottom: none; }

.meta-list span { color: var(--text-faint); }
.meta-list em { font-style: normal; font-family: var(--mono); color: var(--text); font-size: 12.5px; }

.link-list { display: flex; flex-direction: column; gap: 4px; }

.link-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--text-dim);
  transition: color 0.25s, background 0.25s;
}

.link-list a:hover { color: var(--text); background: var(--surface-2); }

.link-list svg { width: 17px; height: 17px; color: var(--accent-2); }

.aside-code {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--code-bg);
  border: 1px solid var(--code-line);
}

.aside-code code { font-size: 12.5px; color: #0f766e; overflow-x: auto; white-space: nowrap; }

.copy-btn {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--code-line);
  color: #5b6470;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.copy-btn:hover { color: #1c2129; border-color: #d3d8df; background: rgba(0, 0, 0, 0.04); }

.copy-btn.is-copied { color: #0f766e; border-color: rgba(15, 118, 110, 0.45); }

.copy-btn svg { width: 15px; height: 15px; }

/* 开发者与工作室 */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.about-card {
  padding: 26px 26px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.about-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.avatar {
  flex: none;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line-strong);
}

.about-card-head h3 { font-size: 20px; font-weight: 700; }

.about-role {
  font-size: 13px;
  color: var(--accent-2);
  margin-top: 4px;
  font-weight: 500;
}

.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.about-tag {
  font-size: 12px;
  color: var(--text-dim);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 999px;
}

.about-card p { font-size: 14px; color: var(--text-dim); line-height: 1.85; }

.about-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.studio-poster {
  width: 100%;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

/* VS Code 插件 */
.plugin-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.plugin-title { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }

.plugin-logo {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #2b4a8f;
}

.plugin-logo svg { width: 30px; height: 30px; }

.plugin-title h3 { font-size: 21px; font-weight: 700; }

.plugin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.plugin-features { margin-top: 12px; }
.plugin-features li { list-style: none; padding: 7px 0 7px 26px; position: relative; font-size: 14px; color: var(--text-dim); border-bottom: 1px solid var(--line); }
.plugin-features li:last-child { border-bottom: none; }

.plugin-features li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent-2);
}

.plugin-side {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plugin-version-label { font-size: 12px; letter-spacing: 0.18em; color: var(--text-faint); }

.plugin-version {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
  background: var(--accent-2);
  border: 1px solid transparent;
  transition: background 0.25s;
}

.btn-download:hover { background: #0f7f79; }

.btn-download svg { width: 17px; height: 17px; }

.plugin-note { font-size: 12.5px; color: var(--text-faint); line-height: 1.7; }

.plugin-note a { color: var(--accent-2); }
.plugin-note a:hover { text-decoration: underline; }

/* 插件安装步骤 */
.install-steps {
  margin-top: 30px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  scroll-margin-top: calc(var(--topbar-h) + 18px);
}
.install-steps h3 { font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.install-steps-list { display: flex; flex-direction: column; gap: 12px; }
.install-step { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-dim); }
.install-step-num {
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}
.install-step code { color: var(--accent-2); }
.install-more { margin-top: 16px; font-size: 13px; color: var(--text-faint); }
.install-more a { color: var(--accent-2); }
.install-more a:hover { text-decoration: underline; }

/* 锚点定位偏移 */
.syntax-card, .about-card, .plugin-side { scroll-margin-top: calc(var(--topbar-h) + 18px); }

/* 页脚 */
.footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 28px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }

.brand-mark-sm { width: 26px; height: 26px; }

.footer-note { font-size: 13px; color: var(--text-dim); max-width: 480px; }

.footer-links { display: flex; gap: 22px; }

.footer-links a { font-size: 13.5px; color: var(--text-dim); transition: color 0.25s; }

.footer-links a:hover { color: var(--accent); }

.footer-copy {
  font-size: 12px;
  color: var(--text-faint);
  font-family: var(--mono);
  letter-spacing: 0.06em;
  margin-top: 6px;
}

/* 滚动渐入 */
.reveal {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.reveal.is-in { opacity: 1; }

/* 响应式 */
@media (max-width: 1180px) {
  .layout { grid-template-columns: 190px minmax(0, 1fr); }
  .aside { display: none; }
  .plugin-card { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; }
  .topnav { display: none; }
  .hero { padding-top: 34px; }
  .step { flex-direction: column; }
}

@media (max-width: 620px) {
  .layout { padding: calc(var(--topbar-h) + 12px) 16px 0; }
  .hero-title { font-size: 38px; }
  .hero-cql { display: block; margin: 0 0 8px; }
  .term-body { padding: 14px 16px; overflow-x: auto; }
  .cmd-row { flex-direction: column; gap: 2px; }
  .cmd-name { width: auto; }
  .feature-grid { grid-template-columns: 1fr; }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}
