:root {
  --c-bg: #1d1c22;
  --c-panel: #26252c;
  --c-paper: #f6f6f8;
  --c-paper-line: #e2e2e8;
  --c-border: #35343c;
  --c-accent: #2f6ff5;
  --c-accent-dark: #1c47b8;
  --c-accent-light: #8fb0ff;
  --c-sand: #cdb688;
  --c-text: #f3f2f5;
  --c-text-muted: #a3a1ad;
  --c-success: #3fb68b;
  --c-warn: #e0a63a;
  --c-error: #e5484d;
  --c-white: #ffffff;
  --c-ink: #1d1c22;
  --c-ink-soft: #4a4853;
  --c-ink-muted: #696773;
  --c-ink-faint: #a9a7b3;
  --c-ink-line: #c9c8d1;
  --c-tag-line: #cfced6;
  --c-nav-line: #ececf0;
  --c-on-blue: rgba(243, 242, 245, 0.84);
  --c-on-blue-line: rgba(243, 242, 245, 0.4);
  --c-accent-wash: rgba(47, 111, 245, 0.16);
  --c-focus: #8fb0ff;
  --c-veil: rgba(29, 28, 34, 0.7);
  --c-clear: transparent;

  --font-display: "Inter", "Noto Sans SC", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Noto Sans SC", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-strong: 600;
  --text-xs: 12px;
  --text-sm: 13.5px;
  --text-nav: 15px;
  --text-base: 16px;
  --text-lead: 17px;
  --text-subtitle: 20px;
  --text-h3: 24px;
  --text-h2: clamp(24px, 2.4vw, 32px);
  --text-h1: clamp(34px, 3.4vw, 48px);
  --text-hero: clamp(30px, 3.4vw, 48px);
  --text-tab: 28px;
  --text-link-code: 17px;
  --text-rule: 15.5px;
  --text-caption: 12.5px;
  --text-field: 11.5px;
  --tracking-title: -0.02em;
  --tracking-brand: -0.01em;
  --leading-body: 1.6;
  --leading-title: 1.16;

  --r-pill: 999px;
  --r-frame: 40px;
  --r-section: 36px;
  --r-paper: 24px;
  --r-chip: 6px;
  --r-tag: 7px;
  --r-shot: 10px;
  --r-bracket: 3px;
  --r-mobile-frame: 28px;
  --r-logo: 22.5%;
  --r-circle: 50%;

  --bar-h: 36px;
  --nav-h: 64px;
  --wrap: 1312px;
  --reading: 800px;
  --head-width: 1280px;
  --gutter: 64px;
  --section-space: 160px;
  --hero-top: clamp(72px, 13vh, 120px);
  --device-w: 724px;
  --shot-width: 280px;
  --line: 1px;
  --focus-width: 2px;
  --duration-fast: 160ms;
  --duration-reveal: 600ms;
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
  --z-head: 60;
  --z-fab: 30;
  --z-tip: 90;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
img { display: block; }
svg { flex-shrink: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 0.2em; }
button, a { -webkit-tap-highlight-color: var(--c-clear); }
a:focus-visible, button:focus-visible, summary:focus-visible,
[tabindex]:focus-visible, input:focus-visible, select:focus-visible {
  outline: var(--focus-width) solid var(--c-focus);
  outline-offset: 3px;
  border-radius: var(--r-chip);
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-title);
  line-height: 1.25;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: var(--text-h1); line-height: var(--leading-title); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
p, ul, ol { margin-block: 0 1em; }
strong { font-weight: var(--weight-strong); }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; }
pre {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  padding: 24px;
  border: var(--line) solid var(--c-border);
  border-radius: var(--r-paper);
  background: var(--c-panel);
  color: var(--c-text);
  line-height: 1.8;
  tab-size: 2;
}
pre code { overflow-wrap: normal; word-break: normal; white-space: pre; }
:where(.wrap, .reading-wrap, .head-wrap, .card, .panel, .prose, .article-body) > * {
  min-width: 0;
}
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading-wrap {
  width: 100%;
  max-width: calc(var(--reading) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.head-wrap {
  width: 100%;
  max-width: min(100%, calc(var(--head-width) + var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.section + .section { padding-top: 0; }
.section-title { margin: 0 0 56px; }
.word { white-space: nowrap; }
.muted { color: var(--c-text-muted); }
.text-link { color: var(--c-accent-light); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  z-index: var(--z-tip);
  padding: 10px 16px;
  transform: translateY(-160%);
  background: var(--c-white);
  color: var(--c-ink);
  border-radius: var(--r-chip);
}
.skip-link:focus { transform: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 28px;
  max-width: 100%;
  border: 1.5px solid var(--c-clear);
  border-radius: var(--r-pill);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--c-white);
  color: var(--c-accent-dark);
  border-color: var(--c-white);
}
.btn-primary:hover, .btn-primary.is-hover { background: var(--c-paper); color: var(--c-accent-dark); }
.btn-ghost {
  background: var(--c-clear);
  color: var(--c-text);
  border-color: var(--c-text);
}
.btn-ghost:hover, .btn-ghost.is-hover { border-color: var(--c-accent-light); color: var(--c-accent-light); }
.btn-blue {
  background: var(--c-accent-dark);
  color: var(--c-white);
  border-color: var(--c-accent-dark);
}
.btn-blue:hover { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.btn:disabled, .btn[aria-disabled="true"] {
  background: var(--c-panel);
  color: var(--c-text-muted);
  border-color: var(--c-border);
  cursor: not-allowed;
}
.btn.is-focus { outline: var(--focus-width) solid var(--c-focus); outline-offset: 3px; }
.card, .panel {
  padding: 32px;
  border-radius: var(--r-paper);
  border: var(--line) solid var(--c-border);
  background: var(--c-panel);
  color: var(--c-text);
}
.card h3, .panel h3 { margin-top: 0; }
.card p:last-child, .panel p:last-child { margin-bottom: 0; }
.paper {
  background: var(--c-paper);
  color: var(--c-ink);
  border-color: var(--c-paper-line);
}
.paper .muted { color: var(--c-ink-muted); }
.paper a:not(.btn):not(.store-button) { color: var(--c-accent-dark); }
.paper pre { background: var(--c-white); color: var(--c-ink); border-color: var(--c-paper-line); }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card-grid > *, .footer-grid > * { min-width: 0; }
.prose, .article-body { min-width: 0; overflow-wrap: break-word; }
.prose h2, .article-body h2 { margin-top: 72px; margin-bottom: 24px; }
.prose h3, .article-body h3 { margin-top: 40px; margin-bottom: 16px; }
.prose p, .article-body p { line-height: 1.9; }
.prose a, .article-body a { color: var(--c-accent-light); }
.prose li, .article-body li { margin-bottom: 8px; }
.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(20px); }
html.reveal-ready .reveal {
  transition: opacity var(--duration-reveal) var(--ease), transform var(--duration-reveal) var(--ease);
}

/* 头部：导航、工具与抽屉为同级，遮罩低于顶条和抽屉。 */
#site-header { position: relative; z-index: var(--z-head); }
.notice-bar {
  min-height: var(--bar-h);
  display: flex;
  align-items: center;
  background: var(--c-sand);
  color: var(--c-ink);
  font-size: var(--text-sm);
}
.notice-bar .head-wrap, .notice-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.notice-bar p { margin: 0; }
.notice-bar a { white-space: nowrap; text-decoration: none; border-bottom: var(--line) solid currentColor; line-height: 1.3; }
.site-head {
  position: relative;
  background: var(--c-white);
  color: var(--c-ink);
}
.site-head > .head-wrap {
  position: relative;
  z-index: 3;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--c-white);
  color: var(--c-ink);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  text-decoration: none;
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-brand);
  white-space: nowrap;
}
.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: var(--r-logo);
}
.brand-mark-placeholder {
  background: var(--c-paper);
  color: var(--c-ink);
  border: 1.5px solid var(--c-accent);
}
.desktop-nav { margin-left: auto; min-width: 0; }
.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}
.nav-list a {
  display: block;
  padding-block: 12px;
  text-decoration: none;
  font-size: var(--text-nav);
  color: var(--c-ink-soft);
  white-space: nowrap;
}
.nav-list a:hover { color: var(--c-ink); }
.nav-list a[aria-current="page"] { color: var(--c-ink); font-weight: var(--weight-strong); }
.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.language-control { position: relative; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 7px 15px;
  font-size: var(--text-sm);
  white-space: nowrap;
  background: var(--c-white);
  color: var(--c-ink);
  border: var(--line) solid var(--c-nav-line);
  border-radius: var(--r-pill);
}
.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 200px;
  padding: 8px;
  border: var(--line) solid var(--c-paper-line);
  border-radius: var(--r-paper);
  background: var(--c-white);
  color: var(--c-ink);
}
.language-menu ul { margin: 0; padding: 0; list-style: none; }
.language-menu a, .mobile-drawer a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  text-decoration: none;
}
.language-menu a:hover, .language-menu a[aria-current] {
  background: var(--c-paper);
  color: var(--c-accent-dark);
  border-radius: var(--r-chip);
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: var(--line) solid var(--c-nav-line);
  border-radius: var(--r-circle);
  background: var(--c-white);
  color: var(--c-ink);
}
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-drawer {
  position: absolute;
  z-index: 2;
  top: 100%;
  inset-inline: 0;
  padding: 16px var(--gutter) 24px;
  max-height: calc(100dvh - var(--nav-h) - var(--bar-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--c-white);
  color: var(--c-ink);
  border-top: var(--line) solid var(--c-nav-line);
}
.mobile-drawer ul { margin: 0; padding: 0; list-style: none; }
.mobile-drawer a { border-bottom: var(--line) solid var(--c-nav-line); }
.mobile-drawer a[aria-current] { color: var(--c-accent-dark); font-weight: var(--weight-strong); }
.drawer-languages { margin-top: 20px; }
.drawer-label { padding-inline: 16px; font-size: var(--text-xs); color: var(--c-ink-muted); }
.nav-veil {
  position: fixed;
  z-index: 0;
  inset: 0;
  border: 0;
  padding: 0;
  background: var(--c-veil);
  color: var(--c-white);
}
.lang-short { display: none; }

/* 已确认的首屏：左文案、右侧链接长卷。 */
.hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  height: calc(100vh - var(--bar-h) - var(--nav-h));
  height: calc(100svh - var(--bar-h) - var(--nav-h));
  min-height: 760px;
  max-height: 880px;
  padding-bottom: 24px;
}
.hero-field {
  position: absolute;
  z-index: -1;
  top: 25%;
  left: 24px;
  right: 24px;
  bottom: 24px;
  border-radius: 0 0 var(--r-frame) var(--r-frame);
  background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg) 10%, var(--c-accent-dark) 50%, var(--c-accent) 80%, var(--c-accent-light) 100%);
  color: var(--c-ink);
}
.hero-inner {
  position: relative;
  height: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--device-w);
  column-gap: 56px;
  align-items: start;
}
.hero-inner > * { min-width: 0; }
.hero-copy { padding-top: var(--hero-top); }
.hero-badge { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
.hero-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--r-logo);
  flex-shrink: 0;
}
.hero-mark-placeholder {
  background: var(--c-paper);
  color: var(--c-ink);
  border: 2px solid var(--c-accent-light);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 15px 6px 12px;
  border: var(--line) solid var(--c-border);
  border-radius: var(--r-pill);
  background: var(--c-panel);
  color: var(--c-text-muted);
  font-size: var(--text-sm);
  line-height: 1.4;
}
.hero-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--r-circle);
  background: var(--c-accent);
  color: var(--c-white);
  flex-shrink: 0;
}
.hero-title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: var(--text-hero);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  color: var(--c-text);
  text-wrap: initial;
}
.hero-title-line { display: block; }
.hero-title-em { color: var(--c-accent-light); }
.hero-lead { margin: 0 0 34px; max-width: 31em; font-size: var(--text-lead); line-height: 1.75; color: var(--c-text-muted); }
.hero-lead strong { color: var(--c-text); font-weight: var(--weight-medium); }
.hero-actions, .get-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.get-note { margin: 16px 0 0; font-size: var(--text-sm); color: var(--c-on-blue); }
.get-note [data-pkg-ver] { font-family: var(--font-mono); font-size: var(--text-sm); }
.platform-row { margin-top: 36px; }
.platform-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.platform-list li, .platform-list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-sm);
  color: var(--c-on-blue);
  text-decoration: none;
}
.platform-list a:hover { color: var(--c-white); text-decoration: underline; }
.platform-list svg { width: 16px; height: 16px; flex-shrink: 0; }
.price-chip {
  display: inline-flex;
  max-width: 100%;
  margin-top: 14px;
  padding: 5px 13px;
  border: var(--line) solid var(--c-on-blue-line);
  border-radius: var(--r-pill);
  font-size: var(--text-caption);
  color: var(--c-text);
}
.hero-device { padding-top: calc(var(--hero-top) + 40px); }
.anatomy {
  margin: 0;
  min-height: 760px;
  background: var(--c-paper);
  color: var(--c-ink);
  border: var(--line) solid var(--c-paper-line);
  border-radius: var(--r-paper);
}
.anatomy-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 34px; border-bottom: var(--line) solid var(--c-paper-line); }
.anatomy-title { display: flex; align-items: center; gap: 11px; font-size: var(--text-nav); }
.mono-chip {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  line-height: 1.5;
  padding: 2px 9px;
  border-radius: var(--r-chip);
  background: var(--c-white);
  color: var(--c-ink-soft);
  border: var(--line) solid var(--c-paper-line);
}
.anatomy-meta { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--c-ink-muted); white-space: nowrap; }
.link-block { padding: 44px 34px 30px; }
.link-scroll { max-width: 100%; overflow-x: auto; overflow-y: hidden; }
.share-link {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  margin: 0;
  padding-bottom: 112px;
  font-family: var(--font-mono);
  font-size: var(--text-link-code);
  line-height: 1.7;
  white-space: nowrap;
}
.share-link .sep { position: relative; z-index: 1; color: var(--c-ink-muted); }
.seg { position: relative; z-index: 1; color: var(--c-ink); }
.seg::before {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  top: calc(100% + 4px);
  height: 6px;
  border: var(--line) solid var(--c-ink-line);
  border-top: 0;
  border-radius: 0 0 var(--r-bracket) var(--r-bracket);
}
.seg::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  height: var(--lead);
  border-left: var(--line) dashed var(--c-ink-line);
}
.seg-t1 { --lead: 12px; }
.seg-t2 { --lead: 52px; }
.seg-tag {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px + var(--lead));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.seg-tag b {
  font-family: var(--font-mono);
  font-weight: var(--weight-medium);
  font-size: var(--text-xs);
  line-height: 1.4;
  padding: 3px 9px;
  border: var(--line) solid var(--c-tag-line);
  border-radius: var(--r-tag);
  background: var(--c-white);
  color: var(--c-ink);
}
.seg-tag small { font-family: var(--font-body); font-size: var(--text-field); line-height: 1.3; color: var(--c-ink-muted); white-space: nowrap; }
.seg-key { color: var(--c-accent-dark); }
.seg-key::before { border-color: var(--c-accent); }
.seg-key::after { border-left-color: var(--c-accent); }
.seg-key .seg-tag b { background: var(--c-accent-dark); color: var(--c-white); border-color: var(--c-accent-dark); }
.sweep {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 96px;
  height: 1.7em;
  border-radius: var(--r-chip);
  background: linear-gradient(90deg, var(--c-clear), var(--c-accent-wash), var(--c-clear));
  color: var(--c-ink);
  opacity: 0;
  transform: translateX(-96px);
  animation: link-sweep 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes link-sweep {
  0% { transform: translateX(-96px); opacity: 0; }
  12%, 76% { opacity: 1; }
  88%, 100% { transform: translateX(660px); opacity: 0; }
}
.link-note { margin: 0; font-size: var(--text-sm); line-height: 1.6; color: var(--c-ink-muted); }
.conf { border-top: var(--line) solid var(--c-paper-line); padding-top: 22px; }
.conf-head { display: flex; justify-content: space-between; gap: 16px; padding: 0 34px 14px; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--c-ink-muted); }
.conf-body { display: grid; grid-template-columns: 48px minmax(0, 1fr); margin-left: 24px; font-family: var(--font-mono); font-size: var(--text-rule); line-height: 32px; }
.conf-gutter { margin: 0; padding: 0 16px 0 0; list-style: none; text-align: right; color: var(--c-ink-muted); border-right: var(--line) solid var(--c-paper-line); user-select: none; }
.conf-code { padding-left: 20px; padding-right: 16px; white-space: nowrap; overflow-x: auto; }
.conf-line { display: block; }
.k-sec, .k-pol { color: var(--c-accent-dark); }
.k-type { color: var(--c-ink); font-weight: var(--weight-medium); }
.k-val { color: var(--c-ink-soft); }
.k-p { color: var(--c-ink-muted); }
.k-dir { color: var(--c-ink); }
.facts { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.facts-title { margin: 0 0 64px; font-size: var(--text-h2); }
.facts-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
.facts-list > * { min-width: 0; }
.facts-no { display: block; font-family: var(--font-mono); font-size: var(--text-sm); color: var(--c-sand); margin-bottom: 18px; }
.facts-list h3 { margin: 0 0 12px; font-size: var(--text-subtitle); }
.facts-list p { margin: 0 0 16px; font-size: var(--text-nav); line-height: 1.75; color: var(--c-text-muted); }
.facts-list a { font-size: var(--text-nav); color: var(--c-accent-light); text-decoration: none; }
.facts-list a:hover { text-decoration: underline; }

.site-footer { padding-top: 80px; padding-bottom: 32px; border-top: var(--line) solid var(--c-border); background: var(--c-bg); color: var(--c-text); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.2fr 0.7fr; gap: 48px; }
.footer-brand p { max-width: 30em; margin-top: 24px; color: var(--c-text-muted); font-size: var(--text-nav); }
.footer-heading { margin: 0 0 20px; font-size: var(--text-base); font-weight: var(--weight-medium); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-block; padding-block: 6px; color: var(--c-text-muted); font-size: var(--text-nav); text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover, .footer-links a[aria-current] { color: var(--c-text); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; margin-top: 64px; padding-top: 24px; border-top: var(--line) solid var(--c-border); color: var(--c-text-muted); font-size: var(--text-sm); }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }

/* 预览页专用展示家具，也供组件验收使用。 */
.preview-kicker { color: var(--c-text-muted); font-family: var(--font-mono); font-size: var(--text-sm); margin-bottom: 20px; }
.preview-stack { display: grid; gap: 24px; }
.preview-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.preview-subsection { margin-top: 64px; }
.swatch-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.swatch-grid > * { min-width: 0; }
.swatch { height: 80px; border: var(--line) solid var(--c-border); border-radius: var(--r-paper); background: var(--swatch); color: var(--c-ink); margin-bottom: 10px; }
.swatch-grid code { font-size: var(--text-xs); color: var(--c-text-muted); }
.sw-bg { --swatch: var(--c-bg); }
.sw-panel { --swatch: var(--c-panel); }
.sw-paper { --swatch: var(--c-paper); }
.sw-paper-line { --swatch: var(--c-paper-line); }
.sw-border { --swatch: var(--c-border); }
.sw-accent { --swatch: var(--c-accent); }
.sw-accent-dark { --swatch: var(--c-accent-dark); }
.sw-accent-light { --swatch: var(--c-accent-light); }
.sw-sand { --swatch: var(--c-sand); }
.sw-text { --swatch: var(--c-text); }
.sw-muted { --swatch: var(--c-text-muted); }
.sw-success { --swatch: var(--c-success); }
.sw-warn { --swatch: var(--c-warn); }
.sw-error { --swatch: var(--c-error); }
.sw-white { --swatch: var(--c-white); }
.sw-ink { --swatch: var(--c-ink); }
.sw-ink-soft { --swatch: var(--c-ink-soft); }
.sw-ink-muted { --swatch: var(--c-ink-muted); }
.sw-ink-faint { --swatch: var(--c-ink-faint); }
.sw-ink-line { --swatch: var(--c-ink-line); }
.sw-tag-line { --swatch: var(--c-tag-line); }
.sw-nav-line { --swatch: var(--c-nav-line); }
.sw-on-blue { --swatch: var(--c-on-blue); }
.sw-on-blue-line { --swatch: var(--c-on-blue-line); }
.sw-accent-wash { --swatch: var(--c-accent-wash); }
.sw-focus { --swatch: var(--c-focus); }
.sw-veil { --swatch: var(--c-veil); }
.sw-clear { --swatch: var(--c-clear); }
.preview-shot-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 750 / 1334;
  padding: 24px;
  border: var(--line) solid var(--c-paper-line);
  border-radius: var(--r-shot);
  background: var(--c-paper);
  color: var(--c-ink-muted);
  text-align: center;
}
.svg-definitions { display: none; }

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .site-head > .head-wrap { gap: 20px; }
}
@media (min-width: 1181px) {
  .mobile-drawer, .nav-veil { display: none !important; }
}
@media (max-width: 1180px) {
  .hero { height: auto; min-height: 0; max-height: none; }
  .hero-field { top: 34%; }
  .hero-inner { height: auto; grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-top: 72px; }
  .hero-device { padding-top: 56px; }
  .anatomy { min-height: 0; border-bottom: 0; border-radius: var(--r-paper) var(--r-paper) 0 0; padding-bottom: 24px; }
  .facts-list { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --gutter: 20px; }
  .brand-name { display: none; }
  .notice-bar a { display: none; }
  .notice-bar { padding-block: 6px; }
  .site-head > .head-wrap { gap: 16px; }
  .swatch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  :root { --text-h1: 30px; --text-hero: 30px; }
}
@media (max-width: 720px) {
  .notice-bar { font-size: var(--text-xs); }
  .hero-lead { font-size: var(--text-base); }
  .hero-field { left: 8px; right: 8px; border-radius: 0 0 var(--r-mobile-frame) var(--r-mobile-frame); }
  .anatomy-head { padding: 16px 20px; }
  .anatomy-meta { display: none; }
  .link-block { padding: 32px 20px 24px; }
  .share-link { font-size: var(--text-sm); }
  .conf-head { padding: 0 20px 12px; }
  .conf-body { margin-left: 8px; font-size: var(--text-sm); }
  .facts { padding-top: 112px; padding-bottom: 112px; }
}
@media (max-width: 640px) {
  :root { --section-space: 112px; }
  .tilt, [data-tilt] { transform: none !important; }
  .card-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .card, .panel { padding: 24px; }
  .hero-copy { padding-top: 40px; }
  .hero-badge { margin-bottom: 24px; }
  .hero-lead { margin-bottom: 24px; }
  .hero-actions, .get-actions { gap: 12px; }
  .btn { padding-inline: 20px; }
  .hero-title-line:first-child { font-size: var(--text-h3); }
  .hero-title-line { line-height: 1.35; }
  .platform-list { gap: 10px 16px; }
  .footer-grid { gap: 40px; }
  .footer-bottom { align-items: flex-start; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .swatch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
  .sweep { opacity: 0; }
}