:root {
  color-scheme: dark;
  --bg: #08090C;
  --bg-panel: #0F1013;
  --bg-panel-2: #16171B;
  --bg-sunk: #0B0C0F;
  --border: #1E2024;
  --border-win: #23252A;
  --border-strong: #2A2D33;
  --line-hover: #3A3D44;
  --field-top: #2A2D33;
  --field-mid: #141519;
  --text: #EDEEF0;
  --text-muted: #8A8F98;
  --text-dim: #5C616A;
  --accent: #7DE08A;
  --accent-dark: #3FAE5A;
  --accent-line: rgba(125, 224, 138, 0.38);
  --accent-glow: rgba(125, 224, 138, 0.20);
  --accent-glow-soft: rgba(125, 224, 138, 0.05);
  --success: #7DE08A;
  --warn: #E8C15A;
  --error: #EB5A57;
  --hl: rgba(255, 255, 255, 0.06);
  --dot: #3A3D44;
  --btn-bg: #E6E7EA;
  --btn-ink: #08090C;
  --xray-line: rgba(255, 255, 255, 0.12);
  --xray-ghost: rgba(255, 255, 255, 0.07);
  --xray-plate: rgba(255, 255, 255, 0.36);
  --xray-side: rgba(255, 255, 255, 0.20);
  --xray-dash: rgba(255, 255, 255, 0.26);
  --clear: transparent;
  --veil: rgba(0, 0, 0, 0.65);
  --font-display: "Inter", "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-body: "Inter", "Noto Sans SC", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --weight-normal: 400;
  --weight-medium: 500;
  --r-ctl: 4px;
  --r-panel: 6px;
  --r-win: 8px;
  --r-full: 999px;
  --shell: 1200px;
  --reading: 800px;
  --header-shell: 1280px;
  --gutter: 32px;
  --bleed: 48px;
  --slice: 66.6667%;
  --header-height: 64px;
  --space-section: 80px;
  --ease: 150ms ease;
  --reveal-duration: 600ms;
  --shadow-none: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); overflow-x: clip; 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: 15px;
  line-height: 1.6;
  font-weight: var(--weight-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: var(--clear); }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 1px solid var(--text-muted); outline-offset: 3px; }
img, svg { max-width: 100%; }
img { height: auto; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: var(--weight-medium); text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 2.5vw, 32px); line-height: 1.3; letter-spacing: -0.02em; }
h3 { font-size: 20px; line-height: 1.4; }
p { margin: 0 0 1em; }
strong { font-weight: var(--weight-medium); }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; font-size: 0.9em; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 20px;
  background: var(--bg-sunk);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  line-height: 1.8;
}
pre code { white-space: pre; overflow-wrap: normal; word-break: normal; }
hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }
.shell, .wrap {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading { max-width: calc(var(--reading) + var(--gutter) * 2); }
.section { padding-top: var(--space-section); padding-bottom: var(--space-section); border-top: 1px solid var(--border); }
.section-title { margin: 16px 0 28px; }
.section-title span, .muted, .hero-title-tail { color: var(--text-muted); }
.nowrap { white-space: nowrap; }
.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;
}
.skip-link { position: absolute; left: var(--gutter); top: -80px; z-index: 100; padding: 12px 18px; background: var(--btn-bg); color: var(--btn-ink); border-radius: var(--r-ctl); }
.skip-link:focus { top: 8px; }
.grid-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-pair > *, .shell > *, .wrap > * { min-width: 0; }
.stack { display: grid; gap: 20px; }
.actions { margin-top: 26px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.btn {
  min-height: 40px;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: var(--weight-medium);
  letter-spacing: -0.005em;
  border: 1px solid var(--clear);
  border-radius: var(--r-ctl);
  background: var(--clear);
  color: var(--text);
  transition: background-color var(--ease), border-color var(--ease);
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary:hover, .btn-primary.is-hover { background: var(--text); color: var(--btn-ink); }
.btn-ghost { background: var(--clear); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover, .btn-ghost.is-hover { background: var(--bg-panel); color: var(--text); border-color: var(--line-hover); }
.btn:active { border-color: var(--text-muted); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--bg-panel-2); color: var(--text-muted); border-color: var(--border); }
.btn.is-focus { outline: 1px solid var(--text-muted); outline-offset: 3px; }
.text-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-hover); }
.text-link:hover { text-decoration-color: var(--text); }
.panel, .card {
  min-width: 0;
  padding: 24px;
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-none);
}
.panel-secondary { background: var(--bg-panel-2); color: var(--text); }
.eyebrow, .peek-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 16px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; flex-shrink: 0; border-radius: 1px; background: var(--accent); }
.eyebrow-split { color: var(--text-muted); }
.masthead, #site-header { position: relative; z-index: 40; border-bottom: 1px solid var(--border); background: var(--bg); color: var(--text); }
.header-shell {
  width: 100%;
  max-width: min(100%, calc(var(--header-shell) + var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.masthead-row { min-height: var(--header-height); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; font-family: var(--font-display); font-size: 15px; font-weight: var(--weight-medium); letter-spacing: -0.01em; color: var(--text); }
.brand-mark { width: 24px; height: 24px; display: block; flex-shrink: 0; }
.desktop-nav { min-width: 0; margin-left: auto; }
.nav-list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav-list li { flex-shrink: 0; }
.nav-link { min-height: 32px; padding: 5px 12px; display: inline-flex; align-items: center; font-size: 13.5px; color: var(--text-muted); border: 1px solid var(--clear); border-radius: var(--r-ctl); transition: color var(--ease), background-color var(--ease); }
.nav-link:hover { color: var(--text); }
.nav-link[aria-current="page"] { color: var(--text); background: var(--bg-panel-2); border-color: var(--border); }
.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-sep { width: 1px; height: 18px; background: var(--border); margin-right: 2px; }
.lang-wrap { position: relative; }
.lang { min-height: 32px; padding: 5px 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-ctl); }
.lang:hover { color: var(--text); border-color: var(--line-hover); }
.lang svg { width: 14px; height: 14px; }
.lang-short { display: none; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px; margin: 0; list-style: none; border: 1px solid var(--border-strong); border-radius: var(--r-panel); background: var(--bg-panel); color: var(--text); z-index: 4; }
.lang-menu a { display: flex; width: 100%; min-height: 44px; align-items: center; padding: 8px 12px; border-radius: var(--r-ctl); }
.lang-menu a:hover, .lang-menu a[aria-current="true"] { background: var(--bg-panel-2); color: var(--text); }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid var(--border); border-radius: var(--r-ctl); background: var(--bg); color: var(--text); }
.menu-toggle svg { width: 20px; height: 20px; }
.mobile-drawer { display: none; }
.nav-veil { position: fixed; inset: var(--header-height) 0 0; z-index: 30; border: 0; background: var(--veil); color: var(--text); }
.site-footer { border-top: 1px solid var(--border); padding-top: 56px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; }
.footer-grid > * { min-width: 0; }
.footer-intro { margin-top: 16px; max-width: 360px; color: var(--text-muted); font-size: 14px; }
.footer-title { margin: 0 0 16px; font-size: 13px; font-weight: var(--weight-medium); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a, .footer-languages a, .copyright a { color: var(--text-muted); font-size: 13px; }
.footer-links a:hover, .footer-languages a:hover, .copyright a:hover { color: var(--text); }
.footer-languages { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 32px; }
.copyright { border-top: 1px solid var(--border); margin-top: 28px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--text-muted); font-size: 12px; }
.prose { min-width: 0; line-height: 1.9; }
.prose h2 { margin-top: 2.5em; margin-bottom: 0.8em; }
.prose h3 { margin-top: 2em; }
.prose p, .prose li { overflow-wrap: break-word; }
.prose a { text-decoration: underline; text-underline-offset: 4px; }
.prose > :first-child { margin-top: 0; }
.reveal { opacity: 1; transform: none; }
.reveal-pending { opacity: 0; transform: translateY(14px); transition: opacity var(--reveal-duration) ease, transform var(--reveal-duration) ease; }
.reveal.shown { opacity: 1; transform: none; }
.hero { padding-top: 44px; overflow-x: clip; }
.hero-title { margin: 18px 0 0; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -0.02em; }
.hero-lede { margin: 14px 0 0; font-size: 16px; line-height: 26px; color: var(--text-muted); }
.hero-lede strong { color: var(--text); font-weight: var(--weight-medium); }
.rail { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rail-group, .plat-list { display: flex; align-items: center; }
.rail-label { margin-right: 16px; font-family: var(--font-mono); font-size: 10.5px; font-weight: var(--weight-medium); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.plat { min-height: 22px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); border-left: 1px solid var(--border); transition: color var(--ease); }
.plat:first-child { padding-left: 0; border-left: 0; }
.plat:hover { color: var(--text); }
.plat svg { width: 15px; height: 15px; flex: none; }
.plat svg.plat-tux { width: 13px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { min-height: 24px; padding: 2px 8px; display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 11.5px; font-weight: var(--weight-medium); color: var(--text-muted); background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--r-ctl); max-width: 100%; overflow-wrap: anywhere; }
.peek { border-top: 1px solid var(--border); padding-top: 56px; padding-bottom: 96px; }
.peek-title { margin: 16px 0 0; max-width: 900px; font-size: 30px; font-weight: var(--weight-medium); line-height: 1.3; letter-spacing: -0.02em; }
.peek-title span { color: var(--text-muted); }
@media (max-width: 1380px) { :root { --bleed: 20px; } }
@media (max-width: 1279px) {
  .desktop-nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-sep { display: none; }
  .mobile-drawer {
    display: block;
    position: absolute;
    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-panel);
    color: var(--text);
    border-bottom: 1px solid var(--border-strong);
    z-index: 3;
  }
  .mobile-drawer ul { list-style: none; padding: 0; margin: 0; }
  .mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 11px 14px; border-radius: var(--r-ctl); }
  .drawer-languages { border-top: 1px solid var(--border); margin-top: 16px !important; padding-top: 16px !important; }
  .drawer-languages a { color: var(--text-muted); }
  .drawer-languages a[aria-current="true"] { color: var(--text); }
}
@media (max-width: 1180px) { .rail { flex-wrap: wrap; } }
@media (max-width: 768px) {
  h1, .hero-title { font-size: clamp(24px, 4vw, 30px); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .grid-pair { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; --bleed: 0px; --slice: 58%; --space-section: 48px; }
  .masthead-row { gap: 10px; }
  .header-tools { margin-left: auto; gap: 8px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .hero { padding-top: 32px; }
  .hero-title { font-size: clamp(24px, 6.4vw, 30px); }
  .hero-lede { font-size: 15px; line-height: 24px; }
  .rail { gap: 16px; }
  .rail-group { width: 100%; min-width: 0; }
  .plat-list { flex-wrap: wrap; gap: 8px 0; }
  .plat { padding-inline: 10px; font-size: 12px; }
  .rail-label { display: none; }
  .chips { flex-direction: row; flex-wrap: wrap; }
  .tilt, [data-tilt] { transform: none !important; }
  .peek-title { font-size: 22px; }
  .panel, .card { padding: 18px; }
  .footer-grid { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-pending { opacity: 1; transform: none; }
}