:root {
  --c-bg: #ffffff;
  --c-panel: #f1ecfe;
  --c-panel-2: #1d0a52;
  --c-border: #e3dcf6;
  --c-accent: #6119f5;
  --c-accent-dark: #3a0fb5;
  --c-text: #160d33;
  --c-muted: #5e5878;
  --c-coral: #ff6a5c;
  --c-success: #178f5c;
  --c-warn: #b9800a;
  --c-error: #d6383d;
  --c-tab-on: #d9ccfd;
  --c-violet-soft: #8a5cff;
  --c-white: #ffffff;
  --c-clear: rgba(255, 255, 255, 0);
  --c-on-dark-2: rgba(255, 255, 255, 0.84);
  --c-on-dark-3: rgba(255, 255, 255, 0.78);
  --c-on-dark-line: rgba(255, 255, 255, 0.24);
  --c-on-dark-edge: rgba(255, 255, 255, 0.62);
  --c-on-dark-fill: rgba(255, 255, 255, 0.08);
  --c-ti-hi: #e6e3ec;
  --c-ti: #aaa6b3;
  --c-ti-lo: #5d5966;
  --c-bezel: #0c0a12;
  --c-island: #000000;
  --c-glow-coral: rgba(255, 106, 92, 0.34);
  --c-glow-coral-0: rgba(255, 106, 92, 0);
  --c-glow-top: rgba(150, 110, 255, 0.32);
  --c-glow-top-0: rgba(150, 110, 255, 0);
  --c-halo-1: rgba(222, 208, 255, 0.52);
  --c-halo-2: rgba(138, 92, 255, 0.22);
  --c-halo-0: rgba(138, 92, 255, 0);
  --c-band-1: rgba(255, 255, 255, 0.24);
  --c-band-2: rgba(255, 255, 255, 0.12);
  --c-screen-shade: rgba(58, 15, 181, 0.36);
  --c-screen-shade-0: rgba(58, 15, 181, 0);
  --c-shade-deep: rgba(20, 6, 66, 0.52);
  --c-shade-mid: rgba(58, 15, 181, 0.34);
  --c-shade-soft: rgba(29, 10, 82, 0.3);
  --c-shade-faint: rgba(58, 15, 181, 0.14);
  --c-check-bg: rgba(255, 106, 92, 0.13);
  --c-dot-ring: rgba(255, 106, 92, 0.26);
  --c-accent-ring: rgba(97, 25, 245, 0.16);
  --c-lip: rgba(241, 236, 254, 0.92);
  --c-veil: rgba(29, 10, 82, 0.3);
  --g-hero:
    radial-gradient(ellipse 44% 62% at 94% 106%, var(--c-glow-coral), var(--c-glow-coral-0) 72%),
    radial-gradient(ellipse 40% 55% at 4% -6%, var(--c-glow-top), var(--c-glow-top-0) 70%),
    linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-dark) 46%, var(--c-panel-2) 100%);
  --g-ti: linear-gradient(150deg, var(--c-ti-hi) 0%, var(--c-ti) 28%, var(--c-ti-lo) 58%, var(--c-ti) 84%, var(--c-ti-hi) 100%);
  --g-screen:
    radial-gradient(120% 70% at 18% 0%, var(--c-screen-shade), var(--c-screen-shade-0) 70%),
    linear-gradient(165deg, var(--c-violet-soft), var(--c-coral));
  --g-mark: linear-gradient(140deg, var(--c-accent), var(--c-violet-soft) 60%, var(--c-accent-dark));
  --g-heading: linear-gradient(100deg, var(--c-accent), var(--c-accent-dark) 55%, var(--c-coral));
  --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-regular: 400;
  --weight-medium: 500;
  --r-card: 8px;
  --r-btn: 6px;
  --r-pill: 999px;
  --r-shot: 8px;
  --r-mark: 8px;
  --r-device: 48px;
  --r-key: 2px;
  --header-h: 64px;
  --peek-h: 64px;
  --wrap: 1280px;
  --reading: 800px;
  --gutter: 48px;
  --section-space: 88px;
  --gap: 24px;
  --text-base: 15px;
  --text-small: 13px;
  --h1-size: clamp(34px, 3.3vw, 48px);
  --h2-size: clamp(26px, 3vw, 40px);
  --h3-size: 22px;
  --e-deep: 0 46px 72px -24px var(--c-shade-deep), 0 18px 34px -14px var(--c-shade-mid), 0 2px 6px var(--c-shade-faint);
  --e-soft: 0 20px 34px -18px var(--c-shade-soft), 0 6px 12px -6px var(--c-shade-faint);
  --e-device: 0 70px 110px -36px var(--c-shade-deep), 0 30px 60px -24px var(--c-shade-mid);
  --e-btn: 0 10px 24px -12px var(--c-shade-deep);
  --duration-fast: 180ms;
  --duration-reveal: 600ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --z-head: 30;
  --z-veil: 20;
  --z-float: 40;
}
*, *::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: var(--weight-regular) var(--text-base)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; vertical-align: middle; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: var(--c-clear); }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration-thickness: 1px; text-underline-offset: 4px; }
p { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  line-height: 1.25;
  margin: 0 0 20px;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: var(--h1-size); letter-spacing: -0.02em; }
h2 { font-size: var(--h2-size); letter-spacing: -0.015em; }
h3 { font-size: var(--h3-size); }
h4 { font-size: 18px; }
ul, ol { padding-inline-start: 1.5em; }
button, a, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: var(--r-btn); }
.hero :focus-visible { outline-color: var(--c-white); }
::selection { background: var(--c-tab-on); color: var(--c-text); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.reading { max-width: var(--reading); margin-inline: auto; min-width: 0; }
.section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.section--panel { background: var(--c-panel); color: var(--c-text); }
.section--dark { background: var(--c-panel-2); color: var(--c-white); }
.section-head { max-width: 800px; margin: 0 auto 44px; text-align: center; }
.section-head p, .muted { color: var(--c-muted); }
.section--dark .muted { color: var(--c-on-dark-2); }
.keep { white-space: nowrap; }
.small { font-size: var(--text-small); }
.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;
}
.grid-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.grid-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.grid-two > *, .grid-three > *, .hero__grid > *, .footer-grid > * { min-width: 0; }
.stack > * + * { margin-top: 24px; }
.card, .panel {
  min-width: 0;
  padding: 32px;
  border-radius: var(--r-card);
  background: var(--c-panel);
  color: var(--c-text);
}
.card--white { background: var(--c-white); color: var(--c-text); border: 1px solid var(--c-border); }
.card p + p { margin-top: 16px; }
.panel--raised { box-shadow: var(--e-soft); }
.text-link { color: var(--c-accent); font-weight: var(--weight-medium); }
.text-link:hover { text-decoration: underline; }
.prose { min-width: 0; line-height: 1.85; }
.prose p, .prose ul, .prose ol, .prose pre, .prose figure { margin-top: 0; margin-bottom: 24px; }
.prose h2 { margin-top: 56px; }
.prose h3 { margin-top: 32px; }
.prose a:not([class*="btn"]):not([class*="button"]) { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
code { font-family: var(--font-mono); font-size: 0.9em; overflow-wrap: anywhere; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 22px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  background: var(--c-white);
  color: var(--c-text);
  line-height: 1.8;
  -webkit-overflow-scrolling: touch;
}
pre code { overflow-wrap: normal; word-break: normal; white-space: pre; }
.actions, .get-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  max-width: 100%;
  padding: 11px 22px;
  border: 1px solid var(--c-clear);
  border-radius: var(--r-btn);
  background: var(--c-accent);
  color: var(--c-white);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  line-height: 1.5;
  text-align: center;
  transition: background-color var(--duration-fast), border-color var(--duration-fast);
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn:hover, .btn.is-hover { background: var(--c-accent-dark); color: var(--c-white); }
.btn:active, .btn.is-active { background: var(--c-panel-2); color: var(--c-white); }
.btn--solid { background: var(--c-white); color: var(--c-accent); box-shadow: var(--e-btn); }
.btn--solid:hover { background: var(--c-panel); color: var(--c-accent); }
.btn--outline { border-color: var(--c-accent); background: var(--c-white); color: var(--c-accent); }
.btn--outline:hover { background: var(--c-panel); color: var(--c-accent-dark); }
.btn--line { border-color: var(--c-on-dark-edge); background: var(--c-clear); color: var(--c-white); }
.btn--line:hover { background: var(--c-on-dark-fill); color: var(--c-white); border-color: var(--c-white); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--c-panel); color: var(--c-muted); border-color: var(--c-border); cursor: not-allowed; box-shadow: none; }
.btn[aria-disabled="true"] { pointer-events: none; }
.get-note { margin-top: 14px; color: var(--c-muted); font-size: var(--text-small); }
.get-note [data-pkg-ver] { font-family: var(--font-mono); font-size: 12.5px; }
.site-head { position: relative; z-index: var(--z-head); height: var(--header-h); background: var(--c-bg); color: var(--c-text); border-bottom: 1px solid var(--c-border); }
.site-head__in {
  position: relative;
  width: 100%;
  max-width: min(100%, calc(1280px + var(--gutter) * 2));
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.mark { display: block; width: 32px; height: 32px; border-radius: var(--r-mark); flex-shrink: 0; }
.mark--placeholder {
  border: 1.5px solid var(--c-clear);
  background: linear-gradient(var(--c-white), var(--c-white)) padding-box, var(--g-mark) border-box;
  color: var(--c-text);
  box-shadow: 0 2px 6px var(--c-shade-faint);
}
.brand__name { font-family: var(--font-display); font-size: 16.5px; font-weight: var(--weight-medium); letter-spacing: -0.01em; }
.brand__sub { margin-left: 2px; padding-left: 11px; border-left: 1px solid var(--c-border); font-size: 12.5px; color: var(--c-muted); }
.nav { margin-left: auto; min-width: 0; }
.nav__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 24px; }
.nav__link { display: block; padding-top: 12px; padding-bottom: 12px; font-size: 14.5px; color: var(--c-muted); white-space: nowrap; }
.nav__link:hover { color: var(--c-accent); }
.nav__link[aria-current="page"] { color: var(--c-text); font-weight: var(--weight-medium); }
.head-tools { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-box { position: relative; }
.lang {
  appearance: none;
  border: 0;
  border-left: 1px solid var(--c-border);
  min-height: 44px;
  padding: 8px 0 8px 22px;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 14px;
  white-space: nowrap;
}
.lang__chevron { margin-left: 6px; color: var(--c-muted); }
.lang-list {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 180px;
  padding: 8px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  background: var(--c-white);
  color: var(--c-text);
  box-shadow: var(--e-soft);
}
.lang-list a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: var(--r-btn); }
.lang-list a:hover, .lang-list a[aria-current="true"] { background: var(--c-panel); color: var(--c-accent-dark); }
.menu-toggle { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid var(--c-border); border-radius: var(--r-btn); background: var(--c-white); color: var(--c-text); }
.menu-toggle svg { width: 22px; height: 22px; flex-shrink: 0; }
.mobile-drawer { display: none; }
.nav-veil { position: fixed; inset: var(--header-h) 0 0; z-index: var(--z-veil); border: 0; background: var(--c-veil); color: var(--c-white); }
.site-footer { padding-top: 64px; padding-bottom: 32px; border-top: 1px solid var(--c-border); background: var(--c-panel); color: var(--c-text); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; }
.footer-brand p { margin-top: 20px; max-width: 33em; color: var(--c-muted); }
.footer-title { margin-bottom: 18px; font-size: 15px; font-weight: var(--weight-medium); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: block; padding-top: 6px; padding-bottom: 6px; color: var(--c-muted); overflow-wrap: break-word; }
.footer-links a:hover { color: var(--c-accent); }
.footer-languages { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--c-border); }
.footer-languages a { min-height: 44px; display: inline-flex; align-items: center; color: var(--c-muted); }
.footer-languages a[aria-current="true"] { color: var(--c-accent-dark); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; margin-top: 16px; color: var(--c-muted); font-size: var(--text-small); }
.footer-bottom a { color: var(--c-accent); }
.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(16px); }
html.reveal-ready .reveal { transition: opacity var(--duration-reveal) var(--ease), transform var(--duration-reveal) var(--ease); }
.decor-region { position: relative; overflow-x: clip; }
@media (max-width: 1360px) {
  .brand__sub { display: none; }
  .nav__list { gap: 18px; }
  .site-head__in { gap: 22px; }
}
@media (max-width: 1279px) {
  .site-head__in > .nav { display: none; }
  .head-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .mobile-drawer:not([hidden]) { display: block; }
  .mobile-drawer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px var(--gutter) 24px;
    border-bottom: 1px solid var(--c-border);
    background: var(--c-white);
    color: var(--c-text);
    box-shadow: var(--e-soft);
  }
  .mobile-drawer ul { list-style: none; padding: 0; margin: 0; }
  .mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 12px; color: var(--c-muted); border-radius: var(--r-btn); }
  .mobile-drawer a:hover, .mobile-drawer a[aria-current] { background: var(--c-panel); color: var(--c-accent-dark); }
  .drawer-languages { margin-top: 16px !important; padding-top: 16px !important; border-top: 1px solid var(--c-border); }
}
@media (max-width: 1000px) {
  :root { --gutter: 24px; --section-space: 64px; }
  .footer-grid { gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root { --h1-size: 28px; --h2-size: 28px; --h3-size: 21px; }
  .grid-three { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --section-space: 48px; --gap: 18px; }
  .grid-two, .footer-grid { grid-template-columns: 1fr; }
  .card, .panel { padding: 24px; }
  .section-head { margin-bottom: 30px; text-align: left; }
  .brand { gap: 8px; }
  .brand__name { font-size: 15px; }
  .brand__sub { display: none; }
  .head-tools { gap: 8px; margin-left: auto; }
  .lang { border: 0; padding-left: 0; font-size: 13px; }
  .site-head__in { gap: 8px; }
  .tilt, [data-tilt] { transform: none !important; }
  .footer-brand { grid-column: auto; }
  .site-footer { padding-bottom: 40px; }
  .get-actions .btn { flex: 1 1 200px; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .brand__name { font-size: 14px; }
  .mark { width: 28px; height: 28px; }
  .head-tools { gap: 4px; }
}
@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; }
}