:root {
  --c-bg: #FFFFFF;
  --c-panel: #F6F6F9;
  --c-panel-2: #ECEAF4;
  --c-border: #E4E2EE;
  --c-accent: #6B3CF0;
  --c-accent-dark: #3F17B5;
  --c-text: #14112B;
  --c-muted: #5E5A75;
  --c-placeholder: #8E8AA6;
  --c-success: #1F9D63;
  --c-warn: #C98208;
  --c-error: #D93A4A;
  --c-night: #1B0A52;
  --c-field-2: #2A1180;
  --c-brand: #4A22C9;
  --c-field-4: #6A44DE;
  --c-lavender: #A98CFF;
  --c-field-6: #CDBDFF;
  --c-lilac: #E6DCFF;
  --c-tint: #EEE8FF;
  --c-line-lilac: #D9CCFF;
  --c-lime: #C8F56A;
  --c-lime-hover: #D5FA85;
  --w-100: #FFFFFF;
  --w-92: rgba(255, 255, 255, 0.92);
  --w-86: rgba(255, 255, 255, 0.86);
  --w-78: rgba(255, 255, 255, 0.78);
  --w-66: rgba(255, 255, 255, 0.66);
  --w-40: rgba(255, 255, 255, 0.40);
  --w-30: rgba(255, 255, 255, 0.30);
  --w-22: rgba(255, 255, 255, 0.22);
  --w-14: rgba(255, 255, 255, 0.14);
  --w-08: rgba(255, 255, 255, 0.08);
  --w-0: rgba(255, 255, 255, 0);
  --night-18: rgba(27, 10, 82, 0.18);
  --night-30: rgba(27, 10, 82, 0.30);
  --menubar: rgba(20, 17, 43, 0.62);
  --glow-spot: rgba(226, 214, 255, 0.62);
  --glow-spot-0: rgba(226, 214, 255, 0);
  --glow-top: rgba(107, 60, 240, 0.35);
  --glow-top-0: rgba(107, 60, 240, 0);
  --hl-bar: rgba(169, 140, 255, 0.55);
  --dot-glow: rgba(230, 220, 255, 0.24);
  --sh-card: 0 1px 2px rgba(20, 17, 43, 0.06), 0 22px 44px -22px rgba(63, 23, 181, 0.28);
  --sh-float: 0 2px 6px rgba(27, 10, 82, 0.18), 0 26px 50px -20px rgba(20, 6, 70, 0.55);
  --sh-ring: inset 0 0 0 1px rgba(255, 255, 255, 0.30), 0 0 48px rgba(230, 220, 255, 0.22), 0 44px 90px -34px rgba(20, 6, 70, 0.70);
  --sh-device: 0 1px 2px rgba(20, 17, 43, 0.08), 0 20px 44px -16px rgba(63, 23, 181, 0.38);
  --sh-lime: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 14px 32px -12px rgba(200, 245, 106, 0.55);
  --sh-pill-active: 0 6px 18px -8px rgba(20, 6, 70, 0.45);
  --sh-mark: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 6px 16px -6px rgba(20, 6, 70, 0.6);
  --sh-title: drop-shadow(0 10px 28px rgba(20, 6, 70, 0.38));
  --f-display: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Microsoft YaHei", system-ui, sans-serif;
  --f-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, "Noto Sans SC", monospace;
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-ring: 34px;
  --r-pill: 999px;
  --r-mark: 10px;
  --r-icon: 14px;
  --r-mobile-ring: 28px;
  --r-circle: 50%;
  --r-caret: 1px;
  --r-underline: 0.08em;
  --gutter: 24px;
  --content-width: 1200px;
  --reading-width: 800px;
  --header-height: 76px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --motion-fast: 0.2s;
  --motion-reveal: 0.65s;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  padding-top: var(--header-height);
  position: relative;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body:has(.hero) { padding-top: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, summary, a { -webkit-tap-highlight-color: var(--w-0); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg, .icon { flex-shrink: 0; }
button svg, a svg { width: 20px; height: 20px; }
[hidden] { display: none !important; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(34px, 3.4vw, 48px); font-weight: 900; line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 21px; font-weight: 800; line-height: 1.35; letter-spacing: -0.015em; }
p { overflow-wrap: break-word; }
code, kbd, pre { font-family: var(--f-mono); }
code { overflow-wrap: anywhere; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--c-panel);
  color: var(--c-text);
  font-size: 13px;
  line-height: 1.85;
  tab-size: 2;
}
pre code { overflow-wrap: normal; word-break: normal; white-space: pre; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 4px; }
::selection { background: var(--c-lilac); color: var(--c-night); }
.wrap { width: 100%; max-width: calc(var(--content-width) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.reading { max-width: calc(var(--reading-width) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); min-width: 0; }
.sec { padding-top: 96px; padding-bottom: 96px; }
.section-panel { background: var(--c-panel); color: var(--c-text); }
.section-decor, [data-hero-visual] { overflow-x: clip; }
.grid { display: grid; gap: 24px; }
.grid > *, .peek-grid > *, .feature-browser > *, .footer-grid > * { min-width: 0; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nowrap { white-space: nowrap; }
.muted { color: var(--c-muted); }
.mono { font-family: var(--f-mono); }
.eyebrow { margin: 0; font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; color: var(--c-accent); }
.section-title { margin: 12px 0 0; }
.section-lede { max-width: 660px; margin: 14px 0 0; color: var(--c-muted); }
.section-body { margin-top: 44px; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 10px 16px; border-radius: var(--r-pill); background: var(--c-bg); color: var(--c-accent-dark); font-weight: 700; }
.skip:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 10px 26px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--c-accent-dark);
  color: var(--w-100);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-align: center;
  transition: transform var(--motion-fast) var(--ease-out);
}
.btn:hover, .btn.is-hover { transform: translateY(-2px); }
.btn:active, .btn.is-pressed { transform: translateY(1px); }
.btn--lime { background: var(--c-lime); color: var(--c-night); box-shadow: var(--sh-lime); }
.btn--lime:hover, .btn--lime.is-hover { background: var(--c-lime-hover); color: var(--c-night); }
.btn--ghost { padding-inline: 24px; border: 1.5px solid var(--w-40); background: var(--w-08); color: var(--w-100); font-weight: 700; }
.btn--ghost:hover { border-color: var(--w-78); }
.btn--soft { background: var(--c-tint); color: var(--c-accent-dark); }
.btn--outline { border: 1px solid var(--c-border); background: var(--c-bg); color: var(--c-accent-dark); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--c-panel-2); color: var(--c-muted); box-shadow: none; cursor: not-allowed; transform: none; }
.btn.is-focus { outline: 2px solid var(--c-accent); outline-offset: 4px; }
.cta-row { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.card, .panel { min-width: 0; padding: 30px; border-radius: var(--r-lg); background: var(--c-bg); color: var(--c-text); box-shadow: var(--sh-card); }
.panel { border-radius: var(--r-xl); }
.card h3 { margin: 6px 0 12px; }
.card p { color: var(--c-muted); }
.text-link { color: var(--c-accent-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(20px); }
.reveal-ready .reveal { transition: opacity var(--motion-reveal) var(--ease-out), transform var(--motion-reveal) var(--ease-out); }
.prose { min-width: 0; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { line-height: 1.9; }
.prose a { color: var(--c-accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose :not(pre) > code { padding: 2px 5px; border-radius: var(--r-xs); background: var(--c-panel); color: var(--c-accent-dark); font-size: 0.9em; }
.prose img { border-radius: var(--r-lg); }
.prose ul, .prose ol { padding-left: 1.5em; }

/* 独立宽版心，不复用正文阅读版心。 */
.topbar { position: fixed; inset: 0 0 auto; z-index: 40; background: var(--c-bg); color: var(--c-text); }
.topbar-in {
  position: relative;
  max-width: min(100%, calc(1280px + var(--gutter) * 2));
  height: var(--header-height);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; color: inherit; font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; border-radius: var(--r-mark); box-shadow: var(--sh-mark); }
.nav-main { display: flex; align-items: center; min-width: 0; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 6px 15px; border-radius: var(--r-pill); color: var(--c-muted); font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.nav-list a:hover { color: var(--c-accent-dark); }
.nav-list a[aria-current="page"] { background: var(--c-tint); color: var(--c-accent-dark); font-weight: 700; }
.header-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.language-box { position: relative; }
.lang { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 6px 14px 6px 12px; border: 1px solid var(--c-border); border-radius: var(--r-pill); background: var(--c-bg); color: var(--c-muted); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.lang-caret { font-size: 11px; }
.lang-short { display: none; }
.language-menu { position: absolute; top: calc(100% + 12px); right: 0; min-width: 176px; padding: 8px; border-radius: var(--r-md); background: var(--c-bg); color: var(--c-text); box-shadow: var(--sh-card); }
.language-menu a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: var(--r-sm); }
.language-menu a:hover, .language-menu a[aria-current="true"] { background: var(--c-tint); color: var(--c-accent-dark); }
.menu-toggle { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid var(--c-border); border-radius: var(--r-sm); background: var(--c-bg); color: var(--c-text); }
.mobile-drawer { display: none; }
.menu-veil { position: fixed; inset: var(--header-height) 0 0; z-index: -1; border: 0; background: var(--night-30); color: var(--c-text); }
.topbar--hero { background: var(--c-night); color: var(--w-100); }
.topbar--hero .nav-list a { color: var(--w-66); }
.topbar--hero .nav-list a:hover { color: var(--w-100); }
.topbar--hero .nav-list a[aria-current="page"] { background: var(--w-100); color: var(--c-accent-dark); box-shadow: var(--sh-pill-active); }
.topbar--hero .lang { border-color: var(--w-22); background: var(--w-08); color: var(--w-86); }
.topbar--hero .menu-toggle { border-color: var(--w-22); background: var(--w-08); color: var(--w-100); }
.preview-topbar { position: absolute; }

/* 首屏：按确认稿保留尺度、位置与分层。 */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 100px 24px 148px;
  background: var(--c-night);
  color: var(--w-100);
}
.hero-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--w-0) 81%, var(--c-bg) 100%),
    radial-gradient(48% 46% at 85% 80%, var(--glow-spot) 0%, var(--glow-spot-0) 72%),
    radial-gradient(36% 30% at 12% 34%, var(--glow-top) 0%, var(--glow-top-0) 70%),
    linear-gradient(180deg, var(--c-night) 0%, var(--c-field-2) 24%, var(--c-brand) 52%, var(--c-field-4) 72%, var(--c-lavender) 88%, var(--c-field-6) 100%);
  color: var(--c-text);
}
.hero-stack { position: relative; z-index: 1; width: 100%; max-width: 920px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 7px 16px 7px 12px; border-radius: var(--r-pill); border: 1px solid var(--w-22); background: var(--w-14); color: var(--w-92); font-size: 13px; font-weight: 500; letter-spacing: 0.01em; animation: rise 0.6s var(--ease-out) both; }
.badge-dot { width: 8px; height: 8px; border-radius: var(--r-circle); flex-shrink: 0; background: var(--c-lilac); box-shadow: 0 0 0 4px var(--dot-glow); }
.badge-sep { color: var(--w-40); }
.hero-title { margin: 22px 0 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -0.02em; filter: var(--sh-title); }
.ttl-row { display: block; animation: rise 0.7s var(--ease-out) both; }
.ttl-row--1 { animation-delay: 0.05s; }
.ttl-row--2 { animation-delay: 0.2s; }
.ttl-hl { position: relative; display: inline-block; }
.ttl-bar { position: absolute; left: -0.1em; right: -0.1em; bottom: 0.04em; height: 0.3em; border-radius: var(--r-underline); background: var(--hl-bar); color: var(--w-100); transform-origin: left center; animation: bar-in 0.45s var(--ease-out) 0.7s both; }
.ttl-txt { position: relative; z-index: 1; background: linear-gradient(180deg, var(--w-100) 10%, var(--c-lilac) 95%); -webkit-background-clip: text; background-clip: text; color: var(--w-0); }
.hero-lede { margin: 26px 0 0; max-width: 660px; font-size: 16.5px; line-height: 1.75; color: var(--w-78); }
.hero-lede strong { color: var(--w-100); font-weight: 700; }
.platforms { margin-top: 22px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 28px; }
.platforms a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 32px; color: var(--w-92); font-size: 14px; font-weight: 600; transition: transform var(--motion-fast) var(--ease-out); }
.platforms a:hover { color: var(--w-100); transform: translateY(-1px); }
.platforms svg { width: 17px; height: 17px; flex-shrink: 0; }
.facts { margin: 14px 0 0; padding: 0; list-style: none; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.facts li { max-width: 100%; padding: 5px 13px; border-radius: var(--r-pill); border: 1px solid var(--w-30); background: var(--night-18); color: var(--w-92); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.02em; }

/* 页脚 */
.site-footer { padding-top: 72px; padding-bottom: 28px; background: var(--c-panel); color: var(--c-text); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1.3fr 0.7fr; gap: 40px; }
.footer-brand p { max-width: 300px; color: var(--c-muted); font-size: 14px; }
.footer-heading { margin: 0 0 18px; font-size: 14px; font-weight: 800; }
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--c-muted); }
.footer-links a { display: inline-block; padding-block: 3px; }
.footer-links a:hover { color: var(--c-accent-dark); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--c-border); color: var(--c-muted); font-size: 13px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
@keyframes rise { from { opacity: 0; transform: translateY(0.5em); } to { opacity: 1; transform: none; } }
@keyframes bar-in { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@media (max-width: 1100px) {
  .nav-main { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .mobile-drawer:not([hidden]) { display: block; position: absolute; inset: var(--header-height) 0 auto; padding: 16px var(--gutter) 24px; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; background: var(--c-bg); color: var(--c-text); box-shadow: var(--sh-card); }
  .mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
  .mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 46px; padding: 10px 16px; border-radius: var(--r-sm); }
  .mobile-drawer a[aria-current], .mobile-drawer a:hover { background: var(--c-tint); color: var(--c-accent-dark); }
  .drawer-languages { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--c-border); }
  .drawer-label { margin: 0 16px 8px; color: var(--c-muted); font-size: 13px; }
}
@media (max-width: 960px) {
  .grid--3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  h1 { font-size: clamp(24px, 4vw, 30px); }
  .hero-title { font-size: 30px; }
  .sec { padding-top: 64px; padding-bottom: 64px; }
  .grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; --header-height: 64px; }
  .topbar-in { gap: 10px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .lang { padding-inline: 11px; }
  .hero { padding: 92px 18px 120px; }
  .hero-title { font-size: 28px; }
  .badge { font-size: 12px; gap: 7px; }
  .btn { min-height: 48px; padding-inline: 22px; font-size: 15px; }
  .hero-lede { font-size: 15px; }
  .platforms { gap: 4px 18px; }
  .facts { gap: 7px; }
  .facts li { font-size: 10.5px; padding-inline: 9px; }
  .card, .panel { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .tilt, [data-tilt] { transform: none !important; }
  pre { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
}