/* ═══════════════════════════════════════════════════════════
   墨匣 INKBOX — 设计系统
   基调：页面不表演，只为产品截图打光
   深浅双主题：由 <html data-theme> 决定，首屏前由内联脚本写入
   ═══════════════════════════════════════════════════════════ */

/* ── 深色（默认）── */
:root {
  color-scheme: dark;

  --bg:        #0A0A0C;
  --bg-raised: #131317;
  --card:      #17171C;
  --card-hi:   #1D1D23;

  --line:      rgba(255, 255, 255, .10);
  --line-hi:   rgba(255, 255, 255, .17);

  --text:      #EDEDF0;
  --text-2:    #A1A1AA;
  --text-3:    #858590;

  --accent:    #8B5CF6;
  --accent-hi: #9D70FF;
  --ok:        #6EE7A8;

  /* 主题相关的材质 */
  --nav-bg:      rgba(10, 10, 12, .72);
  --hi-inset:    rgba(255, 255, 255, .06);
  --hi-inset-hi: rgba(255, 255, 255, .14);
  --shadow-shot: 0 40px 80px -40px rgba(0, 0, 0, .9);
  --shadow-dev:  0 50px 90px -40px rgba(0, 0, 0, .95);
  --stripe:      rgba(255, 255, 255, .018);
  --wash:        rgba(255, 255, 255, .014);
  --hover-wash:  rgba(255, 255, 255, .02);
  --chip-bg:     rgba(255, 255, 255, .04);
  --code-bg:     #0D0D10;
  --c-string:    #9ADCA0;
  --glow:        rgba(99, 102, 241, .16);
  --dot:         rgba(255, 255, 255, .07);
  --grain:       .022;

  /* 插件身份色 */
  --indigo: #6366F1;
  --cyan:   #22D3EE;
  --amber:  #F59E0B;
  --tone:   var(--text-3);

  /* 字体 */
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "HarmonyOS Sans SC",
          "OPPO Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --serif: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", "Noto Sans Mono CJK SC", monospace;

  --r-card: 16px;
  --r-shot: 12px;
  --r-btn:  10px;

  --gap-section: clamp(72px, 6.5vw, 104px);
  --pad-x: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ── 浅色 ── */
:root[data-theme="light"] {
  color-scheme: light;

  --bg:        #FBFBF9;   /* 暖白，避开诊所式的纯白 */
  --bg-raised: #F4F4F1;
  --card:      #FFFFFF;
  --card-hi:   #FAFAF8;

  --line:      rgba(24, 24, 27, .10);
  --line-hi:   rgba(24, 24, 27, .18);

  --text:      #17171B;
  --text-2:    #55555F;
  --text-3:    #6F6F78;

  --accent:    #7C3AED;
  --accent-hi: #6D28D9;
  --ok:        #15803D;

  --nav-bg:      rgba(251, 251, 249, .78);
  --hi-inset:    rgba(255, 255, 255, .9);
  --hi-inset-hi: rgba(255, 255, 255, 1);
  --shadow-shot: 0 30px 60px -30px rgba(24, 24, 27, .22), 0 2px 6px -2px rgba(24, 24, 27, .06);
  --shadow-dev:  0 40px 70px -30px rgba(24, 24, 27, .3);
  --stripe:      rgba(24, 24, 27, .022);
  --wash:        rgba(24, 24, 27, .016);
  --hover-wash:  rgba(24, 24, 27, .022);
  --chip-bg:     rgba(24, 24, 27, .04);
  --code-bg:     #F6F6F3;
  --c-string:    #15803D;
  --glow:        rgba(99, 102, 241, .12);
  --dot:         rgba(24, 24, 27, .09);
  --grain:       .016;
}

[data-tone="indigo"]  { --tone: var(--indigo); }
[data-tone="cyan"]    { --tone: var(--cyan); }
[data-tone="amber"]   { --tone: var(--amber); }
[data-tone="neutral"] { --tone: var(--text-3); }
/* 浅色下青色过亮，压深一档以保证可读 */
:root[data-theme="light"] [data-tone="cyan"] { --tone: #0891B2; }
:root[data-theme="light"] [data-tone="amber"] { --tone: #B45309; }

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;      /* 禁掉伪粗体，中文字重才干净 */
  overflow-x: hidden;
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: color-mix(in srgb, var(--accent) 28%, transparent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

code, kbd, pre { font-family: var(--mono); }
code {
  font-size: .88em;
  color: var(--text);
  background: var(--chip-bg);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: .1em .4em;
}

.container { width: min(1280px, 100%); margin-inline: auto; padding-inline: var(--pad-x); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 400;
  padding: 10px 14px;
  color: #fff;
  background: #5B21B6;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
  transform: translateY(calc(-100% - 20px));
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }
#top:focus { outline: none; }

/* 滚动条跟随主题，默认样式在深色下是一道亮边 */
* { scrollbar-color: var(--line-hi) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--line-hi);
  border-radius: 99px;
  border: 3px solid var(--bg);
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-3); background-clip: padding-box; }

/* 极轻的颗粒层，让大面积纯色不显得塑料 */
.grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ═══════════ 进场动画 ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
/* 动画窗口过后强制落位：即使浏览器未推进过渡，内容也一定可见 */
.reveal.is-settled { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  body { transition: none; }
}

/* ═══════════ 导航 ═══════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
/* 阅读进度：用三款主力插件的识别色连成一条渐变，滚完即走完全站 */
.nav__progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--indigo), var(--cyan), var(--amber));
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.nav.is-stuck .nav__progress { opacity: .9; }
.nav__inner {
  width: min(1280px, 100%);
  margin-inline: auto;
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  min-width: 0;
}
.brand { display: flex; align-items: baseline; gap: 9px; margin-right: auto; min-width: 0; }
.brand__mark { width: 22px; height: 22px; color: var(--text); align-self: center; }
.brand__name { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: .04em; }
.brand__sub { font-size: 12px; color: var(--text-3); letter-spacing: .06em; }

.nav__links { display: flex; gap: clamp(14px, 1.8vw, 28px); }
.nav__links a { font-size: 14px; color: var(--text-3); transition: color .25s var(--ease); white-space: nowrap; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a.is-active { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 8px; }

.navmenu__toggle {
  display: none;
  min-width: 44px;
  height: 36px;
  padding-inline: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
}
.navmenu__toggle:hover,
.navmenu__toggle[aria-expanded="true"] { color: var(--text); border-color: var(--line-hi); background: var(--card); }
.navmenu {
  width: min(1280px, 100%);
  margin-inline: auto;
  padding: 10px var(--pad-x) 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.navmenu[hidden] { display: none; }
.navmenu a {
  padding: 11px 12px;
  border-radius: 9px;
  color: var(--text-2);
  font-size: 14px;
  background: var(--card);
  border: 1px solid var(--line);
}
.navmenu a:hover { color: var(--text); border-color: var(--line-hi); }

.themetoggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  color: var(--text-3);
  border: 1px solid var(--line);
  transition: color .25s var(--ease), border-color .25s var(--ease);
  flex-shrink: 0;
}
.themetoggle:hover { color: var(--text); border-color: var(--line-hi); }
.themetoggle:active { transform: scale(.92); }
.themetoggle svg {
  position: absolute; top: 50%; left: 50%;
  width: 16px; height: 16px;
  transform: translate(-50%, -50%) rotate(0) scale(1);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.themetoggle .ic-moon { opacity: 1; }
.themetoggle .ic-sun  { opacity: 0; transform: translate(-50%, -50%) rotate(-70deg) scale(.5); }
:root[data-theme="light"] .themetoggle .ic-sun  { opacity: 1; transform: translate(-50%, -50%) rotate(0) scale(1); }
:root[data-theme="light"] .themetoggle .ic-moon { opacity: 0; transform: translate(-50%, -50%) rotate(70deg) scale(.5); }

/* ═══════════ 按钮 ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-btn);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease),
              box-shadow .25s var(--ease), color .25s var(--ease), transform .15s var(--ease);
}
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 24px color-mix(in srgb, var(--accent) 20%, transparent);
}
.btn--primary:hover { background: var(--accent-hi); box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 10px 28px color-mix(in srgb, var(--accent) 26%, transparent); }
.btn--ghost { color: var(--text-2); border-color: var(--line); }
.btn--ghost:hover { color: var(--text); border-color: var(--line-hi); background: var(--hover-wash); }
.btn__arrow { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn--ghost:hover .btn__arrow { transform: translateX(3px); }

/* ═══════════ 共用排版件 ═══════════ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tone);
  margin-bottom: 22px;
}
.eyebrow .idx {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
  padding: 3px 8px;
  border: 1px solid currentColor;
  border-radius: 5px;
  opacity: .75;
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-title { font-size: clamp(26px, 3.2vw, 40px); font-weight: 500; text-wrap: balance; }
.section-lede { margin-top: 18px; color: var(--text-2); max-width: 34em; }

@media (min-width: 1040px) {
  .section-head {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 0 clamp(40px, 5vw, 72px);
    align-items: baseline;
  }
  .section-head .eyebrow { grid-column: 1 / -1; }
  .section-head .section-title { grid-column: 1; }
  .section-head .section-lede { grid-column: 2; margin-top: 0; }
}

/* ═══════════ Hero ═══════════ */
.hero { position: relative; padding-top: clamp(128px, 14vh, 168px); overflow: hidden; }
.hero__glow {
  position: absolute;
  top: -320px; left: 50%;
  width: 1100px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, var(--glow), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(480px, 1.04fr);
  align-items: center;
  gap: clamp(48px, 4.5vw, 64px);
}
.hero__copy { position: relative; min-width: 0; }
.hero .eyebrow { text-transform: none; letter-spacing: .06em; color: var(--text-3); }
.hero__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;            /* 中文在超大字号下，500 比 600 更耐看 */
  line-height: 1.22;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.hero__title > span { display: block; white-space: nowrap; }
.hero__accent {
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent);
  text-decoration-thickness: .08em;
  text-underline-offset: .14em;
}
.hero__lede {
  margin-top: 24px;
  max-width: 33em;
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--text-2);
}
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-3);
}
.hero__meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }

.hero__visual {
  position: relative;
  margin: 0;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line-hi);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow-shot);
}
.hero__visual-frame {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 11px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
}
.hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.hero__visual figcaption {
  display: grid;
  gap: 4px;
  padding: 16px 10px 8px;
}
.hero__visual figcaption span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--tone);
}
.hero__visual figcaption b {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
}

/* 画布点阵：呼应白板，又不假装是产品界面 */
.hero__dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 78%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 78%);
}

/* ═══════════ 插件索引 ═══════════ */
.index { position: relative; margin-top: clamp(60px, 6vw, 80px); }
.index__label {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-hi);
}
.index ul { display: grid; }
.index li { border-bottom: 1px solid var(--line); }
.index a {
  display: grid;
  grid-template-columns: 42px minmax(220px, 1.1fr) minmax(0, 1.4fr) 62px 20px;
  align-items: center;
  gap: 20px;
  padding: 20px 8px 20px 4px;
  transition: background .3s var(--ease), padding-left .3s var(--ease);
}
.index a:hover { background: var(--card); padding-left: 14px; }
.index__num { font-family: var(--mono); font-size: 12px; color: var(--tone); letter-spacing: .04em; }
.index__name { font-size: 16px; font-weight: 500; display: flex; flex-direction: column; }
.index__name em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-3);
  letter-spacing: .04em;
  margin-top: 2px;
}
.index__desc { font-size: 13.5px; color: var(--text-3); }
.index__ver { font-family: var(--mono); font-size: 12px; color: var(--text-3); text-align: right; }
.index__arrow { width: 16px; height: 16px; color: var(--text-3); transition: transform .3s var(--ease), color .3s var(--ease); }
.index a:hover .index__arrow { transform: translateX(4px); color: var(--tone); }

/* ═══════════ 规格条 ═══════════ */
.specstrip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.specstrip li {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--chip-bg);
}
.specstrip b {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--tone);
  letter-spacing: -.02em;
}
.specstrip span { font-size: 13px; color: var(--text-3); }

/* ═══════════ 截图框 ═══════════ */
.shot { margin: 0; }
.shot__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-shot);
  overflow: hidden;
  background: linear-gradient(180deg, var(--hover-wash), transparent 40%), var(--bg-raised);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--hi-inset), var(--shadow-shot);
}
.shot__frame::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 22%, transparent);
  opacity: .8;
}
.shot img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity .7s var(--ease);
}
.shot.is-ready img { opacity: 1; }
.shot.is-ready .shot__ph { opacity: 0; }

/* 缺图状态也保持与真实截图相同的框位，避免舞台缩窄或设备内容被裁切。 */
.shot:not(.is-ready) .shot__frame { width: 100%; height: clamp(340px, 38vw, 500px); aspect-ratio: auto; }
.shot--sm:not(.is-ready) .shot__frame { aspect-ratio: 16 / 10; max-height: 280px; }
.shot--bare:not(.is-ready) .shot__frame { width: 100%; height: 100%; aspect-ratio: auto; }

.shot__ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
  transition: opacity .4s var(--ease);
  background-image:
    radial-gradient(60% 55% at 50% 38%, color-mix(in srgb, var(--tone) 9%, transparent), transparent 70%),
    repeating-linear-gradient(45deg, var(--stripe) 0 12px, transparent 12px 24px);
}
.shot.is-missing .shot__ph {
  background: color-mix(in srgb, var(--tone) 3%, var(--bg-raised));
}
.shot.is-missing .shot__id { letter-spacing: .12em; }
.shot.is-missing .shot__spec { max-width: 28em; }
.shot__id {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--tone);
  background: color-mix(in srgb, var(--tone) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--tone) 40%, transparent);
  border-radius: 5px;
  padding: 3px 9px;
}
.shot__need { font-size: 15px; color: var(--text-2); line-height: 1.6; }
.shot__spec { font-size: 12px; color: var(--text-3); line-height: 1.7; }

.shot figcaption { margin-top: 16px; font-size: 13.5px; color: var(--text-3); }
.shot--sm .shot__need { font-size: 13px; }
.shot--bare .shot__frame { border: 0; border-radius: 0; box-shadow: none; aspect-ratio: auto; height: 100%; }
.shot--bare .shot__frame::after { display: none; }
/* 设备截图上下都有要保留的内容（状态栏/工具条），居中裁切比偏顶部更安全 */
.shot--bare img { object-position: center; }

/* ═══════════ 主力区块 ═══════════ */
.feature {
  padding-block: var(--gap-section);
  position: relative;
  background-color: color-mix(in srgb, var(--tone) 1.6%, var(--bg));
}
/* 一道细线把两段之间的留白变成结构，而不是一片空洞 */
.feature + .feature, .flows, .eco, .faq, .install { border-top: 1px solid var(--line); }
/* 顶部的插件识别色细线：滚动切换主力区块时，色带随之切换，强化每款插件的身份 */
.feature::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--tone) 65%, transparent) 24%, color-mix(in srgb, var(--tone) 65%, transparent) 76%, transparent);
}
.feature--alt { background-color: color-mix(in srgb, var(--tone) 2.6%, var(--bg)); }
.feature__head { max-width: 780px; margin-bottom: 42px; }
.feature__title { font-size: clamp(28px, 3.5vw, 42px); font-weight: 500; line-height: 1.3; text-wrap: balance; }
.feature__lede { margin-top: 22px; color: var(--text-2); max-width: 34em; }

/* 宽屏下标题与说明分列，既填满横向空间，也压掉一段纵向高度 */
@media (min-width: 1040px) {
  .feature__head {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 0 clamp(40px, 4vw, 56px);
    align-items: start;
  }
  .feature__head .eyebrow { grid-column: 1 / -1; }
  .feature__head .feature__title { grid-column: 1; }
  .feature__head .feature__lede { grid-column: 2; grid-row: 2; margin-top: 6px; }
  .feature__head .specstrip { grid-column: 2; grid-row: 3; margin-top: 24px; align-self: start; }
}

/* 视图切换器 */
.viewswitch { margin-bottom: 56px; }
.viewswitch__tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.vtab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-3);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.vtab svg { width: 15px; height: 15px; }
.vtab:hover { color: var(--text-2); }
.vtab.is-active {
  color: var(--text);
  background: color-mix(in srgb, var(--tone) 10%, var(--card-hi));
  box-shadow: inset 0 1px 0 var(--hi-inset), 0 1px 2px rgba(0,0,0,.05);
}

.viewswitch__stage { position: relative; }
.vpanel { display: none; }
.vpanel.is-active { display: block; animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.viewswitch__hint { margin-top: 18px; font-size: 13.5px; color: var(--text-3); }

/* 能力三栏 */
.cols {
  display: grid;
  /* 显式三列：auto-fit 会留下塌陷的空轨道，在 1px 描边分隔上会多出一条细线 */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
.cap { position: relative; padding: 34px 30px; background: var(--bg); transition: background .3s var(--ease); overflow: hidden; }
.cap::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--tone);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.cap:hover { background: var(--card); }
.cap:hover::before { transform: scaleX(1); }
.cap h3 { font-size: 17px; margin-bottom: 12px; }
.cap p { font-size: 14.5px; color: var(--text-2); line-height: 1.85; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; margin-bottom: 56px; }

/* ═══════════ 轮播 ═══════════ */
.carousel { margin-bottom: 56px; }
.carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: var(--r-shot);
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__viewport:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.carousel__track { display: flex; align-items: flex-start; }
.cslide { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
.cslide__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-top: 18px;
  padding-inline: 2px;
}
.cslide__cap b { font-size: 15px; font-weight: 500; color: var(--text); }
.cslide__cap span { font-size: 13.5px; color: var(--text-3); }

.carousel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.cdots { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cdot {
  width: 26px; height: 3px;
  border-radius: 99px;
  background: var(--line-hi);
  transition: background .35s var(--ease), width .35s var(--ease);
}
.cdot:hover { background: var(--text-3); }
.cdot.is-active { background: var(--tone); width: 42px; }

.carousel__nav { display: flex; align-items: center; gap: 10px; }
.ccount { font-family: var(--mono); font-size: 12px; color: var(--text-3); letter-spacing: .08em; margin-right: 4px; }
.cbtn {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 9px;
  color: var(--text-2);
  border: 1px solid var(--line);
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.cbtn:hover { color: var(--text); border-color: var(--line-hi); background: var(--hover-wash); }
.cbtn svg { width: 16px; height: 16px; }

/* 证据区 */
.evidence {
  margin-top: 32px;
  padding: 34px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: inset 0 1px 0 var(--hi-inset);
}
.evidence__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.evidence__tag {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--tone);
  border: 1px solid color-mix(in srgb, var(--tone) 35%, transparent);
  border-radius: 5px;
  padding: 3px 10px;
  white-space: nowrap;
}
.evidence__head p { font-size: 14px; color: var(--text-3); flex: 1 1 320px; }

.code {
  margin: 0;
  padding: 22px 24px;
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  line-height: 2;
  overflow-x: auto;
  color: var(--text-2);
}
.c-c { color: var(--text-3); font-style: italic; }
.c-f { color: color-mix(in srgb, var(--tone) 80%, var(--text)); }
.c-s { color: var(--c-string); }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.chip {
  font-family: var(--mono);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--text-3);
  background: var(--chip-bg);
  border: 1px solid var(--line);
}

/* 快捷键表 */
.keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 40px; }
.keyrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--text-2);
}
.kbds { display: inline-flex; align-items: center; gap: 5px; }
.kbds em { color: var(--text-3); font-style: normal; margin-inline: 2px; }
kbd {
  display: inline-block;
  min-width: 26px;
  text-align: center;
  font-size: 12px;
  padding: 4px 8px;
  color: var(--text);
  background: var(--card-hi);
  border: 1px solid var(--line-hi);
  border-bottom-width: 2px;
  border-radius: 6px;
}
:root[data-theme="light"] kbd { background: #fff; box-shadow: 0 1px 1px rgba(24,24,27,.05); }
.install .step kbd { color: #F7F4FA; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); box-shadow: none; }

/* 对照表 */
.cmp, .mtx { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .mtx th {
  text-align: left;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0 16px 14px;
  border-bottom: 1px solid var(--line-hi);
}
.cmp td, .mtx td { padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--text-2); transition: background .2s var(--ease); }
.cmp th:not(:first-child), .cmp td:not(:first-child) { text-align: center; width: 110px; }
.mtx td:last-child, .mtx th:last-child { text-align: center; }
.cmp td.y { color: var(--tone); }
.mtx td.y { color: var(--ok); }
.cmp td.n { color: var(--text-3); }
.cmp tbody tr:nth-child(even) td, .mtx tbody tr:nth-child(even) td { background: var(--wash); }
.cmp tbody tr:hover td, .mtx tbody tr:hover td { background: var(--hover-wash); }

/* 补充说明 */
.sidenote {
  margin-top: 28px;
  padding: 24px 28px;
  border-left: 2px solid color-mix(in srgb, var(--tone) 55%, transparent);
  background: linear-gradient(90deg, color-mix(in srgb, var(--tone) 7%, transparent), transparent 60%);
  border-radius: 0 var(--r-card) var(--r-card) 0;
}
.sidenote h4 { font-size: 15px; margin-bottom: 8px; }
.sidenote p { font-size: 14px; color: var(--text-2); max-width: 62em; }

/* 设备外框（两个主题下都保持深色机身） */
.device-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: 60px;
}
.device {
  position: relative;
  background: linear-gradient(160deg, #2A2A31, #131317);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), var(--shadow-dev);
}
/* grid 让内部 figure 撑满，否则 .shot--bare 的 height:100% 会落在
   自动高度的父元素上而塌成 0 */
.device__screen { overflow: hidden; background: var(--bg-raised); display: grid; }
.device__screen > .shot { width: 100%; height: 100%; min-width: 0; min-height: 0; }
.device--tablet { width: min(620px, 100%); padding: 12px; border-radius: 22px; }
/* 比例对齐拍摄要求的 2360×1640（iPad 横屏原生分辨率），避免 cover 裁掉工具条 */
.device--tablet .device__screen { border-radius: 12px; aspect-ratio: 2360 / 1640; }
.device--phone { width: 232px; padding: 9px; border-radius: 30px; }
/* 比例对齐拍摄要求的 1179×2556（iPhone 15 Pro 原生分辨率） */
.device--phone .device__screen { border-radius: 22px; aspect-ratio: 1179 / 2556; }
.device--phone .shot__need { font-size: 12.5px; }
.device--phone .shot__spec { font-size: 11px; }
.device-row__hint {
  display: none;
  margin: -38px 0 48px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-3);
}

/* ═══════════ 组合用法 ═══════════ */
.flows { padding-block: var(--gap-section); }
.flows__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.flow {
  padding: 32px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: inset 0 1px 0 var(--hi-inset);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.flow:hover { border-color: var(--line-hi); transform: translateY(-4px); box-shadow: inset 0 1px 0 var(--hi-inset), var(--shadow-shot); }
.flow__label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; color: var(--text-3); margin-bottom: 10px; }
.flow h3 { font-size: 19px; margin-bottom: 26px; }
.flow__steps { display: grid; gap: 0; counter-reset: fstep; }
.flow__steps li {
  position: relative;
  counter-increment: fstep;
  padding: 0 0 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
/* 连接各步骤的竖线 */
.flow__steps li::before {
  content: "";
  position: absolute;
  left: 8px; top: 20px; bottom: 2px;
  width: 1px;
  background: var(--line-hi);
}
.flow__steps li:last-child { padding-bottom: 0; }
.flow__steps li:last-child::before { display: none; }
.flow__steps li::after {
  content: counter(fstep);
  position: absolute;
  left: 0; top: 2px;
  width: 17px; height: 17px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-3);
  background: var(--card);
  border: 1px solid var(--line-hi);
  border-radius: 50%;
}
.flow__steps b { font-size: 14px; font-weight: 500; color: var(--text); }
.flow__steps span { font-size: 13.5px; color: var(--text-3); line-height: 1.75; }

/* ═══════════ 文件类型条 ═══════════ */
.formats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-bottom: 56px;
  padding: 22px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.formats__label { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.formats__list { display: flex; flex-wrap: wrap; gap: 10px; }
.fmt {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--text-3);
  background: var(--chip-bg);
  border: 1px solid color-mix(in srgb, var(--tone) 22%, transparent);
}
.fmt b { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--tone); }

/* ═══════════ 常见问题 ═══════════ */
.license {
  padding-block: var(--gap-section);
  background:
    radial-gradient(circle at 82% 10%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 32%),
    var(--bg);
  border-block: 1px solid var(--line);
}
.release-state {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--amber) 34%, var(--line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--amber) 7%, var(--card));
}
.release-state__dot {
  width: 9px;
  height: 9px;
  margin-top: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--amber) 14%, transparent);
}
.release-state b { display: block; margin-bottom: 4px; font-size: 14px; }
.release-state p { color: var(--text-2); font-size: 13.5px; }

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.plan {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: inset 0 1px 0 var(--hi-inset);
}
.plan--featured {
  border-color: color-mix(in srgb, var(--tone) 38%, var(--line));
  box-shadow: inset 0 1px 0 var(--hi-inset), 0 26px 70px -48px color-mix(in srgb, var(--tone) 72%, transparent);
}
.plan__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.plan__label, .edition-note__label {
  margin-bottom: 6px;
  color: var(--tone);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
}
.plan h3 { font-size: 21px; }
.plan__status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  flex: none;
  padding: 4px 10px;
  border: 1px solid var(--line-hi);
  border-radius: 99px;
  color: var(--text-3);
  background: var(--chip-bg);
  font-size: 11.5px;
  white-space: nowrap;
}
.plan__status--ready {
  color: var(--ok);
  border-color: color-mix(in srgb, var(--ok) 35%, transparent);
  background: color-mix(in srgb, var(--ok) 7%, var(--card));
}
.plan__summary {
  margin: 18px 0 24px;
  color: var(--text-2);
  font-size: 14.5px;
}
.plan__list { display: grid; gap: 0; margin-bottom: 28px; }
.plan__list li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.plan__list b { font-size: 13.5px; font-weight: 600; color: var(--text); }
.plan__list span { font-size: 13.5px; color: var(--text-3); }
.plan__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.btn--muted {
  color: var(--text-3);
  background: var(--chip-bg);
  border-color: var(--line);
  cursor: not-allowed;
}

/* ─── 404 ─────────────────────────────────────────────────── */
.not-found-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at 50% 25%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 42%),
    var(--bg);
}
.not-found {
  width: min(620px, 100%);
  padding: clamp(36px, 7vw, 72px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.not-found__mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 28px;
}
.not-found h1 {
  margin: 12px 0 16px;
  font-size: clamp(32px, 6vw, 56px);
  letter-spacing: -.045em;
}
.not-found > p:not(.eyebrow) {
  max-width: 440px;
  margin: 0 auto 30px;
  color: var(--text-2);
  line-height: 1.8;
}
.plan__footnote {
  margin-top: 14px;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.7;
}
.license-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.license-fact {
  position: relative;
  padding: 26px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.license-fact__n {
  display: block;
  margin-bottom: 18px;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
}
.license-fact h3 { margin-bottom: 10px; font-size: 16px; }
.license-fact p { color: var(--text-2); font-size: 13.5px; line-height: 1.85; }
.edition-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 20px;
  padding: 26px 28px;
  border-left: 2px solid var(--indigo);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--indigo) 8%, var(--card)), var(--card));
}
.edition-note > div { max-width: 70em; }
.edition-note h3 { margin-bottom: 8px; font-size: 17px; }
.edition-note > div > p:last-child { color: var(--text-2); font-size: 13.5px; line-height: 1.8; }

.faq { padding-block: var(--gap-section); }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: color .25s var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent); }
.qa__mark { position: relative; width: 13px; height: 13px; flex-shrink: 0; }
.qa__mark::before, .qa__mark::after {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 13px; height: 1.5px;
  background: var(--text-3);
  border-radius: 2px;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.qa__mark::after { transform: rotate(90deg); }
.qa[open] .qa__mark::after { transform: rotate(0); }
.qa[open] .qa__mark::before, .qa[open] .qa__mark::after { background: var(--accent); }
.qa__body { padding: 0 40px 26px 4px; }
.qa__body p { font-size: 14.5px; color: var(--text-2); line-height: 1.9; max-width: 62em; }

/* ═══════════ 生态插件 ═══════════ */
.eco { padding-block: var(--gap-section); }
.eco__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.ecocard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: inset 0 1px 0 var(--hi-inset);
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ecocard:hover { border-color: var(--line-hi); background: var(--card-hi); transform: translateY(-4px); box-shadow: inset 0 1px 0 var(--hi-inset), var(--shadow-shot); }
.ecocard__number {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--tone);
}
.ecocard__head { display: flex; align-items: center; gap: 14px; margin: 0 42px 18px 0; }
.ecocard__icon { width: 26px; height: 26px; color: var(--tone); flex-shrink: 0; }
.ecocard h3 { font-size: 17px; }
.ecocard__tag { font-size: 12px; color: var(--text-3); letter-spacing: .04em; margin-top: 2px; }
.ecocard__desc { font-size: 14.5px; color: var(--text-2); line-height: 1.85; }
.ecocard__list { margin: 18px 0 24px; display: grid; gap: 9px; }
.ecocard__list li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--text-3); line-height: 1.7; }
.ecocard__list li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 5px; height: 1px; background: currentColor; }
.ecocard .shot { margin-top: auto; }

/* ═══════════ 信任区 ═══════════ */
.trust { padding-block: var(--gap-section); background: var(--bg-raised); border-block: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px 44px; margin-bottom: 72px; }
.tcard h3 { font-size: 16px; margin-bottom: 12px; }
.tcard h3::before { content: ""; display: block; width: 22px; height: 2px; background: var(--text-3); margin-bottom: 16px; opacity: .5; }
.tcard p { font-size: 14px; color: var(--text-2); line-height: 1.85; }

.matrix {
  padding: 8px 12px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow-x: auto;
}
.mtx { min-width: 640px; }
.mtx th { padding-top: 16px; }
.mtx td::before { content: none; }

/* ═══════════ 安装：用深色收尾，形成整页的视觉落点 ═══════════ */
.install {
  --text: #F7F4FA;
  --text-2: #D0C8D8;
  --text-3: #AFA4B9;
  --card: rgba(255,255,255,.065);
  --card-hi: rgba(255,255,255,.09);
  --bg: #100D14;
  --line: rgba(255,255,255,.11);
  --line-hi: rgba(255,255,255,.20);
  --chip-bg: rgba(255,255,255,.07);
  --hi-inset: rgba(255,255,255,.09);
  padding-block: var(--gap-section);
  color: var(--text);
  background: #16121C;
  border-top-color: rgba(255,255,255,.08);
}
.install .section-lede code { background: rgba(255,255,255,.08); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.step {
  padding: 30px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: inset 0 1px 0 var(--hi-inset);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { border-color: var(--line-hi); transform: translateY(-3px); box-shadow: inset 0 1px 0 var(--hi-inset), 0 24px 50px -32px rgba(0,0,0,.9); }
.step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 8px;
}
.step h3 { font-size: 16px; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text-2); line-height: 1.85; }
.step kbd { margin-right: 3px; }

.cmdbox { margin-top: 20px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.cmdbox__title { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.cmdbox__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.cmd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.cmd:hover { border-color: var(--line-hi); color: var(--text); }
.cmd__act { font-size: 11.5px; font-style: normal; letter-spacing: .06em; color: var(--text-3); flex-shrink: 0; }
.cmd.is-copied .cmd__act { color: var(--ok); }

/* ═══════════ 页脚 ═══════════ */
.foot { padding-block: 56px; color: #F7F4FA; background: #100D14; border-top: 1px solid rgba(255,255,255,.09); }
.foot__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.foot__brand p { margin-top: 8px; font-size: 13.5px; color: #AFA4B9; }
.foot__legal { font-size: 12.5px; color: #AFA4B9; max-width: 34em; line-height: 1.8; }

/* ═══════════ 响应式 ═══════════ */
@media (max-width: 1080px) {
  .nav__links { gap: 16px; }
  .nav__links a { font-size: 13.5px; }
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__copy { max-width: 760px; }
  .hero__visual { max-width: 760px; }
}
@media (max-width: 1000px) {
  .cols { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .navmenu__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .evidence { padding: 26px 22px; }
  /* 索引降级为两行布局：描述与版本号让位 */
  .index a { grid-template-columns: 36px 1fr 20px; gap: 14px; }
  .index__desc, .index__ver { display: none; }
  .plans { grid-template-columns: 1fr; }
  .license-facts { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .device-row {
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0 var(--pad-x) 14px;
    margin-inline: calc(-1 * var(--pad-x));
  }
  .device-row::-webkit-scrollbar { display: none; }
  .device { scroll-snap-align: center; flex: none; }
  .device--tablet { width: calc(100% - 28px); }
  .device--phone { width: 210px; }
  .device-row__hint { display: block; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .nav__inner { gap: 10px; }
  .brand { gap: 7px; }
  .brand__sub { display: none; }
  .navmenu__toggle { min-width: 42px; padding-inline: 9px; }
  .hero { padding-top: 120px; }
  .hero__grid { gap: 38px; }
  .hero__lede { margin-top: 20px; }
  .hero__visual { padding: 7px; border-radius: 14px; }
  .hero__visual-frame { border-radius: 9px; }
  .hero__visual figcaption { padding: 12px 8px 6px; }
  .carousel__bar { flex-direction: column-reverse; align-items: stretch; gap: 16px; }
  .carousel__nav { justify-content: flex-end; }
  .qa__body { padding-right: 4px; }
  .formats { gap: 12px; }
  .viewswitch__tabs { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
  .shot:not(.is-ready) .shot__frame { height: 220px; }
  .shot--bare:not(.is-ready) .shot__frame { height: 100%; }
  .vtab { justify-content: center; }
  .cap { padding: 26px 22px; }
  .cmp th:not(:first-child), .cmp td:not(:first-child) { width: 64px; }
  .keys { grid-template-columns: minmax(0, 1fr); }
  .keyrow { min-width: 0; gap: 12px; }
  .keyrow > span:first-child { min-width: 0; }
  .kbds { min-width: 0; flex-wrap: wrap; justify-content: flex-end; }
  .plan__top, .edition-note { align-items: flex-start; flex-direction: column; }
  .plan__list li { grid-template-columns: 1fr; gap: 4px; }
  .plan__actions { display: grid; grid-template-columns: 1fr; }
  .plan__actions .btn { justify-content: center; white-space: normal; text-align: center; }

  .matrix {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }
  .mtx {
    display: block;
    min-width: 0;
  }
  .mtx thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
  .mtx tbody {
    display: grid;
    gap: 12px;
  }
  .mtx tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    padding: 16px 18px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 var(--hi-inset);
  }
  .mtx td,
  .mtx tbody tr:nth-child(even) td,
  .mtx tbody tr:hover td {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 8px 0;
    background: transparent;
    border-bottom: 0;
    text-align: left;
  }
  .mtx td::before {
    content: attr(data-label);
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: .08em;
    color: var(--text-3);
  }
  .mtx td:first-child {
    grid-column: 1 / -1;
    padding: 0 0 12px;
    margin-bottom: 4px;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
  }
  .mtx td:first-child::before { content: none; }
  .mtx td:nth-child(2) { grid-column: 1 / -1; }
  .mtx td:nth-child(2) code {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .mtx tbody tr td:last-child {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 360px) {
  :root { --pad-x: 16px; }
  .nav__inner { gap: 8px; }
  .brand { gap: 6px; }
  .brand__mark { width: 20px; height: 20px; }
  .brand__name { font-size: 18px; }
  .navmenu__toggle { min-width: 40px; padding-inline: 8px; }
  .themetoggle { width: 32px; height: 32px; }
  .nav__inner .btn--sm { padding-inline: 10px; font-size: 13.5px; }
  .hero__title { font-size: 29px; }
  .hero__actions { display: grid; grid-template-columns: 1fr; }
  .hero__actions .btn { justify-content: center; }
  .keyrow { align-items: flex-start; flex-wrap: wrap; }
  .keyrow > span:first-child { flex: 1 1 100%; }
  .kbds { justify-content: flex-start; }
}
