:root {
  --bg: #ffffff;
  --bg-panel: #f4f5f6;
  --bg-panel-2: #eceef1;
  --border: #e3e5e9;
  --accent: #0a68f5;
  --accent-dark: #0750c4;
  --accent-soft: #eaf2fe;
  --accent-soft-line: #cfe0fd;
  --text: #0c0d10;
  --text-muted: #5d636e;
  --text-faint: #9aa0aa;
  --success: #1f9e5a;
  --warn: #c4860a;
  --error: #d6393a;
  --white: #ffffff;
  --clear: transparent;
  --mask-ink: #000000;
  --canvas-1: #0b1d4a;
  --canvas-2: #13398f;
  --canvas-3: #2a64d8;
  --canvas-deep: #081536;
  --canvas-deep-2: #0d2463;
  --canvas-rim: rgba(255,255,255,.14);
  --canvas-ring: rgba(255,255,255,.07);
  --window: #fbfbfc;
  --window-bar: #f3f4f6;
  --window-dot: #d7dae0;
  --gutter-ink: #b9bec7;
  --scan-fill: rgba(10,104,245,.10);
  --grid-line: rgba(12,13,16,.07);
  --veil: rgba(12,13,16,.28);
  --shadow-stage: 0 40px 80px -24px rgba(12,13,16,.30), 0 70px 120px -48px rgba(19,57,143,.35);
  --shadow-window: 0 30px 60px -20px rgba(4,12,36,.60), 0 8px 20px -10px rgba(4,12,36,.40);
  --shadow-chip: 0 18px 34px -12px rgba(12,13,16,.30), 0 3px 8px rgba(12,13,16,.10);
  --shadow-btn: 0 12px 26px -12px rgba(10,104,245,.60);
  --shadow-tile: 0 22px 40px -22px rgba(12,13,16,.22), 0 2px 6px rgba(12,13,16,.04);
  --shadow-logo: 0 6px 14px -8px rgba(12,13,16,.25);
  --r-pill: 999px;
  --r-logo: 50%;
  --r-preview-logo: 10px;
  --r-stage: 32px;
  --r-window: 14px;
  --r-chip: 12px;
  --r-panel: 40px;
  --r-tile: 22px;
  --r-demo: 28px;
  --r-shot: 10px;
  --r-small: 3px;
  --font-display: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --weight-body: 400;
  --weight-medium: 500;
  --weight-strong: 600;
  --weight-bold: 700;
  --weight-display: 800;
  --size-body: 16px;
  --size-small: 13.5px;
  --size-micro: 12.5px;
  --title-track: -.02em;
  --nav-h: 76px;
  --line: 30px;
  --tick: 20px;
  --wrap: 1280px;
  --reading: 820px;
  --gutter: 80px;
  --section-space: 112px;
  --ease: cubic-bezier(.65,0,.35,1);
  --fast: .2s;
  --reveal-time: .65s;
  --scan-time: 8s;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: var(--clear); }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
img { max-width: 100%; }
svg { display: block; flex-shrink: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.25;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(34px, 3.05vw, 44px); font-weight: var(--weight-display); letter-spacing: var(--title-track); }
h2 { font-size: clamp(26px, 2.5vw, 36px); font-weight: var(--weight-display); letter-spacing: var(--title-track); }
h3 { font-size: clamp(21px, 2vw, 28px); font-weight: var(--weight-bold); }
p { margin-block: 0 1.25em; }
strong { font-weight: var(--weight-strong); }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-window);
  background: var(--bg-panel);
  color: var(--text);
  font-size: var(--size-small);
  line-height: 1.8;
  tab-size: 2;
}
pre code { overflow-wrap: normal; word-break: normal; white-space: pre; }
hr { border: 0; border-top: 1px solid var(--border); margin-block: 40px; }
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading { width: 100%; max-width: calc(var(--reading) + var(--gutter) * 2); }
.wrap.reading { margin-inline: auto; }
.section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.grid, .two-up { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid > *, .two-up > *, .hero-grid > *, .cap-grid > *, .feature-row > *, .footer-grid > * { min-width: 0; }
.nowrap, .keyword { white-space: nowrap; }
.hl { color: var(--accent); }
.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: var(--weight-strong);
  letter-spacing: -.005em;
  line-height: 1.45;
  text-align: center;
  max-width: 100%;
  transition: background-color var(--fast) ease, transform var(--fast) ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover, .btn-primary.is-hover { background: var(--accent-dark); color: var(--white); }
.btn-ghost { background: var(--bg-panel); color: var(--text); }
.btn-ghost:hover, .btn-ghost.is-hover { background: var(--bg-panel-2); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--bg-panel-2); color: var(--text-muted); box-shadow: none; cursor: not-allowed; }
.btn.is-focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.text-link { font-weight: var(--weight-strong); color: var(--accent); }
.card, .panel {
  background: var(--bg-panel);
  color: var(--text);
  border-radius: var(--r-demo);
  padding: 32px;
  min-width: 0;
}
.card h3, .panel h3 { margin-top: 0; }
.card p:last-child, .panel p:last-child { margin-bottom: 0; }
.card-white { background: var(--bg); color: var(--text); box-shadow: var(--shadow-tile); }
.panel-band { margin-inline: 24px; border-radius: var(--r-panel); background: var(--bg-panel); color: var(--text); overflow-x: clip; }
.prose { min-width: 0; }
.prose h2 { margin-block: 2.5em .8em; }
.prose h3 { margin-block: 1.8em .7em; }
.prose p, .prose li { line-height: 1.9; }
.prose a { text-decoration: underline; text-underline-offset: .2em; }
.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(20px); }
html.reveal-ready .reveal { transition: opacity var(--reveal-time) ease, transform var(--reveal-time) ease; }
.site-head {
  position: relative;
  z-index: 30;
  background: var(--bg);
  color: var(--text);
}
.head-wrap {
  position: relative;
  width: 100%;
  max-width: min(100%, calc(1280px + var(--gutter) * 2));
  min-height: var(--nav-h);
  padding-inline: var(--gutter);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: 17px;
  letter-spacing: -.01em;
}
.brand:hover { color: var(--text); }
.brand-mark { display: block; width: 34px; height: 34px; border-radius: var(--r-logo); box-shadow: var(--shadow-logo); flex-shrink: 0; }
.brand-placeholder {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: var(--r-preview-logo);
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-logo);
}
.desktop-nav { margin-left: auto; min-width: 0; }
.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: var(--weight-medium);
}
.nav-list li { display: flex; align-items: center; flex-shrink: 0; }
.nav-list li + li::before { content: "·"; margin-inline: 14px; color: var(--text-muted); font-weight: var(--weight-bold); }
.nav-list a { display: flex; align-items: center; min-height: 44px; color: var(--text-muted); }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--text); }
.nav-list a[aria-current="page"] { font-weight: var(--weight-strong); }
.head-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.language { position: relative; }
.lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 14px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--bg-panel);
  color: var(--text);
  font-size: 14px;
  font-weight: var(--weight-medium);
}
.lang svg { width: 15px; height: 15px; color: var(--text-muted); }
.lang-short { display: none; }
.lang-caret { color: var(--text-muted); font-size: 11px; }
.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 200px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--r-window);
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-tile);
}
.language-menu a { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: var(--r-chip); color: var(--text); }
.language-menu a:hover, .language-menu a[aria-current="true"] { background: var(--bg-panel); color: var(--text); }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  border: 0;
  border-radius: var(--r-chip);
  background: var(--bg-panel);
  color: var(--text);
}
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-drawer {
  position: absolute;
  top: 100%;
  left: var(--gutter);
  right: var(--gutter);
  z-index: 3;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-window);
  background: var(--bg);
  color: var(--text);
  max-height: calc(100dvh - var(--nav-h) - 16px);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: var(--shadow-tile);
}
.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 14px; color: var(--text); border-radius: var(--r-chip); }
.mobile-drawer a:hover, .mobile-drawer a[aria-current] { background: var(--bg-panel); color: var(--text); }
.drawer-label { margin: 16px 14px 6px; color: var(--text-muted); font-size: var(--size-small); }
.nav-veil { position: fixed; inset: var(--nav-h) 0 0; z-index: 20; border: 0; background: var(--veil); color: var(--text); }
html.nav-open { overflow: hidden; }
.site-footer { background: var(--bg); color: var(--text); padding-top: 80px; padding-bottom: 36px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1.3fr .7fr; gap: 40px; }
.footer-brand p { max-width: 340px; margin-top: 22px; color: var(--text-muted); font-size: 14px; }
.site-footer h2 { font-size: 15px; margin-block: 4px 18px; font-weight: var(--weight-strong); letter-spacing: normal; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-block: 8px; }
.site-footer li a { display: inline-block; padding-block: 4px; color: var(--text-muted); font-size: 14px; }
.site-footer li a:hover { color: var(--accent-dark); }
.footer-bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 14px 30px; color: var(--text-muted); font-size: var(--size-small); }
.footer-bottom p { margin: 0; }
@media (max-width: 1280px) {
  .head-wrap { gap: 20px; }
  html:not([lang="zh-CN"]):not([lang="zh-TW"]) .desktop-nav { display: none; }
  html:not([lang="zh-CN"]):not([lang="zh-TW"]) .head-tools { margin-left: auto; }
  html:not([lang="zh-CN"]):not([lang="zh-TW"]) .menu-toggle { display: inline-flex; }
}
@media (max-width: 1180px) {
  :root { --gutter: 48px; }
}
@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .head-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  h1 { font-size: 28px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --line: 26px; --section-space: 64px; }
  .wrap, .head-wrap { padding-inline: var(--gutter); }
  .head-wrap { gap: 8px; }
  .brand { font-size: 14px; gap: 8px; min-width: 0; }
  .brand-mark, .brand-placeholder { width: 30px; height: 30px; }
  .head-tools { margin-left: auto; gap: 6px; }
  .lang { padding-inline: 10px; min-height: 44px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .brand-name { max-width: 155px; }
  .grid, .two-up { grid-template-columns: minmax(0, 1fr); }
  .panel-band { margin-inline: 12px; }
  .card, .panel { padding: 24px; }
  pre { padding: 18px; }
  .tilt, [class*="tilt-"] { transform: none !important; }
  .footer-grid { gap: 32px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer { padding-top: 56px; }
}
@media (max-width: 360px) {
  .brand-name { max-width: 132px; font-size: 12px; }
  .lang svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
  html.reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
}