/* ==========================================================================
   指尖3D / Digit 3D — 官网样式表
   品牌色取自 logo：深藏蓝 #051130 / 主蓝 #0343D4 / 亮蓝 #247CF8 / 纸白 #FAF9F7
   设计语言：制图感（蓝图网格、等距 30° 斜角、尺寸标注线、等宽字号规格）
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --ink:        #051130;
  --ink-soft:   #0e1b3d;
  --brand:      #0343d4;
  --brand-lite: #247cf8;
  --brand-glow: #7bb0ff;
  --paper:      #faf9f7;

  --bg:         #faf9f7;
  --bg-alt:     #f2f3f7;
  --surface:    #ffffff;
  --surface-2:  #f7f8fb;
  --text:       #0e1b3d;
  --text-muted: #55617f;
  --text-faint: #7c88a3;
  --line:       #e2e5ee;
  --line-soft:  #eef0f6;
  --accent-bg:  #eef3ff;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(5, 17, 48, .06), 0 2px 8px rgba(5, 17, 48, .04);
  --shadow:    0 2px 6px rgba(5, 17, 48, .06), 0 12px 32px rgba(5, 17, 48, .08);
  --shadow-lg: 0 8px 24px rgba(5, 17, 48, .10), 0 32px 64px rgba(5, 17, 48, .12);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Roboto,
               Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Liberation Mono", "Courier New", monospace;

  --wrap: 1140px;
  --nav-h: 62px;
}

html[data-theme="dark"] {
  --bg:         #070c1a;
  --bg-alt:     #0b1226;
  --surface:    #0f1830;
  --surface-2:  #141e3a;
  --text:       #e8ecf7;
  --text-muted: #9aa6c4;
  --text-faint: #74809e;
  --line:       #222e52;
  --line-soft:  #1a2440;
  --accent-bg:  #12203f;
  --brand:      #4d8bfb;
  --brand-lite: #7bb0ff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow:    0 2px 8px rgba(0,0,0,.4), 0 16px 40px rgba(0,0,0,.35);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.5), 0 40px 80px rgba(0,0,0,.45);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.015em; font-weight: 680; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.25rem); letter-spacing: -.022em; }
h3 { font-size: 1.12rem; }
p  { margin: 0; }
ul, ol { margin: 0; padding-left: 1.2em; }
code, kbd, .mono { font-family: var(--font-mono); font-size: .88em; font-variant-ligatures: none; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__inner {
  height: 100%; display: flex; align-items: center; gap: 10px;
  max-width: var(--wrap); margin-inline: auto; padding-inline: 22px;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 27px; height: 27px; flex-shrink: 0; }
.brand__name { font-size: 1.02rem; white-space: nowrap; }
.brand__tag {
  font-family: var(--font-mono); font-size: .62rem; font-weight: 600;
  letter-spacing: .07em; color: var(--brand); background: var(--accent-bg);
  padding: 2px 6px; border-radius: 5px; text-transform: uppercase;
}

.nav__links { display: flex; align-items: center; gap: 2px; margin-left: 18px; }
.nav__links a {
  color: var(--text-muted); font-size: .9rem; font-weight: 550;
  padding: 7px 11px; border-radius: 9px; transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--brand); background: var(--accent-bg); }

.nav__spacer { flex: 1; }
.nav__tools { display: flex; align-items: center; gap: 6px; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: 34px; min-width: 34px; padding: 0 9px;
  border: 1px solid var(--line); border-radius: 9px;
  background: var(--surface); color: var(--text-muted);
  font-family: inherit; font-size: .8rem; font-weight: 600; cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.icon-btn:hover { color: var(--text); border-color: var(--text-faint); }
.icon-btn svg { width: 15px; height: 15px; }

.nav__burger { display: none; }

@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px 14px 16px; box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .18s, transform .18s;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 12px 10px; font-size: 1rem; border-radius: 10px; }
  .nav__burger { display: inline-flex; }
}

/* 窄屏导航栏只保留必需项，避免品牌名被挤到换行 */
@media (max-width: 520px) {
  .nav__inner { gap: 6px; padding-inline: 14px; }
  .brand__tag { display: none; }
  .nav__tools { gap: 4px; }
  .nav__tools .btn { padding: 8px 12px !important; }
}

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  font-family: inherit; font-size: .96rem; font-weight: 650; letter-spacing: -.01em;
  cursor: pointer; transition: transform .14s, box-shadow .18s, background .18s, border-color .18s, color .18s;
  text-align: center; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }

.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-lite) 100%);
  color: #fff; box-shadow: 0 2px 10px rgba(3, 67, 212, .3);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(3, 67, 212, .38); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--text-faint); transform: translateY(-1px); }
.btn--quiet { background: transparent; color: var(--text-muted); padding: 10px 14px; }
.btn--quiet:hover { color: var(--brand); background: var(--accent-bg); }
.btn--lg { padding: 15px 28px; font-size: 1.02rem; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.btn__sub { display: block; font-size: .68rem; font-weight: 500; opacity: .82; letter-spacing: 0; }
.btn__stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }

/* ---------- 5. 区块骨架 ---------- */
.section { padding: 76px 0; }
.section--tight { padding: 52px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 660px; margin-bottom: 40px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__kicker {
  display: inline-block; font-family: var(--font-mono); font-size: .7rem; font-weight: 650;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 12px;
}
.section__lede { margin-top: 14px; color: var(--text-muted); font-size: 1.04rem; }

.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 6. 首屏 ---------- */
.hero { position: relative; padding: 68px 0 0; overflow: hidden; }
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--brand) 8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--brand) 8%, transparent) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 72%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 52px; align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 6px 13px 6px 7px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .8rem; color: var(--text-muted); font-weight: 550;
}
.hero__eyebrow b { color: var(--brand); font-weight: 680; }
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); margin-left: 5px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand) 10%, var(--brand-lite) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { margin-top: 20px; font-size: 1.12rem; color: var(--text-muted); max-width: 33em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__meta {
  margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 18px;
  font-size: .82rem; color: var(--text-faint);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero__meta svg { width: 14px; height: 14px; color: var(--brand); }

/* 设备框 */
.device {
  position: relative; border-radius: 20px; padding: 9px;
  background: linear-gradient(160deg, #1b2a4d, #060d1f);
  box-shadow: var(--shadow-lg);
}
.device::after {
  content: ""; position: absolute; left: 50%; bottom: 13px; transform: translateX(-50%);
  width: 74px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.28);
}
.device img { border-radius: 13px; }
.device--float { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* CAD 尺寸标注线（装饰） */
.dimline {
  position: relative; margin-top: 18px; height: 26px;
  color: var(--text-faint); font-family: var(--font-mono); font-size: .68rem;
}
.dimline::before {
  content: ""; position: absolute; top: 9px; left: 4%; right: 4%; height: 1px;
  background: currentColor; opacity: .45;
}
.dimline span {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  background: var(--bg); padding: 0 9px; letter-spacing: .04em;
}
.dimline i {
  position: absolute; top: 4px; width: 0; height: 0;
  border-block: 5px solid transparent;
}
.dimline i:first-of-type { left: 4%; border-right: 7px solid currentColor; }
.dimline i:last-of-type { right: 4%; border-left: 7px solid currentColor; }

@media (max-width: 940px) {
  .hero { padding-top: 44px; }
  .hero__inner { grid-template-columns: 1fr; gap: 38px; }
  .hero__sub { font-size: 1.04rem; }
}

/* ---------- 7. 信任条 ---------- */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust__row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
}
.trust__cell { background: var(--surface); padding: 24px 20px; text-align: center; }
.trust__val { font-size: 1.42rem; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.trust__val .mono { font-size: .9em; }
.trust__key { margin-top: 3px; font-size: .8rem; color: var(--text-muted); }
@media (max-width: 720px) {
  .trust__row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 8. 卡片网格 ---------- */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 940px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0,1fr); } }

/* 网格项的 min-width 默认是 auto，也就是「不许缩得比内容还窄」。里面只要有一张宽表格
   或一串不换行的长字符，整列就被顶开，手机上整个页面能左右拽（下载页出过这个问题）。
   这几个都是布局用的整幅网格，列宽该由布局说了算，所以一律解除这个最小宽度。 */
.grid > *, .price > *, .dl > *, .hero__inner > *, .footer__grid > * { min-width: 0; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 32%, var(--line)); }
.card__icon {
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 15px;
  display: grid; place-items: center;
  background: var(--accent-bg); color: var(--brand);
}
.card__icon svg { width: 21px; height: 21px; }
.card h3 { margin-bottom: 7px; }
.card p { color: var(--text-muted); font-size: .93rem; }
.card__list { margin-top: 13px; padding-left: 0; list-style: none; display: grid; gap: 6px; }
.card__list li { position: relative; padding-left: 18px; font-size: .87rem; color: var(--text-muted); }
.card__list li::before {
  content: ""; position: absolute; left: 3px; top: .62em; width: 5px; height: 5px;
  border-radius: 1px; background: var(--brand-lite); transform: rotate(45deg);
}

/* ---------- 9. 表格 ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .91rem; min-width: 560px; }
thead th {
  text-align: left; font-weight: 650; font-size: .78rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--text-faint);
  padding: 13px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--text-muted); }
tbody tr:last-child td { border-bottom: 0; }
tbody th {
  text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line-soft);
  font-weight: 620; color: var(--text); white-space: nowrap;
}
tbody tr:hover td, tbody tr:hover th { background: color-mix(in srgb, var(--brand) 3%, transparent); }

.pill {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: .74rem; font-weight: 620; letter-spacing: .01em; white-space: nowrap;
}
.pill--ok   { background: #dcfce7; color: #15803d; }
.pill--pro  { background: #e5edff; color: #1e40af; }
.pill--part { background: #fef3c7; color: #a16207; }
.pill--no   { background: #f1f2f6; color: #6b7280; }
.pill--soon { background: #f3e8ff; color: #7e22ce; }
.pill--beta { background: #cffafe; color: #0e7490; }
html[data-theme="dark"] .pill--ok   { background: #14361f; color: #7ee2a3; }
html[data-theme="dark"] .pill--pro  { background: #16264d; color: #93b8ff; }
html[data-theme="dark"] .pill--part { background: #3a2f11; color: #f5cf6a; }
html[data-theme="dark"] .pill--no   { background: #1d2540; color: #92a0bd; }
html[data-theme="dark"] .pill--soon { background: #2c1b46; color: #d3a7f5; }
html[data-theme="dark"] .pill--beta { background: #0d3440; color: #7fd8e8; }

.ext {
  display: inline-block; font-family: var(--font-mono); font-size: .78rem; font-weight: 640;
  color: var(--brand); background: var(--accent-bg);
  padding: 2px 8px; border-radius: 6px; letter-spacing: .02em;
}

/* ---------- 10. 教程 ---------- */
.tut-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.tut-card__shot { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.tut-card__shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; }
.tut-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tut-card__meta {
  display: flex; align-items: center; gap: 9px; margin-bottom: 9px;
  font-family: var(--font-mono); font-size: .72rem; color: var(--text-faint); letter-spacing: .03em;
}
.tut-card__topics { margin-top: auto; padding-top: 14px; font-size: .82rem; color: var(--text-faint); }

.step {
  position: relative; padding: 0 0 30px 50px; border-left: 2px solid var(--line-soft); margin-left: 17px;
}
.step:last-child { border-left-color: transparent; padding-bottom: 4px; }
.step__num {
  position: absolute; left: -18px; top: -2px;
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--brand);
  font-family: var(--font-mono); font-size: .84rem; font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.step h4 { font-size: 1.03rem; margin-bottom: 8px; }
.step__body { color: var(--text-muted); font-size: .94rem; }
.step__notes { display: grid; gap: 8px; margin-top: 13px; }
.step__note {
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start;
  font-size: .855rem; padding: 10px 13px; border-radius: 10px; background: var(--surface-2);
  border: 1px solid var(--line-soft); color: var(--text-muted);
}
.step__note b { color: var(--text); font-weight: 620; white-space: nowrap; font-size: .8rem; }
.step__note--tip { background: color-mix(in srgb, var(--brand) 5%, var(--surface)); border-color: color-mix(in srgb, var(--brand) 18%, var(--line-soft)); }
.step figure { margin: 14px 0 0; }
.step figure img { border-radius: 11px; border: 1px solid var(--line); background: var(--bg-alt); }

/* 「3D 操作详解」用的名词-释义表：左列是控件名，右列是它干什么 */
.legend {
  display: grid; grid-template-columns: minmax(96px, auto) 1fr; gap: 7px 16px;
  margin: 14px 0 0; padding: 14px 16px; font-size: .875rem;
  background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 11px;
}
.legend dt { color: var(--text); font-weight: 620; }
.legend dd { margin: 0; color: var(--text-muted); }
@media (max-width: 520px) {
  .legend { grid-template-columns: 1fr; gap: 2px; }
  .legend dd { margin-bottom: 8px; }
  .legend dd:last-child { margin-bottom: 0; }
}

/* 折叠模块 */
.acc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.acc + .acc { margin-top: 12px; }
.acc > summary {
  list-style: none; cursor: pointer; padding: 19px 22px;
  display: flex; align-items: center; gap: 14px;
  transition: background .15s;
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary:hover { background: var(--surface-2); }
.acc__title { flex: 1; font-weight: 640; font-size: 1.03rem; letter-spacing: -.01em; }
.acc__hint { font-family: var(--font-mono); font-size: .72rem; color: var(--text-faint); white-space: nowrap; }
.acc__chev { width: 18px; height: 18px; color: var(--text-faint); transition: transform .2s; flex-shrink: 0; }
.acc[open] > summary { border-bottom: 1px solid var(--line); }
.acc[open] .acc__chev { transform: rotate(180deg); }
.acc__inner { padding: 24px 22px 8px; }
.acc__badge {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-bg); color: var(--brand); flex-shrink: 0;
}
.acc__badge svg { width: 18px; height: 18px; }

/* ---------- 11. 版本迭代 / 路线图 ---------- */
.rel { position: relative; padding-left: 30px; padding-bottom: 42px; border-left: 2px solid var(--line); }
.rel:last-child { padding-bottom: 6px; }
.rel::before {
  content: ""; position: absolute; left: -7px; top: 6px;
  width: 12px; height: 12px; border-radius: 3px; transform: rotate(45deg);
  background: var(--brand); box-shadow: 0 0 0 4px var(--bg);
}
.rel--next::before { background: var(--surface); border: 2px solid var(--text-faint); }
.rel__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 11px; margin-bottom: 4px; }
.rel__ver { font-family: var(--font-mono); font-size: 1.16rem; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.rel__date { font-family: var(--font-mono); font-size: .78rem; color: var(--text-faint); }
.rel__title { margin: 6px 0 14px; color: var(--text-muted); }
.chg__day {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
  margin: 26px 0 12px; font-size: .93rem; font-weight: 620; color: var(--text-muted);
}
.chg__day .mono { font-size: .78rem; font-weight: 700; color: var(--brand); }
.chg { display: grid; gap: 9px; padding: 0; list-style: none; }
.chg li { display: grid; grid-template-columns: 62px 1fr; gap: 12px; align-items: start; font-size: .92rem; color: var(--text-muted); }
.chg__tag {
  font-family: var(--font-mono); font-size: .66rem; font-weight: 660; letter-spacing: .04em;
  text-transform: uppercase; text-align: center; padding: 3px 0; border-radius: 5px; margin-top: 2px;
}
.chg__tag--new { background: #dcfce7; color: #15803d; }
.chg__tag--imp { background: #e5edff; color: #1e40af; }
.chg__tag--fix { background: #fef3c7; color: #a16207; }
html[data-theme="dark"] .chg__tag--new { background: #14361f; color: #7ee2a3; }
html[data-theme="dark"] .chg__tag--imp { background: #16264d; color: #93b8ff; }
html[data-theme="dark"] .chg__tag--fix { background: #3a2f11; color: #f5cf6a; }
@media (max-width: 520px) {
  .chg li { grid-template-columns: 1fr; gap: 3px; }
  .chg__tag { justify-self: start; padding: 3px 8px; }
}

.road { display: grid; gap: 16px; }
.road__item {
  display: grid; grid-template-columns: 46px 1fr auto; gap: 16px; align-items: start;
  padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.road__idx {
  font-family: var(--font-mono); font-size: .78rem; font-weight: 700; color: var(--brand);
  background: var(--accent-bg); border-radius: 8px; padding: 7px 0; text-align: center;
}
.road__item h3 { margin-bottom: 5px; }
.road__item p { color: var(--text-muted); font-size: .92rem; }
@media (max-width: 620px) {
  .road__item { grid-template-columns: 46px 1fr; }
  .road__item > .pill { grid-column: 2; justify-self: start; }
}

/* ---------- 12. 定价 ---------- */
.price { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; align-items: start; }
@media (max-width: 780px) { .price { grid-template-columns: 1fr; } }
.price__card { position: relative; padding: 30px; }
.price__card--pro { border-color: color-mix(in srgb, var(--brand) 42%, var(--line)); box-shadow: 0 4px 24px rgba(3,67,212,.13); }
.price__card--pro::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 8%, transparent), transparent 55%);
}
.price__name { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.price__amt { margin: 12px 0 6px; font-size: 2.5rem; font-weight: 720; letter-spacing: -.035em; line-height: 1; }
.price__amt small { font-size: .95rem; font-weight: 550; color: var(--text-muted); letter-spacing: 0; }
.price__note { color: var(--text-muted); font-size: .9rem; }
.price__feats { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.price__feats li { display: grid; grid-template-columns: 19px 1fr; gap: 10px; font-size: .92rem; color: var(--text-muted); align-items: start; }
.price__feats svg { width: 17px; height: 17px; margin-top: 3px; color: #22c55e; }
.price__feats .no { color: var(--text-faint); }
.price__feats .no svg { color: var(--text-faint); }
.tiers { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tier {
  font-family: var(--font-mono); font-size: .82rem; font-weight: 650;
  padding: 7px 12px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text-muted);
}
.tier--hi { border-color: var(--brand); color: var(--brand); background: var(--accent-bg); }

/* ---------- 13. 下载 ---------- */
.dl {
  display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center;
  padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow-sm);
}
@media (max-width: 780px) { .dl { grid-template-columns: 1fr; } }
.dl__specs { display: grid; gap: 7px; margin-top: 16px; font-family: var(--font-mono); font-size: .78rem; color: var(--text-faint); }
.dl__specs div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.dl__specs b { color: var(--text-muted); font-weight: 600; }
.hashbox {
  margin-top: 14px; padding: 11px 13px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--line-soft);
  font-family: var(--font-mono); font-size: .71rem; color: var(--text-muted);
  word-break: break-all; line-height: 1.7;
}
.hashbox b { display: block; color: var(--text-faint); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }

.notice {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start;
  padding: 15px 17px; border-radius: 12px; font-size: .88rem;
  background: color-mix(in srgb, #f59e0b 10%, var(--surface));
  border: 1px solid color-mix(in srgb, #f59e0b 32%, transparent);
  color: var(--text-muted);
}
.notice svg { width: 18px; height: 18px; color: #d97706; margin-top: 2px; }
.notice b { color: var(--text); }
.notice--info {
  background: color-mix(in srgb, var(--brand) 7%, var(--surface));
  border-color: color-mix(in srgb, var(--brand) 26%, transparent);
}
.notice--info svg { color: var(--brand); }

.steps-num { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.steps-num li {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start;
  font-size: .93rem; color: var(--text-muted);
}
.steps-num li::before {
  counter-increment: s; content: counter(s);
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: var(--accent-bg); color: var(--brand);
  font-family: var(--font-mono); font-size: .78rem; font-weight: 700;
}
.steps-num b { color: var(--text); }

/* ---------- 14. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 42px 20px 0; position: relative;
  font-weight: 620; font-size: 1.01rem; border-bottom: 1px solid var(--line);
  transition: color .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.faq summary::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--text-faint); border-bottom: 2px solid var(--text-faint);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq[open] summary { border-bottom-color: transparent; }
.faq__a { padding: 0 24px 24px 0; color: var(--text-muted); font-size: .95rem; border-bottom: 1px solid var(--line); }
.faq__a p + p, .faq__a p + ul { margin-top: 11px; }
.faq__a li { margin-bottom: 5px; }

/* ---------- 15. CTA 尾条 ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #051130 0%, #0a1c48 48%, #0343d4 130%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 54px 46px;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(90% 120% at 88% 12%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(90% 120% at 88% 12%, #000, transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(233,238,251,.82); margin-top: 13px; max-width: 46ch; }
.cta-band .btn--ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.26); box-shadow: none; }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.42); }
.cta-band .btn--primary { background: #fff; color: var(--ink); box-shadow: 0 4px 18px rgba(0,0,0,.28); }
.cta-band .btn--primary:hover { background: #f0f4ff; }
@media (max-width: 620px) { .cta-band { padding: 38px 26px; } }

/* ---------- 16. 页脚 ---------- */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding: 52px 0 34px; margin-top: 4px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
.footer__about p { color: var(--text-muted); font-size: .88rem; margin-top: 13px; max-width: 34ch; }
.footer h4 { font-size: .74rem; letter-spacing: .11em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; font-weight: 650; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer a { color: var(--text-muted); font-size: .89rem; }
.footer a:hover { color: var(--brand); }
.footer__bar {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center;
  font-size: .8rem; color: var(--text-faint);
}
.footer__bar .sep { flex: 1; }

/* ---------- 17. 页头（内页） ---------- */
.pagehead { padding: 54px 0 34px; border-bottom: 1px solid var(--line); background: var(--bg-alt); position: relative; overflow: hidden; }
.pagehead__inner { position: relative; max-width: 720px; }
.pagehead h1 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); }
.pagehead p { margin-top: 14px; color: var(--text-muted); font-size: 1.03rem; }
.crumb { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 11px; }

/* ---------- 18. 目录/锚点导航 ---------- */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.toc a {
  font-size: .85rem; font-weight: 570; color: var(--text-muted);
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  transition: all .15s;
}
.toc a:hover { color: var(--brand); border-color: var(--brand); background: var(--accent-bg); text-decoration: none; }

/* ---------- 19. 富文本（隐私政策等） ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 42px 0 14px; font-size: 1.42rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 10px; font-size: 1.06rem; }
.prose p, .prose ul, .prose ol { color: var(--text-muted); font-size: .96rem; }
.prose p + p, .prose ul, .prose ol { margin-top: 13px; }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--text); font-weight: 620; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 38px 0; }
.prose blockquote {
  margin: 18px 0; padding: 15px 19px; border-left: 3px solid var(--brand);
  background: var(--surface-2); border-radius: 0 10px 10px 0; color: var(--text-muted); font-size: .92rem;
}

/* ---------- 20. 滚动入场 ----------
   只在 JS 就绪时才隐藏（html.js 由 <head> 内联脚本加上）。
   JS 加载失败或被禁用时内容照常可见，不会整页空白。 */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
}

/* ---------- 21. 语言可见性（i18n 由 JS 切换 html[lang]） ---------- */
/* 隐私政策那种「整块只给某语言看」的内容：中文两种看中文版，其余九种一律看英文版
   —— 与其给九种语言各摆一份没人校对过的法律条文，不如老老实实指向英文原文。 */
html[lang="zh-Hans"] [data-en-only],
html[lang="zh-Hant"] [data-en-only] { display: none !important; }
html:not([lang="zh-Hans"]):not([lang="zh-Hant"]) [data-zh-only] { display: none !important; }

/* ---------- 22. 语言选择器 ---------- */
.langpick { position: relative; }
.langpick__menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  min-width: 168px; max-height: min(66vh, 420px); overflow-y: auto;
  padding: 6px; display: flex; flex-direction: column; gap: 1px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg, 0 16px 40px rgba(5,17,48,.16));
}
.langpick__menu[hidden] { display: none; }
.langpick__menu button {
  appearance: none; border: 0; background: none; cursor: pointer;
  padding: 9px 12px; border-radius: 8px; text-align: left;
  font: inherit; font-size: .9rem; color: var(--text); white-space: nowrap;
}
.langpick__menu button:hover { background: var(--bg-alt); }
.langpick__menu button[aria-selected="true"] { color: var(--brand); font-weight: 620; }
/* 窄屏上贴着右边容易出血，钉在视口右缘更稳 */
@media (max-width: 420px) {
  .langpick__menu { right: -6px; min-width: 152px; }
}
