:root {
  --bg: #FAFCFB;
  --bg-panel: #FFFFFF;
  --bg-panel-2: #F1EEFB;
  --border: #E2E4E9;
  --border-soft: #EEEFF2;
  --accent: #7466D9;
  --accent-dark: #4B3FB2;
  --text: #141519;
  --text-muted: #5E626B;
  --text-faint: #8E929B;
  --success: #2F8F6A;
  --warn: #B7791F;
  --error: #C2453D;
  --surface-muted: #F5F6F8;
  --surface-active: #E8E9ED;
  --chrome-dot: #D3D5DB;
  --clear: transparent;
  --veil: color-mix(in srgb, var(--text) 25%, transparent);
  --accent-wash: color-mix(in srgb, var(--accent) 5%, var(--bg-panel));
  --accent-ring: color-mix(in srgb, var(--accent) 38%, transparent);
  --button-hover: color-mix(in srgb, var(--text) 84%, var(--bg-panel));
  --chrome-bg: color-mix(in srgb, var(--surface-muted) 55%, var(--bg-panel));
  --glyph-1: color-mix(in srgb, var(--accent) 8%, transparent);
  --glyph-2: color-mix(in srgb, var(--accent) 14%, transparent);
  --glyph-3: color-mix(in srgb, var(--accent) 21%, transparent);
  --glyph-4: color-mix(in srgb, var(--accent) 30%, transparent);
  --success-ring: color-mix(in srgb, var(--success) 16%, transparent);
  --proxy-ring: color-mix(in srgb, var(--accent) 18%, transparent);
  --error-ring: color-mix(in srgb, var(--error) 16%, transparent);
  --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, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r-ctl: 4px;
  --r-win: 8px;
  --r-pill: 999px;
  --r-segment: 3px;
  --r-round: 50%;
  --shadow-win:
    0 1px 2px color-mix(in srgb, var(--text) 5%, transparent),
    0 10px 24px -6px color-mix(in srgb, var(--text) 8%, transparent),
    0 38px 76px -22px color-mix(in srgb, var(--accent-dark) 26%, transparent),
    inset 0 -1px 0 var(--border);
  --shadow-knob: 0 1px 2px color-mix(in srgb, var(--text) 24%, transparent);
  --wrap: 1312px;
  --reading: 840px;
  --gutter: 64px;
  --header-height: 64px;
  --section-space: 112px;
  --ease: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
img, svg, video { max-width: 100%; vertical-align: middle; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: var(--clear); }
a { color: var(--accent-dark); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
  border-radius: var(--r-ctl);
}
button:disabled, [aria-disabled="true"] { cursor: not-allowed; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 4.5vw, 64px); line-height: 1.18; letter-spacing: -.02em; }
h3 { font-size: 24px; line-height: 1.35; }
p, li, dd { overflow-wrap: break-word; }
h1, h2, h3, p { margin-top: 0; }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; font-size: .9em; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-win);
  background: var(--surface-muted);
  color: var(--text);
  line-height: 1.7;
  tab-size: 2;
}
pre code { overflow-wrap: normal; white-space: pre; }
hr { border: 0; border-top: 1px solid var(--border); margin-block: 32px; }
main, section, article, aside, nav, div, li { min-width: 0; }
svg, .dot, .brand-mark, .app-icon { flex-shrink: 0; }
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.reading { max-width: calc(var(--reading) + var(--gutter) * 2); }
.section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.section-title { margin-bottom: 32px; }
.section-intro { max-width: 680px; color: var(--text-muted); font-size: 18px; line-height: 1.8; }
.prose { line-height: 1.9; }
.prose h2 { margin-top: 72px; font-size: clamp(28px, 3vw, 40px); }
.prose h3 { margin-top: 40px; }
.prose p, .prose ul, .prose ol { margin-bottom: 24px; }
.prose li + li { margin-top: 8px; }
.prose > :first-child { margin-top: 0; }
.prose :is(h2, h3, h4), [id] { scroll-margin-top: 88px; }
.muted { color: var(--text-muted); }
.mono, .eyebrow { font-family: var(--font-mono); }
.eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.keep-word { white-space: nowrap; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.stack > * + * { margin-top: 24px; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card, .panel {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-win);
  background: var(--bg-panel);
  color: var(--text);
}
.card h3 { margin-bottom: 16px; }
.card p:last-child, .panel p:last-child { margin-bottom: 0; }

.btn-solid {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--text);
  border-radius: var(--r-ctl);
  background: var(--text);
  color: var(--bg-panel);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-decoration: none;
  transition: background-color var(--ease);
}
.btn-solid:hover, .btn-solid.is-hover { background: var(--button-hover); color: var(--bg-panel); }
.btn-solid:active, .btn-solid.is-pressed { background: var(--accent-dark); color: var(--bg-panel); }
.btn-solid:disabled, .btn-solid[aria-disabled="true"] {
  background: var(--surface-active);
  border-color: var(--border);
  color: var(--text-muted);
}
.btn-solid.is-focus { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
.btn-solid svg, .dl-fab svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-text {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--text);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-decoration: none;
}
.btn-text:hover { color: var(--accent-dark); border-color: var(--accent); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }

.topbar, #site-header { position: relative; z-index: 40; height: var(--header-height); }
.topbar-inner {
  width: 100%;
  max-width: min(100%, calc(1280px + var(--gutter) * 2));
  padding-inline: var(--gutter);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: 100%;
}
.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.01em;
}
.brand-mark { width: 26px; height: 26px; }
.desktop-nav { min-width: 0; margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}
.nav-link {
  display: block;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--ease), background-color var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link[aria-current="page"] { background: var(--bg-panel-2); color: var(--text); }
.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.language-control { position: relative; }
.lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 0 6px 20px;
  border: 0;
  border-left: 1px solid var(--border);
  background: var(--clear);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13.5px;
  white-space: nowrap;
}
.lang svg { width: 15px; height: 15px; fill: none; stroke: var(--text-muted); stroke-width: 1.3; }
.lang-caret { color: var(--text-muted); font-size: 11px; }
.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 180px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--r-win);
  background: var(--bg-panel);
  color: var(--text);
}
.language-menu a { display: block; min-height: 44px; padding: 11px 12px; color: var(--text-muted); text-decoration: none; }
.language-menu a:hover, .language-menu a[aria-current] { background: var(--bg-panel-2); color: var(--text); }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--r-ctl);
  background: var(--bg-panel);
  color: var(--text);
}
.menu-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.mobile-drawer {
  position: absolute;
  z-index: 3;
  top: var(--header-height);
  inset-inline: 0;
  padding: 16px var(--gutter) 24px;
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text);
}
.mobile-drawer ul { list-style: none; padding: 0; margin: 0; }
.mobile-drawer a { display: block; width: 100%; min-height: 44px; padding: 12px 14px; text-decoration: none; color: var(--text-muted); }
.mobile-drawer a[aria-current] { border-radius: var(--r-ctl); background: var(--bg-panel-2); color: var(--text); }
.drawer-languages { margin-top: 16px !important; padding-top: 16px !important; border-top: 1px solid var(--border); }
.menu-veil { position: fixed; z-index: 30; inset: var(--header-height) 0 0; border: 0; background: var(--veil); color: var(--text); }

.hero { text-align: center; overflow-x: clip; }
.hero-copy { padding-top: 40px; }
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.chip {
  max-width: 100%;
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg-panel);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .12em;
  overflow-wrap: anywhere;
}
.hero-title {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 1.6vw + 25px, 48px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.hero-title > span { display: block; }
.hero-lede { max-width: 780px; margin: 16px auto 0; color: var(--text-muted); font-size: 17px; line-height: 1.6; }
.hero-lede strong { color: var(--text); font-weight: 500; }
.cta { display: flex; justify-content: center; align-items: center; gap: 32px; margin-top: 24px; }
.platforms { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; margin: 22px 0 0; padding: 0; list-style: none; }
.plat { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 13.5px; text-decoration: none; }
.plat svg { width: 16px; height: 16px; flex: none; }
.plat:hover, .plat:focus-visible { color: var(--accent-dark); }
.facts-band { margin-top: 30px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.facts { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; min-height: 44px; margin: 0 auto; padding: 0; list-style: none; }
.fact { position: relative; display: inline-flex; align-items: baseline; gap: 10px; padding: 0 26px; color: var(--text); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.fact + .fact::before { content: ""; position: absolute; left: -2px; top: 50%; width: 4px; height: 4px; border-radius: var(--r-round); background: var(--border); transform: translateY(-50%); }
.fact-key { color: var(--text-muted); }
.fact .lc { text-transform: none; letter-spacing: .06em; }

.site-footer { padding-top: 64px; padding-bottom: 32px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 40px; }
.footer-brand p { max-width: 310px; margin-top: 20px; color: var(--text-muted); line-height: 1.8; }
.footer-heading { margin: 0 0 16px; color: var(--text); font-size: 14px; font-weight: 500; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-block; padding-block: 6px; color: var(--text-muted); font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--accent-dark); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 12px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-legal a { color: var(--text-muted); }

.reveal { opacity: 1; }
.reveal.reveal-pending { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.shown { opacity: 1; transform: none; }

@media (max-width: 1279px) {
  .desktop-nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 960px) {
  :root { --gutter: 32px; --section-space: 80px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; --section-space: 64px; }
  h1 { font-size: 30px; }
  .lang { border-left: 0; padding-left: 0; }
  .topbar-inner { gap: 8px; }
  .header-tools { margin-left: auto; gap: 6px; }
  .hero-copy { padding-top: 28px; }
  .hero-title { font-size: 30px; }
  .hero-lede { font-size: 15.5px; }
  .cta { flex-direction: column; gap: 18px; }
  .platforms { gap: 14px 22px; }
  .facts { padding-block: 8px; }
  .fact { padding: 6px 14px; }
  .fact + .fact::before { display: none; }
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .card, .panel { padding: 22px; }
}
@media (max-width: 640px) {
  .tilt, [data-tilt] { transform: none !important; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .brand { gap: 6px; font-size: 13px; }
  .brand-mark { width: 22px; height: 22px; }
  .lang { font-size: 12px; gap: 4px; }
  .lang svg { display: none; }
  .hero-title { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal.reveal-pending { opacity: 1; transform: none; }
}