:root {
  --bg: #EEF0EF;
  --bg-panel: #FFFFFF;
  --bg-panel-2: #E5E8E7;
  --border: #DADEDC;
  --accent: #1259F2;
  --accent-dark: #0B3FB4;
  --wine: #6E1A3A;
  --wine-2: #B0345E;
  --text: #151917;
  --text-muted: #5A625F;
  --success: #1E9A5A;
  --warn: #C4780C;
  --error: #BF2A3C;
  --on-accent: #FFFFFF;
  --transparent: transparent;
  --accent-a08: rgba(18, 89, 242, .08);
  --accent-a14: rgba(18, 89, 242, .14);
  --accent-a24: rgba(18, 89, 242, .24);
  --accent-a38: rgba(18, 89, 242, .38);
  --accent-glow: rgba(18, 89, 242, .5);
  --wash-blue: rgba(18, 89, 242, .15);
  --wash-cyan: rgba(96, 190, 214, .26);
  --veil: rgba(255, 255, 255, .44);
  --grid-line: rgba(21, 25, 23, .075);
  --ink-a06: rgba(21, 25, 23, .06);
  --ink-a10: rgba(21, 25, 23, .10);
  --ink-a16: rgba(21, 25, 23, .16);
  --ink-a22: rgba(21, 25, 23, .22);
  --mask-solid: #000000;
  --shadow-card: 0 1px 2px var(--ink-a06), 0 14px 30px -12px var(--ink-a16);
  --shadow-pop: 0 2px 4px var(--ink-a06), 0 26px 48px -18px var(--ink-a22);
  --shadow-cta: 0 10px 22px -10px var(--accent-glow);
  --shadow-chip: 0 1px 2px var(--ink-a06);
  --shadow-fab: 0 2px 4px var(--ink-a10), 0 18px 34px -14px var(--ink-a22);
  --r-ctl: 6px;
  --r-card: 10px;
  --r-hero: 14px;
  --r-pill: 999px;
  --r-round: 50%;
  --font-display: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-strong: 600;
  --size-body: 15px;
  --size-h1: clamp(34px, 3.4vw, 48px);
  --size-h2: clamp(26px, 2.5vw, 34px);
  --size-h3: 22px;
  --size-small: 13px;
  --gutter: 56px;
  --panel-pad: 72px;
  --reading-width: 1184px;
  --header-height: 80px;
  --space-section: 80px;
  --ease-ui: cubic-bezier(.2, .7, .3, 1);
  --time-ui: 180ms;
  --time-reveal: 600ms;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
html, body { margin: 0; }
html.nav-open { overflow: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: var(--weight-normal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; height: auto; }
svg { vertical-align: middle; flex-shrink: 0; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: var(--accent-a14); }
button { cursor: pointer; }
a { color: var(--accent-dark); text-underline-offset: .2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent-a24); color: var(--text); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-normal);
  color: var(--text);
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: var(--size-h1); line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: var(--size-h2); line-height: 1.2; letter-spacing: -.015em; }
h3 { font-size: var(--size-h3); line-height: 1.35; }
p { margin-top: 0; }
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: 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg-panel);
  color: var(--text);
  font-size: 13px;
  line-height: 1.75;
  tab-size: 2;
}
pre code { white-space: pre; overflow-wrap: normal; word-break: normal; }
hr { border: 0; border-top: 1px solid var(--border); margin-block: 32px; }
.wrap {
  width: 100%;
  max-width: calc(var(--reading-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.section-head { max-width: 740px; margin-bottom: 36px; }
.section-head h2 { margin: 14px 0 20px; }
.section-kicker, .next-eyebrow {
  color: var(--wine);
  font-size: var(--size-small);
  letter-spacing: .12em;
}
.muted { color: var(--text-muted); }
.keep { white-space: nowrap; }
.stack > * + * { margin-top: 24px; }
.grid-2, .grid-3 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
:where(.grid-2, .grid-3, .hero-panel, .doc-layout, .feature-layout, .footer-grid) > * { min-width: 0; }
.panel, .card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg-panel);
  color: var(--text);
  box-shadow: var(--shadow-card);
}
.panel-secondary { background: var(--bg-panel-2); color: var(--text); }
.card h3 { margin: 0 0 14px; }
.card p:last-child { margin-bottom: 0; }
.prose { min-width: 0; max-width: 100%; overflow-wrap: break-word; }
.prose h2 { margin-top: 56px; scroll-margin-top: 24px; }
.prose h3 { margin-top: 32px; }
.prose p, .prose li { line-height: 1.85; }
.prose li + li { margin-top: 8px; }
.prose :not(pre) > code {
  padding: 2px 5px;
  border-radius: var(--r-ctl);
  background: var(--bg-panel-2);
  color: var(--text);
  font-size: .9em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  max-width: 100%;
  padding: 10px 24px;
  border: 1px solid var(--transparent);
  border-radius: var(--r-pill);
  background: var(--bg-panel);
  color: var(--text);
  font-size: 15.5px;
  font-weight: var(--weight-medium);
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background var(--time-ui), color var(--time-ui), transform var(--time-ui);
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-cta); }
.btn-primary:hover, .btn-primary.is-hover { background: var(--accent-dark); color: var(--on-accent); }
.btn-ghost { border-color: var(--accent-dark); background: var(--transparent); color: var(--accent-dark); }
.btn-ghost:hover, .btn-ghost.is-hover { background: var(--bg-panel); color: var(--accent-dark); }
.btn:active, .btn.is-active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--bg-panel-2); color: var(--text-muted); border-color: var(--border); box-shadow: none; cursor: not-allowed; }
.btn.is-focus { outline: 2px solid var(--accent); outline-offset: 4px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.topbar, #site-header { position: relative; z-index: 80; }
.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: min(100%, calc(1280px + var(--gutter) * 2));
  min-height: var(--header-height);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: var(--weight-medium);
  letter-spacing: -.01em;
  text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand-mark { width: 30px; height: 30px; flex-shrink: 0; }
.nav { position: relative; z-index: 4; min-width: 0; margin-inline: auto; }
.nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: var(--r-ctl);
  background: var(--transparent);
  color: var(--text);
  font: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover { background: var(--bg-panel-2); color: var(--text); }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: var(--r-round);
  background: var(--accent);
  transform: translateX(-50%);
}
.nav-link svg { width: 14px; height: 14px; color: var(--text-muted); }
.nav-more, .language-picker { position: relative; }
.nav-drop, .language-drop {
  position: absolute;
  top: calc(100% + 8px);
  z-index: 6;
  min-width: 232px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg-panel);
  color: var(--text);
  box-shadow: var(--shadow-pop);
}
.nav-drop { left: 50%; transform: translateX(-50%); }
.language-drop { right: 0; min-width: 180px; }
.nav-drop a, .language-drop a {
  display: block;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--r-ctl);
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
}
.nav-drop a:hover, .language-drop a:hover { background: var(--bg); color: var(--text); }
.nav-drop small { display: block; margin-top: 2px; color: var(--text-muted); font-size: 12px; }
.language-drop [aria-current="true"] { color: var(--accent-dark); }
.header-tools { position: relative; z-index: 4; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--transparent);
  color: var(--text);
  font-size: 14px;
  white-space: nowrap;
}
.lang:hover { background: var(--bg-panel); color: var(--text); }
.lang svg { width: 16px; height: 16px; color: var(--text-muted); }
.lang-short { display: none; }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--r-ctl);
  background: var(--bg-panel);
  color: var(--text);
}
.menu-toggle svg { width: 20px; height: 20px; }
.nav-veil { position: fixed; inset: var(--header-height) 0 0; z-index: 1; border: 0; background: var(--ink-a22); color: var(--text); }
.mobile-drawer {
  position: absolute;
  top: 100%;
  left: var(--gutter);
  right: var(--gutter);
  z-index: 3;
  max-height: calc(100dvh - var(--header-height) - 16px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg-panel);
  color: var(--text);
  box-shadow: var(--shadow-pop);
}
.mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 46px; padding: 11px 14px; border-radius: var(--r-ctl); color: var(--text); text-decoration: none; }
.mobile-drawer a:hover, .mobile-drawer a[aria-current] { background: var(--bg); color: var(--accent-dark); }
.mobile-language-links { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.static-more > summary { list-style: none; cursor: pointer; }
.static-more > summary::-webkit-details-marker { display: none; }
.static-mobile { display: none; }
.hero { margin: 4px var(--gutter) 0; overflow-x: clip; }
.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: 560px minmax(0, 1fr);
  align-items: center;
  column-gap: 24px;
  height: 700px;
  padding: 56px var(--panel-pad);
  border-radius: var(--r-hero);
  background:
    radial-gradient(60% 75% at 94% -10%, var(--wash-cyan) 0%, var(--transparent) 62%),
    radial-gradient(52% 68% at 70% -16%, var(--wash-blue) 0%, var(--transparent) 64%),
    var(--bg-panel-2);
  color: var(--text);
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  max-width: 100%;
  padding: 5px 14px 5px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg-panel);
  color: var(--text-muted);
  box-shadow: var(--shadow-chip);
  font-size: 13px;
}
.eyebrow-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: var(--r-round); background: var(--accent); }
.hero-title { margin: 24px 0 0; font-size: var(--size-h1); line-height: 1.1; }
.hero-title > span { display: block; }
.hero-desc { max-width: 30em; margin: 28px 0 0; color: var(--text-muted); font-size: 16px; line-height: 1.75; }
.hero-desc strong { color: var(--text); font-weight: var(--weight-medium); }
.spec {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  row-gap: 14px;
  max-width: 520px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.spec-k { color: var(--text-muted); font-size: 12.5px; }
.plat-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.plat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 5px 13px 5px 11px;
  border: 1px solid var(--border);
  border-radius: var(--r-ctl);
  background: var(--bg-panel);
  color: var(--text);
  box-shadow: var(--shadow-chip);
  font-size: 13.5px;
  text-decoration: none;
}
.plat svg { width: 15px; height: 15px; flex: none; }
.plat:hover { border-color: var(--accent); color: var(--accent-dark); }
.proto { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin: 0; padding: 0; list-style: none; color: var(--text-muted); font-family: var(--font-mono); font-size: 12.5px; }
.proto li + li::before { content: "·"; margin-right: 10px; color: var(--text-muted); }
.next { padding: 60px calc(var(--gutter) + var(--panel-pad)) 80px; }
.next-eyebrow { margin: 0; }
.next-title { margin: 14px 0 0; font-size: 34px; line-height: 1.15; }
.site-footer { margin-top: 40px; padding-top: 64px; padding-bottom: 96px; border-top: 1px solid var(--border); background: var(--bg-panel-2); color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1.6fr; gap: 48px; }
.footer-brand p { max-width: 27em; margin: 20px 0 0; color: var(--text-muted); font-size: 14px; }
.footer-title { margin: 0 0 16px; font-size: 14px; font-weight: var(--weight-medium); }
.footer-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--accent-dark); }
.footer-hot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-languages { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-languages a { color: var(--text-muted); text-decoration: none; }
.footer-languages a[aria-current] { color: var(--accent-dark); }
.reveal { opacity: 1; transform: none; }
.reveal-pending { opacity: 0; transform: translateY(16px); transition: opacity var(--time-reveal) var(--ease-ui), transform var(--time-reveal) var(--ease-ui); }
.reveal.shown { opacity: 1; transform: none; }
@media (max-width: 1279px) {
  .nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .static-mobile { display: block; margin-left: auto; }
  .static-mobile .mobile-drawer { display: block; }
}
@media (min-width: 1280px) {
  .mobile-drawer, .nav-veil { display: none !important; }
}
@media (max-width: 1240px) {
  :root { --gutter: 20px; --panel-pad: 40px; }
  .hero-panel { height: auto; grid-template-columns: minmax(0, 1fr); row-gap: 48px; padding: 48px var(--panel-pad); }
  .hero-copy { max-width: 650px; }
  .footer-grid { gap: 32px; }
}
@media (max-width: 768px) {
  :root { --size-h1: clamp(24px, 5vw, 30px); --space-section: 56px; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-title { line-height: 1.2; }
  .next-title { font-size: 26px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --panel-pad: 20px; }
  .header-shell { gap: 12px; }
  .brand { gap: 8px; font-size: 15px; }
  .brand-mark { width: 28px; height: 28px; }
  .header-tools { gap: 6px; margin-left: auto; }
  .lang { min-height: 40px; padding-inline: 10px; gap: 5px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .lang svg { display: none; }
  .hero-panel { padding: 36px var(--panel-pad); row-gap: 36px; }
  .hero-desc { font-size: 15px; margin-top: 24px; }
  .hero-title { letter-spacing: -.02em; }
  .cta-row { gap: 10px; margin-top: 26px; }
  .btn { padding-inline: 18px; font-size: 14px; }
  .spec { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 24px; padding-top: 20px; }
  .plat-row { flex-direction: row; gap: 7px; }
  .plat { padding-inline: 10px; font-size: 12px; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .card, .panel { padding: 22px; }
  .next { padding: 48px calc(var(--gutter) + var(--panel-pad)) 56px; }
  .tilt, [data-tilt] { transform: none !important; }
  .footer-hot { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
}