/* ==========================================================================
   三角帧不掉洲 / Delta NFD — 官网样式
   单一深色主题；颜色、字号、间距均由下面的自定义属性统一控制。
   ========================================================================== */

/* --- 1. 设计令牌 ---------------------------------------------------------- */
:root {
  /* 品牌参考来自应用 App.xaml：#5EB0FF / #3B8FDE / #82C1FF / #1A3147 */
  --brand: #5eb0ff;
  --brand-strong: #3b8fde;
  --brand-soft: #82c1ff;
  --brand-ink: #06121f;
  --brand-deep: #1a3147;

  --bg: #060b13;
  --bg-2: #080f1a;
  --surface: #0b1421;
  --surface-2: #0d1928;
  --surface-3: #101f30;

  --line: rgba(148, 180, 214, 0.14);
  --line-strong: rgba(148, 180, 214, 0.26);
  --line-brand: rgba(94, 176, 255, 0.34);

  --text: #e8f1fb;
  --text-2: #b7c7da;
  --text-3: #8598ae;

  --ok: #57d9a3;
  --warn: #f2b45c;
  --lab: #b39bff;
  --teal: #2ed9c3;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-lg: 0 40px 100px -50px rgba(0, 0, 0, 0.95), 0 2px 0 0 rgba(255, 255, 255, 0.02) inset;
  --shadow-sm: 0 12px 30px -18px rgba(0, 0, 0, 0.9);

  --font: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC",
    "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
  --mono: "Cascadia Mono", "Consolas", "SFMono-Regular", ui-monospace, "Microsoft YaHei UI", monospace;

  --fs-h1: clamp(2.45rem, 6.2vw, 4.15rem);
  --fs-h2: clamp(1.65rem, 3.2vw, 2.4rem);
  --fs-h3: clamp(1.08rem, 1.6vw, 1.24rem);
  --fs-lead: clamp(1rem, 1.45vw, 1.14rem);
  --fs-body: 1rem;
  --fs-sm: 0.9rem;
  --fs-xs: 0.79rem;

  --max: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 68px;
  --section-y: clamp(64px, 8.5vw, 116px);
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(1100px 620px at 8% -12%, rgba(59, 143, 222, 0.16), transparent 68%),
    radial-gradient(900px 520px at 100% 4%, rgba(46, 217, 195, 0.07), transparent 66%),
    radial-gradient(700px 500px at 50% 100%, rgba(94, 176, 255, 0.05), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* 极淡的颗粒，避免大面积深色渐变出现色带 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.028;
  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='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg,
picture { display: block; max-width: 100%; }

img { height: auto; }

a {
  color: var(--brand-soft);
  text-decoration: none;
  text-underline-offset: 3px;
}
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--text);
  text-wrap: balance;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; }

code, kbd, samp {
  font-family: var(--mono);
  font-size: 0.88em;
  font-variant-numeric: tabular-nums;
}

::selection {
  background: rgba(94, 176, 255, 0.3);
  color: #fff;
}

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

:target { scroll-margin-top: calc(var(--header-h) + 28px); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; text-decoration: none; }

.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. 布局 -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; z-index: 1; }
.section--tight { padding-block: clamp(44px, 5.5vw, 76px); }
.section--flush-top { padding-top: 0; }

.stack > * + * { margin-top: 1rem; }

/* 章节标题：编号 + 标题 + 说明 */
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.sec-head__main { max-width: 44ch; }
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}
.sec-label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand), transparent);
}
.sec-title { font-size: var(--fs-h2); letter-spacing: 0.005em; }
.sec-desc {
  margin-top: 12px;
  color: var(--text-2);
  font-size: var(--fs-sm);
  line-height: 1.8;
  max-width: 60ch;
}
.sec-more {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* 帧尺分隔线：呼应“帧”的产品意象 */
.ruler {
  height: 14px;
  border-top: 1px solid var(--line);
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 24px);
  background-size: 24px 7px;
  background-repeat: repeat-x;
  background-position: left top;
  opacity: 0.9;
}

/* --- 4. 按钮与标签 -------------------------------------------------------- */
.btn {
  --btn-h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--btn-h);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, color 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
  background: linear-gradient(180deg, #7cc1ff 0%, #5eb0ff 55%, #4aa3f4 100%);
  color: var(--brand-ink);
  box-shadow: 0 14px 34px -16px rgba(94, 176, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--primary:hover { box-shadow: 0 18px 40px -16px rgba(94, 176, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.5); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--line-brand); background: rgba(94, 176, 255, 0.08); }

.btn--quiet {
  height: 40px;
  padding: 0 14px;
  background: transparent;
  color: var(--brand-soft);
  font-weight: 600;
}
.btn--quiet:hover { background: rgba(94, 176, 255, 0.08); }

.btn--sm { --btn-h: 40px; padding: 0 16px; font-size: 0.88rem; border-radius: 10px; }
.btn--block { width: 100%; }

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 650;
  line-height: 1.6;
  white-space: nowrap;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
}
.chip--beta { color: #c6e4ff; background: rgba(94, 176, 255, 0.13); border-color: rgba(94, 176, 255, 0.4); }
.chip--alpha { color: #ffe1b6; background: rgba(242, 180, 92, 0.12); border-color: rgba(242, 180, 92, 0.4); }
.chip--lab { color: #ded1ff; background: rgba(179, 155, 255, 0.13); border-color: rgba(179, 155, 255, 0.42); }
.chip--ok { color: #b9f4db; background: rgba(87, 217, 163, 0.12); border-color: rgba(87, 217, 163, 0.38); }
.chip--muted { color: var(--text-3); background: rgba(255, 255, 255, 0.02); }
.chip--dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  flex: none;
}

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--text-3); }
.text-sm { font-size: var(--fs-sm); }
.nowrap { white-space: nowrap; }

/* --- 5. 顶栏 -------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  background: linear-gradient(90deg, var(--brand), var(--teal));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 11, 19, 0.76);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { text-decoration: none; }
.brand__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex: none;
  box-shadow: 0 0 0 1px rgba(94, 176, 255, 0.35), 0 8px 18px -10px rgba(94, 176, 255, 0.8);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand__name { font-size: 0.98rem; font-weight: 700; letter-spacing: 0.02em; }
.brand__latin {
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.3em;
  color: var(--text-3);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__link {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.16s ease, background-color 0.16s ease;
}
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); text-decoration: none; }
.nav__link[aria-current="page"] {
  color: var(--brand-soft);
  background: rgba(94, 176, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(94, 176, 255, 0.18);
}
.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
}
.nav__toggle svg { width: 20px; height: 20px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* --- 6. 首屏 -------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: clip;
  padding-top: clamp(36px, 5vw, 68px);
  border-bottom: 1px solid transparent;
}
.hero__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__art img {
  position: absolute;
  top: -8%;
  right: -4%;
  width: min(74%, 1000px);
  opacity: 0.95;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%);
  mask-image: linear-gradient(to right, transparent 0%, #000 34%);
}
.hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg) 0%, rgba(6, 11, 19, 0.86) 38%, rgba(6, 11, 19, 0.1) 62%, transparent 78%),
    linear-gradient(to bottom, transparent 52%, rgba(6, 11, 19, 0.72) 78%, var(--bg) 97%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(148, 180, 214, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 180, 214, 0.06) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(120% 90% at 30% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 30% 0%, #000 0%, transparent 72%);
  opacity: 0.7;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
  min-height: clamp(430px, 58vh, 580px);
  padding-bottom: clamp(96px, 12vw, 168px);
}
.hero__copy { max-width: 40rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: var(--fs-xs);
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(87, 217, 163, 0.16);
  flex: none;
}

.hero__title { margin-top: clamp(18px, 2.4vw, 28px); font-size: var(--fs-h1); line-height: 1.06; letter-spacing: 0.015em; }
.hero__title-cn { display: block; font-weight: 700; }
.hero__title-cn .hl {
  background: linear-gradient(120deg, #9fd2ff 0%, #5eb0ff 48%, #2ed9c3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title-en {
  display: block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: clamp(0.68rem, 1vw, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero__lead {
  margin-top: clamp(18px, 2.2vw, 24px);
  max-width: 46ch;
  font-size: var(--fs-lead);
  line-height: 1.85;
  color: var(--text-2);
}
.hero__lead strong { color: var(--text); font-weight: 650; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 32px);
}
.hero__actions .btn { min-width: 0; }

.hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: clamp(30px, 4vw, 44px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.hero__fact {
  padding: 16px 18px 0 0;
  min-width: 0;
}
.hero__fact + .hero__fact { padding-left: 18px; border-left: 1px solid var(--line); }
.hero__fact:nth-child(3) { padding-left: 0; border-left: 0; }
.hero__fact:nth-child(n + 3) { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.hero__fact dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero__fact dd {
  margin: 6px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}
.hero__fact dd small { display: block; font-weight: 500; font-size: 0.76rem; color: var(--text-3); margin-top: 3px; }

/* --- 7. 界面示意窗口 ------------------------------------------------------ */
.showcase {
  position: relative;
  z-index: 3;
  margin-top: calc(-1 * clamp(96px, 13vw, 190px));
  padding-bottom: clamp(10px, 2vw, 24px);
}
.window {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0a1626 0%, #070f1b 100%);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(94, 176, 255, 0.06);
  overflow: hidden;
}
.window::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(80% 60% at 50% -10%, rgba(94, 176, 255, 0.12), transparent 70%);
}
.window__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
}
.window__dots { display: flex; gap: 7px; }
.window__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2b3a4c;
}
.window__dots i:nth-child(1) { background: #3b4a5c; }
.window__dots i:nth-child(2) { background: #334252; }
.window__title {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.window__badge { margin-left: auto; flex: none; }

.window__body {
  position: relative;
  display: grid;
  grid-template-columns: 206px minmax(0, 1fr);
  min-height: 372px;
}
.window__side {
  padding: 14px 12px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
}
.side-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.84rem;
  color: var(--text-3);
  white-space: nowrap;
}
.side-item svg { width: 16px; height: 16px; flex: none; opacity: 0.9; }
.side-item.is-active {
  color: var(--text);
  background: rgba(94, 176, 255, 0.12);
  box-shadow: inset 2px 0 0 var(--brand);
}
.side-item.is-active svg { color: var(--brand); }
.side-sep { height: 1px; margin: 12px 10px; background: var(--line); }

.window__main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  align-content: start;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  padding: 14px 16px;
  min-width: 0;
}
.panel--chart { grid-column: 1 / -1; }
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.panel__title { font-size: 0.84rem; font-weight: 650; color: var(--text); }
.panel__hint { font-family: var(--mono); font-size: 0.68rem; color: var(--text-3); letter-spacing: 0.06em; }
.panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--text-2);
}
.panel__row + .panel__row { border-top: 1px solid var(--line); }
.panel__row b { color: var(--text); font-weight: 600; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(94, 176, 255, 0.35);
  background: rgba(94, 176, 255, 0.1);
  color: #c6e4ff;
  white-space: nowrap;
}
.pill--ok { border-color: rgba(87, 217, 163, 0.4); background: rgba(87, 217, 163, 0.1); color: #b9f4db; }
.pill--plain { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.03); color: var(--text-2); }
.chart { width: 100%; height: auto; }
.chart text { font-family: var(--mono); font-size: 9px; fill: var(--text-3); letter-spacing: 0.04em; }

.showcase__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 16px;
  font-size: var(--fs-xs);
  color: var(--text-3);
}
.showcase__caption .chip { flex: none; }

/* --- 8. 原则 / 定位 ------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.principles { display: grid; gap: 0; }
.principle {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle__num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--brand);
  padding-top: 4px;
  letter-spacing: 0.08em;
}
.principle h3 { font-size: var(--fs-h3); }
.principle p { margin-top: 8px; font-size: var(--fs-sm); color: var(--text-2); line-height: 1.8; }

/* --- 9. 功能卡片 ---------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.feature {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(94, 176, 255, 0.055), rgba(255, 255, 255, 0.014));
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  overflow: hidden;
}
.feature--wide { grid-column: span 3; }
.feature:hover { border-color: var(--line-brand); transform: translateY(-2px); }
.feature__head { display: flex; align-items: center; gap: 12px; }
.feature__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(94, 176, 255, 0.26);
  background: rgba(94, 176, 255, 0.1);
  color: var(--brand);
  flex: none;
}
.feature__icon svg { width: 20px; height: 20px; }
.feature__tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.feature h3 { font-size: var(--fs-h3); }
.feature p { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.8; }
.feature__points { display: grid; gap: 8px; margin-top: 2px; }
.feature__points li {
  position: relative;
  padding-left: 18px;
  font-size: 0.855rem;
  color: var(--text-2);
  line-height: 1.7;
  list-style: none;
}
.feature__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 1px;
  background: var(--brand);
}
.feature__note {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

/* 卡片内的抽象示意：优先级 */
.visual-priority { display: grid; gap: 8px; margin-top: 4px; }
.visual-priority .bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-3);
}
.visual-priority .bar span:first-child { width: 34px; flex: none; }
.visual-priority .bar i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(94, 176, 255, 0.85), rgba(46, 217, 195, 0.6));
}
.visual-priority .bar b { color: var(--text-2); font-weight: 600; font-size: 0.7rem; }

/* 卡片内的抽象示意：缓存层 */
.visual-layers { display: flex; align-items: flex-end; gap: 6px; height: 46px; margin-top: 4px; }
.visual-layers i {
  display: block;
  width: 26px;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(94, 176, 255, 0.5), rgba(94, 176, 255, 0.12));
  border: 1px solid rgba(94, 176, 255, 0.3);
  border-bottom: 0;
}
.visual-layers i:nth-child(2) { height: 76%; }
.visual-layers i:nth-child(3) { height: 100%; background: linear-gradient(180deg, rgba(46, 217, 195, 0.45), rgba(46, 217, 195, 0.1)); border-color: rgba(46, 217, 195, 0.3); }
.visual-layers i:nth-child(4) { height: 62%; }
.visual-layers i:nth-child(5) { height: 84%; }

/* --- 10. 使用流程 --------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.step {
  position: relative;
  padding: 26px 22px 0 0;
  min-width: 0;
}
.step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(94, 176, 255, 0.14), 0 0 16px rgba(94, 176, 255, 0.6);
}
.step__num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-3);
}
.step h3 { margin-top: 10px; font-size: 1.02rem; }
.step p { margin-top: 8px; font-size: 0.86rem; color: var(--text-2); line-height: 1.75; }
.step__tag {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--brand);
  letter-spacing: 0.06em;
}

/* --- 11. 表格 ------------------------------------------------------------- */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.012);
}
table { width: 100%; border-collapse: collapse; text-align: left; }
thead th {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.026);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}
tbody td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--text-2);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(94, 176, 255, 0.035); }
td.td-name { color: var(--text); font-weight: 600; }
td.td-note { font-size: 0.82rem; color: var(--text-3); line-height: 1.7; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-3);
  flex: none;
}
.status--ok { color: #b9f4db; }
.status--ok::before { background: var(--ok); box-shadow: 0 0 8px rgba(87, 217, 163, 0.7); }
.status--dev { color: #c6e4ff; }
.status--dev::before { background: var(--brand); box-shadow: 0 0 8px rgba(94, 176, 255, 0.7); }
.status--lab { color: #ffe1b6; }
.status--lab::before { background: var(--warn); box-shadow: 0 0 8px rgba(242, 180, 92, 0.7); }
.status--none { color: var(--text-3); }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
  font-size: var(--fs-xs);
  color: var(--text-3);
}
.legend span { display: inline-flex; align-items: center; gap: 8px; }

/* --- 12. 更新摘要 --------------------------------------------------------- */
.update-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.update-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.014);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.update-card:hover { border-color: var(--line-brand); transform: translateY(-2px); }
.update-card__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.update-card__ver { font-family: var(--mono); font-size: 0.95rem; font-weight: 600; color: var(--text); }
.update-card__date { margin-left: auto; font-family: var(--mono); font-size: 0.7rem; color: var(--text-3); }
.update-card p { font-size: 0.86rem; color: var(--text-2); line-height: 1.75; }
.update-card ul { display: grid; gap: 6px; }
.update-card li {
  list-style: none;
  position: relative;
  padding-left: 14px;
  font-size: 0.82rem;
  color: var(--text-3);
  line-height: 1.7;
}
.update-card li::before { content: "·"; position: absolute; left: 2px; color: var(--brand); }

/* --- 13. CTA 区块 --------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: clip;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 12% 0%, rgba(94, 176, 255, 0.14), transparent 70%),
    radial-gradient(600px 280px at 92% 100%, rgba(46, 217, 195, 0.09), transparent 72%),
    rgba(255, 255, 255, 0.012);
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.cta-band h2 { font-size: var(--fs-h2); }
.cta-band p { margin-top: 14px; max-width: 52ch; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.85; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta-aside {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 11, 19, 0.5);
  padding: 22px;
}
.cta-aside h3 { font-size: 0.95rem; }
.cta-aside ol { margin-top: 12px; display: grid; gap: 10px; counter-reset: s; }
.cta-aside li {
  list-style: none;
  position: relative;
  padding-left: 26px;
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.7;
  counter-increment: s;
}
.cta-aside li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--line-brand);
  background: rgba(94, 176, 255, 0.1);
  color: var(--brand-soft);
  font-family: var(--mono);
  font-size: 0.66rem;
  display: grid;
  place-items: center;
}

/* --- 14. 页脚 ------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(94, 176, 255, 0.035));
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: clamp(32px, 4vw, 52px);
}
.footer-brand p { margin-top: 16px; max-width: 34ch; font-size: 0.84rem; color: var(--text-3); line-height: 1.8; }
.footer-col h3 {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col li { list-style: none; }
.footer-col a { font-size: 0.86rem; color: var(--text-2); }
.footer-col a:hover { color: var(--brand-soft); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--text-3);
}
.footer-bottom p { max-width: 72ch; line-height: 1.7; }
.footer-bottom .mono { font-size: 0.72rem; }

/* --- 15. 子页头 ----------------------------------------------------------- */
.page-head {
  position: relative;
  padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  overflow: clip;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 300px at 8% -30%, rgba(94, 176, 255, 0.16), transparent 70%),
    radial-gradient(500px 240px at 100% 0%, rgba(46, 217, 195, 0.06), transparent 70%);
}
.page-head__inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-3);
}
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--brand-soft); }
.breadcrumb span[aria-current] { color: var(--text-2); }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: 0.01em; }
.page-head__lead {
  margin-top: 16px;
  max-width: 62ch;
  font-size: var(--fs-lead);
  color: var(--text-2);
  line-height: 1.85;
}
.page-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* --- 16. 下载页 ----------------------------------------------------------- */
.dl-featured {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 0;
  border: 1px solid var(--line-brand);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 240px at 0% 0%, rgba(94, 176, 255, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.dl-featured__main { padding: clamp(24px, 3.4vw, 38px); min-width: 0; }
.dl-featured__aside {
  padding: clamp(24px, 3.4vw, 38px);
  border-left: 1px solid var(--line);
  background: rgba(6, 11, 19, 0.4);
  min-width: 0;
}
.dl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.dl-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.dl-head__sub { margin-top: 10px; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.8; max-width: 56ch; }

.dl-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}
.dl-fact { padding: 14px 14px 14px 0; min-width: 0; }
.dl-fact:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.dl-fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
.dl-fact dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.dl-fact dd { margin: 6px 0 0; font-size: 0.88rem; color: var(--text); font-weight: 600; word-break: break-word; }

.sha-block { margin-top: 22px; }
.sha-block__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.sha {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(6, 11, 19, 0.6);
}
.sha code {
  flex: 1;
  min-width: 0;
  font-size: 0.78rem;
  line-height: 1.65;
  color: #cfe6ff;
  word-break: break-all;
  user-select: all;
}
.sha__copy {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  font-family: inherit;
  font-size: 0.74rem;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}
.sha__copy:hover { border-color: var(--line-brand); color: var(--brand-soft); background: rgba(94, 176, 255, 0.08); }
.sha__copy svg { width: 14px; height: 14px; }
.sha__copy.is-done { border-color: rgba(87, 217, 163, 0.5); color: #b9f4db; }

.dl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.source-list { display: grid; gap: 10px; margin-top: 16px; }
.source {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.84rem;
  color: var(--text-2);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.source:hover { border-color: var(--line-brand); background: rgba(94, 176, 255, 0.06); text-decoration: none; }
.source__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  flex: none;
}
.source__mark svg { width: 16px; height: 16px; }
.source__body { min-width: 0; display: grid; }
.source__label { font-weight: 600; color: var(--text); }
.source__note { font-size: 0.74rem; color: var(--text-3); }
.source svg.source__go { width: 15px; height: 15px; margin-left: auto; color: var(--text-3); flex: none; }

.dl-aside-title {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.dl-aside-list { display: grid; gap: 12px; }
.dl-aside-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-2);
  line-height: 1.7;
}
.dl-aside-list svg { width: 16px; height: 16px; margin-top: 0.3em; color: var(--brand); }
.dl-aside-list b { color: var(--text); font-weight: 600; }

/* 内测 / 空状态卡片 */
.channel-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.014);
}
.channel-card h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.channel-card p { margin-top: 10px; font-size: 0.86rem; color: var(--text-2); line-height: 1.8; max-width: 62ch; }
.channel-card__aside { text-align: right; display: grid; gap: 8px; justify-items: end; }
.channel-card__aside .mono { font-size: 0.76rem; color: var(--text-3); }

/* --- 17. 提示块 ----------------------------------------------------------- */
.notice {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(94, 176, 255, 0.06);
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.8;
}
.notice svg { width: 18px; height: 18px; margin-top: 0.2em; color: var(--brand); }
.notice strong { color: var(--text); }
.notice--warn { border-left-color: var(--warn); background: rgba(242, 180, 92, 0.07); }
.notice--warn svg { color: var(--warn); }
.notice--muted { border-left-color: var(--line-strong); background: rgba(255, 255, 255, 0.02); }
.notice--muted svg { color: var(--text-3); }
.notice a { text-decoration: underline; }

.codeblock {
  position: relative;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(6, 11, 19, 0.7);
  overflow: hidden;
}
.codeblock pre {
  margin: 0;
  padding: 14px 16px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.7;
  color: #cfe6ff;
}
.codeblock__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px 8px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* --- 18. 更新日志 --------------------------------------------------------- */
.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}
.tab {
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"],
.tab[aria-pressed="true"] {
  background: rgba(94, 176, 255, 0.16);
  color: #d6ecff;
  box-shadow: inset 0 0 0 1px rgba(94, 176, 255, 0.35);
}

.log { position: relative; padding-left: 30px; }
.log::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg, var(--line-strong), rgba(148, 180, 214, 0.04));
}
.log__item { position: relative; padding-bottom: clamp(34px, 4vw, 48px); }
.log__item:last-child { padding-bottom: 0; }
.log__item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--brand);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(94, 176, 255, 0.12);
}
.log__item[data-stage="alpha"]::before { background: var(--warn); box-shadow: 0 0 0 4px rgba(242, 180, 92, 0.12); }
.log__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.log__version { font-family: var(--mono); font-size: 1.05rem; font-weight: 650; color: var(--text); }
.log__name { font-size: 1rem; font-weight: 650; color: var(--text); }
.log__date { margin-left: auto; font-family: var(--mono); font-size: 0.72rem; color: var(--text-3); }
.log__summary { margin-top: 10px; font-size: 0.9rem; color: var(--text-2); line-height: 1.8; max-width: 68ch; }
.log__groups { display: grid; gap: 16px; margin-top: 18px; }
.log__group h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
}
.log__group h4::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
.log__group[data-type="修复"] h4::before { background: var(--ok); }
.log__group[data-type="改进"] h4::before { background: var(--brand-soft); }
.log__group[data-type="已知限制"] h4::before { background: var(--warn); }
.log__list { display: grid; gap: 8px; margin-top: 10px; }
.log__list li {
  list-style: none;
  position: relative;
  padding-left: 16px;
  font-size: 0.87rem;
  color: var(--text-2);
  line-height: 1.78;
  max-width: 76ch;
}
.log__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 5px;
  height: 1px;
  background: var(--line-strong);
}
.log__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--text-3);
}
.log__foot a { font-weight: 600; }
.log__empty {
  padding: 40px 0;
  color: var(--text-3);
  font-size: 0.9rem;
}

/* --- 19. 指南正文 --------------------------------------------------------- */
.docs-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
}
.toc__title {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.toc ol { display: grid; gap: 1px; }
.toc li { list-style: none; }
.toc a {
  display: block;
  padding: 6px 0 6px 14px;
  border-left: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--text-3);
  line-height: 1.5;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.toc a:hover { color: var(--text); text-decoration: none; }
.toc a.is-active {
  color: var(--brand-soft);
  border-left-color: var(--brand);
  background: linear-gradient(90deg, rgba(94, 176, 255, 0.1), transparent);
}

.prose { max-width: 74ch; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.72rem);
  scroll-margin-top: calc(var(--header-h) + 28px);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.prose h2 .num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--brand);
  letter-spacing: 0.06em;
  flex: none;
}
.prose h2:first-of-type { margin-top: 0; }
.prose h3 {
  margin-top: 32px;
  font-size: 1.06rem;
  scroll-margin-top: calc(var(--header-h) + 28px);
}
.prose p { color: var(--text-2); line-height: 1.9; }
.prose ul, .prose ol { display: grid; gap: 9px; padding-left: 0; }
.prose li {
  list-style: none;
  position: relative;
  padding-left: 20px;
  color: var(--text-2);
  line-height: 1.85;
  font-size: 0.94rem;
}
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.75em;
  width: 6px;
  height: 1px;
  background: var(--brand);
}
.prose ol { counter-reset: p; }
.prose ol > li { counter-increment: p; }
.prose ol > li::before {
  content: counter(p) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--brand);
}
.prose strong { color: var(--text); font-weight: 650; }
.prose code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: #cfe6ff;
  font-size: 0.82em;
}
.prose a { text-decoration: underline; }
.prose .table-wrap { margin-top: 18px; }
.prose table { min-width: 0; }
.prose .table-wrap td, .prose .table-wrap th { font-size: 0.84rem; }

/* --- 20. 插件页 ----------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.014);
  min-width: 0;
}
.info-card h3 { font-size: var(--fs-h3); }
.info-card p { margin-top: 10px; font-size: 0.87rem; color: var(--text-2); line-height: 1.8; }
.info-card__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.step-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.step-list .n {
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--brand);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.step-list h3 { font-size: 1rem; }
.step-list p { margin-top: 8px; font-size: 0.88rem; color: var(--text-2); line-height: 1.8; max-width: 68ch; }

/* --- 21. 关于页 ----------------------------------------------------------- */
.author-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: center;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(400px 200px at 0% 0%, rgba(94, 176, 255, 0.12), transparent 70%),
    rgba(255, 255, 255, 0.014);
}
.author-card img {
  width: clamp(72px, 12vw, 104px);
  height: auto;
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(94, 176, 255, 0.3), 0 16px 40px -20px rgba(0, 0, 0, 0.9);
}
.author-card h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.author-card p { margin-top: 8px; font-size: 0.88rem; color: var(--text-2); line-height: 1.8; }
.author-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.link-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.link-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.16s ease, padding-left 0.16s ease;
}
.link-list a:hover { color: var(--brand-soft); padding-left: 8px; text-decoration: none; }
.link-list svg { width: 16px; height: 16px; flex: none; color: var(--text-3); }
.link-list a:hover svg { color: var(--brand); }
.link-list .mono { margin-left: auto; font-size: 0.74rem; color: var(--text-3); }

/* --- 22. 404 -------------------------------------------------------------- */
.notfound {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--section-y) 0;
}
.notfound__code {
  font-family: var(--mono);
  font-size: clamp(3.4rem, 10vw, 6rem);
  line-height: 1;
  letter-spacing: 0.08em;
  background: linear-gradient(120deg, #9fd2ff, #5eb0ff 55%, #2ed9c3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.notfound h1 { margin-top: 18px; font-size: clamp(1.4rem, 3vw, 2rem); }
.notfound p { margin-top: 14px; color: var(--text-2); font-size: 0.94rem; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* --- 23. 动效 ------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 150;
  transform: translate(-50%, 16px);
  padding: 10px 18px;
  border: 1px solid rgba(87, 217, 163, 0.4);
  border-radius: 999px;
  background: rgba(8, 20, 18, 0.94);
  color: #b9f4db;
  font-size: 0.84rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  box-shadow: var(--shadow-sm);
}
.copy-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.copy-toast--error { border-color: rgba(242, 180, 92, 0.45); background: rgba(26, 18, 8, 0.95); color: #ffe1b6; }

/* --- 24. 响应式 ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .docs-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 900px) {
  :root { --header-h: 62px; }

  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px var(--gutter) 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(6, 11, 19, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.9);
  }
  .nav__links.is-open { display: flex; }
  .nav__link { padding: 12px 14px; font-size: 0.95rem; }
  .nav__actions { margin-left: auto; }
  .nav__actions .btn { --btn-h: 38px; padding: 0 14px; font-size: 0.84rem; }

  .hero { padding-top: 28px; }
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-bottom: clamp(72px, 14vw, 120px);
  }
  .hero__art img {
    width: 132%;
    right: -34%;
    top: -2%;
    opacity: 0.34;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 46%);
    mask-image: linear-gradient(to right, transparent 0%, #000 46%);
  }
  .hero__art::after {
    background:
      linear-gradient(to right, var(--bg) 0%, rgba(6, 11, 19, 0.9) 42%, rgba(6, 11, 19, 0.55) 78%),
      linear-gradient(to bottom, rgba(6, 11, 19, 0.2) 0%, rgba(6, 11, 19, 0.82) 62%, var(--bg) 96%);
  }
  .hero__lead { max-width: 40ch; }

  .window__body { grid-template-columns: minmax(0, 1fr); }
  .window__side { display: none; }
  .window__main { grid-template-columns: minmax(0, 1fr); }

  .split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature, .feature--wide { grid-column: span 1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .step { padding-right: 16px; }
  .update-cards { grid-template-columns: minmax(0, 1fr); }
  .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .dl-featured { grid-template-columns: minmax(0, 1fr); }
  .dl-featured__aside { border-left: 0; border-top: 1px solid var(--line); }
  .channel-card { grid-template-columns: minmax(0, 1fr); }
  .channel-card__aside { text-align: left; justify-items: start; }
  .card-grid, .card-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .docs-layout { grid-template-columns: minmax(0, 1fr); }
  .toc {
    position: static;
    max-height: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
  }
  .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .toc a { border-left: 0; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .toc a.is-active { background: none; color: var(--brand-soft); border-bottom-color: var(--brand); }
  .log { padding-left: 24px; }
  .log__item::before { left: -22px; }
}

@media (max-width: 720px) {
  :root { --fs-body: 0.98rem; }

  .hero__title { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

  .features { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .step { padding: 0 0 22px 24px; border-left: 1px solid var(--line-strong); }
  .step::before { top: 6px; left: -4px; }
  .step:last-child { padding-bottom: 0; border-left-color: transparent; }

  .dl-facts { grid-template-columns: minmax(0, 1fr); }
  .dl-fact, .dl-fact:nth-child(even) { padding-left: 0; border-left: 0; }
  .dl-fact + .dl-fact { border-top: 1px solid var(--line); }
  .sha { flex-direction: column; align-items: stretch; }
  .sha__copy { align-self: flex-start; }

  /* 表格转卡片，避免窄屏横向滚动 */
  .table-wrap { border: 0; background: none; overflow: visible; }
  table, thead, tbody, tr, th, td { display: block; width: 100%; }
  thead { display: none; }
  tbody tr {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.014);
    margin-bottom: 10px;
    overflow: hidden;
  }
  tbody tr:last-child { margin-bottom: 0; }
  tbody td {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
    font-size: 0.84rem;
  }
  tbody td::before {
    content: attr(data-label);
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
    padding-top: 0.2em;
  }
  tbody tr td:last-child { border-bottom: 0; }
  tbody tr:hover td { background: transparent; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .toc ol { grid-template-columns: minmax(0, 1fr); }
  .step-list li { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  .author-card { grid-template-columns: minmax(0, 1fr); }
  .author-card img { width: 72px; }
}

@media (max-width: 420px) {
  .brand__latin { display: none; }
  .hero__fact dd { font-size: 0.86rem; }
  .showcase__caption { font-size: 0.72rem; }
}

/* --- 25. 偏好设置 --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (prefers-contrast: more) {
  :root {
    --text-2: #d3dfec;
    --text-3: #a9b8c9;
    --line: rgba(180, 205, 230, 0.3);
    --line-strong: rgba(190, 214, 238, 0.5);
  }
}

@media print {
  .site-header, .scroll-progress, .copy-toast, .nav__toggle, .hero__art { display: none !important; }
  body { background: #fff; color: #111; }
  .window, .feature, .info-card { break-inside: avoid; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* --- 26. 补充组件 -------------------------------------------------------- */
.log-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 28px;
}

.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.014);
  overflow: hidden;
}
.faq + .faq { margin-top: 10px; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: background-color 0.16s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.6px solid var(--text-3);
  border-bottom: 1.6px solid var(--text-3);
  transform: rotate(45deg);
  margin-top: -4px;
  flex: none;
  transition: transform 0.2s ease, margin 0.2s ease;
}
.faq[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq summary:hover { background: rgba(255, 255, 255, 0.025); }
.faq__body {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--line);
}
.faq__body p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.85;
  max-width: 72ch;
}

.faq-list { display: grid; gap: 0; }

.aside-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-strong);
  box-shadow: 0 20px 44px -34px rgba(0, 0, 0, 0.95);
}

.icon-16 { width: 16px; height: 16px; }
.subhead { font-size: 1.05rem; }
.mono-sm { font-size: 0.8rem; }
.lh-17 { line-height: 1.7; }
.mt-8 { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-36 { margin-top: 36px; }

/* 内联图标的默认尺寸：随文字缩放，具体组件可覆盖 */
.ico {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  display: inline-block;
  vertical-align: -0.16em;
}
.sec-more .ico { width: 15px; height: 15px; }
.info-card__label .ico { width: 14px; height: 14px; }
.channel-card h3 .ico { width: 18px; height: 18px; color: var(--brand); }

/* --- 28. 小屏顶栏与图例 ------------------------------------------------ */
.btn { white-space: nowrap; }
.brand__name { white-space: nowrap; }
.nav__actions { flex: none; }

@media (max-width: 560px) {
  .nav__cta { padding: 0 12px; }
  .nav__cta-label { display: none; }
}

@media (max-width: 720px) {
  .legend { flex-direction: column; gap: 10px; }
  .legend > span { align-items: flex-start; }
  .legend .status { min-width: 4.5em; }
}

/* --- 29. 首屏与示意窗口的重叠间距 ---------------------------------------
   窗口上移量必须小于首屏底部留白，避免盖住最后一行信息 */
.hero__inner { padding-bottom: clamp(120px, 14vw, 200px); }
.showcase { margin-top: calc(-1 * clamp(96px, 11vw, 170px)); }

@media (max-width: 900px) {
  .hero__inner { padding-bottom: clamp(96px, 13vw, 150px); }
  .showcase { margin-top: calc(-1 * clamp(64px, 9vw, 110px)); }
}

/* ==========================================================================
   30. 实机截图
   ========================================================================== */

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  margin-top: clamp(24px, 3vw, 40px);
}
.shot { margin: 0; }
.shot__frame {
  display: block;
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #060b13;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.shot__frame img { display: block; width: 100%; height: auto; }
.shot__frame:hover { transform: translateY(-2px); border-color: rgba(94, 176, 255, 0.5); }
.shot__frame:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.shot__cap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 2px 0;
}
.shot__title { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.shot__desc { font-size: 0.84rem; line-height: 1.6; color: var(--text-3); }

/* 指南页里的单张截图 */
.doc-shot { margin: 22px 0 6px; }
.doc-shot__frame {
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #060b13;
}
.doc-shot__frame img { display: block; width: 100%; height: auto; }
.doc-shot__frame:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.doc-shot figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-3);
}
.doc-shot__tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--brand-soft);
}

@media (max-width: 720px) {
  .shot-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 首屏实机截图 */
.hero-shot { margin: 0; }
.hero-shot__frame {
  display: block;
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #060b13;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(94, 176, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.hero-shot__frame img { display: block; width: 100%; height: auto; }
.hero-shot__frame:hover { transform: translateY(-2px); border-color: rgba(94, 176, 255, 0.45); }
.hero-shot__frame:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
