:root {
  --c-bg: #F8F8F7;
  --c-panel: #FFFFFF;
  --c-panel-2: #F1F1EF;
  --c-panel-soft: #FAFAF9;
  --c-border: #E4E4E2;
  --c-border-strong: #D6D6D3;
  --c-accent: #B03A2E;
  --c-accent-dark: #8A2C23;
  --c-accent-soft: #F5E9E7;
  --c-text: #1C1C1B;
  --c-muted: #6B6B69;
  --c-faint: #9C9C99;
  --c-cobalt: #2F5FB8;
  --c-pine: #2E7D4F;
  --c-grape: #6B4FA8;
  --c-warn: #A86A12;
  --c-error: #B42318;
  --c-switch-off: #DADAD7;
  --c-chrome-dot: #D4D4D1;
  --c-on-accent: #FFFFFF;
  --c-on-accent-muted: rgba(255,255,255,.82);
  --c-cobalt-halo: rgba(47,95,184,.12);
  --c-veil: rgba(28,28,27,.24);
  --c-clear: transparent;
  --f-display: "Inter","Noto Sans SC","PingFang SC","Hiragino Sans","Apple SD Gothic Neo","Microsoft YaHei",system-ui,sans-serif;
  --f-body: "Inter","Noto Sans SC","PingFang SC","Hiragino Sans","Malgun Gothic","Microsoft YaHei",system-ui,sans-serif;
  --f-mono: "JetBrains Mono",ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;
  --weight-regular: 400;
  --weight-medium: 500;
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-float: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;
  --r-circle: 50%;
  --sh-knob: 0 1px 2px rgba(28,28,27,.18),0 0 0 .5px rgba(28,28,27,.06);
  --sh-seg: 0 1px 2px rgba(28,28,27,.10),0 0 0 1px rgba(28,28,27,.04);
  --sh-window: 0 1px 2px rgba(28,28,27,.04),0 14px 34px -10px rgba(28,28,27,.10),0 40px 72px -32px rgba(28,28,27,.14);
  --sh-float: 0 2px 4px rgba(28,28,27,.05),0 20px 40px -12px rgba(28,28,27,.18),0 48px 80px -36px rgba(28,28,27,.22);
  --sh-btn: 0 1px 2px rgba(138,44,35,.24),0 6px 16px -6px rgba(138,44,35,.38);
  --nav-h: 68px;
  --wrap: 1280px;
  --reading: 820px;
  --gutter: 48px;
  --space-section: 96px;
  --motion-fast: .15s;
  --motion-reveal: .55s;
}

*, *::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(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
svg { flex-shrink: 0; }
button svg, a svg { vertical-align: middle; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--c-cobalt); outline-offset: 3px; border-radius: var(--r-xs); }
::selection { background: var(--c-accent-soft); color: var(--c-accent-dark); }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: var(--weight-regular);
  line-height: 1.2;
  letter-spacing: -.01em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(34px,3.4vw,48px); }
h2 { font-size: clamp(26px,2.8vw,38px); }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { margin-top: 0; }
strong { font-weight: var(--weight-medium); }
code, pre, kbd { font-family: var(--f-mono); }
code { overflow-wrap: anywhere; font-size: .88em; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 22px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-panel-soft);
  color: var(--c-text);
  line-height: 1.8;
  tab-size: 2;
}
pre code { font-size: 13px; white-space: pre; overflow-wrap: normal; word-break: normal; }
hr { border: 0; border-top: 1px solid var(--c-border); margin-block: 32px; }
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 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); }
.section__head { max-width: 760px; margin-bottom: 36px; }
.section__head h2 { margin: 0 0 18px; }
.section__head p { color: var(--c-muted); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.grid--two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid > *, .hero__grid > *, .footer__grid > *, .panel > *, .prose, .prose div, .prose section, .prose article { min-width: 0; }
.nowrap { white-space: nowrap; }
.muted { color: var(--c-muted); }
.mono { font-family: var(--f-mono); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 100; top: 8px; left: 16px; padding: 10px 16px;
  transform: translateY(-160%); border-radius: var(--r-sm);
  background: var(--c-panel); color: var(--c-text);
}
.skip-link:focus { transform: none; }
.prose { line-height: 1.85; }
.prose h2 { margin-top: 64px; margin-bottom: 24px; }
.prose h3 { margin-top: 36px; margin-bottom: 18px; }
.prose p, .prose ul, .prose ol { margin-bottom: 22px; }
.prose li + li { margin-top: 10px; }
.prose a:not(.btn-primary):not(.btn-secondary):not(.dl-fab) {
  color: var(--c-accent-dark); text-decoration: underline; text-underline-offset: 4px;
}
.prose :not(pre) > code {
  background: var(--c-panel-2); color: var(--c-text);
  padding: 2px 5px; border-radius: var(--r-xs);
}
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 10px 24px; max-width: 100%; text-align: center;
  border: 1px solid var(--c-clear); border-radius: var(--r-md);
  font-size: 16px; font-weight: var(--weight-medium); letter-spacing: .01em;
  line-height: 1.5;
  transition: background-color var(--motion-fast) ease, transform var(--motion-fast) ease;
}
.btn-primary {
  background: var(--c-accent); color: var(--c-on-accent); box-shadow: var(--sh-btn);
}
.btn-primary:hover, .btn-primary.is-hover { background: var(--c-accent-dark); color: var(--c-on-accent); }
.btn-primary:active, .btn-secondary:active { transform: translateY(1px); }
.btn-secondary { background: var(--c-panel); color: var(--c-text); border-color: var(--c-border); }
.btn-secondary:hover { background: var(--c-panel-2); color: var(--c-text); }
.btn-primary:disabled, .btn-secondary:disabled {
  background: var(--c-panel-2); color: var(--c-muted); border-color: var(--c-border);
  box-shadow: none; cursor: not-allowed;
}
.btn-primary svg, .btn-secondary svg { width: 18px; height: 18px; }
.is-focus { outline: 2px solid var(--c-cobalt); outline-offset: 3px; }
.link-quiet {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 16px; color: var(--c-text); text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 6px;
  text-decoration-color: var(--c-border-strong);
}
.link-quiet:hover { text-decoration-color: var(--c-text); }
.cta { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.card {
  padding: 28px; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  background: var(--c-panel); color: var(--c-text); min-width: 0;
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.panel {
  padding: 48px; border-radius: var(--r-xl);
  background: var(--c-panel-2); color: var(--c-text); min-width: 0;
}
.topbar, #site-header {
  position: sticky; top: 0; z-index: 40; height: var(--nav-h);
  background: var(--c-panel); color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
}
.topbar__inner {
  width: 100%; max-width: min(100%,calc(1280px + var(--gutter) * 2));
  margin-inline: auto; padding-inline: var(--gutter); height: 100%;
  display: flex; align-items: center; gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { width: 32px; height: 32px; flex-shrink: 0; }
.brand__name {
  font-family: var(--f-display); font-size: 16px; font-weight: var(--weight-medium);
  letter-spacing: -.01em; color: var(--c-text);
}
.mainnav { margin-left: auto; min-width: 0; }
.mainnav__list {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.mainnav__link {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 15px; white-space: nowrap;
  border-radius: var(--r-pill); font-size: 14.5px; color: var(--c-muted);
  transition: color var(--motion-fast) ease, background-color var(--motion-fast) ease;
}
.mainnav__link:hover { background: var(--c-panel-2); color: var(--c-text); }
.mainnav__link[aria-current="page"] {
  background: var(--c-accent-soft); color: var(--c-accent-dark); font-weight: var(--weight-medium);
}
.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.language-picker { position: relative; }
.lang {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 36px; padding: 0 14px; white-space: nowrap;
  border: 1px solid var(--c-border); border-radius: var(--r-pill);
  background: var(--c-panel); color: var(--c-text); font-size: 13.5px;
}
.lang:hover { border-color: var(--c-border-strong); }
.lang__globe { width: 15px; height: 15px; color: var(--c-muted); }
.lang__caret { font-size: 11px; color: var(--c-muted); }
.lang__short { display: none; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 12px); width: 192px;
  margin: 0; padding: 8px; list-style: none; border: 1px solid var(--c-border);
  border-radius: var(--r-float); box-shadow: var(--sh-float);
  background: var(--c-panel); color: var(--c-text); z-index: 45;
}
.lang-menu a {
  display: flex; align-items: center; min-height: 44px; padding: 10px 12px;
  border-radius: var(--r-sm); font-size: 14px;
}
.lang-menu a:hover { background: var(--c-panel-2); color: var(--c-text); }
.lang-menu a[aria-current="true"] { background: var(--c-accent-soft); color: var(--c-accent-dark); }
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid var(--c-border);
  border-radius: var(--r-md); background: var(--c-panel); color: var(--c-text);
}
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-drawer {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 43;
  max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain;
  padding: 16px var(--gutter) 24px; border-bottom: 1px solid var(--c-border);
  background: var(--c-panel); color: var(--c-text);
}
.mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
.mobile-drawer a {
  display: flex; align-items: center; width: 100%; min-height: 44px;
  padding: 12px 16px; border-radius: var(--r-md);
}
.mobile-drawer a:hover { background: var(--c-panel-2); color: var(--c-text); }
.mobile-drawer a[aria-current] { background: var(--c-accent-soft); color: var(--c-accent-dark); }
.mobile-drawer__label { margin: 20px 16px 8px; color: var(--c-muted); font-size: 13px; }
.menu-veil {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 39; border: 0; padding: 0;
  background: var(--c-veil); color: var(--c-text); cursor: default;
}
.footer {
  padding-top: 64px; padding-bottom: 24px; border-top: 1px solid var(--c-border);
  background: var(--c-panel); color: var(--c-text);
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr; gap: 48px; }
.footer__intro { max-width: 28em; color: var(--c-muted); margin: 20px 0 0; font-size: 14px; }
.footer__heading { margin: 0 0 18px; font-size: 14px; font-weight: var(--weight-medium); }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li + li { margin-top: 10px; }
.footer__links a { color: var(--c-muted); font-size: 14px; overflow-wrap: anywhere; }
.footer__links a:hover { color: var(--c-accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--c-border);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  color: var(--c-muted); font-size: 13px;
}
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 24px; }
.hero {
  min-height: calc(100svh - var(--nav-h) - 56px);
  display: grid; align-content: center;
  padding-top: 32px; padding-bottom: 32px; overflow-x: clip;
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr);
  gap: 64px; align-items: center;
}
.hero__copy { padding-left: 4px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px;
  font-size: 13.5px; letter-spacing: .01em; color: var(--c-cobalt);
}
.eyebrow__dot {
  width: 7px; height: 7px; flex-shrink: 0; border-radius: var(--r-circle);
  background: var(--c-cobalt); color: var(--c-cobalt);
  box-shadow: 0 0 0 4px var(--c-cobalt-halo);
}
.hero__title {
  margin: 0; font-family: var(--f-display); font-weight: var(--weight-regular);
  font-size: clamp(34px,3.4vw,48px); line-height: 1.16;
  letter-spacing: -.02em; color: var(--c-text);
}
.hero__title > span { display: block; }
.hero__title .hero__title-sub { color: var(--c-muted); }
.hero__lede { max-width: 31em; margin: 22px 0 0; font-size: 17px; line-height: 1.75; color: var(--c-muted); }
.hero__lede strong { color: var(--c-text); font-weight: var(--weight-medium); }
.platforms { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--c-border); }
.platforms__label { margin: 0 0 12px; font-size: 12.5px; letter-spacing: .06em; color: var(--c-muted); }
.platforms__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 34px; padding: 5px 14px 5px 12px; max-width: 100%;
  border: 1px solid var(--c-border); border-radius: var(--r-pill);
  background: var(--c-panel); color: var(--c-muted); font-size: 13.5px;
  overflow-wrap: anywhere; line-height: 1.6;
}
.chip svg { width: 14px; height: 14px; color: var(--c-text); flex-shrink: 0; }
.chip:hover { border-color: var(--c-border-strong); color: var(--c-text); }
.reveal { opacity: 1; transform: none; }
.reveal-pending .reveal:not(.shown) { opacity: 0; transform: translateY(16px); }
.reveal-pending .reveal {
  transition: opacity var(--motion-reveal) ease, transform var(--motion-reveal) ease;
}
.reveal.shown { opacity: 1; transform: none; }
.decorated { position: relative; overflow-x: clip; }
.decorative-background { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

@media (max-width: 1180px) {
  .hero__grid { gap: 44px; }
}
@media (max-width: 1100px) {
  .mainnav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1101px) {
  .mobile-drawer, .menu-veil { display: none !important; }
}
@media (max-width: 1024px) {
  .hero { min-height: 0; padding-top: 48px; padding-bottom: 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__copy { max-width: 640px; }
  .footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px; }
}
@media (max-width: 860px) {
  :root { --gutter: 20px; --nav-h: 60px; }
  .topbar__inner { gap: 16px; }
  .brand__name { display: none; }
}
@media (max-width: 768px) {
  h1, .hero__title { font-size: clamp(24px,5vw,30px); }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  :root { --space-section: 56px; }
  .hero { padding-top: 36px; padding-bottom: 44px; }
  .hero__title { font-size: clamp(26px,7vw,30px); }
  .hero__lede { font-size: 15.5px; }
  .cta { gap: 20px; }
  .lang__text { display: none; }
  .lang__short { display: inline; }
  .lang { min-height: 40px; padding-inline: 12px; }
  .grid, .grid--two { grid-template-columns: 1fr; }
  .panel { padding: 24px; border-radius: var(--r-lg); }
  .card { padding: 24px; }
  .tilt, [data-tilt] { transform: none !important; }
  .footer__grid { gap: 32px 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal-pending .reveal:not(.shown) { opacity: 1; transform: none; }
}