/* OrchidNote 官网样式：配色与程序白天 / 夜间主题一致（暖米色、近黑正文、中性主按钮） */

:root {
  --bg: #FAF9F5;
  --surface: #F5F4ED;
  --card: #FFFFFF;
  --text: #141413;
  --text-2: #5E5D59;
  --text-3: #8A8980;
  --border: #E2E0D8;
  --border-strong: #CFCCC1;
  --primary-bg: #141413;
  --primary-fg: #FFFFFF;
  --accent: #C0392B;          /* 图标里 PDF 标签的红 */
  --accent-soft: #F6E3DE;
  --link: #0A6BD6;
  --highlight: rgba(241, 196, 15, .38);
  --pen: #E67E22;
  --shadow: 0 1px 2px rgba(20,20,19,.04), 0 8px 24px rgba(20,20,19,.06);
  --radius: 14px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #262624;
    --surface: #1F1E1D;
    --card: #30302E;
    --text: #F0EFEC;
    --text-2: #BDBBB3;
    --text-3: #8F8D86;
    --border: #3E3E3A;
    --border-strong: #55544F;
    --primary-bg: #F0EFEC;
    --primary-fg: #141413;
    --accent: #E8715F;
    --accent-soft: #4A2B25;
    --link: #5AA9FF;
    --highlight: rgba(241, 196, 15, .30);
    --shadow: 0 1px 2px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #262624;
  --surface: #1F1E1D;
  --card: #30302E;
  --text: #F0EFEC;
  --text-2: #BDBBB3;
  --text-3: #8F8D86;
  --border: #3E3E3A;
  --border-strong: #55544F;
  --primary-bg: #F0EFEC;
  --primary-fg: #141413;
  --accent: #E8715F;
  --accent-soft: #4A2B25;
  --link: #5AA9FF;
  --highlight: rgba(241, 196, 15, .30);
  --shadow: 0 1px 2px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
kbd {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: .85em;
  padding: 1px 6px;
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--card);
  white-space: nowrap;
}
code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: .88em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0 4px;
  word-break: break-all;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; height: 60px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; font-size: 20px; }
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 32px; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  color: var(--text-2); padding: 6px 12px; border-radius: 8px; font-size: 15px;
}
.nav-links a:hover { background: var(--surface); color: var(--text); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--text); font-weight: 600; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 36px; height: 36px; display: inline-grid; place-items: center;
  border: 1px solid transparent; border-radius: 8px; background: none; color: var(--text-2); cursor: pointer;
}
.icon-btn:hover { background: var(--surface); color: var(--text); }
/* 语言切换：页眉右侧的 EN / 中文，外观同图标按钮 */
.lang-link {
  height: 36px; padding: 0 10px; display: inline-grid; place-items: center;
  border-radius: 8px; color: var(--text-2); font-size: 14px; font-weight: 600;
  white-space: nowrap; flex-shrink: 0; /* 页眉挤的时候「中文」两个字不折成两行 */
}
.lang-link:hover { background: var(--surface); color: var(--text); text-decoration: none; }
.icon-btn svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }
/* 窄一点的桌面宽度：导航链接收窄内边距，英文页一行放得下 */
@media (max-width: 900px) { .nav-links a { padding: 6px 8px; } }
@media (max-width: 760px) {
  .menu-toggle { display: inline-grid; }
  .nav-links {
    display: none; position: absolute; top: 60px; left: 0; right: 0; margin: 0;
    flex-direction: column; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; }
  .nav-right .btn { display: none; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 10px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; font-family: inherit;
  transition: opacity .15s, background .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary-bg); color: var(--primary-fg); }
.btn-primary:hover { opacity: .86; }
.btn-secondary { background: var(--card); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface); }
.btn-lg { height: 50px; padding: 0 26px; font-size: 16px; border-radius: 12px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-block { width: 100%; }

/* ---------- 首屏 ---------- */
.hero { padding-top: 80px; padding-bottom: 40px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-2); background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; margin-bottom: 24px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(34px, 6vw, 60px); letter-spacing: -.02em; margin-bottom: 20px;
}
.hero h1 .mark { background: linear-gradient(transparent 58%, var(--highlight) 58%, var(--highlight) 92%, transparent 92%); padding: 0 .08em; }
.hero .lead { font-size: clamp(16px, 2.2vw, 19px); color: var(--text-2); max-width: 680px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 16px; font-size: 13px; color: var(--text-3); }

/* 程序界面示意 */
.mock-wrap { padding-top: 32px; padding-bottom: 80px; }
.mock {
  max-width: 980px; margin: 0 auto; border: 1px solid var(--border); border-radius: 14px;
  background: var(--surface); box-shadow: 0 30px 80px -30px rgba(20,20,19,.25), var(--shadow); overflow: hidden;
}
.mock-titlebar { position: relative; display: flex; align-items: center; height: 36px; padding: 0 14px; gap: 10px; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--text-3); }
/* 和程序一样：标题（文件名）在整条标题栏正中 */
.mock-title { position: absolute; left: 50%; transform: translateX(-50%); color: var(--text); white-space: nowrap; }
.mock-win { margin-left: auto; display: flex; gap: 14px; }
.mock-body { display: grid; grid-template-columns: 180px 1fr; min-height: 440px; }
.mock-side { padding: 14px 10px; font-size: 12px; color: var(--text-2); }
.mock-side .h { font-size: 11px; color: var(--text-3); margin: 4px 6px 8px; letter-spacing: .04em; }
.mock-side .row { padding: 5px 8px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-side .row.sel { background: var(--border); color: var(--text); }
.mock-side .row.sub { padding-left: 20px; }
.mock-canvas { background: var(--bg); padding: 24px 28px; position: relative; overflow: hidden; }
.mock-toolbar {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 2px; padding: 4px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.mock-toolbar span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; color: var(--text-2); }
.mock-toolbar span.on { background: var(--border); color: var(--text); }
.mock-toolbar svg { width: 15px; height: 15px; }
.mock-page {
  margin: 34px auto 0; max-width: 460px; background: #fff; color: #222; border-radius: 3px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08); padding: 32px 36px; font-family: Georgia, "Times New Roman", serif; font-size: 12px; line-height: 1.7;
}
:root[data-theme="dark"] .mock-page { filter: invert(.88) hue-rotate(180deg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mock-page { filter: invert(.88) hue-rotate(180deg); } }
.mock-page h4 { font-size: 15px; text-align: center; margin: 0 0 4px; }
.mock-page .au { text-align: center; color: #666; font-size: 10px; margin-bottom: 14px; }
.mock-page .sec { font-weight: 700; margin: 10px 0 4px; }
.mock-page p { margin: 0 0 8px; text-align: justify; }
.mock-page .hl { background: rgba(241,196,15,.45); }
.mock-page .ul { text-decoration: underline; text-decoration-color: #E67E22; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mock-page table { width: 100%; border-collapse: collapse; font-size: 10px; margin: 8px 0; font-family: var(--font); }
.mock-page th, .mock-page td { border: 1px solid #bbb; padding: 3px 6px; text-align: center; }
.mock-page .copy-chip {
  display: inline-block; font-family: var(--font); font-size: 10px; background: #141413; color: #fff; padding: 2px 8px; border-radius: 999px; margin-bottom: 4px;
}
/* 问 AI 卡片浮在阅读区上（程序里可以拖动）：标题 + 新对话 / 收起 / 最大化 / 关闭，同程序 */
.mock-ai {
  position: absolute; right: 16px; bottom: 14px; width: 320px; padding: 12px 14px; font-size: 12px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 32px -8px rgba(20,20,19,.28);
}
.mock-ai .ai-head { display: flex; align-items: center; justify-content: space-between; color: var(--text); }
.mock-ai .ai-head .t { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.mock-ai .ai-head .acts { display: flex; align-items: center; gap: 9px; }
.mock-ai .ai-head .new { font-size: 11px; margin-right: 2px; }
.mock-ai .ai-head svg { width: 12px; height: 12px; }
.bubble { padding: 8px 10px; border-radius: 10px; line-height: 1.6; }
.bubble.q { background: var(--border); align-self: flex-end; max-width: 88%; }
.bubble.a { background: var(--card); border: 1px solid var(--border); color: var(--text-2); }
.bubble .quote { border-left: 2px solid var(--accent); padding-left: 6px; color: var(--text-3); font-size: 11px; margin-bottom: 4px; }
.mock-ai .input { margin-top: 2px; border: 1px solid var(--border-strong); border-radius: 10px; padding: 8px 10px; color: var(--text-3); background: var(--card); }
@media (max-width: 900px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
}
@media (max-width: 640px) {
  .mock-ai { display: none; }
  .mock-canvas { padding: 16px 12px; }
  .mock-page { padding: 22px 18px; }
}

/* ---------- 区块 ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .kicker { color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: .06em; margin-bottom: 10px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--text-2); font-size: 17px; margin: 0; }

/* 亮点（大块图文交替） */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.spotlight:last-child { margin-bottom: 0; }
.spotlight.rev .spot-text { order: 2; }
.spot-text .tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 2px 10px; border-radius: 999px; margin-bottom: 14px; }
.spot-text h3 { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); }
.spot-text p { color: var(--text-2); font-size: 16.5px; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23C0392B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.spot-visual {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px; min-height: 280px; display: flex; flex-direction: column; justify-content: center; gap: 12px; font-size: 14px;
}
@media (max-width: 860px) {
  .spotlight { grid-template-columns: 1fr; gap: 28px; margin-bottom: 64px; }
  .spotlight.rev .spot-text { order: 0; }
}

/* 示意小组件 */
.v-line { height: 9px; border-radius: 5px; background: var(--border); }
.v-line.w60 { width: 60%; } .v-line.w80 { width: 80%; } .v-line.w90 { width: 90%; } .v-line.w45 { width: 45%; }
.v-hl { background: var(--highlight); }
.v-note {
  align-self: flex-end; max-width: 78%; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--text-2);
}
.v-note b { color: var(--text); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--border); }
.timeline li { position: relative; margin-bottom: 14px; font-size: 13.5px; }
.timeline li::before { content: ""; position: absolute; left: -24px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--card); border: 2px solid var(--accent); }
.timeline .p { color: var(--text-3); font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 12.5px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text-2); background: var(--bg); }
.chip.dark { background: var(--primary-bg); color: var(--primary-fg); border-color: transparent; }
.v-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.v-table th, .v-table td { border: 1px solid var(--border-strong); padding: 6px 8px; text-align: center; }
.v-table th { background: var(--surface); }
.v-arrow { text-align: center; color: var(--text-3); font-size: 13px; }
.v-ad { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; background: var(--bg); }
.v-ad input { accent-color: var(--primary-bg); }
.v-ad .thumb { width: 44px; height: 26px; border-radius: 4px; background: repeating-linear-gradient(45deg, var(--accent-soft), var(--accent-soft) 4px, var(--card) 4px, var(--card) 8px); border: 1px solid var(--border); flex: none; }
.v-ad .meta { margin-left: auto; color: var(--text-3); font-size: 12px; white-space: nowrap; }
/* 全书导图示意：书 → 章 → 要点；没读到的章变淡、收起 */
.v-map { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.v-map > li { padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); margin-bottom: 8px; }
.v-map > li b { font-weight: 600; }
.v-map ul { list-style: none; margin: 6px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--accent-soft); color: var(--text-2); font-size: 13px; }
.v-map ul li { padding: 2px 0; }
.v-map .dim { opacity: .45; }
/* 功能卡片标题旁的「专业版」小标签 */
.card .pro { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 1px 8px; border-radius: 999px; }

/* 功能网格 */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
}
.card h3 { font-size: 17px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.card p { color: var(--text-2); font-size: 15px; margin: 0; }
.card .ico {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); color: var(--text);
}
.card .ico svg { width: 18px; height: 18px; }

/* 数字条 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .n { font-family: var(--serif); font-size: 36px; font-weight: 700; }
.stat .l { color: var(--text-2); font-size: 14px; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } }

/* 快捷键表 */
.kbd-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.kbd-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.kbd-table td:last-child { text-align: right; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; font-size: 16.5px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p, .faq details ul { color: var(--text-2); margin: 0 0 16px; }

/* CTA */
.cta { text-align: center; padding: 72px 24px; border-radius: 20px; background: var(--primary-bg); color: var(--primary-fg); }
.cta h2 { font-family: var(--serif); font-size: clamp(26px, 4vw, 38px); }
.cta p { opacity: .75; margin-bottom: 28px; }
.cta .btn-primary { background: var(--primary-fg); color: var(--primary-bg); }
.cta .btn-secondary { background: transparent; color: var(--primary-fg); border-color: color-mix(in srgb, var(--primary-fg) 35%, transparent); }
.cta .btn-secondary:hover { background: color-mix(in srgb, var(--primary-fg) 10%, transparent); }

/* ---------- 页面头（子页） ---------- */
.page-head { padding-top: 64px; padding-bottom: 40px; text-align: center; }
.page-head h1 { font-family: var(--serif); font-size: clamp(30px, 5vw, 46px); }
.page-head p { color: var(--text-2); font-size: 17px; max-width: 640px; margin: 0 auto; }

/* ---------- 价格 ---------- */
.billing-toggle { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 3px; margin-top: 24px; }
.billing-toggle button {
  border: 0; background: none; font: inherit; font-size: 14px; padding: 6px 16px; border-radius: 999px; color: var(--text-2); cursor: pointer;
}
.billing-toggle button.on { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.08); font-weight: 600; }
.billing-toggle .save { color: var(--accent); font-size: 12px; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plans.two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
@media (max-width: 900px) { .plans, .plans.two { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--text); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -12px; left: 28px; background: var(--primary-bg); color: var(--primary-fg); font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; margin-bottom: 4px; }
.plan .desc { color: var(--text-2); font-size: 14.5px; margin-bottom: 0; }
.plan .price { margin: 16px 0 4px; display: flex; align-items: baseline; gap: 4px; }
.plan .price .cur { font-size: 20px; font-weight: 600; }
.plan .price .amt { font-family: var(--serif); font-size: 46px; font-weight: 700; line-height: 1; }
.plan .price .per { color: var(--text-2); font-size: 15px; }
.plan .note { color: var(--text-3); font-size: 13px; min-height: 20px; margin-bottom: 20px; }
.plan .checks { margin: 20px 0 0; font-size: 15px; }
.plan .checks li { margin-bottom: 8px; }
.plan .fine { margin-top: auto; padding-top: 16px; color: var(--text-3); font-size: 12.5px; }
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--surface); font-size: 14px; }
.compare .grp td { background: var(--surface); font-weight: 600; font-size: 13px; color: var(--text-2); }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--text); font-weight: 700; }
.no { color: var(--text-3); }

/* ---------- 下载 ---------- */
.dl-card { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.dl-card img { width: 64px; height: 80px; }
.dl-card h2 { font-size: 22px; margin: 0 0 4px; }
.dl-card .meta { color: var(--text-2); font-size: 14px; }
@media (max-width: 700px) { .dl-card { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.hash { font-size: 12.5px; color: var(--text-3); margin-top: 8px; overflow-wrap: anywhere; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 64px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.steps li::before {
  content: counter(s); position: absolute; left: 20px; top: 18px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--primary-bg); color: var(--primary-fg); font-weight: 700; font-size: 14px;
}
.steps h4 { margin: 0 0 4px; font-size: 16px; }
.steps p { margin: 0; color: var(--text-2); font-size: 15px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { color: var(--text-2); font-weight: 600; font-size: 14px; white-space: nowrap; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.table-wrap .table tr:last-child td { border-bottom: 0; }
.changelog h3 { font-size: 18px; margin-top: 0; }
.changelog h3 .date { color: var(--text-3); font-weight: 400; font-size: 14px; margin-left: 8px; }
.changelog ul { color: var(--text-2); padding-left: 1.2em; margin: 0; }
.changelog li { margin-bottom: 4px; }
.changelog .card + .card { margin-top: 16px; }

/* ---------- 法律文本 ---------- */
.legal { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding-bottom: 96px; }
.legal-nav { position: sticky; top: 84px; align-self: start; font-size: 14px; }
.legal-nav .h { color: var(--text-3); font-size: 12px; letter-spacing: .06em; margin-bottom: 8px; }
.legal-nav a { display: block; padding: 5px 10px; border-radius: 6px; color: var(--text-2); }
.legal-nav a:hover { background: var(--surface); text-decoration: none; color: var(--text); }
.legal-nav a[aria-current="page"] { background: var(--surface); color: var(--text); font-weight: 600; }
.legal-nav hr { border: 0; border-top: 1px solid var(--border); margin: 12px 0; }
.prose { max-width: 740px; font-size: 16px; }
.prose .updated { color: var(--text-3); font-size: 14px; margin-bottom: 32px; }
.prose h2 { font-size: 21px; margin: 40px 0 12px; padding-top: 8px; scroll-margin-top: 80px; }
.prose h3 { font-size: 17px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose .summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 32px; }
.prose .summary h4 { margin: 0 0 8px; font-size: 15px; }
.prose .summary ul { margin: 0; }
.prose .table-wrap { margin: 12px 0 20px; }
@media (max-width: 860px) {
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .legal-nav .h, .legal-nav hr { display: none; }
}

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 56px 0 32px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h5 { font-size: 13px; color: var(--text-3); margin: 0 0 12px; font-weight: 600; letter-spacing: .04em; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: var(--text-2); }
.foot-grid a:hover { color: var(--text); }
.foot-brand p { color: var(--text-2); max-width: 300px; margin-top: 10px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 13px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

.muted { color: var(--text-2); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-48 { margin-bottom: 48px; }
.callout { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 10px; padding: 14px 18px; color: var(--text-2); font-size: 15px; }
.callout strong { color: var(--text); }
