:root {
  --bg: #FFFFFF;
  --bg-panel: #F2EDFF;
  --bg-panel-2: #E6DCFF;
  --border: #E3DDF1;
  --accent: #5C1AF0;
  --accent-dark: #2B0A86;
  --text: #1A1033;
  --text-muted: #5F5878;
  --success: #1E9A62;
  --warn: #C47A0C;
  --error: #D6373B;
  --success-ink: #12613E;
  --warn-ink: #795006;
  --error-ink: #A42228;
  --coral: #FF5C4D;
  --coral-soft: rgba(255,92,77,.2);
  --hero-top: #4A12E8;
  --hero-bottom: #1C0A57;
  --glow-a: rgba(170,128,255,.40);
  --glow-b: rgba(118,64,255,.34);
  --on-dark: #FFFFFF;
  --on-dark-muted: rgba(255,255,255,.80);
  --on-dark-faint: rgba(255,255,255,.72);
  --on-dark-line: rgba(255,255,255,.24);
  --on-dark-line-strong: rgba(255,255,255,.55);
  --on-dark-fill: rgba(255,255,255,.08);
  --on-dark-fill-2: rgba(255,255,255,.05);
  --on-dark-fill-hover: rgba(255,255,255,.14);
  --chrome: #F6F5F9;
  --chrome-dot: #D3CFDC;
  --side-bg: #FBFAFD;
  --code-bg: #FAF8FF;
  --placeholder: #9A94AD;
  --toggle-off: #D9D5E4;
  --knob: #FFFFFF;
  --gradient-mid: #9B3CD6;
  --clear: transparent;
  --veil: rgba(28,10,87,.38);
  --grad-text: linear-gradient(90deg,var(--accent) 0%,var(--gradient-mid) 55%,var(--coral) 100%);
  --shadow-window: 0 0 0 1px rgba(255,255,255,.06),0 1px 2px rgba(28,10,87,.18),0 18px 40px -12px rgba(20,6,64,.55),0 52px 120px -24px rgba(12,3,40,.72);
  --shadow-float: 0 2px 6px rgba(28,10,87,.16),0 22px 44px -10px rgba(28,10,87,.48),0 40px 80px -30px rgba(74,18,232,.6);
  --shadow-btn: 0 10px 28px -10px rgba(12,3,40,.6);
  --shadow-knob: 0 1px 2px rgba(26,16,51,.28);
  --shadow-seg: 0 1px 3px rgba(43,10,134,.16);
  --shadow-soft: 0 20px 44px -20px rgba(43,10,134,.38);
  --shadow-chip: 0 4px 12px -4px rgba(43,10,134,.2);
  --shadow-field: inset 0 1px 2px rgba(26,16,51,.05);
  --radius: 6px;
  --radius-inner: 4px;
  --radius-pill: 999px;
  --radius-round: 50%;
  --font-display: 'Inter','Noto Sans SC','PingFang SC','Microsoft YaHei',system-ui,-apple-system,sans-serif;
  --font-body: 'Inter','Noto Sans SC','PingFang SC','Hiragino Sans','Microsoft YaHei',system-ui,sans-serif;
  --font-mono: 'JetBrains Mono',ui-monospace,'SFMono-Regular',Menlo,Consolas,monospace;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-strong: 600;
  --gutter: 24px;
  --content-width: 1200px;
  --reading-width: 800px;
  --header-width: 1280px;
  --header-height: 64px;
  --space-section: 88px;
  --ease: cubic-bezier(.2,.65,.3,1);
  --time-fast: .2s;
  --time-reveal: .6s;
}
*, *::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(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; vertical-align: middle; }
img { height: auto; }
a { color: var(--accent); text-decoration: none; text-underline-offset: .2em; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, input, select, textarea { max-width: 100%; }
button { color: var(--text); }
ul, ol { padding-left: 1.5em; }
p { margin: 0 0 1.2em; }
h1, h2, h3, h4 { margin: 0 0 .65em; font-family: var(--font-display); font-weight: var(--weight-normal); line-height: 1.25; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(34px,2.2vw + 16px,48px); line-height: 1.18; letter-spacing: -.01em; }
h2 { font-size: clamp(24px,1.2vw + 18px,36px); letter-spacing: -.01em; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
strong { font-weight: var(--weight-strong); }
small { font-size: 13px; }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; font-size: .875em; }
pre { max-width: 100%; min-width: 0; overflow-x: auto; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--code-bg); color: var(--text); font-size: 14px; line-height: 1.75; }
pre code { font-size: inherit; white-space: pre; overflow-wrap: normal; word-break: normal; }
blockquote { margin-inline: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius); }
::selection { background: var(--bg-panel-2); color: var(--text); }
:where(.grid, .pair-grid, .dl-grid, .footer-grid, .win-body, .cols) > * { min-width: 0; }
.wrap, .shell { 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); }
.section, .dl { padding-top: var(--space-section); padding-bottom: 104px; }
.section-head, .dl-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p, .dl-head p, .muted { color: var(--text-muted); }
.keep { white-space: nowrap; }
.grad { background: var(--grad-text); color: var(--clear); -webkit-background-clip: text; background-clip: text; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--accent-dark); }
.eyebrow::before { content: ""; width: 8px; height: 8px; flex-shrink: 0; border-radius: var(--radius-inner); background: var(--coral); }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.pair-grid { display: grid; gap: 24px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.card, .panel { padding: 28px; border-radius: var(--radius); background: var(--bg-panel); color: var(--text); }
.panel-white { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.card p:last-child, .panel p:last-child { margin-bottom: 0; }
.more { color: var(--accent); font-size: 14px; font-weight: var(--weight-strong); }
.actions, .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 24px; border: 1px solid var(--clear); border-radius: var(--radius); background: var(--accent); color: var(--on-dark); font-size: 16px; font-weight: var(--weight-strong); line-height: 1.4; text-align: center; transition: transform var(--time-fast) var(--ease),background-color var(--time-fast) var(--ease),border-color var(--time-fast) var(--ease); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover, .btn.is-hover { background: var(--accent-dark); color: var(--on-dark); text-decoration: none; transform: translateY(-1px); }
.btn:active, .btn.is-active { transform: translateY(0); background: var(--accent-dark); color: var(--on-dark); }
.btn-secondary { background: var(--bg); color: var(--accent); border-color: var(--border); }
.btn-secondary:hover { background: var(--bg-panel); color: var(--accent-dark); }
.btn-primary { background: var(--on-dark); color: var(--accent); box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--on-dark); color: var(--accent-dark); }
.btn-ghost { background: var(--clear); color: var(--on-dark); border-color: var(--on-dark-line-strong); }
.btn-ghost:hover { background: var(--on-dark-fill-hover); color: var(--on-dark); border-color: var(--on-dark); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--chrome); color: var(--text-muted); border-color: var(--border); box-shadow: none; transform: none; cursor: not-allowed; }
.btn.is-focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.topbar { position: relative; z-index: 50; background: var(--bg); color: var(--text); border-bottom: 1px solid var(--border); }
.header-shell { width: 100%; max-width: min(100%,calc(var(--header-width) + var(--gutter) * 2)); margin-inline: auto; padding-inline: var(--gutter); }
.topbar-in { min-height: var(--header-height); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font-family: var(--font-display); font-weight: var(--weight-strong); font-size: 17px; letter-spacing: -.01em; color: var(--text); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.desktop-nav { min-width: 0; margin-left: auto; }
.menu { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: clamp(16px,1.8vw,30px); }
.menu li { min-width: 0; }
.menu a { display: block; padding: 6px 0; font-size: 15px; color: var(--text-muted); white-space: nowrap; }
.menu a:hover { color: var(--text); text-decoration: none; }
.menu a[aria-current="page"] { color: var(--text); font-weight: var(--weight-strong); }
.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: 4px; }
.language { position: relative; }
.lang { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 5px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; line-height: 1.4; color: var(--text); background: var(--bg); white-space: nowrap; }
.lang svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--text-muted); }
.lang-short { display: none; }
.language-menu { position: absolute; z-index: 4; top: calc(100% + 10px); right: 0; min-width: 180px; padding: 6px; margin: 0; list-style: none; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); box-shadow: var(--shadow-soft); }
.language-menu a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; color: var(--text); border-radius: var(--radius); }
.language-menu a:hover, .language-menu a[aria-current="true"] { background: var(--bg-panel); color: var(--accent-dark); text-decoration: none; }
.menu-toggle { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); }
.menu-toggle svg { width: 22px; height: 22px; flex-shrink: 0; }
.mobile-panel { position: absolute; z-index: 3; top: 100%; left: 0; right: 0; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; overscroll-behavior: contain; padding: 16px var(--gutter) 24px; background: var(--bg); color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-panel ul { padding: 0; margin: 0; list-style: none; }
.mobile-panel a { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 12px; color: var(--text); border-radius: var(--radius); }
.mobile-panel a:hover, .mobile-panel a[aria-current] { background: var(--bg-panel); color: var(--accent-dark); text-decoration: none; }
.mobile-languages { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); }
.mobile-languages p { margin: 0 12px 8px; font-size: 13px; color: var(--text-muted); }
.menu-veil { position: fixed; z-index: 40; inset: var(--header-height) 0 0; border: 0; padding: 0; background: var(--veil); color: var(--on-dark); }
.skip-link { position: absolute; left: var(--gutter); top: 8px; z-index: 60; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; background: var(--bg); color: var(--accent); border-radius: var(--radius); }
.skip-link:focus { width: auto; height: auto; padding: 10px 16px; overflow: visible; clip-path: none; }
.site-footer { padding-top: 64px; padding-bottom: 28px; background: var(--bg-panel); color: var(--text); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1.35fr 1fr; gap: 40px; }
.footer-brand p { max-width: 280px; margin-top: 18px; font-size: 14px; color: var(--text-muted); }
.footer-heading { font-size: 15px; font-weight: var(--weight-strong); margin: 0 0 16px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list a { display: inline-block; padding-block: 5px; color: var(--text-muted); font-size: 14px; overflow-wrap: break-word; }
.footer-list a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--text-muted); }
.prose { min-width: 0; }
.prose h2 { margin-top: 2.3em; scroll-margin-top: 24px; }
.prose h3 { margin-top: 1.8em; }
.prose li + li { margin-top: .5em; }
.prose :not(pre) > code { background: var(--code-bg); color: var(--accent-dark); padding: 2px 5px; border-radius: var(--radius-inner); }
.prose a { overflow-wrap: anywhere; }
.prose img { max-width: 100%; }
.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(18px); }
.reveal-ready .reveal { transition: opacity var(--time-reveal) var(--ease),transform var(--time-reveal) var(--ease); }
.reveal.shown { opacity: 1; transform: none; }
.decorated { position: relative; overflow-x: clip; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1279px) {
  .desktop-nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1280px) {
  .mobile-panel, .menu-veil { display: none !important; }
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
}
@media (max-width: 768px) {
  h1 { font-size: clamp(24px,4vw,30px); }
  :root { --space-section: 64px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .pair-grid, .grid { grid-template-columns: minmax(0,1fr); }
  .tilt, [data-tilt] { transform: none !important; }
  .topbar-in { gap: 12px; }
  .brand { font-size: 15px; gap: 7px; }
  .header-tools { margin-left: auto; gap: 6px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .lang { padding-inline: 9px; }
  .section, .dl { padding-bottom: 64px; }
  .card, .panel { padding: 24px; }
  .footer-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .section-head, .dl-head { margin-bottom: 32px; }
}
@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; }
}