:root {
  --bg: #f0f6fd;
  --bg-end: #f7fbff;
  --panel: #ffffff;
  --panel-2: #e4eefa;
  --border: #d5e1ee;
  --border-strong: #c3d2e3;
  --accent: #c2349f;
  --accent-dark: #8c1f72;
  --text: #0e1319;
  --text-muted: #5d6a7a;
  --text-soft: #8f99a6;
  --success: #1d8f66;
  --warn: #d27416;
  --error: #d23a2e;
  --ink: #0e1319;
  --ink-hover: #26303c;
  --on-ink: #ffffff;
  --tint-direct: #d6eafb;
  --tint-proxy: #f7e0f0;
  --tint-reject: #fde4d8;
  --proxy-hi: #eea5da;
  --proxy: #c2349f;
  --proxy-deep: #8c1f72;
  --direct-hi: #9fd3f3;
  --direct: #3a95d3;
  --direct-deep: #21639a;
  --reject-hi: #f8b391;
  --reject: #e97a4b;
  --reject-deep: #b9532a;
  --glass-1: #ffffff;
  --glass-2: #dbe9f8;
  --glass-3: #bfd4ec;
  --glass-side-1: #b6cae1;
  --glass-side-2: #8ea8c6;
  --beam-edge: #b8c8dc;
  --shadow-ink: #1b3150;
  --veil: rgba(255, 255, 255, .72);
  --scrim: rgba(27, 49, 80, .2);
  --clear: transparent;
  --shadow-float: 0 0 0 1px rgba(14, 19, 25, .06), 0 24px 48px -16px rgba(27, 49, 80, .16);
  --shadow-press: 0 0 0 1px rgba(14, 19, 25, .10), 0 10px 22px -12px rgba(27, 49, 80, .45);
  --focus-ring: 0 0 0 3px rgba(194, 52, 159, .28);
  --radius-card: 6px;
  --radius-btn: 4px;
  --radius-mark: 8px;
  --radius-shot: 10px;
  --radius-pill: 999px;
  --radius-dot: 50%;
  --font-display: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --track-display: -.025em;
  --track-cjk: -.02em;
  --track-label: .08em;
  --container: 1440px;
  --reading: 820px;
  --header-content: 1320px;
  --gutter: 56px;
  --section-space: 140px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --duration-fast: .2s;
  --duration-reveal: .65s;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--panel);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: var(--clear); }
button { color: var(--text); }
img, svg { max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 4px; }
::selection { color: var(--text); background: var(--tint-proxy); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--track-cjk);
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 3.2vw, 48px); }
h2 { font-size: clamp(26px, 2.5vw, 34px); }
h3 { font-size: 22px; }
p { margin-top: 0; }
ul, ol { padding-inline-start: 1.5em; }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; font-size: .88em; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: var(--space-6);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  line-height: 1.85;
  tab-size: 2;
}
pre code { overflow-wrap: normal; white-space: pre; font-size: 13px; }
hr { border: 0; border-top: 1px solid var(--border); margin-block: var(--space-8); }
section, article, aside, main, nav, .grid > *, .hero__grid > *, .footer-grid > * { min-width: 0; }
[id] { scroll-margin-top: 100px; }
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading { max-width: calc(var(--reading) + var(--gutter) * 2); }
.section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.section--blue { color: var(--text); background: var(--bg); }
.section--white { color: var(--text); background: var(--panel); }
.section-head { max-width: 720px; margin-bottom: var(--space-14); }
.section-head h2 { margin: var(--space-4) 0 var(--space-4); }
.section-head p { color: var(--text-muted); font-size: 17px; }
.nowrap { white-space: nowrap; }
.muted { color: var(--text-muted); }
.accent { color: var(--accent-dark); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.eyebrow, .engineering-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--text-muted);
}
.eyebrow__mark { width: 6px; height: 6px; flex-shrink: 0; background: var(--accent); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  max-width: 100%;
  padding: 11px 22px;
  border: 1px solid var(--clear);
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
  transition: background-color var(--duration-fast), border-color var(--duration-fast), transform var(--duration-fast);
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn--ink { color: var(--on-ink); background: var(--ink); box-shadow: var(--shadow-press); }
.btn--ink:hover, .btn--ink.is-hover { color: var(--on-ink); background: var(--ink-hover); transform: translateY(-1px); }
.btn--ghost { color: var(--text); background: var(--panel-2); border-color: var(--border); }
.btn--ghost:hover { color: var(--text); background: var(--panel); border-color: var(--border-strong); }
.btn--outline { color: var(--accent-dark); background: var(--panel); border-color: var(--accent); }
.btn:active, .btn.is-active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; color: var(--text-muted); background: var(--panel-2); border-color: var(--border); box-shadow: none; transform: none; }
.btn.is-focus { box-shadow: var(--focus-ring); }
.btn__arrow { font-family: var(--font-mono); color: var(--text-muted); }
.text-link { color: var(--accent-dark); text-decoration: underline; text-underline-offset: .22em; }

#site-header { position: relative; z-index: 40; min-height: 76px; margin-bottom: -76px; }
#site-header[data-active="blog"] { margin-bottom: 0; }
.topbar { position: absolute; inset: 16px 0 auto; z-index: 40; }
.header-wrap {
  width: 100%;
  max-width: min(100%, calc(var(--header-content) + var(--gutter) * 2));
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.topbar__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 60px;
  padding: 0 20px 0 16px;
  color: var(--text);
  background: var(--panel);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-float);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.01em;
}
.brand__mark { display: block; width: 32px; height: 32px; flex-shrink: 0; border-radius: var(--radius-mark); }
.brand__mark--placeholder {
  background: var(--panel);
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 0 0 3px var(--panel), inset 0 0 0 4px var(--tint-direct);
}
.topnav { min-width: 0; margin-left: auto; }
.topnav__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}
.topnav__link { display: block; padding-block: 10px; white-space: nowrap; font-size: 15px; font-weight: 500; color: var(--text-muted); }
.topnav__link:hover, .topnav__link[aria-current="page"] { color: var(--text); }
.topnav__link[aria-current="page"] { font-weight: 600; }
.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: 34px;
  padding: 5px 12px;
  white-space: nowrap;
  font-size: 14px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--panel);
}
.lang__caret { color: var(--text-muted); font-size: 11px; }
.lang__short { display: none; }
.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 180px;
  padding: 8px;
  list-style: none;
  margin: 0;
  color: var(--text);
  background: var(--panel);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-float);
  z-index: 4;
}
.language-menu a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: var(--radius-btn); }
.language-menu a:hover, .language-menu a[aria-current="true"] { color: var(--accent-dark); background: var(--tint-proxy); }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
}
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.mobile-drawer { display: none; }
.nav-veil { position: fixed; inset: 0; z-index: -1; background: var(--scrim); color: var(--text); }
.hero {
  position: relative;
  padding-top: 92px;
  padding-bottom: 42px;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg), var(--bg-end));
  overflow-x: clip;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); gap: 48px; align-items: center; min-height: 620px; }
.device { position: relative; z-index: 1; margin: -24px 0 0 -8px; min-width: 0; }
.device__svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero__copy { position: relative; z-index: 2; padding-bottom: 36px; }
.hero__title { margin: 20px 0 22px; font-size: clamp(34px, 3.2vw, 46px); line-height: 1.14; letter-spacing: var(--track-cjk); }
.hero__title-a, .hero__title-b { display: block; }
.hero__title-a { color: var(--text); }
.hero__title-b { color: var(--text-soft); }
.hero__lede { margin: 0; max-width: 33em; font-size: 17px; line-height: 1.78; color: var(--text-muted); }
.hero__lede strong { font-weight: 600; color: var(--text); background: linear-gradient(180deg, var(--clear) 62%, var(--tint-proxy) 62%); }
.grid { display: grid; gap: var(--space-5); }
.grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .panel {
  min-width: 0;
  padding: var(--space-6);
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.panel--float { box-shadow: var(--shadow-float); border-color: var(--clear); }
.card--direct { color: var(--text); background: var(--tint-direct); border-color: var(--clear); }
.card--proxy { color: var(--text); background: var(--tint-proxy); border-color: var(--clear); }
.card--reject { color: var(--text); background: var(--tint-reject); border-color: var(--clear); }
.card h3 { margin: 24px 0 12px; }
.card p:last-child, .panel p:last-child { margin-bottom: 0; }
.card__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: var(--track-label); text-transform: uppercase; }
.prose { min-width: 0; font-size: 17px; line-height: 1.85; }
.prose h2 { margin-top: 2.8em; margin-bottom: .8em; }
.prose h3 { margin-top: 2em; }
.prose a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: .2em; }
.prose p, .prose li { overflow-wrap: break-word; }
.prose div, .article-body div { min-width: 0; max-width: 100%; }
.prose :not(pre) > code { color: var(--accent-dark); background: var(--bg); border-radius: var(--radius-btn); padding: .1em .25em; }
.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(18px); }
.reveal-ready .reveal { transition: opacity var(--duration-reveal) var(--ease), transform var(--duration-reveal) var(--ease); }
.reveal-ready .reveal.shown { opacity: 1; transform: none; }

.site-footer { padding-top: 80px; padding-bottom: 32px; color: var(--text); background: var(--bg); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1.25fr; gap: 56px; }
.footer-brand .brand { white-space: normal; }
.footer-brand p { margin-top: 20px; max-width: 34em; font-size: 14px; color: var(--text-muted); }
.footer-title { margin: 0 0 20px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.footer-links a, .footer-languages a { font-size: 14px; color: var(--text-muted); }
.footer-links a:hover, .footer-languages a:hover { color: var(--accent-dark); }
.footer-languages { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 40px; }
.footer-languages a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-languages a[aria-current="true"] { color: var(--text); font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 20px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-trademark { flex-basis: 100%; margin: 0; }

@media (max-width: 1024px) {
  .topnav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .mobile-drawer:not([hidden]) {
    display: block;
    position: absolute;
    inset: 72px 0 auto;
    padding: 16px;
    max-height: calc(100dvh - 104px);
    overflow-y: auto;
    overscroll-behavior: contain;
    color: var(--text);
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-float);
    z-index: 3;
  }
  .mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
  .mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 12px 16px; color: var(--text); border-radius: var(--radius-btn); }
  .mobile-drawer a:hover, .mobile-drawer a[aria-current] { color: var(--accent-dark); background: var(--tint-proxy); }
  .mobile-drawer__languages { border-top: 1px solid var(--border); margin-top: 12px; padding-top: 12px; }
}
@media (max-width: 1180px) {
  :root { --gutter: 32px; }
}
@media (max-width: 1024px) {
  .hero { padding-top: 104px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; min-height: 0; }
  .hero__copy { order: 1; padding-bottom: 0; max-width: 680px; }
  .device { order: 2; margin: 0; max-width: 780px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  h1, .hero__title { font-size: clamp(24px, 5.2vw, 30px); }
  .grid--three { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .topbar__bar { gap: 8px; padding: 0 10px; }
  .brand { gap: 8px; font-size: 13px; }
  .brand__name { max-width: 150px; line-height: 1.35; }
  .brand__mark { width: 28px; height: 28px; }
  .header-tools { margin-left: auto; gap: 6px; }
  .lang { min-height: 44px; padding-inline: 10px; }
  .lang__full { display: none; }
  .lang__short { display: inline; }
  .hero { padding-top: 112px; }
  .hero__grid { gap: 32px; }
  .hero__lede { font-size: 16px; }
  .hero__title { margin-top: 16px; margin-bottom: 18px; }
  .hero .cta-row { margin-top: 24px; }
  .grid--two, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }
  .tilt, [data-tilt] { transform: none !important; }
  .card, .panel { padding: 20px; }
  .section-head { margin-bottom: 32px; }
  .site-footer { padding-top: 56px; }
  .footer-bottom { flex-direction: column; }
  pre { padding: 16px; }
}
@media (max-width: 359px) {
  .brand__name { max-width: 116px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
}