:root {
  color-scheme: light;
  --bg: #f5f2eb;
  --bg-alt: #f0ece3;
  --surface: #fbfaf7;
  --surface-2: #f5f0e8;
  --text: #202329;
  --text-muted: #667085;
  --border: #d6d0c6;
  --border-soft: #e3ddd3;
  --gold: #c8960a;
  /* 浅色底上金色文字与描边用深金，--gold 本身在小字号下对比度不足 */
  --gold-text: #8a6508;
  --gold-dim: rgba(200, 150, 10, 0.22);
  --on-gold: #1a130b;
  --primary-action: #1a2a6a;
  --primary-action-fg: #ffffff;
  --primary-action-hover: #22336f;
  --radius: 10px;
  --radius-pill: 999px;
  /* 页头实际高度，吸顶元素（功能对照表表头）按它下移，窄屏在媒体查询里改小 */
  --header-height: 68px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --serif: 'Crimson Pro', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
}
button, a { -webkit-tap-highlight-color: transparent; }
button, a, summary { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: 0.2px; }
ul { margin: 0; padding: 0; list-style: none; }
section[id] { scroll-margin-top: 84px; }
.section-shell { width: min(1100px, calc(100% - 80px)); margin-inline: auto; }
.section-padding { padding-block: 84px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 16px; background: var(--gold); color: var(--on-gold); border-radius: 6px; }
.skip-link:focus { top: 10px; }

/* header */
.header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  min-height: 68px;
  padding-inline: max(24px, calc((100% - 1100px) / 2));
  background: rgba(245, 242, 235, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; flex: 1 1 0; align-items: baseline; gap: 8px; font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: 0.3px; white-space: nowrap; }
.brand small { font-family: var(--font); font-size: 9px; font-weight: 600; letter-spacing: 3px; color: var(--gold-text); }
.site-nav { display: flex; flex: 0 1 auto; justify-content: center; gap: 30px; }
.site-nav a { font-size: 14px; color: var(--text-muted); padding-block: 6px; white-space: nowrap; transition: color 0.2s; }
.site-nav a:hover { color: var(--text); }
.header-actions { display: flex; flex: 1 1 0; align-items: center; justify-content: flex-end; gap: 12px; }
.nav-toggle { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.nav-burger { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 40px; height: 38px; border: 1px solid var(--border-soft); border-radius: 10px; cursor: pointer; }
.nav-burger span { display: block; width: 16px; height: 1.5px; background: var(--text); }
.nav-toggle:focus-visible ~ .nav-burger { outline: 2px solid var(--gold-text); outline-offset: 3px; }

/* language menu */
.lang-switch { position: relative; }
.lang-summary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px; font-size: 13px; color: var(--text-muted);
  border: 1px solid var(--border-soft); border-radius: var(--radius-pill);
  cursor: pointer; list-style: none; white-space: nowrap;
}
.lang-summary::-webkit-details-marker { display: none; }
.lang-summary::after { content: ''; width: 6px; height: 6px; border-inline-end: 1.5px solid currentColor; border-block-end: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }
.lang-summary:hover { color: var(--text); border-color: var(--border-soft); }
.lang-switch[open] .lang-summary { color: var(--gold-text); border-color: var(--gold-dim); }
.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 10px); z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 8px;
  width: min(360px, calc(100vw - 32px)); max-height: min(60vh, 420px); overflow: auto;
  background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 12px;
  box-shadow: 0 18px 48px rgba(74, 64, 51, 0.16);
}
.lang-menu a { padding: 9px 10px; font-size: 13px; color: var(--text-muted); border-radius: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lang-menu a:hover { background: var(--surface); color: var(--text); }
.lang-menu a[aria-current="true"] { color: var(--gold-text); }

/* buttons */
.button {
  display: inline-flex; gap: 10px; justify-content: center; align-items: center;
  border: 1px solid var(--primary-action);
  background: var(--primary-action); color: var(--primary-action-fg);
  min-height: 48px; padding: 13px 26px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s;
}
.button:hover { background: var(--primary-action-hover); border-color: var(--primary-action-hover); }
.button:active { transform: translateY(1px); }
.button-ghost { background: var(--surface-2); border-color: var(--border-soft); color: var(--text); }
.button-ghost:hover { background: #ece7dd; border-color: #cfc6b8; }

/* shared typography */
.eyebrow { font-size: 12px; letter-spacing: 2.5px; color: var(--gold-text); font-weight: 600; }
h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.32; }
h2 b { color: var(--gold-text); font-weight: 400; font-size: 18px; margin-inline-end: 8px; vertical-align: 3px; }
h3 { font-size: 20px; line-height: 1.45; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 44px; }
.section-intro { font-size: 14px; line-height: 1.9; color: var(--text-muted); text-align: end; max-width: 340px; }
.section-note { margin-top: 16px; font-size: 14px; line-height: 1.9; color: var(--text-muted); }
.section-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* hero */
.hero { padding-block: 104px 84px; text-align: center; }
.hero .eyebrow { display: inline-block; }
.hero h1 { font-size: clamp(32px, 5.2vw, 54px); line-height: 1.2; margin-top: 18px; }
.hero h1 em { font-style: normal; color: var(--gold-text); }
.hero-description { margin: 22px auto 0; max-width: 620px; font-size: 16px; line-height: 1.95; color: var(--text-muted); }
.hero-note { margin: 12px auto 0; max-width: 620px; font-size: 14px; line-height: 1.9; color: var(--text-muted); }
.hero-actions { display: flex; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.dl-group { display: flex; flex-wrap: wrap; gap: 14px; }
.dl-hint { width: 100%; font-size: 13px; color: var(--text-muted); text-align: center; }
.dl-option { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 230px; }
.dl-option .button { width: 100%; }
.dl-link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-size: 14px; font-weight: 600; color: var(--gold-text); text-decoration: underline; text-underline-offset: 4px; }
.dl-link:hover { color: var(--text); }
.dl-caption { font-size: 12px; color: var(--text-muted); text-align: center; }

/* highlight strip */
.strip { border-block: 1px solid var(--border); background: var(--bg-alt); }
.strip-inner { display: flex; justify-content: space-between; gap: 18px; padding-block: 18px; flex-wrap: wrap; }
.strip-inner > span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.strip-inner b { color: var(--gold-text); font-weight: 400; font-size: 11px; }

/* sections & cards */
.page-section + .page-section { border-top: 1px solid var(--border); }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature-card { border: 1px solid var(--border-soft); border-radius: 14px; background: var(--surface); padding: 28px 26px; }
.feature-card h3 { font-size: 20px; }
.feature-card h3::before { content: '✦'; color: var(--gold-text); font-size: 12px; margin-inline-end: 8px; vertical-align: 2px; }
.feature-card p { margin-top: 12px; font-size: 14px; line-height: 1.95; color: var(--text-muted); }
/* 定价页功能分组：同类软件都按模块列清单，比一段说明更好扫读 */
.feature-card-list { margin-top: 14px; }
.feature-card-list li { display: flex; gap: 9px; padding: 7px 0; font-size: 13.5px; line-height: 1.7; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.feature-card-list li::before { content: '·'; color: var(--gold-text); flex: none; }
.feature-card-list li:last-child { border-bottom: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  display: inline-block; padding: 7px 13px; font-size: 12px; line-height: 1.2;
  color: var(--text-muted); background: var(--bg-alt);
  border: 1px solid var(--border-soft); border-radius: var(--radius-pill);
}
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.spec { display: block; padding: 14px 18px; font-size: 13px; line-height: 1.8; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border-soft); border-radius: 12px; }

/* pricing */
.page-hero { padding-block: 88px 40px; text-align: center; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.22; }
.page-hero .hero-description { margin-top: 18px; }
.pricing-section { padding-block: 28px 84px; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.pricing-plan { display: flex; flex-direction: column; padding: 30px 28px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: 16px; }
.pricing-plan-featured { border-color: var(--gold-dim); box-shadow: inset 0 0 0 1px rgba(200, 150, 10, 0.16); }
.pricing-plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.pricing-plan-head h2 { font-size: 22px; }
/* 价格独立成行作为主视觉：原来挤在标题右侧 13px，两档价格不好对比 */
.pricing-plan-price { margin-top: 16px; font-family: var(--serif); font-size: 34px; line-height: 1.2; color: var(--gold-text); }
.pricing-plan-price strong { font-weight: 400; }
.pricing-plan-price-note { margin-top: 4px; font-size: 13px; color: var(--text-muted); }
.pricing-plan-featured .pricing-plan-price { color: var(--text); }
.pricing-plan-intro { margin-top: 16px; font-size: 14px; line-height: 1.9; color: var(--text-muted); }
.pricing-plan-list { margin-top: 6px; }
.pricing-plan-list li { display: flex; gap: 10px; padding: 13px 0; font-size: 14px; line-height: 1.7; border-bottom: 1px solid var(--border); }
.pricing-plan-list li::before { content: '✦'; color: var(--gold-text); font-size: 9px; line-height: 2.4; flex: none; }
.pricing-plan-list li:last-child { border-bottom: 0; }
.pricing-plan-fine { margin-top: 14px; font-size: 12px; line-height: 1.8; color: var(--text-muted); }
.pricing-plan-cta { margin-top: 22px; padding: 13px 18px; text-align: center; font-size: 13px; color: var(--text-muted); border: 1px solid var(--border-soft); border-radius: var(--radius-pill); }
.pricing-plan-button { margin-top: 22px; width: 100%; }

/* articles */
.articles-more { font-size: 14px; color: var(--gold-text); white-space: nowrap; }
.articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.article-card { position: relative; display: block; padding: 24px 22px 46px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: 12px; transition: border-color 0.2s, transform 0.2s; }
.article-card:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.article-card h2, .article-card h3 { font-size: 16px; line-height: 1.55; }
.article-card p { margin-top: 10px; font-size: 13px; line-height: 1.8; color: var(--text-muted); }
.article-card-more { position: absolute; bottom: 18px; inset-inline-end: 20px; color: var(--gold-text); font-size: 15px; }
[dir="rtl"] .article-card-more { transform: scaleX(-1); }

/* article page */
.article-page { max-width: 760px; margin-inline: auto; padding-block: 72px 96px; }
.article-meta { margin-top: 14px; font-size: 12px; letter-spacing: 1px; color: var(--text-muted); }
.article-body { max-width: 68ch; margin-top: 28px; }
.article-body h1 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.28; }
.article-body h2 { font-size: 24px; line-height: 1.4; margin-top: 44px; }
.article-body h3 { font-size: 19px; margin-top: 32px; }
.article-body p { margin-top: 16px; font-size: 16px; line-height: 1.95; color: var(--text-muted); }
.article-body ul { margin-top: 16px; display: grid; gap: 8px; }
.article-body li { position: relative; padding-inline-start: 20px; font-size: 16px; line-height: 1.9; color: var(--text-muted); }
.article-body li::before { content: '✦'; position: absolute; inset-inline-start: 0; top: 4px; color: var(--gold-text); font-size: 9px; }
.article-body a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong, .article-body b { color: var(--text); font-weight: 600; }
.article-body table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin-top: 20px; font-size: 14px; }
/* 代码块与行内代码：正文里原本没有 pre/code 样式，窄屏下会直接撑破容器 */
.article-body pre {
  max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin-top: 20px; padding: 16px 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px; line-height: 1.75; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 10px;
}
.article-body pre code { font-size: inherit; }
.article-body :not(pre) > code {
  padding: 1px 5px; font-size: 0.92em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 5px;
}
.article-body th, .article-body td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: start; color: var(--text-muted); white-space: nowrap; }
.article-body th { color: var(--text); font-weight: 600; }
.back-link { display: inline-block; font-size: 13px; color: var(--text-muted); }
.back-link:hover { color: var(--gold-text); }

/* footer */
.footer { border-top: 1px solid var(--border); background: var(--bg-alt); }
.footer-inner { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 32px; padding-block: 44px; align-items: start; }
.footer-brand { font-family: var(--serif); font-size: 17px; font-weight: 700; }
.footer-brand span { font-family: var(--font); color: var(--gold-text); font-size: 10px; letter-spacing: 2px; }
/* 页脚链接桌面端保持原 flex 排布；窄屏改等宽栅格，见下方 720 断点 */
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; color: var(--text-muted); }
.footer-links a:hover { color: var(--gold-text); }
.footer-legal { font-size: 12px; line-height: 1.9; color: var(--text-muted); text-align: end; }

/* misc pages */
.section-index h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.25; }
.notfound { text-align: center; }
.notfound h1 { font-size: 34px; margin-top: 12px; }
.notfound .button { margin-top: 24px; }

/* responsive */
@media (max-width: 720px) {
  html { scroll-padding-top: 70px; }
  .section-shell { width: calc(100% - 40px); }
  .section-padding { padding-block: 56px; }
  .header { min-height: 60px; padding-inline: 20px; gap: 10px; }
  :root { --header-height: 60px; }
  .brand { font-size: 17px; }
  .brand small { display: none; }
  .header-actions { margin-inline-start: auto; }
  .nav-burger { display: flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; inset-inline: 0; z-index: 55;
    flex-direction: column; gap: 0; padding: 6px 20px 16px;
    background: var(--bg-alt); border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(74, 64, 51, 0.14);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav a { padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--border); }
  .site-nav a:last-child { border-bottom: 0; }
  .lang-switch { position: static; }
  .lang-menu { grid-template-columns: 1fr; inset-inline-end: 12px; top: calc(100% + 6px); }
  .hero { padding-block: 56px 48px; }
  .hero .eyebrow { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .dl-group { flex-direction: column; width: 100%; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
  .section-intro { text-align: start; max-width: none; }
  .card-grid, .spec-list, .pricing-grid, .articles-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 24px 22px; }
  .page-hero { padding-block: 56px 28px; }
  .pricing-section { padding-block: 20px 56px; }
  .pricing-plan { padding: 24px 22px; }
  .pricing-plan-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pricing-plan-price { text-align: start; }
  .article-page { padding-block: 48px 64px; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; padding-block: 32px; }
  .footer-legal { text-align: start; }
  /* 单列页脚里链接排成等宽栅格，行首行末对齐、行距一致 */
  .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
  .footer-links a { min-width: 0; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* compare */
.compare-page h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.25; }
.compare-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.compare-head-stacked { flex-direction: column; align-items: flex-start; }
.compare-intro { margin-top: 16px; max-width: 720px; font-size: 15px; line-height: 1.9; color: var(--text-muted); }
.compare-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 48px; }
.compare-category-card { padding: 26px 24px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: 14px; }
.compare-category-card h2 { font-size: 20px; }
.compare-category-card h2 a:hover { color: var(--gold-text); }
.compare-category-card p { margin-top: 12px; font-size: 14px; line-height: 1.9; color: var(--text-muted); }
.compare-subhead { font-size: 22px; margin-bottom: 20px; }
.compare-table-wrap { overflow-x: auto; margin-top: 32px; border: 1px solid var(--border-soft); border-radius: 12px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.compare-table th, .compare-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); text-align: start; white-space: nowrap; }
/* 9 列矩阵在窄屏靠横向滚动；把首列压窄、竞品列给最小宽度，避免单元格被挤成竖排 */
.compare-table-wrap--wide .compare-table { min-width: 820px; }
.compare-table-wrap--wide .compare-table th:first-child { width: 150px; }
.compare-table-wrap--wide .compare-table th,
.compare-table-wrap--wide .compare-table td { padding: 11px 10px; }
.compare-table-wrap--wide .compare-table td { min-width: 82px; vertical-align: top; }
.compare-table-wrap--wide .compare-table thead th { font-size: 13px; }
.compare-table thead th { color: var(--text); font-weight: 600; background: var(--surface); }
.compare-table tbody th { color: var(--text-muted); font-weight: 400; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-table .is-us { color: var(--gold-text); }
/* 定价页功能对照表：唯一一张表，6 个分组渲染成跨列分组行；格子里只放 ✓ / ✗ / — */
.pricing-features .compare-table tbody th { white-space: normal; }
.pricing-features .compare-table td { white-space: normal; }
.pricing-features > * { max-width: 760px; margin-inline: auto; }
.pricing-features .section-heading h1 { font-size: clamp(24px, 3vw, 34px); line-height: 1.32; }
.pricing-features .compare-matrix { table-layout: fixed; }
.pricing-features .compare-matrix th:first-child { width: 58%; }
/* 三处共用：定价页、对比页、客户端许可证。格子只放符号，浅色底 + 圆角，本站在的列高亮 */
.compare-matrix { font-size: 13px; }
/* overflow-x: auto 会建立滚动容器，表头的 sticky 只在该容器内生效、相对视口不吸顶。
   宽屏这张三列表不需要横向滚动，改用 clip 裁剪圆角，sticky 才能贴住页头；
   窄屏三列排不进视口时改回横向滚动，否则专业版列会被裁掉。 */
.pricing-features .compare-table-wrap { overflow: clip; }
@media (max-width: 720px) {
  .pricing-features .compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pricing-features .compare-matrix { min-width: 340px; }
  .pricing-features .compare-matrix thead th { top: auto; }
  .pricing-features .compare-matrix th:first-child { width: auto; }
  /* 窄屏两列符号各占 54px 就够放一个字符，剩下的宽度全给功能名，少折一行就少一行高度 */
  .pricing-features .compare-matrix thead th:nth-child(2),
  .pricing-features .compare-matrix thead th:nth-child(3) { width: 54px; }
  .pricing-features .compare-matrix thead th { padding-inline: 6px; font-size: 11px; }
  .pricing-features .compare-matrix tbody th,
  .pricing-features .compare-matrix tbody td { padding: 7px 8px; }
  .pricing-features .compare-matrix tbody td { padding-inline: 6px; }
}
.compare-matrix thead th { position: sticky; top: var(--header-height); z-index: 3; border-bottom: 1px solid var(--border); }
.compare-matrix thead th.is-us { box-shadow: inset 0 -2px 0 var(--gold-text); }
.compare-matrix tbody th { font-size: 13px; }
.compare-matrix tbody td { padding: 6px 16px; vertical-align: middle; }
.compare-matrix .cell-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: var(--surface-2);
  border-radius: 6px;
  font-size: 12px; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.compare-matrix tbody .is-us .cell-mark { background: var(--gold-dim); color: var(--gold-text); }
.compare-matrix .cell-no .cell-mark { color: var(--text-muted); }
.compare-matrix .cell-unlisted .cell-mark { color: var(--text-muted); }
.compare-matrix .cell-yes::before, .compare-matrix .cell-no::before, .compare-matrix .cell-unlisted::before { content: none; }
/* 分组行：跨三列，只承担分组标题 */
.compare-matrix .compare-group-row th {
  padding: 22px 16px 8px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif); font-size: 16px; font-weight: 700;
}
.compare-matrix .compare-group-row:first-child th { padding-top: 12px; }
/* 定价页两列对比：符号只当文字，去掉底块与圆角；专业版整列浅色底。
   竞品矩阵页仍用带底的符号块，所以规则一律限定在 .pricing-features。 */
.pricing-features .compare-matrix tbody th,
.pricing-features .compare-matrix tbody td { padding: 8px 16px; line-height: 1.4; }
/* 符号列只放一个字符，固定窄列，功能名那一列吃满剩余宽度。
   只在 720px 以上生效：窄屏要更窄的 46px，覆盖规则在下面的媒体查询里。 */
@media (min-width: 721px) {
  .pricing-features .compare-matrix thead th:nth-child(2),
  .pricing-features .compare-matrix thead th:nth-child(3) { width: 132px; }
}
.pricing-features .compare-matrix tbody th { font-size: 13px; color: var(--text); }
.pricing-features .compare-matrix tbody .cell-mark {
  display: inline;
  width: auto; height: auto;
  background: none;
  border-radius: 0;
  font-size: 14px;
}
.pricing-features .compare-matrix tbody .cell-yes .cell-mark { color: var(--text-muted); }
.pricing-features .compare-matrix tbody .cell-unlisted .cell-mark { color: #736d63; }
.pricing-features .compare-matrix thead th.is-us,
.pricing-features .compare-matrix tbody td.is-us { background: var(--gold-dim); }
/* 专业版的 ✓ 用深金：底已经是 --gold-dim，深金对它的对比度 4.9:1，比灰字更能读出“这就是我们那一列”。
   状态类挂在 td 自身（cell-yes is-us），所以选择器必须是 td.is-us .cell-mark。 */
.pricing-features .compare-matrix tbody td.is-us .cell-mark { color: var(--gold-text); }
/* 分组标题比功能行轻一级，只做分隔不抢视线 */
.pricing-features .compare-matrix .compare-group-row th {
  padding: 18px 16px 6px;
  font-family: var(--font);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--text-muted);
}
/* 对比矩阵页：一张 9 列表，格子只放 ✓ / ✗ / —，句子全部挪到表下逐项说明。
   宽屏不横向滚动，表头才能相对视口吸附；窄屏改为横向滚动。 */
.compare-matrix-wrap { margin-top: 24px; overflow: visible; }
.compare-matrix-wrap .compare-table { min-width: 0; }
.compare-matrix-wrap .compare-table thead th { white-space: normal; vertical-align: bottom; }
.compare-matrix-wrap .compare-table th:first-child { width: 166px; }
.compare-matrix-wrap .compare-table tbody th { white-space: normal; line-height: 1.5; color: var(--text); }
.compare-matrix-wrap .compare-table tbody td { padding: 5px 8px; text-align: center; }
/* 本站那一列整列高亮：列底用 --gold-dim，符号块保持 surface 才有圆角层次；
   全部取现有变量，不新增颜色。 */
.compare-matrix-wrap .compare-table tbody td.is-us { background: var(--gold-dim); }
.compare-matrix-wrap .compare-table thead th.is-us { background: var(--gold-dim); }
.compare-matrix-wrap .compare-matrix .cell-mark { width: 24px; height: 24px; }
.compare-matrix-wrap .compare-table tbody td.is-us .cell-mark { background: var(--surface); }
/* 窄屏的 sticky 首列规则按 tbody th 命中，分组行也在 tbody 里，这里用更具体的选择器
   把分组行钉回普通表格行：它是跨列标题，跟着横向滚动会盖住整行。 */
.compare-matrix-wrap .compare-table tbody tr.compare-group-row th {
  position: static;
  background: var(--bg);
  box-shadow: none;
}
/* 表下逐项说明：每个功能一段，句子只写官方依据 */
.compare-footnotes { margin-top: 44px; }
.compare-footnote-note { margin-top: -6px; font-size: 13px; line-height: 1.8; color: var(--text-muted); }
.compare-footnote-item { padding-block: 16px; border-bottom: 1px solid var(--border); }
.compare-footnote-item:last-of-type { border-bottom: 0; }
.compare-footnote-item h3 { font-size: 16px; }
.compare-footnote-item ul { margin-top: 8px; }
.compare-footnote-item li { font-size: 14px; line-height: 1.85; color: var(--text-muted); }
.compare-footnote-stamp { margin-top: 12px; font-size: 12px; color: var(--text-muted); }
/* 窄屏：表格横向滚动，首列吸附，滑到中间也能对上功能名。
   容器一旦带 overflow，thead 的 sticky 只认容器不认视口，top 必须归零，
   否则那 68px 的偏移会把表头顶下去压住首行；纵向吸附由 1100px 以上的宽屏承担。
   1100px 是 9 列不折行的下限：再窄就会把厂商名压成两行。 */
@media (max-width: 1100px) {
  .compare-matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare-matrix-wrap .compare-table { min-width: 1000px; }
  .compare-matrix-wrap .compare-table thead th { top: auto; background: var(--surface); white-space: nowrap; }
  .compare-matrix-wrap .compare-table thead th:first-child { position: sticky; inset-inline-start: 0; z-index: 4; }
  .compare-matrix-wrap .compare-table tbody th { position: sticky; inset-inline-start: 0; z-index: 1; background: var(--bg); box-shadow: 1px 0 0 var(--border); }
  .compare-matrix-wrap .compare-table tbody tr.compare-group-row th { position: static; box-shadow: none; }
}
.cell-yes { color: var(--text); }
.cell-yes::before { content: '✦'; color: var(--gold-text); margin-inline-end: 7px; font-size: 9px; }
.cell-unlisted { color: #736d63; }
.cell-unlisted::before { content: '—'; color: #736d63; margin-inline-end: 7px; }
.cell-no { color: #736d63; }
.cell-no::before { content: '✗'; color: #8c6b61; margin-inline-end: 7px; }
.cell-note { display: block; margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--text-muted); white-space: normal; }
.compare-legend { margin-top: 16px; font-size: 13px; line-height: 1.9; color: var(--text-muted); }
.compare-group { margin-top: 40px; }
.compare-group-title { font-size: 20px; margin-bottom: 4px; }
.compare-group .compare-table-wrap { margin-top: 16px; }
.compare-table tr.is-different th { color: var(--text); }
.compare-prose { margin-top: 12px; font-size: 14px; line-height: 1.9; color: var(--text-muted); }
.compare-level { margin-top: 12px; font-size: 13px; color: var(--text-muted); }
.compare-level span { margin-inline-end: 8px; font-size: 11px; letter-spacing: 1px; }
.compare-level strong { color: var(--text); font-weight: 500; }
.compare-table-note { margin-top: 10px; font-size: 13px; line-height: 1.85; color: var(--text-muted); }
.compare-table-wrap--price { margin-top: 16px; }
.compare-price-table { min-width: 520px; }
.compare-price-table .compare-total { color: var(--text); font-weight: 500; }
.compare-faq { margin-top: 40px; }
.compare-faq-item { padding-block: 18px; border-bottom: 1px solid var(--border); }
.compare-faq-item:last-child { border-bottom: 0; }
.compare-faq-item h3 { font-size: 16px; }
.compare-faq-item p { margin-top: 8px; font-size: 14px; line-height: 1.9; color: var(--text-muted); }
.compare-facts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.compare-facts > div { padding: 14px 18px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: 12px; font-size: 13px; }
.compare-facts span { display: block; color: var(--text-muted); font-size: 11px; letter-spacing: 1px; }
.compare-facts strong { display: block; margin-top: 6px; font-weight: 500; color: var(--text); }
.compare-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.compare-columns h2 { font-size: 20px; margin-bottom: 12px; }
.compare-list { display: grid; gap: 10px; }
.compare-list li { position: relative; padding-inline-start: 18px; font-size: 14px; line-height: 1.85; color: var(--text-muted); }
.compare-list li::before { content: '✦'; position: absolute; inset-inline-start: 0; top: 4px; color: var(--gold-text); font-size: 9px; }
.compare-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* free tools */
.tools-index .section-intro { text-align: start; max-width: none; }
.tool-panel { margin-top: 48px; padding: 30px 28px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: 16px; }
.tool-panel h2 { font-size: 22px; }
.tool-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.tool-field { display: flex; flex-direction: column; gap: 7px; font-size: 12px; color: var(--text-muted); }
.tool-field input { padding: 11px 12px; background: var(--bg-alt); border: 1px solid var(--border-soft); border-radius: 9px; color: var(--text); font: inherit; font-size: 14px; }
.tool-field input:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 1px; }
.tool-submit { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
.tool-status { margin-top: 18px; font-size: 14px; color: var(--text-muted); }
.tool-status.is-error { color: #a02020; }
.tool-result { margin-top: 28px; }
.tool-result h2 { font-size: 20px; }
/* 小限落地页：标题 + 结果三块摘要 → 7 行表 → 下载引导 */
.tool-page .tool-intro { margin-top: 20px; }
.tool-page .tool-content { margin-top: 8px; }
.tool-field { position: relative; }
.tool-suggest {
  position: absolute; inset-inline: 0; top: calc(100% + 6px); z-index: 20;
  max-height: 260px; overflow: auto; padding: 6px;
  background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 10px;
  box-shadow: 0 18px 48px rgba(74, 64, 51, 0.16);
}
.tool-suggest[hidden] { display: none; }
.tool-suggest li { list-style: none; }
.tool-suggest button {
  display: block; width: 100%; padding: 9px 10px; text-align: start;
  font: inherit; font-size: 13px; color: var(--text-muted);
  background: transparent; border: 0; border-radius: 8px; cursor: pointer;
}
.tool-suggest button:hover { background: var(--surface); color: var(--text); }
.tool-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.tool-fact {
  flex: 1 1 180px; padding: 14px 18px;
  background: var(--bg-alt); border: 1px solid var(--border-soft); border-radius: 12px;
}
.tool-fact span { display: block; font-size: 11px; letter-spacing: 1px; color: var(--text-muted); }
.tool-fact strong { display: block; margin-top: 6px; font-family: var(--serif); font-size: 19px; font-weight: 400; color: var(--gold-text); }
.tool-table .is-current th, .tool-table .is-current td { background: var(--surface-2); color: var(--text); }
.tool-result-note { margin-top: 14px; font-size: 12px; line-height: 1.8; color: var(--text-muted); }
.tool-download {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  margin-top: 26px; padding: 24px 24px 26px;
  background: var(--surface-2); border: 1px solid var(--gold-dim); border-radius: 14px;
}
.tool-download h3 { font-size: 18px; }
.tool-download p { max-width: 60ch; font-size: 14px; line-height: 1.9; color: var(--text-muted); }
.tool-download .button { margin-top: 6px; }
.tool-related { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--border); }
.tool-related h2 { font-size: 18px; }
.tool-related-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tool-related-list a {
  display: inline-block; padding: 8px 14px; font-size: 13px; color: var(--text-muted);
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-pill);
  transition: color 0.2s, border-color 0.2s;
}
.tool-related-list a:hover { color: var(--gold-text); border-color: var(--gold-dim); }
/* 索引页底部的下载引导：与工具卡同一条视觉基线，按钮靠右 */
.tools-download {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 40px; padding: 24px 26px;
  background: var(--surface); border: 1px solid var(--gold-dim); border-radius: 14px;
}
.tools-download h2 { font-size: 18px; }
.tools-download p { max-width: 60ch; margin-top: 8px; font-size: 14px; line-height: 1.9; color: var(--text-muted); }

/* legal */
.legal-back { margin-top: 40px; }
.footer-legal-links { margin-bottom: 6px; }
.footer-legal-links a:hover { color: var(--gold-text); }

@media (max-width: 720px) {
  .compare-head { flex-direction: column; align-items: flex-start; }
  .compare-categories, .compare-columns { grid-template-columns: 1fr; }
  .tool-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .tool-form { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 13px; }
}

/* 721–900px 是导航还展开、汉堡还没切换的空档：长语言名（Русский / Deutsch）把
   「下载」按钮和语言选择器顶出视口。这一段优先砍掉重复的头部 CTA —— 导航与页脚都有同一入口。 */
@media (max-width: 900px) {
  .header-download { display: none; }
}

/* mobile refinements */
@media (max-width: 720px) {
  .eyebrow { letter-spacing: 1.5px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 10px; }
  .hero-actions > .button { flex: 1 1 140px; max-width: 220px; padding-inline: 16px; text-align: center; line-height: 1.35; }
  .compare-facts > div { flex: 1 1 100%; }
  .compare-actions .button { flex: 1 1 140px; max-width: 220px; text-align: center; }
  .compare-table-wrap--pair .compare-table { min-width: 0; font-size: 13px; }
  .compare-table-wrap--pair .compare-table th,
  .compare-table-wrap--pair .compare-table td { padding: 9px 8px; white-space: normal; line-height: 1.5; }
  .compare-table-wrap--pair .compare-table thead th { font-size: 12px; }
  .compare-table-wrap--wide { -webkit-overflow-scrolling: touch; }
  .compare-table-wrap--wide .compare-table { min-width: 560px; }
  .compare-table-wrap--wide .compare-table thead th:first-child { position: sticky; inset-inline-start: 0; z-index: 2; background: var(--surface); }
  .compare-table-wrap--wide .compare-table tbody th { position: sticky; inset-inline-start: 0; z-index: 1; background: var(--bg); box-shadow: 1px 0 0 var(--border); }
}

/* 手机上矩阵表：把 min-width 提到 700px，竞品列才有 ~96px 可用宽度。
   原来的 560px 把 8 列压到每列 82px，说明文字只能逐字竖排（「P l a c i d u s」），
   横向滑到手也读不出内容。首列 sticky 保留，滑动时仍能对上功能名。 */
@media (max-width: 720px) {
  .compare-table-wrap--wide .compare-table { min-width: 700px; }
  .compare-table-wrap--wide .compare-table td { min-width: 96px; }
  .compare-table-wrap--wide .compare-table th:first-child { width: 132px; }
  .compare-table-wrap--wide .compare-table th,
  .compare-table-wrap--wide .compare-table td { padding: 10px 10px; }
  .compare-table-wrap--wide .compare-table .cell-note { font-size: 11.5px; line-height: 1.55; }
  /* 首列吸附时给右侧留一条分隔阴影，滑到中间也不会和竞品文字糊在一起 */
  .compare-table-wrap--wide .compare-table tbody th { box-shadow: 1px 0 0 var(--border), 8px 0 12px -8px rgba(74, 64, 51, 0.18); }
}

@media (max-width: 720px) {
  /* 语言菜单在手机上用两列，18 门语言不必排成很长的一列 */
  .lang-menu { grid-template-columns: 1fr 1fr; }
}

/* 窄屏标题：俄语/德语的长单词（пространство、Astrologie）在 360px 下比容器还宽，
   而 overflow-wrap: break-word 不缩小 min-content，必须用 anywhere 才能真正折开 */
@media (max-width: 480px) {
  .hero h1, .page-hero h1, .compare-page h1, .section-index h1,
  .article-body h1, .article-body h2, .article-body h3,
  .hero .eyebrow, .eyebrow { overflow-wrap: anywhere; }
  /* 正文长链接与不可断词同样会顶出视口 */
  .article-body p, .article-body li, .article-body a,
  .compare-intro, .section-note, .compare-table-note { overflow-wrap: anywhere; }
}

/* magazine homepage */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
  padding-block: 88px 72px;
  text-align: start;
}
.hero-copy { min-width: 0; max-width: 620px; }
.hero-visual { min-width: 0; display: flex; justify-content: center; }
.astrolabe { width: 100%; max-width: 520px; height: auto; }
.hero h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.12; }
.hero-description { margin: 22px 0 0; max-width: 560px; }
.hero-actions { justify-content: flex-start; }

.story { counter-reset: chapter; }
.story .page-section, .story .articles-section { counter-increment: chapter; }
.story .section-heading h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.22; }
.story .section-heading h2 b { display: none; }
.story .section-heading h2::before {
  content: counter(chapter, decimal-leading-zero);
  display: inline-block;
  margin-inline-end: 14px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold-text);
  vertical-align: 4px;
}

.download-section { background: linear-gradient(180deg, rgba(200, 150, 10, 0.07), transparent 62%); }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.download-card {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 22px 24px 52px; background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: 14px; transition: border-color 0.2s, transform 0.2s;
}
.download-card:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.download-platform { font-family: var(--serif); font-size: 21px; font-weight: 700; }
.download-arch { font-size: 13px; color: var(--text-muted); }
.download-size { font-size: 12px; color: var(--text-muted); }
.download-action { position: absolute; inset-inline-end: 22px; bottom: 16px; color: var(--gold-text); font-size: 20px; }
.download-note { margin-top: 18px; font-size: 13px; line-height: 1.8; color: var(--text-muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: 24px; padding-block: 56px 40px; }
  .hero-copy { max-width: none; margin-inline: auto; }
  .hero-description { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: 2; }
  .astrolabe { max-width: 300px; }
}
@media (max-width: 720px) {
  .hero h1 { font-size: clamp(30px, 8vw, 40px); }
  .astrolabe { max-width: 260px; }
  .download-grid { grid-template-columns: 1fr; }
}

/* header CTA + more menu */
.header-download { min-height: 40px; padding: 9px 18px; font-size: 13px; white-space: nowrap; }
.os-icon { display: inline-flex; width: 15px; height: 15px; flex-shrink: 0; }
.os-icon svg { width: 100%; height: 100%; fill: currentColor; }
.nav-more { position: relative; }
.nav-more summary {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
  font-size: 14px; color: var(--text-muted); padding-block: 6px; white-space: nowrap;
}
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary::after {
  content: ''; width: 6px; height: 6px;
  border-inline-end: 1.5px solid currentColor; border-block-end: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
}
.nav-more[open] summary { color: var(--gold-text); }
.nav-more-menu {
  position: absolute; top: calc(100% + 12px); inset-inline-start: 50%; transform: translateX(-50%);
  z-index: 60; display: grid; gap: 2px; min-width: 170px; padding: 8px;
  background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 12px;
  box-shadow: 0 18px 48px rgba(74, 64, 51, 0.16);
}
.nav-more-menu a { padding: 10px 12px; font-size: 13px; color: var(--text-muted); border-radius: 8px; white-space: nowrap; }
.nav-more-menu a:hover { background: var(--surface); color: var(--text); }

/* standalone download page */
.download-page { max-width: 960px; padding-block: 72px 96px; }
.download-hero { margin-top: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.download-hero h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.2; margin-top: 12px; }
.download-lead { margin-top: 18px; max-width: 640px; font-size: 15px; line-height: 1.9; color: var(--text-muted); }
.download-meta-row { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.download-meta { font-size: 12px; letter-spacing: 1px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.download-meta-sep { width: 1px; height: 11px; background: var(--border-soft); }
.download-requirements { margin-top: 16px; font-size: 13px; line-height: 1.8; color: var(--text-muted); }

/* 平台分组：两列并排，直线条边框与金色细则，参考商城页的规格表质感 */
.download-platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.download-platform-block { padding: 24px 24px 18px; background: var(--surface); border: 1px solid var(--border-soft); }
.download-platform-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.download-platform-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 auto; color: var(--gold-text); border: 1px solid var(--gold-dim); border-radius: 8px; }
.download-platform-head h2 { font-size: 19px; letter-spacing: 0.3px; }
/* 前端检测到的系统：整块描金，并显示标记；检测不到时保持原样，不影响其他平台可点 */
.download-platform-block[data-detected="true"] { border-color: var(--gold-dim); background: var(--surface-2); }
.download-platform-block[data-detected="true"] .download-platform-icon { color: var(--on-gold); background: var(--gold); border-color: var(--gold); }
.download-platform-badge { margin-inline-start: auto; padding: 3px 9px; font-size: 11px; letter-spacing: 0.4px; color: var(--on-gold); background: var(--gold); border-radius: var(--radius-pill); white-space: nowrap; }
.download-platform-badge[hidden] { display: none; }
.download-platform-hint { margin-inline-start: auto; font-size: 12px; color: var(--text-muted); }
.download-arch-list { margin-top: 4px; }
.download-arch-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.download-arch-row:last-child { border-bottom: 0; }
.download-arch-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.download-arch-name { font-size: 14px; color: var(--text); }
.download-arch-size { font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.download-arch-button { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 7px 16px; border: 1px solid var(--gold-dim); border-radius: var(--radius-pill); color: var(--gold-text); font-size: 13px; white-space: nowrap; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.download-arch-button:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }

/* 规格与步骤：复用商城的 dl 规格行 + 金色标题细则 */
.download-details { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.download-detail-block { min-width: 0; }
.download-detail-title { font-size: 16px; letter-spacing: 0.4px; }
.download-detail-title::after { content: ""; display: block; width: 44px; height: 1px; margin-top: 8px; background: var(--gold-dim); }
.download-spec-list { margin: 12px 0 0; }
.download-spec-row { display: grid; grid-template-columns: 116px 1fr; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.download-spec-row:last-child { border-bottom: 0; }
.download-spec-row dt { color: var(--text-muted); }
.download-spec-row dd { margin: 0; color: var(--text); }
.download-steps { margin: 12px 0 0; padding-inline-start: 1.2em; font-size: 13px; line-height: 1.9; color: var(--text-muted); list-style: decimal; }
.download-steps li + li { margin-top: 6px; }

@media (max-width: 720px) {
  .header-download { display: none; }
  .nav-more { position: static; }
  .nav-more summary { padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--border); }
  .nav-more-menu {
    position: static; transform: none; min-width: 0; padding: 0 0 0 14px;
    border: 0; box-shadow: none; background: transparent;
  }
  .nav-more-menu a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .download-page { padding-block: 48px 64px; }
  .download-page .download-grid { grid-template-columns: 1fr; }
  .download-platforms { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .download-platform-block { padding: 20px 18px 14px; }
  .download-details { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .download-spec-row { grid-template-columns: 100px 1fr; gap: 10px; }
  .download-arch-row { flex-wrap: wrap; gap: 10px; }
}

.product-shot {
  width: 100%; height: auto; display: block;
  border-radius: 14px; border: 1px solid var(--border-soft);
  box-shadow: 0 30px 80px rgba(74, 64, 51, 0.18);
  background: var(--surface);
}

.download-source {
  display: inline-flex; align-self: flex-start; margin-top: 6px;
  padding: 2px 8px; border: 1px solid var(--border-soft); border-radius: 999px;
  font-size: 11px; letter-spacing: 0.5px; color: var(--text-muted);
}
