:root {
  --bg: #FBFBFB;
  --bg-panel: #FFFFFF;
  --bg-panel-2: #F3F3F3;
  --border: #E2E2E2;
  --border-strong: #C4C4C4;
  --accent: #1F3BFF;
  --accent-dark: #1428C8;
  --text: #161616;
  --text-muted: #5E5E5E;
  --text-faint: #8A8A8A;
  --success: #1E9E5A;
  --warn: #B7791F;
  --error: #D93025;
  --on-accent: #FFFFFF;
  --orbit-inner: #C9CFFF;
  --orbit-outer: #B3BCF6;
  --orbit-ray: #8D9BFF;
  --grid-dot: #D4D4D4;
  --mask-solid: #000000;
  --clear: transparent;
  --halo-strong: rgba(31, 59, 255, 0.32);
  --halo-soft: rgba(31, 59, 255, 0.12);
  --glow-a: rgba(31, 59, 255, 0.14);
  --glow-b: rgba(31, 59, 255, 0.045);
  --accent-wash: rgba(31, 59, 255, 0.05);
  --success-halo: rgba(30, 158, 90, 0.18);
  --veil: rgba(22, 22, 22, 0.24);
  --font-display: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans', 'Apple SD Gothic Neo', 'Microsoft YaHei', 'Malgun Gothic', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans', 'Apple SD Gothic Neo', 'Microsoft YaHei', 'Malgun Gothic', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', 'Cascadia Mono', Consolas, 'Liberation Mono', monospace;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-display: 800;
  --size-micro: 10px;
  --size-caption: 11px;
  --size-orbit: 11.5px;
  --size-small: 12px;
  --size-label: 13px;
  --size-nav: 14px;
  --size-body: 15px;
  --size-lead: 15.5px;
  --size-brand: 16px;
  --size-prose: 17px;
  --size-subtitle: 20px;
  --size-h3: 22px;
  --size-h2: clamp(25px, 2.6vw, 36px);
  --size-h1: clamp(34px, 3.4vw, 48px);
  --radius: 0;
  --radius-circle: 50%;
  --frame: 1184px;
  --reading: 860px;
  --header-span: 1280px;
  --gutter: 56px;
  --nav-h: 72px;
  --bar-h: 44px;
  --section-space: 88px;
  --ease: 150ms ease;
  --reveal-duration: 550ms;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
html, body { margin: 0; padding: 0; }
html.nav-open { overflow: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--size-body);
  font-weight: var(--weight-regular);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; vertical-align: middle; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
button { border-radius: var(--radius); }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--size-h1); }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); }
p { margin: 0 0 1.2em; }
h1, h2, h3 { margin-top: 0; }
strong { font-weight: var(--weight-semibold); }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 24px;
  margin: 0;
  background: var(--bg-panel-2);
  color: var(--text);
  font-size: var(--size-label);
  line-height: 1.8;
  tab-size: 2;
}
pre code { overflow-wrap: normal; word-break: normal; white-space: pre; }
ul, ol { padding-left: 1.5em; }
li + li { margin-top: 0.35em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }
.nowrap { white-space: nowrap; }
.accent, .text-link { color: var(--accent); }
.text-link { text-underline-offset: 4px; }
.text-link:hover { text-decoration: underline; }
.muted { color: var(--text-muted); }
.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;
}
.frame {
  position: relative;
  width: min(var(--frame), calc(100% - 64px));
  margin-inline: auto;
  border-inline: 1px solid var(--border);
}
.wrap {
  width: min(var(--frame), calc(100% - 64px));
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.frame.wrap { width: min(var(--frame), calc(100% - 64px)); }
.reading { max-width: var(--reading); margin-inline: auto; min-width: 0; }
.section { padding-top: var(--section-space); padding-bottom: var(--section-space); border-top: 1px solid var(--border); }
.section-heading { margin-bottom: 36px; max-width: 760px; }
.section-heading p { color: var(--text-muted); }
.grid { 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 > *, .prose, .panel, .card { min-width: 0; }
.panel, .card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-panel);
  color: var(--text);
}
.card { padding: 28px; }
.card > :last-child { margin-bottom: 0; }
.card__eyebrow { font-family: var(--font-mono); font-size: var(--size-small); color: var(--text-muted); }
.card__title { font-size: var(--size-h3); margin-block: 12px 16px; }
.prose { font-size: var(--size-prose); line-height: 1.9; }
.prose h2 { margin-top: 2.5em; margin-bottom: 0.8em; }
.prose h3 { margin-top: 2em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.prose :not(pre) > code {
  background: var(--bg-panel-2);
  color: var(--text);
  padding: 0.1em 0.25em;
  font-size: var(--size-body);
}
.prose pre { margin-block: 24px; }
.prose img { display: block; margin-block: 24px; }
.prose blockquote { margin-inline: 0; }
.prose > :first-child { margin-top: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 22px;
  max-width: 100%;
  border-radius: var(--radius);
  font-size: var(--size-body);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.005em;
  text-align: center;
  line-height: 1.5;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn--primary { background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); }
.btn--primary:hover, .btn--primary.is-hover { background: var(--accent-dark); color: var(--on-accent); border-color: var(--accent-dark); }
.btn--primary:active, .btn--primary.is-active { background: var(--accent-dark); color: var(--on-accent); border-color: var(--text); }
.btn--ghost { background: var(--bg-panel); color: var(--text); border: 1px solid var(--border-strong); }
.btn--ghost:hover, .btn--ghost.is-hover { border-color: var(--text); }
.btn--ghost:active, .btn--ghost.is-active { background: var(--bg-panel-2); color: var(--text); border-color: var(--text); }
.btn:disabled, .btn[aria-disabled="true"] {
  background: var(--bg-panel-2);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn.is-focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cross { position: absolute; width: 13px; height: 13px; z-index: 8; pointer-events: none; }
.cross::before, .cross::after { content: ""; position: absolute; background: var(--text); color: var(--text); }
.cross::before { left: 6px; top: 0; width: 1px; height: 13px; }
.cross::after { top: 6px; left: 0; width: 13px; height: 1px; }
.cross--bl { left: -7px; bottom: -7px; }
.cross--br { right: -7px; bottom: -7px; }
.cross--tl { left: -7px; top: -7px; }
.cross--tr { right: -7px; top: -7px; }
.masthead {
  position: relative;
  z-index: 40;
  background: var(--bg);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.masthead__inner {
  position: relative;
  width: 100%;
  max-width: min(100%, calc(var(--header-span) + var(--gutter) * 2));
  min-height: var(--nav-h);
  padding-inline: var(--gutter);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 28px; height: 28px; display: block; flex-shrink: 0; }
.brand__name { font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--size-brand); letter-spacing: -0.01em; }
.topnav { min-width: 0; margin-left: auto; }
.topnav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.topnav li { display: flex; align-items: center; margin: 0; flex-shrink: 0; }
.topnav li + li::before {
  content: "·";
  margin-inline: 13px;
  color: var(--border-strong);
  font-weight: var(--weight-bold);
}
.topnav a { display: block; padding-block: 6px; font-size: var(--size-nav); font-weight: var(--weight-medium); white-space: nowrap; }
.topnav a:hover, .topnav a[aria-current="page"] { color: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.language-picker { position: relative; }
.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 12px;
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--size-label);
  font-weight: var(--weight-medium);
  white-space: nowrap;
}
.lang:hover { border-color: var(--border-strong); }
.lang svg { width: 15px; height: 15px; color: var(--text-muted); flex-shrink: 0; }
.lang__caret { font-size: var(--size-micro); color: var(--text-muted); }
.lang__short { display: none; }
.language-menu {
  position: absolute;
  z-index: 4;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text);
  padding: 6px;
}
.language-menu a { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; }
.language-menu a:hover, .language-menu a[aria-current] { background: var(--bg-panel-2); color: var(--accent); }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text);
}
.menu-toggle svg { width: 20px; height: 20px; flex-shrink: 0; }
.mobile-nav, .nav-veil { display: none; }
.hero, .decorated { position: relative; overflow-x: clip; }
.hero__frame {
  height: max(680px, calc(100vh - var(--nav-h) - 1px - var(--bar-h)));
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
}
.hero__grid {
  position: absolute;
  inset: 0 -180px 0 44%;
  z-index: 0;
  background-image: radial-gradient(circle, var(--grid-dot) 1px, var(--clear) 1.5px);
  background-size: 24px 24px;
  background-position: 11px 11px;
  -webkit-mask-image: radial-gradient(ellipse 58% 64% at 56% 52%, var(--mask-solid) 28%, var(--clear) 80%);
  mask-image: radial-gradient(ellipse 58% 64% at 56% 52%, var(--mask-solid) 28%, var(--clear) 80%);
  pointer-events: none;
}
.hero__copy { position: relative; z-index: 5; width: 46%; max-width: 500px; min-width: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  font-family: var(--font-mono);
  font-size: var(--size-small);
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: var(--radius-circle);
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 0 0 4px var(--halo-soft);
}
.hero-title { margin: 0; font-size: var(--size-h1); line-height: 1.12; letter-spacing: -0.02em; }
.hero-title__line { display: block; }
.hero-title__em { font-style: normal; color: var(--accent); }
.hero__lead { margin: 26px 0 0; max-width: 480px; font-size: var(--size-lead); line-height: 1.75; color: var(--text-muted); }
.hero__lead strong { color: var(--text); }
.badges { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--border); display: grid; gap: 12px; }
.badge-row { display: flex; align-items: center; gap: 14px; min-width: 0; }
.badge-row__label { width: 34px; flex-shrink: 0; font-family: var(--font-mono); font-size: var(--size-caption); letter-spacing: 0.08em; color: var(--text-muted); }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.platforms li { margin: 0; min-width: 0; }
.platforms a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 12px;
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--size-label);
  font-weight: var(--weight-medium);
}
.platforms svg { width: 15px; height: 15px; flex-shrink: 0; }
.platforms a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-wash); }
.chips { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--font-mono); font-size: var(--size-label); font-weight: var(--weight-medium); }
.chip__brace { color: var(--text-muted); }
.hero__caption { position: absolute; right: var(--gutter); bottom: 22px; z-index: 5; margin: 0; font-family: var(--font-mono); font-size: var(--size-caption); letter-spacing: 0.02em; color: var(--text-muted); }
.hero__caption .k { color: var(--accent); }
.statusbar { position: relative; background: var(--bg-panel-2); color: var(--text-muted); border-top: 1px solid var(--border); }
.statusbar__inner { height: var(--bar-h); padding-inline: var(--gutter); display: flex; align-items: center; font-family: var(--font-mono); font-size: var(--size-small); white-space: nowrap; overflow-x: auto; }
.sb { display: inline-flex; align-items: center; gap: 8px; padding-inline: 18px; border-left: 1px solid var(--border); flex-shrink: 0; }
.sb:first-child { padding-left: 0; border-left: 0; }
.sb__v { color: var(--text); }
.sb__dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: var(--radius-circle); background: var(--success); color: var(--text); box-shadow: 0 0 0 3px var(--success-halo); }
.sb--end { margin-left: auto; padding-right: 0; }
.site-footer { background: var(--bg); color: var(--text); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr 0.8fr; gap: 40px; padding-top: 56px; padding-bottom: 48px; }
.footer-grid > * { min-width: 0; }
.footer-brand p { color: var(--text-muted); font-size: var(--size-nav); margin-top: 20px; max-width: 310px; }
.footer-heading { font-size: var(--size-nav); margin: 0 0 16px; font-weight: var(--weight-semibold); }
.footer-links { list-style: none; padding: 0; margin: 0; font-size: var(--size-label); }
.footer-links a { display: inline-block; padding-block: 5px; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--border); font-size: var(--size-small); color: var(--text-muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.reveal { opacity: 1; transform: none; }
.reveal.is-pending { opacity: 0; transform: translateY(16px); }
.reveal.shown { opacity: 1; transform: none; transition: opacity var(--reveal-duration) ease, transform var(--reveal-duration) ease; }
@media (max-width: 1279px) {
  .topnav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav:not([hidden]) {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 16px var(--gutter) 24px;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--bg-panel);
    color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .mobile-nav ul { list-style: none; margin: 0; padding: 0; }
  .mobile-nav li { margin: 0; }
  .mobile-nav a { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
  .mobile-nav a:hover, .mobile-nav a[aria-current] { color: var(--accent); }
  .mobile-nav__languages { margin-top: 24px; }
  .mobile-nav__label { padding-inline: 12px; color: var(--text-muted); font-size: var(--size-small); }
  .nav-veil:not([hidden]) { display: block; position: fixed; inset: var(--nav-h) 0 0; z-index: 1; border: 0; background: var(--veil); color: var(--text); }
  .preview-desktop-nav { display: block; }
}
@media (max-width: 1240px) {
  :root { --gutter: 40px; }
  .topnav li + li::before { margin-inline: 9px; }
}
@media (max-width: 1100px) {
  .preview-desktop-nav { display: none; }
  .preview-menu { display: block; }
}
@media (max-width: 980px) {
  .hero__frame { height: auto; flex-direction: column; align-items: stretch; padding: 44px 20px 56px; }
  .hero__copy { width: 100%; max-width: none; }
  .hero__grid { left: -40px; right: -40px; top: 46%; }
  .hero__caption { position: static; margin-top: 8px; text-align: center; overflow-wrap: anywhere; }
  .statusbar__inner { padding-inline: 20px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  :root { --gutter: 24px; --size-h1: clamp(24px, 4vw, 30px); --section-space: 56px; }
  .grid--two, .grid--three { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .frame, .wrap, .frame.wrap { width: calc(100% - 24px); }
  .wrap { padding-inline: var(--gutter); }
  .masthead__inner { padding-inline: var(--gutter); gap: 12px; }
  .header-tools { margin-left: auto; gap: 8px; }
  .brand { gap: 8px; }
  .brand__name { font-size: var(--size-nav); }
  .lang { min-height: 44px; padding-inline: 10px; }
  .lang__full { display: none; }
  .lang__short { display: inline; }
  .header-tools .lang svg { display: none; }
  .badge-row { align-items: flex-start; gap: 8px; }
  .badge-row__label { width: 26px; padding-top: 9px; }
  .platforms { gap: 6px; }
  .platforms a { padding-inline: 8px; font-size: var(--size-small); }
  .chips { gap: 6px 10px; font-size: var(--size-small); }
  .card { padding: 20px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tilt, [data-tilt] { transform: none !important; }
  pre { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}