:root {
  --bg: #FFFFFF;
  --bg-panel: #F6F7F7;
  --bg-panel-2: #EEF0F0;
  --border: #E3E6E6;
  --border-strong: #D3D8D8;
  --accent: #12866E;
  --accent-dark: #0B5F4F;
  --accent-soft: #E3F2EE;
  --text: #15191C;
  --text-muted: #5B6469;
  --text-faint: #8A9296;
  --on-accent: #FFFFFF;
  --success: #2F8F5B;
  --warn: #B7791F;
  --error: #C2413B;
  --tint-iris: #9AA5EC;
  --tint-lime: #DCEB9A;
  --tint-rose: #F3B6CB;
  --veil-dark: rgba(255,255,255,.10);
  --veil-light: rgba(255,255,255,.34);
  --ghost-dark: rgba(255,255,255,.16);
  --ghost-light: rgba(255,255,255,.55);
  --grid-dark: rgba(255,255,255,.08);
  --grid-light: rgba(21,25,28,.06);
  --pulse: rgba(18,134,110,.35);
  --scrim: rgba(21,25,28,.28);
  --clear: transparent;
  --shadow-xs: 0 1px 2px rgba(21,25,28,.06);
  --shadow-card: 0 1px 2px rgba(21,25,28,.05),0 12px 32px rgba(21,25,28,.06);
  --shadow-card-hover: 0 2px 4px rgba(21,25,28,.06),0 18px 40px rgba(21,25,28,.10);
  --shadow-float: 0 2px 4px rgba(21,25,28,.08),0 20px 44px rgba(21,25,28,.18);
  --shadow-accent: 0 1px 2px rgba(11,95,79,.20),0 8px 20px rgba(18,134,110,.22);
  --radius: 8px;
  --radius-sm: 6px;
  --radius-segment: 7px;
  --radius-segment-item: 5px;
  --radius-line: 4px;
  --radius-pill: 999px;
  --radius-round: 50%;
  --font-display: "Inter","Noto Sans SC","PingFang SC","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;
  --weight-body: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-heavy: 800;
  --weight-display: 900;
  --gutter: 24px;
  --content-width: 1200px;
  --reading-width: 800px;
  --header-width: 1280px;
  --nav-h: 64px;
  --bay-w: 372px;
  --bay-gap: 20px;
  --section-space: 128px;
  --ease: ease;
  --speed: .15s;
  --speed-card: .2s;
  --speed-reveal: .5s;
  --layer-header: 40;
  --layer-veil: 1;
  --layer-menu: 2;
  --layer-fab: 30;
}
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--weight-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg, .badge-dot, .brand-mark, .app-icon { flex-shrink: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: var(--clear); }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button:disabled { cursor: not-allowed; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  text-wrap: balance;
}
h1 {
  margin: 0 0 24px;
  font-size: clamp(34px,2.2vw + 16px,48px);
  line-height: 1.14;
  font-weight: var(--weight-display);
  letter-spacing: -.02em;
}
h2 {
  margin: 0 0 20px;
  font-size: clamp(26px,2.2vw,36px);
  line-height: 1.25;
  font-weight: var(--weight-heavy);
  letter-spacing: -.02em;
}
h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.35; font-weight: var(--weight-heavy); }
p { margin: 0 0 20px; }
ul, ol { padding-inline-start: 24px; }
li + li { margin-top: 6px; }
code {
  font-family: var(--font-mono);
  font-size: .9em;
  overflow-wrap: anywhere;
}
pre {
  max-width: 100%;
  min-width: 0;
  margin: 24px 0;
  padding: 20px;
  overflow-x: auto;
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  tab-size: 2;
}
pre code { overflow-wrap: normal; word-break: normal; white-space: pre; }
hr { border: 0; border-top: 1px solid var(--border); margin: 36px 0; }
.wrap {
  width: 100%;
  max-width: calc(var(--content-width) + var(--gutter) * 2);
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.reading { max-width: calc(var(--reading-width) + var(--gutter) * 2); }
.section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.section-band { background: var(--bg-panel); color: var(--text); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p, .muted { color: var(--text-muted); }
.eyebrow { margin: 0 0 12px; color: var(--accent-dark); font-size: 13px; font-weight: var(--weight-bold); letter-spacing: .04em; }
.keep { white-space: nowrap; }
.accent { color: var(--accent); }
.center { text-align: center; }
.cluster { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.grid-two, .grid-three { display: grid; gap: 24px; }
.grid-two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.grid-two > *, .grid-three > *, .wrap > *, .prose > * { min-width: 0; }
.prose { min-width: 0; }
.prose h2 { margin-top: 64px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose h3 { margin-top: 36px; }
.prose p, .prose li { line-height: 1.85; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose :not(pre) > code {
  background: var(--bg-panel);
  color: var(--accent-dark);
  padding: 2px 5px;
  border-radius: var(--radius-line);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid var(--clear);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: var(--weight-bold);
  line-height: 1.4;
  letter-spacing: -.005em;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--speed) var(--ease),border-color var(--speed) var(--ease),color var(--speed) var(--ease),transform var(--speed) var(--ease);
}
.btn svg { width: 17px; height: 17px; }
.btn-solid { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-accent); }
.btn-solid:hover, .btn-solid.is-hover { background: var(--accent-dark); color: var(--on-accent); }
.btn-line { background: var(--bg); color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow-xs); }
.btn-line:hover, .btn-line.is-hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-small { min-height: 36px; padding: 7px 12px; font-size: 13px; }
.btn:active { 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;
  pointer-events: none;
}
.btn.is-focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-arrow { font-weight: var(--weight-semibold); transition: transform var(--speed) var(--ease); }
.btn-line:hover .btn-arrow { transform: translateX(2px); }
.card, .panel {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  min-width: 0;
}
.card { box-shadow: var(--shadow-card); }
.panel { background: var(--bg-panel); color: var(--text); }
.card p:last-child, .panel p:last-child { margin-bottom: 0; }
.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(18px); }
html.reveal-ready .reveal { transition: opacity var(--speed-reveal) var(--ease),transform var(--speed-reveal) var(--ease); }
#site-header, .topbar {
  position: sticky;
  top: 0;
  z-index: var(--layer-header);
  height: var(--nav-h);
  background: var(--bg);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  height: 100%;
  width: 100%;
  max-width: min(100%,calc(var(--header-width) + var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: var(--weight-heavy);
  letter-spacing: -.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand:hover { color: var(--text); }
.brand-mark { width: 30px; height: 30px; }
.desktop-nav { margin-left: auto; min-width: 0; }
.navpills {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}
.navpills li + li { margin-top: 0; }
.navpills a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: var(--weight-medium);
  white-space: nowrap;
  transition: color var(--speed) var(--ease),background-color var(--speed) var(--ease);
}
.navpills a:hover { color: var(--text); background: var(--bg-panel); }
.navpills a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-dark); font-weight: var(--weight-semibold); }
.header-tools { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.language { position: relative; }
.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text);
  background: var(--bg);
  font-size: 13.5px;
  font-weight: var(--weight-medium);
  white-space: nowrap;
  list-style: none;
}
.lang::-webkit-details-marker { display: none; }
.lang svg { width: 15px; height: 15px; color: var(--text-muted); }
.lang-caret { color: var(--text-muted); font-size: 11px; }
.lang-short { display: none; }
.language-list {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  min-width: 180px;
  padding: 8px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.language-list a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; color: var(--text-muted); border-radius: var(--radius-sm); }
.language-list a:hover, .language-list a[aria-current="true"] { background: var(--accent-soft); color: var(--accent-dark); }
.menu-glyph {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.menu-glyph svg { width: 18px; height: 18px; }
.nav-veil { position: fixed; inset: var(--nav-h) 0 0; z-index: var(--layer-veil); border: 0; background: var(--scrim); color: var(--text); }
.mobile-drawer {
  position: absolute;
  inset: var(--nav-h) 0 auto;
  z-index: var(--layer-menu);
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding: 16px var(--gutter) 24px;
  box-shadow: var(--shadow-card);
}
.mobile-drawer ul { list-style: none; padding: 0; margin: 0; }
.mobile-drawer li + li { margin-top: 2px; }
.mobile-drawer a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--text-muted);
  border-radius: var(--radius);
}
.mobile-drawer a:hover, .mobile-drawer a[aria-current] { background: var(--accent-soft); color: var(--accent-dark); }
.drawer-label { margin: 20px 14px 8px; color: var(--text-muted); font-size: 13px; font-weight: var(--weight-semibold); }
.preview-mobile { display: none; }
.site-footer {
  background: var(--bg-panel);
  color: var(--text);
  border-top: 1px solid var(--border);
  padding-top: 64px;
  padding-bottom: 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr 1.2fr .65fr; gap: 40px; }
.footer-grid > * { min-width: 0; }
.footer-brand p { margin-top: 18px; max-width: 320px; font-size: 14px; color: var(--text-muted); }
.footer-heading { margin: 0 0 16px; font-size: 14px; font-weight: var(--weight-bold); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { display: inline-block; padding-block: 4px; font-size: 14px; color: var(--text-muted); overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--accent-dark); text-decoration: underline; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a { color: var(--text-muted); }
@media (max-width:1220px) {
  .navpills a { padding-inline: 11px; font-size: 14px; }
  .topbar-inner { gap: 18px; }
}
@media (max-width:1100px) {
  .desktop-nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-glyph { display: inline-flex; }
  .preview-mobile { display: block; }
  .preview-mobile > summary { list-style: none; }
  .preview-mobile > summary::-webkit-details-marker { display: none; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:768px) {
  h1 { font-size: clamp(24px,4vw,30px); }
  .grid-three { grid-template-columns: 1fr; }
}
@media (max-width:640px) {
  :root { --gutter: 16px; --nav-h: 56px; --bay-w: min(84vw,320px); --bay-gap: 14px; --section-space: 80px; }
  .topbar-inner { gap: 10px; }
  .brand { font-size: 16px; flex-shrink: 1; min-width: 0; }
  .topbar-inner .brand span { min-width: 0; white-space: normal; line-height: 1.2; }
  h1 .keep, h2 .keep { white-space: normal; overflow-wrap: anywhere; }
  .header-tools { gap: 8px; margin-left: auto; }
  .lang { padding-inline: 10px; font-size: 13px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .grid-two { grid-template-columns: 1fr; }
  .card, .panel { padding: 22px; }
  .btn { min-height: 46px; padding: 10px 18px; font-size: 15px; }
  .btn-small { min-height: 36px; font-size: 13px; padding: 7px 12px; }
  .footer-grid { gap: 32px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .tilt, [data-tilt] { transform: none !important; rotate: none !important; }
}
@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; }
}