/* 西文字体排在前面时，中文引号会落到西文字形上而显得窄；这里把弯引号单独交给中文字体 */
@font-face { font-family: "DW Quote Sans"; font-weight: 100 500; unicode-range: U+2018-2019, U+201C-201D;
  src: local("PingFangSC-Regular"), local("PingFang SC Regular"), local("MicrosoftYaHei"), local("Microsoft YaHei"), local("NotoSansCJKsc-Regular"), local("Noto Sans CJK SC"), local("SourceHanSansSC-Regular"); }
@font-face { font-family: "DW Quote Sans"; font-weight: 600 900; unicode-range: U+2018-2019, U+201C-201D;
  src: local("PingFangSC-Semibold"), local("PingFang SC Semibold"), local("MicrosoftYaHei-Bold"), local("Microsoft YaHei Bold"), local("NotoSansCJKsc-Bold"), local("Noto Sans CJK SC Bold"), local("SourceHanSansSC-Bold"); }
@font-face { font-family: "DW Quote Serif"; font-weight: 100 500; unicode-range: U+2018-2019, U+201C-201D;
  src: local("STSongti-SC-Regular"), local("Songti SC Regular"), local("STSong"), local("SimSun"), local("NotoSerifCJKsc-Regular"), local("Noto Serif CJK SC"), local("SourceHanSerifSC-Regular"); }
@font-face { font-family: "DW Quote Serif"; font-weight: 600 900; unicode-range: U+2018-2019, U+201C-201D;
  src: local("STSongti-SC-Bold"), local("Songti SC Bold"), local("NotoSerifCJKsc-Bold"), local("Noto Serif CJK SC Bold"), local("SourceHanSerifSC-Bold"); }

:root {
  --bg: #F5F2EA; --bg-alt: #ECE7DB; --surface: #FBF9F4; --surface-sunk: #F0ECE2;
  --ink: #1F2124; --ink-2: #4A4D52; --ink-3: #65676C;
  --line: #DCD6C8; --line-soft: #E7E2D6;
  --gold: #C39A4E; --gold-text: #7E5B1C; --gold-soft: #F1E6CF;
  --zhu: #A3412A; --zhu-soft: #F5E2DA;
  --add: #2A6E44; --add-soft: #E2EEE4; --del: #A2413A; --del-soft: #F6E1DC;
  --accepted: #2A6E44; --accepted-bg: #E2EEE4;
  --cta-bg: #1F2124; --cta-fg: #F8F4EA; --cta-bg-hover: #34363B;
  --shadow-rgb: 40, 32, 20; --shadow-k: 1;
  --grid-alpha: 9%; --img-opacity: 1;

  --font-sans: "DW Quote Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-serif: "DW Quote Serif", "Iowan Old Style", "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "Noto Serif CJK SC", Georgia, var(--font-sans);
  --font-note: "Kaiti SC", "STKaiti", "KaiTi", "Noto Serif SC", var(--font-serif);
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --fs-display: clamp(40px, 6vw + 18px, 68px);
  --fs-h2: clamp(28px, 1.6vw + 22px, 42px);
  --fs-h3: clamp(19px, 0.3vw + 18px, 22px);
  --fs-lead: clamp(17px, 0.3vw + 16px, 19px);
  --fs-note: 15px;

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;
  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(var(--shadow-rgb), calc(.06 * var(--shadow-k))), 0 2px 8px rgba(var(--shadow-rgb), calc(.04 * var(--shadow-k)));
  --sh-2: 0 2px 4px rgba(var(--shadow-rgb), calc(.05 * var(--shadow-k))), 0 12px 32px -8px rgba(var(--shadow-rgb), calc(.14 * var(--shadow-k)));
  --sh-window: 0 2px 6px rgba(var(--shadow-rgb), calc(.05 * var(--shadow-k))), 0 28px 56px -16px rgba(var(--shadow-rgb), calc(.20 * var(--shadow-k))), 0 72px 120px -48px rgba(var(--shadow-rgb), calc(.24 * var(--shadow-k)));

  --dur-fast: 160ms; --dur-ui: 240ms; --dur-reveal: 640ms; --dur-hero: 900ms;
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-ink: cubic-bezier(.16, 1, .3, 1);
  --ease-stamp: cubic-bezier(.34, 1.56, .64, 1);

  --pad-x: 32px; --section-y: var(--sp-10); --header-h: 64px;
  --shot-border: color-mix(in srgb, var(--line) 60%, transparent);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16171A; --bg-alt: #1C1D21; --surface: #212226; --surface-sunk: #1A1B1E;
    --ink: #ECE7DC; --ink-2: #B7B2A8; --ink-3: #8F8B83;
    --line: #34353A; --line-soft: #2A2B30;
    --gold: #E0BD78; --gold-text: #E3C27F; --gold-soft: #2C2618;
    --zhu: #E68068; --zhu-soft: #3A211C;
    --add: #74C190; --add-soft: #1D2E23; --del: #EC8D7D; --del-soft: #33201E;
    --accepted: #74C190; --accepted-bg: #1D2E23;
    --cta-bg: #E0BD78; --cta-fg: #1A1B1E; --cta-bg-hover: #EACB8E;
    --shadow-rgb: 0, 0, 0; --shadow-k: 1.6; --grid-alpha: 6%; --img-opacity: .96;
    --shot-border: var(--line);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.85 var(--font-sans);
  font-synthesis: none; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "palt" 0; overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 80px; }
details[id] { scroll-margin-top: 96px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--pad-x); }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ic-lg { width: 24px; height: 24px; }

:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; border-radius: inherit; }

.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--cta-bg); color: var(--cta-fg); padding: 10px 18px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; transition: top var(--dur-fast); }
.skip-link:focus { top: 12px; }

/* ---------- 文字 ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.5; font-weight: 500; letter-spacing: .16em; color: var(--gold-text); }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--zhu); flex: none; }
h2 { font-family: var(--font-serif); font-size: var(--fs-h2); line-height: 1.3; font-weight: 600; margin-top: 16px; }
.lead { font-size: var(--fs-lead); line-height: 1.85; color: var(--ink-2); max-width: 32em; margin-top: 20px; }
.body-text { max-width: 36em; margin-top: 20px; color: var(--ink-2); }
.fineprint { font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.link { color: var(--gold-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link:hover { color: var(--ink); }
.num, .step-no, .cl-version { font-family: var(--font-serif); }
.nowrap { white-space: nowrap; }

/* ---------- 区块 ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-alt { background: var(--bg-alt); }
.section-line { border-top: 1px solid var(--line-soft); }
.section-head { margin-bottom: 48px; }
.section-head .lead { max-width: 36em; }
@media (min-width: 1024px) { .section-head .lead { text-wrap: balance; } }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-sm); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast), border-color var(--dur-fast); text-align: center; }
.btn-primary { background: var(--cta-bg); color: var(--cta-fg); }
.btn-primary:hover { background: var(--cta-bg-hover); transform: translateY(-1px); box-shadow: var(--sh-2); }
.btn-primary:active { transform: none; box-shadow: none; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink-3); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.header-actions .btn-sm { min-height: 36px; }
.btn-xs { min-height: 28px; padding: 0 12px; font-size: 12px; cursor: default; }
.btn-xs:hover { transform: none; box-shadow: none; }
.btn[aria-disabled="true"] { color: var(--ink-3); background: var(--surface-sunk); border-color: var(--line-soft); pointer-events: none; box-shadow: none; transform: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 0 12px; border-radius: var(--r-pill); font-size: 13px; line-height: 1.4; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.pill .ic { width: 14px; height: 14px; }
.pill-accepted { background: var(--accepted-bg); border-color: transparent; color: var(--accepted); font-weight: 600; }
.pill-gold { background: var(--gold-soft); border-color: transparent; color: var(--gold-text); font-weight: 600; }
.card { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--sh-1); padding: 28px; }

/* ---------- 顶栏 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: transparent; border-bottom: 1px solid transparent; transition: background-color var(--dur-ui), border-color var(--dur-ui); }
.site-header.is-scrolled { background: var(--bg); border-bottom-color: var(--line-soft); }
@supports (backdrop-filter: blur(1px)) {
  .site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.2) blur(12px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--ink); }
.brand img { border-radius: 7px; }
.brand--static img { border-radius: 8px; }
.main-nav { display: none; gap: 28px; font-size: 14px; }
.main-nav a { position: relative; color: var(--ink-2); text-decoration: none; padding: 10px 0; transition: color var(--dur-fast); }
.main-nav a:hover { color: var(--ink); }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform var(--dur-ui) var(--ease-out); }
.main-nav a[aria-current="true"] { color: var(--ink); }
.main-nav a[aria-current="true"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-actions .btn-sm { min-height: 32px; }
.github-link { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink-2); border-radius: var(--r-sm); transition: color var(--dur-fast); }
.github-link:hover { color: var(--ink); }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; border-radius: var(--r-sm); }
.menu-bars { position: relative; width: 18px; height: 12px; }
.menu-bars i { position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: transform var(--dur-ui) var(--ease-out), top var(--dur-ui) var(--ease-out); }
.menu-bars i:first-child { top: 2px; } .menu-bars i:last-child { top: 9px; }
.menu-btn[aria-expanded="true"] .menu-bars i:first-child { top: 5.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars i:last-child { top: 5.5px; transform: rotate(-45deg); }
.mobile-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); box-shadow: var(--sh-2); padding: 8px 20px 20px; border-bottom: 1px solid var(--line-soft); animation: menuIn var(--dur-ui) var(--ease-out); }
.mobile-nav a:not(.btn) { display: flex; align-items: center; height: 52px; font-size: 16px; text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.mobile-nav .btn { width: 100%; margin-top: 16px; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }
@media (min-width: 1024px) {
  .header-inner { height: 64px; }
  .main-nav { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
  .header-actions .btn-sm { min-height: 36px; }
}

/* 语言切换、下载面板 */
.lang-switch { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--ink-2); text-decoration: none; border-radius: var(--r-sm); transition: color var(--dur-fast); }
.lang-switch:hover { color: var(--ink); }
@media (max-width: 419px) { .header-actions .lang-switch { display: none; } }
.mobile-nav .lang-link { color: var(--ink-2); }
.dl-pop { position: static; }
.dl-panel { position: absolute; z-index: 60; top: calc(100% + 8px); left: 12px; right: 12px; max-width: 420px; margin-left: auto; padding: 18px 18px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-2); animation: panelIn var(--dur-fast) var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(-6px); } }
.dlp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dlp-head b { font-family: var(--font-serif); font-size: 17px; font-weight: 600; line-height: 1.4; }
.dlp-ver { font: 12px/1.4 var(--font-mono); color: var(--ink-3); }
.dlp-top { margin-top: 14px; }
.dl-panel .cta-buttons { flex-direction: column; gap: 8px; }
.dl-panel .cta-buttons .btn { width: 100%; }
.dl-panel .cta-buttons .btn { padding: 0 14px; font-size: 14px; }
.dl-panel .cta-extra { display: none; }
.dlp-list { margin-top: 14px; border-top: 1px solid var(--line-soft); }
.dlp-list li[hidden] + li { border-top: 0; }
.dlp-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 6px; font-size: 14px; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line-soft); border-radius: 0; transition: background-color var(--dur-fast), color var(--dur-fast); }
.dlp-list a:hover { color: var(--ink); background: var(--surface-sunk); }
.dlp-list .size { font: 12px/1.4 var(--font-mono); color: var(--ink-3); white-space: nowrap; }
.dlp-list a[aria-disabled="true"] { pointer-events: none; opacity: .6; }
.dlp-foot { margin-top: 10px; font-size: 13px; line-height: 1.5; }
.dlp-foot .link { display: inline-block; padding: 8px 0; }
.dl-panel .dl-status { margin-top: 4px; }
@media (min-width: 1024px) {
  .dl-pop { position: relative; }
  .dl-panel { left: auto; right: 0; width: 380px; margin: 0; }
  .dlp-list a { min-height: 40px; }
}

/* 回到顶部 */
.to-top { position: fixed; z-index: 40; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); width: 44px; height: 44px; display: grid; place-items: center; padding: 0; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 50%; box-shadow: var(--sh-2); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--dur-fast), transform var(--dur-fast), visibility 0s linear var(--dur-fast), border-color var(--dur-fast); }
.to-top .ic { width: 20px; height: 20px; stroke-width: 1.75; }
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { border-color: var(--ink-3); }
@media (min-width: 1024px) { .to-top { right: 24px; bottom: 24px; } }
@media print { .to-top, .dl-panel, .lang-switch { display: none !important; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 40px; padding-bottom: 0; margin-top: -56px; padding-top: 96px; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 560px; pointer-events: none;
  background-image: linear-gradient(to right, color-mix(in srgb, var(--gold) var(--grid-alpha), transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--gold) var(--grid-alpha), transparent) 1px, transparent 1px);
  background-size: 28px 28px; background-position: calc(50% - 600px + var(--pad-x)) 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, transparent 100%); }
.hero .container { position: relative; }
.hero-top { display: grid; gap: 24px; }
.hero h1 { font-family: var(--font-serif); font-size: var(--fs-display); line-height: 1.18; font-weight: 700; margin-top: 20px; position: relative; text-wrap: balance; }
.h1-line2 { position: relative; display: inline-block; }
.u-zhu { position: relative; display: inline-block; }
.u-zhu svg { position: absolute; left: -.1em; bottom: -.12em; width: 2.2em; height: .3em; overflow: visible; }
.u-zhu path { fill: none; stroke: var(--zhu); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.seal { display: inline-grid; place-items: center; width: 64px; height: 64px; border: 2px solid var(--zhu); border-radius: 6px; color: var(--zhu); transform: rotate(-6deg);
  background: color-mix(in srgb, var(--zhu-soft) 60%, transparent);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -9 6.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -9 6.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.seal span { writing-mode: vertical-rl; font-family: var(--font-serif); font-weight: 700; font-size: 26px; letter-spacing: .1em; line-height: 1; }
.hero h1 .seal { position: absolute; left: calc(100% + 14px); top: -2px; width: 40px; height: 40px; }
.hero h1 .seal span { font-size: 16px; }
.seal--sm { width: 24px; height: 24px; border-width: 1.5px; border-radius: 4px; }
.seal--sm span { font-size: 12px; letter-spacing: 0; }
.hero-right .lead { margin-top: 0; }
.cta-block { margin-top: 28px; }
.cta-buttons { display: flex; flex-direction: column; gap: 12px; }
.cta-buttons .btn { width: 100%; }
@media (min-width: 600px) { .cta-buttons { flex-direction: row; flex-wrap: wrap; } .cta-buttons .btn { width: auto; } }
.cta-extra { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 14px; }
.cta-extra:empty { display: none; }
.cta-extra .pill { min-height: 44px; padding: 0 16px; text-decoration: none; color: var(--ink); }
.cta-extra .pill:hover { border-color: var(--ink-3); }
.cta-extra .link { padding: 10px 0; }
.cta-note { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.hero-meta { margin-top: 16px; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.hero-more { margin-top: 12px; font-size: 14px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.dl-status { margin-top: 10px; font-size: 13px; color: var(--ink-2); animation: fadeIn var(--dur-ui) both; }
.dl-status.is-out { opacity: 0; transition: opacity var(--dur-reveal); }
@keyframes fadeIn { from { opacity: 0; } }
.js [data-cta="hero"] { visibility: hidden; }
.js [data-cta="hero"].is-ready { visibility: visible; animation: fadeIn var(--dur-fast) both; }

.hero-shot-wrap { margin: 40px -20px 0; position: relative; z-index: 2; margin-bottom: -48px; }

/* 取景框 */
.shot { position: relative; margin: 0; background: var(--surface); border-radius: var(--r-lg); padding: 10px; box-shadow: var(--sh-window); border: 1px solid var(--shot-border); }
.shot-inner { position: relative; }
.shot img { border-radius: var(--r-md); width: 100%; height: auto; opacity: var(--img-opacity); }
.shot figcaption { position: absolute; left: 0; top: calc(100% + 12px); font-size: 13px; line-height: 1.5; color: var(--ink-3); display: flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; }
.shot figcaption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.shot--hero figcaption { display: none; }
.shot--hero { margin-top: 0; }
.hero-shot-wrap .shot { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.hero-shot-wrap .shot img { border-radius: var(--r-md) var(--r-md) 0 0; }
@media (min-width: 1024px) { .hero-shot-wrap .shot { border-radius: var(--r-lg); } .hero-shot-wrap .shot img { border-radius: var(--r-md); } }

/* 朱批 */
.note { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; z-index: 3; }
.note-dot { position: absolute; inset: 0; border: 1.5px solid var(--zhu); border-radius: 50%; display: grid; place-items: center; }
.note-dot::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--zhu); }
.note-dot b { position: absolute; font-size: 0; }
.note-text { display: none; position: absolute; z-index: 3; font-family: var(--font-note); font-size: var(--fs-note); line-height: 1.5; color: var(--zhu); background: color-mix(in srgb, var(--surface) 92%, transparent); border-radius: 6px; padding: 6px 10px; box-shadow: var(--sh-1); white-space: nowrap; }
.note-text i { font-style: normal; margin-right: 4px; }
.note-lines { display: none; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.nl { fill: none; stroke: var(--zhu); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; }
/* 引线沿截图里的栏目分隔线与留白走，不压正文 */
.note-1 { left: 19.79%; top: 45.57%; } .note-2 { left: 61.54%; top: 56.65%; } .note-3 { left: 78.1%; top: 26.58%; }
.nt-1, .nt-2, .nt-3 { bottom: calc(100% + 22px); }
.nt-1 { left: 0; } .nt-2 { right: calc(36.81% - 32px); } .nt-3 { right: calc(11.46% - 32px); }
.nl-box { fill: none; stroke: var(--zhu); stroke-width: 1.25; opacity: .85; }
.hero-shot .nl-box { animation: fadeIn 300ms ease 1500ms both; }
@media (max-width: 1023px) { .note-2 { left: 41%; top: 53.4%; } .note-3 { left: 80.5%; } }
.note-a { left: 95.3%; top: 66.5%; } .nt-a { left: 106%; top: 66.5%; transform: translateY(-50%); white-space: normal; width: 7.6em; }
.note-b1 { left: 15.3%; top: 0; } .note-b2 { left: 24%; top: 49.6%; }
.nt-b1 { left: 4%; bottom: calc(100% + 16px); } .nt-b2 { left: 4%; top: 60%; }
/* 英文页用英文界面截图，构图不同，朱批坐标单独给 */
html[lang="en"] .note-1 { left: 10%; top: 15.57%; } html[lang="en"] .note-2 { left: 62.64%; top: 65.95%; } html[lang="en"] .note-3 { left: 86.6%; top: 15.89%; }
html[lang="en"] .nt-2 { right: calc(27.43% - 32px); } html[lang="en"] .nt-3 { right: calc(0.7% - 32px); }
html[lang="en"] .note-a { left: 97.6%; top: 58.3%; } html[lang="en"] .nt-a { top: 58.3%; }
html[lang="en"] .note-b1 { left: 76.5%; } html[lang="en"] .nt-b1 { left: auto; right: calc(23.5% - 24px); }
html[lang="en"] .note-b2 { left: 36.8%; top: 68.5%; } html[lang="en"] .nt-b2 { left: 14%; top: 76%; }
@media (max-width: 1023px) { html[lang="en"] .note-1 { left: 5%; } html[lang="en"] .note-2 { left: 5%; } html[lang="en"] .note-3 { left: 90%; } }
.note-list, .note-cap-list { counter-reset: n; margin-top: 16px; display: grid; gap: 6px; }
.note-list li, .note-cap-list li { counter-increment: n; font-family: var(--font-note); font-size: 14px; line-height: 1.5; color: var(--ink-2); padding-left: 28px; position: relative; }
.note-list li::before, .note-cap-list li::before { content: counter(n); position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--zhu); color: #fff; font: 600 11px/18px var(--font-sans); text-align: center; }
@media (max-width: 1023px) {
  .note { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
  .note-dot { background: var(--zhu); border-color: var(--zhu); }
  .note-dot::after { display: none; }
  .note-dot b { position: static; font: 600 11px/1 var(--font-sans); color: #fff; }
  .note-a .note-dot b, .note-b1 b, .note-b2 b { font-size: 11px; }
  [data-theme] {}
}
@media (prefers-color-scheme: dark) { @media (max-width: 1023px) { .note-dot b { color: var(--bg); } .note-list li::before, .note-cap-list li::before { color: var(--bg); } } }
@media (min-width: 1024px) {
  .note-text, .note-lines { display: block; }
  .note-list, .note-cap-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
}

/* Hero 叠稿与入场 */
.hero-in { animation: rise var(--dur-reveal) var(--ease-ink) both; }
.hero-in-0 { animation-delay: 0ms; } .hero-in-1 { animation-delay: 80ms; } .hero-in-2 { animation-delay: 160ms; } .hero-in-3 { animation-delay: 240ms; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.hero-shot { animation: riseBig var(--dur-hero) var(--ease-ink) 200ms both; }
@keyframes riseBig { from { opacity: 0; transform: translateY(28px); } }
.u-zhu path { animation: draw 420ms var(--ease-out) 700ms both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.hero h1 .seal { animation: stamp 380ms var(--ease-stamp) 900ms both; }
@keyframes stamp { from { opacity: 0; transform: scale(1.35) rotate(-14deg); } to { opacity: 1; transform: scale(1) rotate(-6deg); } }
.hero-shot .note-dot { animation: pop 200ms var(--ease-out) both; }
.hero-shot .nl { animation: draw 360ms var(--ease-out) both; }
.hero-shot .note-text { animation: fadeIn 240ms ease both; }
.hero-shot .note-1 .note-dot { animation-delay: 1200ms; } .hero-shot .nl-1 { animation-delay: 1300ms; } .hero-shot .nt-1 { animation-delay: 1660ms; }
.hero-shot .note-2 .note-dot { animation-delay: 1340ms; } .hero-shot .nl-2 { animation-delay: 1440ms; } .hero-shot .nt-2 { animation-delay: 1800ms; }
.hero-shot .note-3 .note-dot { animation-delay: 1480ms; } .hero-shot .nl-3 { animation-delay: 1580ms; } .hero-shot .nt-3 { animation-delay: 1940ms; }
@keyframes pop { from { transform: scale(0); } }

@media (min-width: 1024px) {
  .hero-top { grid-template-columns: 7fr 5fr; column-gap: 32px; row-gap: 0; align-items: end; }
  .hero-top > .eyebrow { grid-column: 1; grid-row: 1; }
  .hero-top > h1 { grid-column: 1; grid-row: 2; }
  .hero-top > .trust { grid-column: 1; grid-row: 3; align-self: start; margin-top: 40px; }
  .hero-right { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
  .cta-buttons { flex-direction: row; flex-wrap: wrap; }
  .cta-buttons .btn { width: auto; }
  .hero h1 .seal { width: 64px; height: 64px; left: calc(100% + 24px); top: .05em; }
  .hero h1 .seal span { font-size: 26px; }
  .hero-shot-wrap { margin: 72px 0 0; margin-bottom: -120px; padding-top: 58px; }
  .hero-shot-wrap::before, .hero-shot-wrap::after { content: ""; position: absolute; left: 0; right: 0; top: 58px; bottom: 0; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-1); z-index: -1; }
  .hero-shot-wrap::before { transform: rotate(-1.4deg) translate(-10px, 14px); }
  .hero-shot-wrap::after { background: var(--surface-sunk); transform: rotate(1deg) translate(12px, 22px); z-index: -2; }
}
.section-after-hero { padding-top: calc(var(--section-y) + 120px); }
@media (max-width: 1023px) { .section-after-hero { padding-top: var(--section-y); } .hero-shot-wrap { margin-bottom: 0; } }

/* ---------- Harness ---------- */
.split-head { display: grid; gap: 40px; }
.points { display: grid; gap: 28px; align-content: start; }
.points li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.points .num { font-size: 28px; color: var(--gold-text); line-height: 1.2; }
.points h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.45; }
.points p { font-size: 14px; line-height: 1.65; color: var(--ink-2); margin-top: 6px; }
@media (min-width: 1024px) { .split-head { grid-template-columns: 1fr 1fr; gap: 64px; } }

.diagram { margin-top: 64px; display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.dg-you, .dg-folder { background: var(--surface); box-shadow: var(--sh-1); border-radius: var(--r-md); padding: 16px; }
.dg-you small, .dg-folder small { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.dg-you p { font-family: var(--font-note); font-size: 15px; line-height: 1.6; margin-top: 6px; text-wrap: balance; }
.dg-arrow { position: relative; height: 40px; width: 1.5px; background: var(--line); margin: 0 auto; }
.dg-arrow::after { content: ""; position: absolute; bottom: -1px; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--line); border-bottom: 0; }
.dg-arrow .dot { position: absolute; left: 50%; margin-left: -3px; top: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.dg-harness { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 40px 16px 20px; border: 1.5px dashed var(--gold); border-radius: var(--r-lg); background: color-mix(in srgb, var(--gold-soft) 35%, var(--surface)); }
.dg-title { position: absolute; left: 24px; top: -12px; padding: 0 10px; background: var(--bg-alt); font-family: var(--font-serif); font-size: 15px; color: var(--gold-text); line-height: 24px; }
.dg-lines { display: none; }
.tile { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; }
.tile b { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; }
.tile span { display: block; font-size: 12px; line-height: 1.5; color: var(--ink-3); text-wrap: balance; }
.dg-core { grid-column: 1 / -1; grid-row: 1; display: grid; place-items: center; padding: 4px 0 8px; }
.dg-core .ring { grid-area: 1/1; width: 132px; height: 132px; border: 1px solid var(--gold); border-radius: 50%; }
.dg-core .core { grid-area: 1/1; width: 112px; height: 112px; border-radius: 50%; background: var(--cta-bg); color: var(--cta-fg); display: grid; place-content: center; text-align: center; padding: 8px; }
.dg-core b { font-family: var(--font-serif); font-size: 20px; font-weight: 600; line-height: 1.2; }
.dg-core span { font-size: 10px; line-height: 1.25; opacity: .7; margin-top: 2px; }
.dg-gate { position: relative; height: 130px; margin-bottom: 16px; }
.gate-bar { position: absolute; left: 15%; top: 28px; width: 70%; height: 6px; background: var(--zhu); border-radius: 3px; transform-origin: left; }
.dg-gate .seal--sm { position: absolute; left: calc(15% - 6px); top: 2px; }
.gate-arrow { position: absolute; left: 50%; top: 40px; width: 8px; height: 40px; margin-left: -4px; border-left: 1.5px solid var(--zhu); border-right: 1.5px solid var(--zhu); }
.gate-arrow::after { content: ""; position: absolute; bottom: -9px; left: -7px; border: 8px solid transparent; border-top: 9px solid var(--zhu); border-bottom: 0; }
.gate-label { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-family: var(--font-note); font-size: 14px; color: var(--zhu); line-height: 1.5; }
.dg-folder pre { margin: 8px 0 0; font: 13px/1.6 var(--font-mono); overflow-x: auto; background: var(--surface-sunk); padding: 12px 14px; border-radius: var(--r-xs); }
.dg-folder { background: var(--surface-sunk); }
.dg-folder em { display: block; margin-top: 8px; font-style: normal; font-size: 12px; color: var(--ink-3); }
@media (min-width: 768px) and (max-width: 1199px) {
  .diagram { max-width: 680px; margin-inline: auto; }
  .dg-harness { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .diagram { flex-direction: row; align-items: center; min-height: 420px; }
  .dg-you { width: 180px; flex: none; }
  .dg-arrow { width: 56px; height: 1.5px; margin: 0; flex: none; }
  .dg-arrow::after { bottom: auto; left: auto; right: -1px; top: 50%; margin: -6px 0 0; border: 6px solid transparent; border-left-color: var(--line); border-right: 0; }
  .dg-arrow .dot { left: 0; top: 50%; margin: -3px 0 0; }
  .dg-harness { flex: 1; min-width: 0; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto auto; gap: 16px; padding: 44px 28px 32px; align-self: stretch; }
  .dg-core { grid-column: 1 / -1; grid-row: 2; padding: 10px 0; z-index: 1; }
  .dg-core .ring { width: 152px; height: 152px; }
  .dg-core .core { width: 132px; height: 132px; }
  .dg-core b { font-size: 22px; }
  .dg-core span { font-size: 11px; }
  .dg-lines { display: block; position: absolute; inset: 44px 28px 32px; width: calc(100% - 56px); height: calc(100% - 76px); pointer-events: none; }
  .dg-lines path { fill: none; stroke: var(--line-soft); stroke-width: 1; vector-effect: non-scaling-stroke; }
  .tile { z-index: 1; }
  .dg-gate { width: 170px; height: auto; align-self: stretch; flex: none; margin-bottom: 0; }
  .gate-bar { left: 16px; top: 15%; width: 6px; height: 70%; transform-origin: top; }
  .dg-gate .seal--sm { left: 7px; top: calc(15% - 30px); }
  .gate-arrow { left: 22px; right: 0; width: auto; margin: 0; top: 50%; height: 8px; margin-top: -4px; border: 0; border-top: 1.5px solid var(--zhu); border-bottom: 1.5px solid var(--zhu); }
  .gate-arrow::after { bottom: auto; left: auto; right: -9px; top: -5px; border: 8px solid transparent; border-left: 9px solid var(--zhu); border-right: 0; }
  .gate-label { left: 12px; right: auto; bottom: auto; top: calc(85% + 12px); text-align: left; white-space: nowrap; }
  .dg-folder { width: 220px; flex: none; }
}

/* 通用分步动画 */
.js .anim:not(.is-playing) .step { opacity: 0; }
.anim.is-playing .step { animation: fadeIn 420ms var(--ease-out) var(--d, 0ms) both; }
.t1 { --d: 0ms; } .t2 { --d: 150ms; } .t3 { --d: 300ms; } .t4 { --d: 400ms; } .t5 { --d: 500ms; } .t6 { --d: 900ms; } .t7 { --d: 1200ms; } .t8 { --d: 1350ms; } .t9 { --d: 1600ms; }
.anim.is-playing .gate-bar { animation-name: barIn; animation-duration: 320ms; }
@keyframes barIn { from { opacity: 0; transform: scaleY(0); } }
@media (max-width: 1199px) { @keyframes barIn { from { opacity: 0; transform: scaleX(0); } } }
.anim.is-playing .dg-arrow .dot { animation: travel 600ms var(--ease-out) 150ms both; }
@keyframes travel { from { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } to { opacity: 1; transform: translateY(34px); } }
@media (min-width: 1200px) { @keyframes travel { from { opacity: 0; transform: translateX(0); } 15% { opacity: 1; } to { opacity: 1; transform: translateX(50px); } } }
.anim.is-playing .tile.step { animation-name: tileIn; }
@keyframes tileIn { from { opacity: 0; transform: scale(.96); } }

/* ---------- 能力 ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 96px; align-items: center; }
.feature:first-of-type { margin-top: 0; }
.h3-big { font-family: var(--font-serif); font-size: clamp(24px, 1vw + 20px, 30px); line-height: 1.4; font-weight: 600; margin-top: 16px; }
.feature-text p { margin-top: 16px; color: var(--ink-2); max-width: 36em; }
.feature-text .pill + .h3-big { margin-top: 16px; }
.plus-list { margin-top: 24px; display: grid; gap: 10px; }
.plus-list li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.7; color: var(--ink); }
.plus-list li::before { content: "+"; position: absolute; left: 0; font-family: var(--font-mono); font-weight: 600; color: var(--add); }
@media (min-width: 1024px) {
  .feature { grid-template-columns: 5fr 7fr; gap: 64px; }
  .feature-b { grid-template-columns: 7fr 5fr; }
  .feature-b .feature-text { order: 2; }
}

.feature-a-media { position: relative; display: flex; flex-direction: column; gap: 16px; }
.feature-a-media .shot-wrap { order: 3; }
.feature-a-media .shot--tall { max-width: 420px; }
.shot--tall figcaption { position: static; margin-top: 14px; }
/* 桌面端示意卡压在截图左下，说明移到截图上方，免得被遮住 */
@media (min-width: 1024px) { .shot--tall figcaption { position: absolute; top: auto; left: auto; right: 0; bottom: calc(100% + 12px); margin: 0; } }
.note-cap-list { margin-top: 36px; }
@media (max-width: 1023px) { .shot figcaption { position: static; width: auto; margin-top: 14px; } .feature-a-media .dc-note { order: 2; } .feature-a-media .note-cap-list { order: 4; margin-top: 0; } .feature-b-media .shot { margin-top: 0; } .feature-a-media .shot--tall figcaption { display: flex; } }
@media (min-width: 1024px) {
  .feature-a-media { display: block; padding-right: 120px; padding-bottom: 80px; }
  .feature-a-media .shot-wrap { width: 78%; margin-left: auto; }
  .feature-a-media .shot--tall { max-width: none; }
  html[lang="en"] .feature-a-media .shot-wrap { margin-bottom: 84px; }
  .diff-card { position: absolute; left: calc((100% - 120px) * .22 - 48px); bottom: 36px; z-index: 4; }
  .feature-a-media .dc-note { position: absolute; left: calc((100% - 120px) * .22 - 48px); bottom: 8px; z-index: 4; }
  .feature-b-media .shot { margin-top: 56px; margin-bottom: 40px; }
  .note-cap-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
}
.feature-b-media .note-cap-list { display: grid; margin-top: 20px; }
@media (min-width: 1024px) { .feature-b-media .note-cap-list { position: absolute; margin: 0; display: block; } }

/* 差异示意卡 */
.diff-card { width: 100%; max-width: 420px; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--sh-2); border: 1px solid var(--line-soft); overflow: hidden; }
@media (min-width: 1024px) { .diff-card { width: 360px; } }
.dc-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.dc-head b { font-weight: 600; white-space: nowrap; }
.dc-badge { position: relative; display: inline-grid; margin-left: 2px; }
.dc-badge span { grid-area: 1/1; font-size: 12px; line-height: 22px; padding: 0 10px; border-radius: var(--r-pill); white-space: nowrap; }
.b-pending { background: var(--gold-soft); color: var(--gold-text); }
.b-accepted { background: var(--accepted-bg); color: var(--accepted); font-weight: 600; }
.b-pending { opacity: 0; }
.dc-count { margin-left: auto; white-space: nowrap; font: 600 13px var(--font-mono); }
.dc-count .add { font-style: normal; color: var(--add); } .dc-count .del { font-style: normal; color: var(--del); }
.dc-line { position: relative; display: flex; gap: 8px; padding: 8px 14px 8px 17px; font: 13px/1.6 var(--font-mono); }
.dc-line::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.dc-line .sign { flex: none; width: 10px; }
.dc-del { background: var(--del-soft); color: var(--del); } .dc-del::before { background: var(--del); }
.dc-add { color: var(--add); position: relative; isolation: isolate; } .dc-add::before { background: var(--add); }
.dc-add::after { content: ""; position: absolute; inset: 0; background: var(--add-soft); z-index: -1; }
.strike { position: relative; display: inline-block; }
.strike::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 1.5px; background: currentColor; transform-origin: left; }
.dc-foot { display: grid; border-top: 1px solid var(--line-soft); }
.dc-actions, .dc-saved { grid-area: 1/1; padding: 10px 14px; display: flex; align-items: center; min-height: 48px; }
.dc-actions { justify-content: flex-end; gap: 8px; opacity: 0; }
.dc-saved { font-size: 12px; color: var(--ink-3); }
.dc-note { font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.js .diff-card:not(.is-playing) .b-pending { opacity: 1; }
.js .diff-card:not(.is-playing) .b-accepted { opacity: 0; }
.js .diff-card:not(.is-playing) .dc-actions { opacity: 1; }
.js .diff-card:not(.is-playing) .dc-saved { opacity: 0; }
.js .diff-card:not(.is-playing) .strike::after { transform: scaleX(0); }
.js .diff-card:not(.is-playing) .dc-add::after { opacity: 0; }
.diff-card.is-playing .strike::after { animation: scaleXin 360ms var(--ease-out) 400ms both; }
.diff-card.is-playing .dc-add::after { animation: fadeIn 240ms ease 760ms both; }
.diff-card.is-playing .btn-accept { animation: press 120ms ease 1600ms 1; }
.diff-card.is-playing .b-pending { animation: fadeOut 240ms ease 1800ms both; }
.diff-card.is-playing .b-accepted { animation: fadeIn 240ms ease 1800ms both; }
.diff-card.is-playing .dc-actions { animation: fadeOut 240ms ease 1900ms both; }
.diff-card.is-playing .dc-saved { animation: fadeIn 240ms ease 1900ms both; }
@keyframes scaleXin { from { transform: scaleX(0); } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes press { 50% { transform: scale(.96); } }
.diff-card.reveal { transition-property: opacity, transform; }
.dc-note:not(.x) { margin-top: -8px; }
@media (min-width: 1024px) { .dc-note:not(.x) { margin-top: 0; } }

/* 伏笔示意图 */
.plot-card { margin: 0; background: var(--surface); border-radius: var(--r-lg); padding: 20px 16px 16px; box-shadow: var(--sh-2); border: 1px solid var(--shot-border); }
.plot { width: 100%; height: auto; display: block; }
.plot-card figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-3); text-align: right; }
.plot .axis { stroke: var(--ink-3); stroke-width: 1.5; }
.plot .ticks path { stroke: var(--ink-3); stroke-width: 1.5; fill: none; }
.plot text { fill: var(--ink-3); font-family: var(--font-sans); font-size: 12px; text-anchor: middle; }
.plot .arc path { fill: none; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.plot .arc path.dashed { stroke-dasharray: .015 .012; }
.plot .a1 { color: var(--gold); } .plot .a2 { color: var(--zhu); } .plot .a3 { color: var(--ink-2); }
.plot .arc path { stroke: currentColor; }
.plot .c-solid { fill: currentColor; } .plot .c-ring { fill: var(--surface); stroke: currentColor; stroke-width: 2; }
.plot .arc .c-ring + .c-solid { fill: currentColor; }
.plot .lbl { font-family: var(--font-note); font-size: 14px; }
.plot .a1 .lbl { fill: var(--gold-text); } .plot .a2 .lbl { fill: var(--zhu); } .plot .a3 .lbl { fill: var(--ink-2); }
.plot .ledger-title { text-anchor: start; font-size: 13px; font-weight: 600; fill: var(--ink-2); }
.plot .card rect { fill: var(--surface); stroke: var(--line); }
.plot .card text { text-anchor: start; }
.plot .c1 { fill: var(--ink); font-size: 12px; font-weight: 600; } .plot .c2 { font-size: 11px; }
.js .plot-card:not(.is-playing) .arc path { stroke-dashoffset: 1; }
.js .plot-card:not(.is-playing) .arc path.dashed { opacity: 0; }
.plot-card.is-playing .arc.step { animation: fadeIn 200ms ease var(--d) both; }
.plot-card.is-playing .arc path { animation: draw 500ms var(--ease-out) var(--d) both; }
.plot-card.is-playing .arc path.dashed { animation: fadeIn 600ms ease var(--d) both; }
.plot-card.is-playing .a1 { --d: 0ms; } .plot-card.is-playing .a2 { --d: 650ms; } .plot-card.is-playing .a3 { --d: 1300ms; }
.plot-card.is-playing .card.step { animation-delay: calc(1900ms + var(--d)); }
@media (max-width: 560px) { .plot .lbl { font-size: 22px; } .plot text { font-size: 18px; } .plot .c1 { font-size: 17px; } .plot .c2 { display: none; } .plot .ledger-title { font-size: 18px; } .plot-card { padding: 14px 8px 12px; } }

/* 小能力 */
.mini-grid { display: grid; gap: 20px; margin-top: 96px; }
.mini { transition: transform var(--dur-fast), box-shadow var(--dur-fast); }
.mini:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.mini-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--gold-soft); color: var(--gold-text); }
.mini-ic .ic { width: 22px; height: 22px; }
.mini h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.45; margin-top: 16px; }
.mini p { font-size: 14px; line-height: 1.65; color: var(--ink-2); margin-top: 8px; }
@media (min-width: 768px) { .mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .mini-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { .card { padding: 20px; } }
.also { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.also-title { font-size: 13px; color: var(--ink-3); }
.also ul { display: flex; flex-wrap: wrap; gap: 8px; }
.also .pill { min-height: 30px; }

/* ---------- 工作流 ---------- */
.wf-grid { display: grid; gap: 48px; }
.steps { position: relative; display: grid; gap: 40px; }
.steps::before { content: ""; position: absolute; left: 19.5px; top: 20px; bottom: 20px; width: 1px; background: var(--line); }
.step-item { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 20px; }
.step-no { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--zhu); color: var(--zhu); font-size: 18px; transition: background-color var(--dur-ui), color var(--dur-ui); }
.step-item.is-current .step-no { background: var(--zhu); color: #fff; }
@media (prefers-color-scheme: dark) { .step-item.is-current .step-no { color: var(--bg); } }
.step-item h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.45; padding-top: 6px; }
.step-item p { font-size: 14px; line-height: 1.65; color: var(--ink-2); margin-top: 6px; }
.wf-visual { padding-top: 130px; }
.zoom-stack { position: relative; }
.zoom-proposal { aspect-ratio: 1180 / 340; background-image: url(assets/workspace-overview.png); background-size: 243.9% auto; background-position: 34.75% 66.24%; background-repeat: no-repeat; border-radius: var(--r-md); opacity: var(--img-opacity); }
.zoom-stack .shot figcaption { position: static; margin-top: 14px; }
.zoom-thumb { position: absolute; right: 14px; top: -118px; width: 36%; border-radius: var(--r-xs); box-shadow: var(--sh-2); border: 1px solid var(--line); background: var(--surface); }
.zoom-thumb img { border-radius: 5px; }
.zoom-rect { position: absolute; left: 20.5%; top: 52%; width: 41%; height: 21.5%; border: 1.5px solid var(--zhu); }
html[lang="en"] .zoom-proposal { background-image: url(assets/en/workspace-overview.png); background-size: 188% auto; background-position: 20.77% 17.57%; }
html[lang="en"] .zoom-rect { left: 9.72%; top: 12.66%; width: 53.2%; height: 28%; }
.zoom-rect::after { content: ""; position: absolute; left: 100%; top: 100%; width: 0; height: 56px; border-left: 1.5px dashed var(--zhu); transform: translateX(-1px); }
.zhu-note { margin-top: 20px; font-family: var(--font-note); font-size: 18px; color: var(--zhu); line-height: 1.5; }
@media (min-width: 1024px) {
  .wf-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .wf-visual { position: sticky; top: 104px; }
}

/* ---------- 对比 ---------- */
.table-wrap { margin-top: 0; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.7; }
.compare th, .compare td { padding: 20px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.compare thead th { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.compare tbody th { font-family: var(--font-serif); font-size: 16px; font-weight: 600; width: 18%; white-space: nowrap; }
.compare td { color: var(--ink-3); width: 36%; text-wrap: pretty; }
.compare .col-dw { background: var(--gold-soft); color: var(--ink); }
.compare thead .col-dw { border-radius: var(--r-md) var(--r-md) 0 0; color: var(--ink); }
.compare thead .col-dw img { display: inline-block; vertical-align: -5px; margin-right: 8px; border-radius: 5px; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare tbody tr:last-child .col-dw { border-radius: 0 0 var(--r-md) var(--r-md); }
.fineprint { margin-top: 20px; }
@media (max-width: 767px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto !important; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody { display: grid; gap: 16px; }
  .compare tr { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--sh-1); padding: 20px; }
  .compare th, .compare td { padding: 0; border: 0 !important; }
  .compare tbody th { font-size: 17px; margin-bottom: 12px; }
  .compare td { margin-top: 10px; }
  .compare td::before { content: attr(data-label); display: inline-block; margin-right: 10px; padding: 0 8px; border-radius: var(--r-xs); font-size: 12px; line-height: 22px; background: var(--surface-sunk); color: var(--ink-3); }
  .compare .col-dw { background: none; color: var(--ink); }
  .compare .col-dw::before { background: var(--gold-soft); color: var(--gold-text); }
}

/* ---------- 更新日志 ---------- */
.cl-grid { display: grid; gap: 40px; }
.cl-sheet { margin-top: 32px; padding: 28px 0 0; }
.cl-sheet small { font-size: 13px; letter-spacing: .16em; color: var(--ink-3); }
.cl-version { font-size: 56px; line-height: 1.2; font-variant-numeric: tabular-nums; color: var(--ink); }
.cl-date { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.cl-sheet hr { width: 40px; height: 1px; border: 0; background: var(--gold); margin: 20px 0; }
.cl-list { counter-reset: n; }
.cl-list li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line-soft); animation: fadeIn var(--dur-ui) both; }
.cl-list li:first-child { border-top: 1px solid var(--line-soft); }
.cl-list li::before { content: counter(n, decimal-leading-zero); font-family: var(--font-serif); color: var(--gold-text); font-size: 18px; line-height: 1.7; }
.cl-list li.skel { display: block; border: 0; padding: 12px 0; }
.cl-list li.skel::before { content: none; }
.skel span { display: block; height: 14px; border-radius: 7px; background: var(--line-soft); animation: breathe 1.2s ease-in-out infinite alternate; }
.skel:nth-child(1) span { width: 92%; } .skel:nth-child(2) span { width: 78%; } .skel:nth-child(3) span { width: 85%; }
@keyframes breathe { from { opacity: .6; } to { opacity: 1; } }
@media (min-width: 1024px) { .cl-grid { grid-template-columns: 4fr 8fr; gap: 64px; } }

/* ---------- 下载 ---------- */
.rec-card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: 28px 20px; display: grid; gap: 28px; }
.rec-info { display: flex; gap: 20px; align-items: flex-start; }
.rec-info img { width: 64px; height: 64px; border-radius: 15px; flex: none; }
.rec-info h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 600; line-height: 1.4; }
.rec-info p { font-size: 14px; line-height: 1.7; color: var(--ink-2); margin-top: 6px; max-width: 34em; }
.rec-cta .cta-buttons { align-items: stretch; }
.rec-file { margin-top: 10px; font: 12px/1.5 var(--font-mono); color: var(--ink-3); word-break: break-all; }
@media (min-width: 768px) { .rec-card { padding: 40px; } }
@media (min-width: 1024px) {
  .rec-card { grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
  .rec-cta { max-width: 420px; }
  .rec-cta .cta-buttons { flex-direction: column; }
  .rec-cta .cta-buttons .btn { width: 100%; }
}
.pkg-grid { display: grid; gap: 20px; margin-top: 40px; align-items: start; }
.pkg { position: relative; border: 1.5px solid transparent; }
.pkg header { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); }
.pkg h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--ink); }
.here-tag { display: none; margin-left: auto; font-size: 12px; line-height: 22px; padding: 0 10px; border-radius: var(--r-pill); background: var(--gold-soft); color: var(--gold-text); font-weight: 600; }
.pkg.is-current { border-color: var(--gold); }
.pkg.is-current .here-tag { display: inline-block; }
.pkg-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.pkg-row:last-child { border-bottom: 0; padding-bottom: 0; }
.pkg-row b { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; }
.pkg-row span { font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.pkg-row .size { font-family: var(--font-mono); white-space: nowrap; }
.pkg-row .dl-status { grid-column: 1 / -1; margin-top: 0; }
@media (min-width: 900px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }
.pkg-note { margin-top: 14px; font-size: 13px; line-height: 1.7; color: var(--ink-3); }
@media (min-width: 900px) {
  .pkg--mobile { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: center; }
  .pkg--mobile header { grid-column: 1 / -1; }
  .pkg--mobile .pkg-row:last-child { padding-bottom: 14px; }
  .pkg--mobile .pkg-note { margin-top: 0; }
}

.install { margin-top: 56px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line-soft); }
.install details { border-bottom-color: var(--line); }
summary { list-style: none; cursor: pointer; position: relative; padding: 20px 40px 20px 0; font-family: var(--font-serif); font-size: 18px; line-height: 1.5; font-weight: 600; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; transition: transform var(--dur-ui) var(--ease-out); }
details[open] > summary::after { transform: rotate(45deg); }
.d-body { padding: 0 0 20px; color: var(--ink-2); max-width: 40em; }
.d-body p, .d-body ol { margin-top: 10px; }
.d-body ol { padding-left: 24px; list-style: decimal; display: grid; gap: 6px; }
.code-row { margin-top: 14px; max-width: 44em; }
.code-label { font-size: 13px; color: var(--ink-3); }
.code { position: relative; margin-top: 4px; background: var(--surface-sunk); border-radius: var(--r-xs); padding: 12px 84px 12px 14px; font: 13px/1.6 var(--font-mono); overflow-x: auto; color: var(--ink); }
.code code { white-space: nowrap; font: inherit; }
.copy-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 32px; min-width: 56px; padding: 0 10px; font-size: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xs); cursor: pointer; }
.copy-btn:hover { border-color: var(--ink-3); }
.first-use { margin-top: 56px; }
.first-use h3 { font-size: 13px; font-weight: 500; letter-spacing: .16em; color: var(--ink-3); }
.first-use ol { display: grid; gap: 16px; margin-top: 20px; }
.first-use li { border-top: 1px solid var(--line); padding-top: 16px; }
.first-use .num { font-size: 36px; line-height: 1.2; color: var(--gold-text); display: block; }
.first-use p { margin-top: 6px; font-size: 15px; line-height: 1.7; }
@media (min-width: 768px) { .first-use ol { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 32px; }
.faq-list { border-top: 1px solid var(--line-soft); }
.faq-list .d-body, .faq-list details > p { color: var(--ink-2); max-width: 40em; padding-bottom: 20px; }
@media (min-width: 1024px) {
  .faq-grid { grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
  .faq-head { position: sticky; top: 104px; }
}

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line-soft); padding: 64px 0 40px; }
.foot-top { display: grid; gap: 40px; }
.foot-brand .brand { margin-bottom: 12px; }
.foot-brand p { font-size: 14px; line-height: 1.7; color: var(--ink-2); margin-bottom: 20px; }
.foot-col { display: flex; flex-direction: column; }
.foot-col h2 { font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--ink-3); margin: 0 0 8px; }
.foot-col a { font-size: 14px; color: var(--ink-2); text-decoration: none; padding: 10px 0; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { display: grid; gap: 8px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: 13px; line-height: 1.7; color: var(--ink-3); }
.foot-bottom p:first-child { max-width: 60em; }
@media (min-width: 768px) { .foot-top { grid-template-columns: 6fr 3fr 3fr; } .foot-bottom { grid-template-columns: 1fr auto; gap: 32px; align-items: end; } }

/* ---------- 滚动出现 ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-visible { opacity: 1; transform: none; transition: opacity var(--dur-reveal) var(--ease-ink), transform var(--dur-reveal) var(--ease-ink); }
.js .reveal.is-visible.no-anim { transition: none; }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; display: grid; place-content: center; text-align: center; gap: 20px; padding: 24px; }
.nf h1 { font-family: var(--font-serif); font-size: 40px; }
.nf .lead { margin: 0 auto; }
.nf h1[lang="en"] { font-size: 28px; margin-top: 24px; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- 窄屏 ---------- */
@media (max-width: 767px) {
  :root { --pad-x: 20px; --section-y: 72px; --fs-note: 14px; }
  section[id] { scroll-margin-top: 68px; }
  .section-head { margin-bottom: 32px; }
  .feature { margin-top: 72px; }
  .mini-grid, .diagram { margin-top: 72px; }
  .diagram { margin-top: 48px; }
  .cl-version { font-size: 44px; }
  .hero { padding-top: 88px; }
}

/* ---------- 英文页 ---------- */
html[lang="en"] {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-serif: "Iowan Old Style", "Charter", Georgia, "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  --font-note: "Iowan Old Style", "Charter", Georgia, "Kaiti SC", "STKaiti", "Noto Serif SC", serif;
  --fs-display: clamp(40px, 6vw + 14px, 72px);
}
html[lang="en"] body { line-height: 1.7; }
html[lang="en"] .lead { line-height: 1.65; max-width: 34em; }
html[lang="en"] .section-head .lead { max-width: 38em; }
html[lang="en"] h2 { line-height: 1.22; letter-spacing: -.01em; }
html[lang="en"] .hero h1 { line-height: 1.08; letter-spacing: -.015em; }
html[lang="en"] .h3-big { line-height: 1.3; }
html[lang="en"] .eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
html[lang="en"] .first-use h3, html[lang="en"] .cl-sheet small { letter-spacing: .1em; text-transform: uppercase; }
html[lang="en"] .foot-col h2 { letter-spacing: .08em; text-transform: uppercase; }
html[lang="en"] .feature-text p, html[lang="en"] .body-text { line-height: 1.7; }
html[lang="en"] .points p, html[lang="en"] .mini p, html[lang="en"] .step-item p { line-height: 1.6; }
html[lang="en"] .points h3, html[lang="en"] .mini h3, html[lang="en"] .step-item h3 { line-height: 1.3; }
html[lang="en"] .note-text, html[lang="en"] .note-list li, html[lang="en"] .note-cap-list li, html[lang="en"] .dg-you p, html[lang="en"] .gate-label, html[lang="en"] .zhu-note, html[lang="en"] .plot .lbl { font-style: italic; }
html[lang="en"] .dg-you p { line-height: 1.5; }
html[lang="en"] .gate-label { white-space: normal; }
html[lang="en"] .compare tbody th { white-space: normal; width: 20%; }
html[lang="en"] .compare .col-dw, html[lang="en"] .compare td { line-height: 1.6; }
html[lang="en"] summary { line-height: 1.4; }
html[lang="en"] .seal span { font-family: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "Noto Serif CJK SC", serif; }
html[lang="en"] .cl-body > .fineprint { margin: 0 0 12px; }
html[lang="en"] .tile span { text-wrap: pretty; }

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .anim:not(.is-playing) .step { opacity: 1; }
  .js .diff-card:not(.is-playing) .b-pending { opacity: 0; }
  .js .diff-card:not(.is-playing) .b-accepted { opacity: 1; }
  .js .diff-card:not(.is-playing) .dc-actions { opacity: 0; }
  .js .diff-card:not(.is-playing) .dc-saved { opacity: 1; }
  .js .diff-card:not(.is-playing) .strike::after { transform: none; }
  .js .diff-card:not(.is-playing) .dc-add::after { opacity: 1; }
  .js .plot-card:not(.is-playing) .arc path { stroke-dashoffset: 0; }
  .js .plot-card:not(.is-playing) .arc path.dashed { opacity: 1; }
  .js [data-cta="hero"] { visibility: visible; }
  .skel span { opacity: .8; }
}
/* ?static=1：直接显示终态 */
.is-static *, .is-static *::before, .is-static *::after { animation: none !important; transition: none !important; }
.is-static .reveal { opacity: 1 !important; transform: none !important; }
