:root {
  --bg: #FFFFFF;
  --bg-panel: #F6F8FB;
  --bg-panel-2: #EDF2F8;
  --border: #E1E7EF;
  --border-strong: #CBD5E1;
  --accent: #0077E6;
  --accent-dark: #005AB0;
  --accent-soft: #E8F2FD;
  --text: #0D2B45;
  --text-muted: #5A6B80;
  --text-faint: #98A6B7;
  --on-accent: #FFFFFF;
  --success: #12A36B;
  --warn: #E3940C;
  --error: #DE3F38;
  --success-ink: #08734A;
  --warn-ink: #865600;
  --error-ink: #AD2823;
  --geo-from: #5B4BFF;
  --geo-to: #F25CD8;
  --veil: rgba(255, 255, 255, 0.6);
  --veil-edge: rgba(255, 255, 255, 0.92);
  --scrim: rgba(13, 43, 69, 0.32);
  --ring-accent: rgba(0, 119, 230, 0.16);
  --shadow-float: 0 1px 2px rgba(13, 43, 69, 0.04), 0 18px 40px -18px rgba(13, 43, 69, 0.16), 0 56px 110px -36px rgba(13, 43, 69, 0.26);
  --shadow-card: 0 1px 2px rgba(13, 43, 69, 0.04), 0 14px 34px -20px rgba(13, 43, 69, 0.2);
  --shadow-pop: 0 2px 6px rgba(13, 43, 69, 0.05), 0 22px 48px -18px rgba(13, 43, 69, 0.24);
  --shadow-accent: 0 12px 24px -12px rgba(0, 119, 230, 0.6);
  --shadow-accent-sm: 0 8px 16px -10px rgba(0, 119, 230, 0.7);
  --shadow-knob: 0 1px 3px rgba(13, 43, 69, 0.25);
  --radius-btn: 14px;
  --radius-card: 24px;
  --radius-panel: 32px;
  --radius-field: 10px;
  --radius-tile: 9px;
  --radius-menu: 18px;
  --radius-small: 6px;
  --radius-glyph: 7px;
  --radius-link: 12px;
  --radius-line: 3px;
  --radius-pill: 999px;
  --radius-circle: 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, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --size-body: 16px;
  --size-h1: clamp(34px, 3.4vw, 48px);
  --size-h2: 36px;
  --size-h3: 24px;
  --weight-body: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-display: 800;
  --tracking-title: -0.018em;
  --wrap: 1296px;
  --reading: 820px;
  --gutter: 72px;
  --head-h: 76px;
  --space-section: 128px;
  --ease: 0.18s ease;
  --reveal-duration: 0.55s;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 28px; }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: var(--weight-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: var(--accent-dark); text-underline-offset: 4px; }
a:hover { color: var(--accent-dark); }
button, a { -webkit-tap-highlight-color: var(--ring-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius-small); }
::selection { background: var(--accent-soft); color: var(--text); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); text-wrap: balance; }
h1 { font-size: var(--size-h1); font-weight: var(--weight-display); line-height: 1.16; letter-spacing: var(--tracking-title); }
h2 { font-size: var(--size-h2); font-weight: var(--weight-display); line-height: 1.2; letter-spacing: var(--tracking-title); }
h3 { font-size: var(--size-h3); font-weight: var(--weight-bold); line-height: 1.35; }
p { margin-top: 0; }
.word { white-space: nowrap; }
.muted { color: var(--text-muted); }
.accent-text { color: var(--accent-dark); }
code { font-family: var(--font-mono); font-size: 0.9em; overflow-wrap: anywhere; }
pre {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  background: var(--bg-panel);
  color: var(--text);
  overscroll-behavior-inline: contain;
}
pre code { white-space: pre; overflow-wrap: normal; word-break: normal; }
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading-wrap { max-width: calc(var(--reading) + var(--gutter) * 2); }
.section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.section-head { max-width: 740px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin: 20px 0 14px; }
.section-head p { color: var(--text-muted); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid > *, .hero-in > *, .footer-grid > *, .head-in > * { min-width: 0; }
.stack { display: grid; gap: 24px; min-width: 0; }
.card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-card);
}
.card h3 { margin: 0 0 12px; font-size: 21px; }
.card p:last-child { margin-bottom: 0; }
.panel {
  min-width: 0;
  position: relative;
  overflow-x: clip;
  padding: 48px;
  border-radius: var(--radius-panel);
  background: var(--bg-panel);
  color: var(--text);
}
.decorated, .hero, .tray, [data-hero-visual] { overflow-x: clip; }
.prose { min-width: 0; overflow-wrap: break-word; }
.prose h2 { margin-top: 64px; scroll-margin-top: 28px; }
.prose h3 { margin-top: 32px; }
.prose p, .prose li { line-height: 1.85; }
.prose li + li { margin-top: 8px; }
.prose blockquote { margin-inline: 0; }
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-field);
  background: var(--text);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: var(--weight-semibold);
  text-decoration: none;
}
.skip:focus { top: 12px; }
.site-head {
  position: relative;
  z-index: 40;
  background: var(--bg);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.head-in {
  width: 100%;
  max-width: min(100%, calc(1280px + var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--head-h);
  display: flex;
  align-items: center;
  gap: 44px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { width: 36px; height: 36px; display: block; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-size: 19px; font-weight: var(--weight-display); letter-spacing: -0.015em; }
.main-nav { flex: 1; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-field);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-weight: var(--weight-semibold);
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--ease), background-color var(--ease);
}
.nav-link:hover { color: var(--accent-dark); background: var(--bg-panel); }
.nav-link[aria-current="page"]::after, .nav-link.is-parent-current::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -18px;
  height: 2px;
  border-radius: var(--radius-line);
  background: var(--accent);
}
.chev { width: 14px; height: 14px; color: var(--text-muted); flex-shrink: 0; }
.nav-more, .language-picker { position: relative; }
.more-menu, .language-menu {
  position: absolute;
  top: calc(100% + 12px);
  width: 268px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-menu);
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-pop);
}
.more-menu { left: -8px; }
.language-menu { right: 0; width: 200px; }
.more-cap { margin: 4px 10px 6px; font-size: 12px; font-weight: var(--weight-semibold); letter-spacing: 0.06em; color: var(--text-muted); }
.more-list { margin: 0; padding: 0; list-style: none; }
.more-link { display: grid; gap: 2px; padding: 10px 12px; min-height: 44px; border-radius: var(--radius-link); text-decoration: none; color: var(--text); }
.more-link strong { font-size: 14.5px; font-weight: var(--weight-bold); }
.more-link span { font-size: 13px; color: var(--text-muted); }
.more-link:hover, .more-link[aria-current="page"] { background: var(--bg-panel); color: var(--accent-dark); }
.head-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-btn, .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-link);
  background: var(--bg);
  color: var(--text);
  font-size: 14.5px;
  font-weight: var(--weight-semibold);
}
.lang-btn:hover, .menu-toggle:hover { border-color: var(--border-strong); color: var(--accent-dark); }
.globe { width: 17px; height: 17px; flex-shrink: 0; color: var(--text-muted); }
.lang-short { display: none; }
.language-menu a { display: flex; width: 100%; align-items: center; min-height: 44px; padding: 10px 12px; text-decoration: none; color: var(--text); border-radius: var(--radius-field); }
.language-menu a:hover, .language-menu a[aria-current="true"] { background: var(--accent-soft); color: var(--accent-dark); }
.menu-toggle { display: none; min-width: 44px; padding: 8px; }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-drawer { display: none; }
.nav-veil {
  position: fixed;
  inset: var(--head-h) 0 0;
  z-index: 30;
  border: 0;
  background: var(--scrim);
  color: var(--on-accent);
}
.static-dropdown { position: relative; }
.static-dropdown summary { list-style: none; cursor: pointer; }
.static-dropdown summary::-webkit-details-marker { display: none; }
.static-dropdown .more-menu { z-index: 5; }
.static-mobile { display: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: var(--weight-bold);
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease), transform var(--ease);
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-accent); }
.btn-primary:hover, .btn-primary.is-hover { background: var(--accent-dark); color: var(--on-accent); transform: translateY(-1px); }
.btn-primary:active, .btn-primary.is-pressed { background: var(--accent-dark); color: var(--on-accent); transform: translateY(1px); }
.btn-ghost { background: var(--bg); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover, .btn-ghost.is-hover { border-color: var(--accent); color: var(--accent-dark); 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; transform: none; cursor: not-allowed; }
.btn.is-focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 36px; color: var(--accent-dark); font-weight: var(--weight-bold); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--bg-panel); color: var(--text-muted); font-size: 13px; font-weight: var(--weight-semibold); }
.eyebrow::before { content: ""; width: 6px; height: 6px; flex-shrink: 0; border-radius: var(--radius-circle); background: var(--accent); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-block; max-width: 100%; padding: 5px 12px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--bg-panel); color: var(--text); font-family: var(--font-mono); font-size: 12.5px; font-weight: var(--weight-medium); line-height: 1.5; overflow-wrap: anywhere; }
.site-foot { padding-top: 72px; padding-bottom: 28px; border-top: 1px solid var(--border); background: var(--bg); color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 0.8fr 1.5fr 0.8fr; gap: 48px; }
.footer-brand p { max-width: 300px; margin: 20px 0 0; color: var(--text-muted); font-size: 14px; }
.footer-title { margin: 0 0 18px; font-size: 15px; font-weight: var(--weight-bold); }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list a { display: inline-block; color: var(--text-muted); font-size: 14px; text-decoration: none; overflow-wrap: anywhere; }
.footer-list a:hover { color: var(--accent-dark); text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(18px); }
html.reveal-ready .reveal { transition: opacity var(--reveal-duration) ease, transform var(--reveal-duration) ease; }
@media (max-width: 1279px) {
  .main-nav { display: none; }
  .head-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .mobile-drawer:not([hidden]) {
    display: block;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    padding: 16px var(--gutter) 24px;
    max-height: calc(100dvh - var(--head-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    box-shadow: var(--shadow-pop);
  }
  .mobile-drawer ul { margin: 0; padding: 0; list-style: none; }
  .mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 12px; border-radius: var(--radius-field); color: var(--text); text-decoration: none; }
  .mobile-drawer a:hover, .mobile-drawer a[aria-current] { background: var(--accent-soft); color: var(--accent-dark); }
  .drawer-cap { margin: 16px 12px 4px; color: var(--text-muted); font-size: 13px; }
  .static-mobile { display: block; }
  .static-mobile summary { min-width: 44px; min-height: 44px; }
  .static-mobile nav { position: absolute; top: 100%; inset-inline: 0; padding: 16px var(--gutter); background: var(--bg); color: var(--text); box-shadow: var(--shadow-pop); max-height: calc(100dvh - var(--head-h)); overflow-y: auto; }
  .static-mobile nav a { display: block; width: 100%; min-height: 44px; padding: 10px 12px; text-decoration: none; color: var(--text); }
}
@media (max-width: 900px) {
  :root { --gutter: 32px; --space-section: 88px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  h1 { font-size: clamp(24px, 7vw, 30px); }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --head-h: 64px; --space-section: 64px; --size-h2: 26px; --size-h3: 21px; }
  .head-in { gap: 12px; }
  .brand-name { font-size: 17px; }
  .brand-mark { width: 32px; height: 32px; }
  .head-tools { gap: 8px; margin-left: auto; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .lang-btn { padding-inline: 10px; }
  .lang-btn .globe { display: none; }
  .btn { min-height: 52px; padding: 10px 20px; font-size: 15px; }
  .grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 28px 18px; }
  .card { padding: 24px; }
  .section-head { margin-bottom: 32px; }
  .tilt, [data-tilt] { transform: none !important; }
  .chip-list { flex-direction: row; flex-wrap: wrap; }
}
@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; }
}