:root {
  --bg: #F1F7FD;
  --bg-panel: #FFFFFF;
  --bg-panel2: #E6F0FA;
  --border: #D6E2EE;
  --border-strong: #BFD0E1;
  --accent: #1C74B8;
  --accent-dark: #0F4F86;
  --text: #0D1622;
  --text-muted: #5B6B7D;
  --text-soft: #8A97A6;
  --success: #1F9D6B;
  --success-ring: rgb(31 157 107 / .16);
  --warn: #C9861A;
  --error: #D2452F;
  --ink: #0D1622;
  --ink-hover: #1E2C3D;
  --on-ink: #FFFFFF;
  --veil: rgb(255 255 255 / .72);
  --tag-line: rgb(13 22 34 / .12);
  --bar: #E8EEF4;
  --zone-ice: #CDE6F7;
  --zone-mist: #F1DDF2;
  --zone-peach: #FBDFD0;
  --glass-a: rgb(205 230 247 / .80);
  --glass-b: rgb(127 192 232 / .62);
  --glass-edge: #7FC0E8;
  --glass-edge-soft: rgb(127 192 232 / .5);
  --glass-tint: rgb(28 116 184 / .16);
  --sheen: rgb(255 255 255 / .88);
  --sheen-soft: rgb(255 255 255 / .46);
  --sheen-faint: rgb(255 255 255 / .22);
  --route-a: #E7C9F0;
  --route-b: #B48BE0;
  --route-side: #9C74D0;
  --route-side-dark: #7F58B8;
  --out-a: #FBDFD0;
  --out-mid: #F39B72;
  --out-b: #E8643C;
  --out-side: #CF5230;
  --out-side-dark: #A94024;
  --halo: rgb(205 230 247 / .78);
  --halo-0: rgb(205 230 247 / 0);
  --floor: rgb(127 192 232 / .40);
  --floor-0: rgb(127 192 232 / 0);
  --wash: rgb(255 255 255 / .62);
  --wash-0: rgb(255 255 255 / 0);
  --transparent: transparent;
  --scrim: rgb(13 22 34 / .28);
  --code-text: #E6F0FA;
  --code-line: #9DAFC2;
  --code-string: #BCE6D4;
  --code-key: #A6D8FA;
  --shadow-hair: 0 1px 2px rgb(13 22 34 / .05);
  --shadow-1: 0 1px 2px rgb(13 22 34 / .04), 0 8px 22px -10px rgb(15 79 134 / .16);
  --shadow-2: 0 1px 2px rgb(13 22 34 / .05), 0 20px 44px -14px rgb(15 79 134 / .24);
  --shadow-btn: inset 0 1px 0 rgb(255 255 255 / .10), 0 10px 20px -10px rgb(13 22 34 / .6);
  --radius-ctl: 4px;
  --radius-card: 8px;
  --radius-dot: 50%;
  --radius-tiny: 1px;
  --radius-plate: 3px;
  --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;
  --font-mono-cjk: "JetBrains Mono", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", ui-monospace, monospace;
  --container: 1312px;
  --reading-width: 840px;
  --gutter: 64px;
  --device-scale: 1;
  --space-section: 88px;
  --duration-fast: .16s;
  --duration-reveal: .5s;
}

*, *::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-panel);
  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; }
button, input, select, textarea { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: var(--transparent); }
button { cursor: pointer; }
a { color: var(--accent-dark); text-underline-offset: .2em; }
a:hover { color: var(--accent); }
button svg, .icon, .badge-dot, .sb-dot { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-ctl); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.25; text-wrap: balance; }
h1 { font-size: clamp(34px, 3.4vw, 48px); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(25px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 21px; font-weight: 700; }
p { margin-block: 0 1.2em; }
code { font-family: var(--font-mono); font-size: .9em; overflow-wrap: anywhere; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 22px;
  border-radius: var(--radius-card);
  background: var(--ink);
  color: var(--code-text);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.85;
  tab-size: 2;
}
pre code { font-size: inherit; overflow-wrap: normal; word-break: normal; white-space: pre; }
hr { border: 0; border-top: 1px solid var(--border); margin-block: 32px; }
section[id], h2[id], h3[id], [role="tabpanel"] { scroll-margin-top: 28px; }
.nowrap { white-space: nowrap; }
.muted { color: var(--text-muted); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip, .skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--radius-ctl);
  text-decoration: none;
  font-size: 14px;
}
.skip:not(:focus), .skip-link:not(:focus) {
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus, .skip-link:focus { clip-path: none; }
.wrap, .shell {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading { max-width: calc(var(--reading-width) + var(--gutter) * 2); }
.section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.section-tinted { background: var(--bg); color: var(--text); }
.section-heading { margin-top: 0; margin-bottom: 30px; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid > *, .hero > *, .footer-grid > *, .feature-detail > * { min-width: 0; }
.stack > * + * { margin-top: 24px; }
.prose { min-width: 0; }
.prose h2 { margin-top: 2em; margin-bottom: .8em; }
.prose h3 { margin-top: 1.7em; }
.prose p, .prose li { line-height: 1.9; }
.prose li + li { margin-top: .5em; }
.prose img { max-width: 100%; }
.prose :not(pre) > code { padding: 2px 5px; border-radius: var(--radius-ctl); background: var(--bg-panel2); color: var(--accent-dark); }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--transparent);
  border-radius: var(--radius-ctl);
  font-family: var(--font-mono-cjk);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.4;
  text-decoration: none;
  transition: transform var(--duration-fast) ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active, .btn.is-pressed { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-btn); }
.btn-primary:hover, .btn-primary.is-hover { background: var(--ink-hover); color: var(--on-ink); }
.btn-secondary { background: var(--bg-panel2); color: var(--text); border-color: var(--border); }
.btn-secondary:hover, .btn-secondary.is-hover { border-color: var(--border-strong); color: var(--text); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.is-focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.card, .panel {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg-panel);
  color: var(--text);
  box-shadow: var(--shadow-1);
}
.card h3 { margin-top: 0; }
.card p:last-child, .panel p:last-child { margin-bottom: 0; }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { border-color: var(--border-strong); color: var(--text); box-shadow: var(--shadow-2); }

.site-head, #site-header { position: relative; z-index: 60; padding-top: 16px; }
.head-shell {
  width: 100%;
  max-width: min(100%, calc(1312px + var(--gutter) * 2));
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.head-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 0 14px 0 20px;
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand:hover { color: var(--text); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: stretch; align-self: stretch; min-width: 0; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav-list > li { display: flex; align-items: stretch; height: 100%; }
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  background: var(--transparent);
  border: 0;
  font-family: inherit;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-link.is-current { color: var(--accent); }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-tiny);
}
.nav-link svg { width: 14px; height: 14px; }
.nav-more, .language-picker { position: relative; }
.nav-menu, .language-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: -6px;
  width: 300px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-2);
}
.language-menu { right: 0; left: auto; width: 180px; }
.menu-group { padding: 6px 12px 8px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--text-muted); }
.menu-item, .language-menu a { display: block; min-height: 44px; padding: 10px 12px; border-radius: var(--radius-ctl); text-decoration: none; color: var(--text); }
.menu-item:hover, .language-menu a:hover { background: var(--bg-panel2); color: var(--text); }
.menu-item[aria-current="page"], .language-menu a[aria-current="true"] { color: var(--accent-dark); }
.menu-item strong { display: block; font-size: 14px; font-weight: 600; }
.menu-item span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
.head-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; min-height: 30px; padding-left: 14px; border-left: 1px solid var(--border); }
.lang-btn, .hamburger {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px;
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-ctl);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.lang-btn:hover, .hamburger:hover { border-color: var(--border-strong); }
.lang-btn svg { width: 15px; height: 15px; }
.lang-short { display: none; }
.hamburger { display: none; min-width: 44px; min-height: 44px; padding: 10px; }
.hamburger svg { width: 22px; height: 22px; }
.mobile-drawer {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 3;
  max-height: calc(100dvh - 110px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg-panel);
  color: var(--text);
  box-shadow: var(--shadow-2);
}
.mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 46px; padding: 10px 14px; text-decoration: none; color: var(--text); border-radius: var(--radius-ctl); }
.mobile-drawer a:hover, .mobile-drawer a[aria-current] { background: var(--bg-panel2); color: var(--accent-dark); }
.mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer-languages { border-top: 1px solid var(--border); margin-top: 10px; padding-top: 10px; }
.nav-veil { position: fixed; inset: 0; z-index: 55; border: 0; background: var(--scrim); color: var(--text); }

.top-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: max(820px, calc(100svh - 52px));
  background: linear-gradient(100deg, var(--wash) 0%, var(--wash-0) 46%), var(--bg);
  color: var(--text);
  overflow-x: clip;
}
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  align-items: center;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 20px;
}
.hero-copy { max-width: 560px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  padding: 4px 12px 4px 10px;
  background: var(--veil);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-ctl);
  font-size: 13px;
  box-shadow: var(--shadow-hair);
}
.badge-dot { width: 7px; height: 7px; border-radius: var(--radius-dot); background: var(--success); box-shadow: 0 0 0 3px var(--success-ring); }
.badge-key { padding-right: 10px; border-right: 1px solid var(--border); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--text); }
.hero-title { margin: 22px 0 0; font-weight: 800; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.14; letter-spacing: -.02em; color: var(--text); }
.hero-title-sub { display: block; color: var(--text-soft); }
.lede { margin: 20px 0 0; max-width: 31em; font-size: 17px; line-height: 1.75; color: var(--text-muted); }
.lede strong { color: var(--text); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facet-row { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.facet-label { flex: none; width: 4.2em; font-size: 13px; color: var(--text-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  max-width: 100%;
  padding: 3px 10px;
  background: var(--veil);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-ctl);
  font-family: var(--font-mono-cjk);
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.platforms { display: flex; align-items: center; gap: 12px; max-width: 540px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); }
.platform-list { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.platform { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; }
.platform-tile { display: grid; place-items: center; width: 30px; height: 30px; flex: none; background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-ctl); box-shadow: var(--shadow-hair); }
.platform-tile svg { width: 15px; height: 15px; }
.platform:hover { color: var(--accent); }
.platform:hover .platform-tile { border-color: var(--accent); }
.statusbar { display: flex; align-items: center; min-height: 32px; margin-bottom: 24px; background: var(--bar); color: var(--text-muted); border: 1px solid var(--border); border-radius: var(--radius-ctl); font-family: var(--font-mono-cjk); font-size: 11px; font-weight: 500; line-height: 1.4; flex-wrap: wrap; }
.sb-seg { display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 14px; border-right: 1px solid var(--border); }
.sb-key { color: var(--text-muted); }
.sb-val { color: var(--text); }
.sb-dot { width: 6px; height: 6px; border-radius: var(--radius-dot); background: var(--success); box-shadow: 0 0 0 3px var(--success-ring); }
.sb-spacer { flex: 1; }
.sb-end { border-right: 0; border-left: 1px solid var(--border); }
.lanes { background: var(--bg-panel); color: var(--text); padding-top: 36px; padding-bottom: 96px; }
.lanes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lane { display: flex; flex-direction: column; min-width: 0; min-height: 240px; padding: 28px 28px 30px; border-radius: var(--radius-card); color: var(--text); }
.lane-ice { background: var(--zone-ice); color: var(--text); }
.lane-mist { background: var(--zone-mist); color: var(--text); }
.lane-peach { background: var(--zone-peach); color: var(--text); }
.lane-tag { align-self: flex-start; padding: 3px 8px; background: var(--veil); color: var(--text); border: 1px solid var(--tag-line); border-radius: var(--radius-ctl); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.lane h2 { margin: 22px 0 10px; font-size: 22px; line-height: 1.3; }
.lane p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--text-muted); }
.lane-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 20px; font-family: var(--font-mono-cjk); font-size: 13px; font-weight: 600; color: var(--accent-dark); text-decoration: none; }

.site-footer { padding-top: 64px; padding-bottom: 96px; border-top: 1px solid var(--border); background: var(--bg); color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 36px; }
.footer-brand p { max-width: 26em; margin-top: 18px; font-size: 14px; color: var(--text-muted); }
.footer-title { margin: 0 0 14px; font-size: 14px; font-weight: 700; }
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list a { display: inline-block; padding-block: 6px; font-size: 14px; color: var(--text-muted); text-decoration: none; }
.footer-list a:hover { color: var(--accent-dark); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { color: var(--text-muted); }
.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(14px); }
.reveal.shown { opacity: 1; transform: none; transition: opacity var(--duration-reveal) ease, transform var(--duration-reveal) ease; }

@media (max-width: 1280px) {
  :root { --gutter: 40px; --device-scale: .82; }
  .hero { gap: 12px; }
  .hero-title { font-size: 42px; }
}
@media (min-width: 961px) {
  .mobile-drawer, .nav-veil { display: none !important; }
}
@media (max-width: 960px) {
  :root { --gutter: 28px; --device-scale: .72; --space-section: 64px; }
  .nav { display: none; }
  .head-tools { margin-left: auto; }
  .hamburger { display: inline-flex; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 24px; }
  .hero-copy { max-width: 620px; }
  .hero-visual { margin-inline: auto; }
  .top-wrap { min-height: auto; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .lanes-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  h1, .hero-title { font-size: clamp(24px, 4vw, 30px); line-height: 1.2; }
  .hero-title { letter-spacing: -.02em; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --space-section: 48px; --device-scale: .43; }
  .head-bar { min-height: 64px; padding-inline: 10px; gap: 8px; }
  .brand { gap: 7px; font-size: 15px; }
  .brand-mark { width: 26px; height: 26px; }
  .head-tools { margin-left: auto; padding-left: 8px; gap: 6px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .lang-btn { min-height: 44px; padding-inline: 8px; }
  .lang-btn .globe { display: none; }
  .language-menu { width: 170px; }
  .hero { padding-top: 32px; gap: 8px; }
  .hero-title { margin-top: 18px; }
  .lede { font-size: 15px; }
  .cta { margin-top: 22px; gap: 10px; }
  .btn { padding-inline: 16px; }
  .badge { font-size: 12px; gap: 8px; }
  .facet-row { align-items: flex-start; }
  .chips { flex-direction: row; flex-wrap: wrap; }
  .platforms { margin-top: 24px; padding-top: 14px; }
  .platform-list { gap: 6px 16px; }
  .platform { font-size: 13px; gap: 7px; }
  .statusbar { font-size: 10px; }
  .sb-seg { padding-inline: 9px; }
  .sb-spacer { display: none; }
  .card, .panel, .lane { padding: 22px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tilt, [data-tilt] { transform: none !important; }
  .section-heading { margin-bottom: 24px; }
}
@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; }
}