:root {
  --bg: #FFFFFF;
  --bg-panel: #F6F6F7;
  --bg-panel-2: #EEEEF0;
  --border: #E3E3E6;
  --accent: #EC4E9C;
  --accent-dark: #B8236A;
  --coral: #F4614F;
  --lime: #D8F25C;
  --cyan: #7FD3F0;
  --ink: #111111;
  --dot: #2A2A2E;
  --text: #151515;
  --text-muted: #6B6B72;
  --on-dark: #FFFFFF;
  --on-accent: #FFFFFF;
  --success: #22A861;
  --warn: #D9930F;
  --error: #E0434D;
  --clear: transparent;
  --veil: rgba(21, 21, 21, .25);
  --grad-accent: linear-gradient(90deg, var(--accent) 0%, var(--coral) 100%);
  --grad-accent-v: linear-gradient(180deg, var(--accent), var(--coral) 55%, var(--cyan));
  --shadow-card: 0 1px 2px rgba(21, 21, 21, .05), 0 22px 40px -22px rgba(21, 21, 21, .22);
  --shadow-chip: 0 1px 2px rgba(21, 21, 21, .05);
  --shadow-accent: 0 10px 24px -12px rgba(236, 78, 156, .55);
  --r-card: 20px;
  --r-bubble: 24px;
  --r-panel: 28px;
  --r-field: 10px;
  --r-small: 8px;
  --r-tag: 6px;
  --r-tail: 4px;
  --r-pill: 999px;
  --r-circle: 50%;
  --font-display: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans', 'Yu Gothic UI', 'Malgun Gothic', 'Microsoft YaHei', system-ui, sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans', 'Yu Gothic UI', 'Malgun Gothic', 'Microsoft YaHei', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --size-body: 16px;
  --size-small: 14px;
  --size-caption: 12px;
  --size-h1: clamp(34px, 3.4vw, 48px);
  --size-h2: clamp(26px, 3vw, 36px);
  --size-h3: 24px;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-strong: 600;
  --leading-body: 1.7;
  --leading-heading: 1.15;
  --tracking-heading: -.02em;
  --gutter: 24px;
  --wrap-w: 1200px;
  --reading-w: 800px;
  --header-h: 72px;
  --stage-w: 1280px;
  --stage-h: 788px;
  --space-section: 96px;
  --space-card: 28px;
  --motion-fast: .2s;
  --motion-reveal: .6s;
}
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  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: var(--size-body);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button, input, select, textarea { max-width: 100%; }
button { border: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg, .icon, .status-dot { flex-shrink: 0; }
ul, ol { padding-left: 1.5em; }
p { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-normal);
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-heading);
  text-wrap: balance;
}
h1 { font-size: var(--size-h1); line-height: 1.1; margin: 0; }
h2 { font-size: var(--size-h2); margin: 0 0 24px; }
h3 { font-size: var(--size-h3); margin: 0 0 16px; }
strong { font-weight: var(--weight-strong); }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; font-size: .9em; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 24px;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--r-card);
  font-size: var(--size-small);
  line-height: 1.8;
  tab-size: 2;
}
pre code { overflow-wrap: normal; white-space: pre; font-size: inherit; }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap {
  width: 100%;
  max-width: calc(var(--wrap-w) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading { max-width: calc(var(--reading-w) + var(--gutter) * 2); }
.section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading p, .muted { color: var(--text-muted); }
.prose { min-width: 0; line-height: var(--leading-body); }
.prose :where(p, ul, ol, pre, blockquote, table) { margin-top: 0; margin-bottom: 24px; }
.prose :where(h2, h3) { margin-top: 48px; }
.prose a:not(.btn) { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose li + li { margin-top: 8px; }
.prose > :first-child { margin-top: 0; }
.nowrap { white-space: nowrap; }
.grad {
  background: var(--grad-accent);
  color: var(--clear);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: var(--clear);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid > *, .footer-grid > *, .feature-layout > *, .prose > * { min-width: 0; }
.actions, .cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border: 1px solid var(--clear);
  border-radius: var(--r-pill);
  font-size: var(--size-body);
  font-weight: var(--weight-medium);
  letter-spacing: -.005em;
  line-height: 1.5;
  text-align: center;
  transition: transform var(--motion-fast), box-shadow var(--motion-fast), background-color var(--motion-fast);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-accent); color: var(--on-accent); box-shadow: var(--shadow-accent); }
.btn-primary:hover, .btn-primary.is-hover { transform: translateY(-1px); }
.btn-primary:active, .btn-primary.is-pressed { transform: translateY(0); box-shadow: var(--shadow-chip); }
.btn-ghost { background: var(--bg); color: var(--text); border-color: var(--text); }
.btn-ghost:hover, .btn-ghost.is-hover { background: var(--bg-panel); color: var(--text); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn:disabled, .btn[aria-disabled="true"] {
  background: var(--bg-panel-2);
  color: var(--text-muted);
  box-shadow: none;
  border-color: var(--border);
  cursor: not-allowed;
  transform: none;
}
.btn-small { min-height: 44px; padding: 9px 20px; font-size: var(--size-small); }
.btn.is-focus { outline: 2px solid var(--accent-dark); outline-offset: 4px; }
.surface-card {
  padding: var(--space-card);
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-bubble);
  box-shadow: var(--shadow-card);
  min-width: 0;
}
.panel { padding: 48px; border-radius: var(--r-panel); background: var(--bg-panel); color: var(--text); }
.dark-panel {
  position: relative;
  overflow-x: clip;
  border-radius: var(--r-panel);
  background-color: var(--ink);
  background-image: radial-gradient(var(--dot) 1.2px, var(--clear) 1.5px);
  background-size: 16px 16px;
  color: var(--on-dark);
}
.dark-panel .muted { color: var(--on-dark); }
.reveal { opacity: 1; transform: none; }
.reveal-pending { opacity: 0; transform: translateY(14px); transition: opacity var(--motion-reveal), transform var(--motion-reveal); }
.reveal.shown { opacity: 1; transform: none; }

.topbar, #site-header {
  position: relative;
  z-index: 50;
  background: var(--bg);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  position: relative;
  width: 100%;
  max-width: min(100%, calc(1280px + var(--gutter) * 2));
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 32px; height: 32px; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-size: var(--size-body); font-weight: var(--weight-medium); letter-spacing: -.01em; white-space: nowrap; }
.desktop-nav { height: 100%; margin-left: 56px; min-width: 0; }
.tabs {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  gap: 0;
}
.tabs li { height: 100%; }
.tab {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  font-size: 15px;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--motion-fast);
}
.tab:hover, .tab.is-active { color: var(--text); }
.tab.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--grad-accent);
}
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lang-wrap { position: relative; }
.lang {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--text);
  font-size: var(--size-small);
  white-space: nowrap;
}
.lang:hover { border-color: var(--text); }
.lang svg { width: 16px; height: 16px; }
.lang .caret { color: var(--text-muted); font-size: 11px; }
.lang-short { display: none; }
.lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 180px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.lang-menu a { display: flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: var(--r-field); }
.lang-menu a:hover, .lang-menu a[aria-current] { background: var(--bg-panel); color: var(--text); }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--text);
}
.menu-toggle svg { width: 20px; height: 20px; }
.mobile-drawer { display: none; }
.nav-veil {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 1;
  background: var(--veil);
  color: var(--text);
}
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 64px;
  padding-bottom: 32px;
  background: var(--bg);
  color: var(--text);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.2fr .7fr; gap: 48px; }
.footer-brand p { color: var(--text-muted); margin-top: 20px; max-width: 320px; font-size: var(--size-small); }
.footer-title { font-size: var(--size-small); font-weight: var(--weight-medium); margin: 0 0 20px; }
.footer-links { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; font-size: var(--size-small); color: var(--text-muted); }
.footer-links a { display: inline-block; padding-block: 4px; }
.footer-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: var(--size-caption); color: var(--text-muted); }
.legal-links { display: flex; flex-wrap: wrap; gap: 20px; }

.hero { position: relative; height: var(--stage-h); overflow: hidden; overflow-x: clip; }
.stage { position: absolute; top: 0; left: 50%; width: var(--stage-w); height: var(--stage-h); transform: translateX(-50%); transform-origin: top center; }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wires path { fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wires .ln-grad-top { stroke: url(#gTop); }
.wires .ln-grad-right { stroke: url(#gRight); }
.wires .ln-grad-bottom { stroke: url(#gBottom); }
.wires .ln-cyan { stroke: var(--cyan); }
.wires .ln-lime { stroke: var(--lime); stroke-width: 2; }
.s-a { stop-color: var(--accent); }
.s-b { stop-color: var(--coral); }
.wires .node { fill: var(--ink); }
.stamp { position: absolute; display: flex; align-items: center; gap: 8px; height: 48px; padding: 5px 14px 5px 5px; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-pill); box-shadow: var(--shadow-chip); }
.stamp-disc { width: 36px; height: 36px; border-radius: var(--r-circle); background: var(--cyan); color: var(--ink); display: grid; place-items: center; }
.stamp-disc svg { width: 18px; height: 18px; }
.stamp-label { font-family: var(--font-mono); font-size: 13px; letter-spacing: -.01em; }
.stamp-top { left: 582px; top: 68px; width: 116px; }
.stamp-bottom { left: 576px; top: 688px; width: 128px; }
.hero-copy { position: absolute; left: 340px; top: 196px; width: 600px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-title { margin: 0; font-size: var(--size-h1); font-weight: var(--weight-normal); line-height: 1.08; letter-spacing: -.03em; }
.hero-title .line { display: block; }
.lede { max-width: 560px; margin-top: 24px; font-size: 17px; line-height: 1.65; color: var(--text-muted); }
.lede strong { font-weight: var(--weight-medium); color: var(--text); }
.hero .cta { margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; }
.chips li { min-height: 30px; padding: 4px 13px; display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg); color: var(--text); font-family: var(--font-mono); font-size: var(--size-caption); letter-spacing: .01em; box-shadow: var(--shadow-chip); }
.platforms { display: flex; justify-content: center; flex-wrap: wrap; row-gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.platforms li { display: flex; }
.platforms li + li { border-left: 1px solid var(--border); }
.platforms a { display: flex; align-items: center; gap: 8px; min-height: 24px; padding: 0 16px; font-size: 13px; color: var(--text-muted); }
.platforms a:hover { color: var(--text); }
.platforms svg { width: 15px; height: 15px; }
.deck { position: absolute; inset: 0; pointer-events: none; }
.card { position: absolute; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.cap { display: block; font-size: var(--size-caption); line-height: 1.2; color: var(--text-muted); letter-spacing: .01em; }
.tag { position: absolute; z-index: 2; min-height: 24px; padding: 3px 10px; display: flex; align-items: center; border-radius: var(--r-tag); font-size: var(--size-caption); font-weight: var(--weight-medium); color: var(--ink); }
.tag-lime { background: var(--lime); color: var(--ink); }
.tag-cyan { background: var(--cyan); color: var(--ink); }
.c-sub { left: 24px; top: 40px; width: 296px; height: 174px; padding: 26px 24px 0; border-radius: var(--r-bubble); transform: rotate(-2deg); }
.c-sub::after { content: ""; position: absolute; left: 44px; bottom: -12px; width: 22px; height: 22px; background: var(--bg); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); border-bottom-right-radius: var(--r-tail); transform: rotate(45deg); }
.c-sub .tag { top: -13px; right: 22px; }
.c-title { font-family: var(--font-display); font-size: var(--size-h3); line-height: 1.25; letter-spacing: -.02em; }
.field-label { display: block; margin-top: 18px; font-size: var(--size-caption); color: var(--text-muted); }
.field { display: flex; align-items: center; gap: 2px; height: 42px; margin-top: 7px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--r-field); background: var(--bg-panel); color: var(--text); }
.field .mono { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }
.caret-bar { width: 1.5px; height: 16px; background: var(--accent); }
.c-update { left: 960px; top: 70px; width: 300px; height: 112px; padding: 14px 12px 0; transform: rotate(2.5deg); }
.c-update .cap { padding-left: 6px; }
.menu-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; height: 26px; padding: 0 8px; font-size: 13px; color: var(--text-muted); }
.menu-row.is-hover { height: 34px; margin-top: 2px; background: var(--bg-panel); color: var(--text); border-radius: var(--r-field); font-size: var(--size-small); }
.menu-row svg { width: 16px; height: 16px; }
.ico-gap { width: 16px; flex-shrink: 0; }
.c-route { left: 40px; top: 298px; width: 262px; height: 182px; overflow: hidden; transform: rotate(1.5deg); }
.chrome { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--border); background: var(--bg-panel); color: var(--text-muted); }
.chrome i { width: 8px; height: 8px; flex-shrink: 0; border-radius: var(--r-circle); background: var(--bg-panel-2); border: 1px solid var(--border); }
.chrome span { margin-left: 8px; font-size: var(--size-caption); }
.route-body { padding: 12px 16px; }
.radio { display: flex; align-items: center; gap: 10px; height: 24px; margin-bottom: 4px; font-size: 13px; color: var(--text-muted); }
.radio::before { content: ""; width: 14px; height: 14px; border-radius: var(--r-circle); border: 1px solid var(--border); background: var(--bg); flex-shrink: 0; }
.radio.is-on { color: var(--text); }
.radio.is-on::before { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 3px var(--bg); }
.rule { margin-top: 8px; height: 26px; padding: 0 10px; display: flex; align-items: center; border-radius: var(--r-small); background: var(--bg-panel); color: var(--text); font-family: var(--font-mono); font-size: 11.5px; white-space: nowrap; }
.rule em { font-style: normal; color: var(--text-muted); margin: 0 6px; }
.c-proxy { left: 1000px; top: 318px; width: 260px; height: 86px; padding: 0 20px; display: flex; align-items: center; gap: 14px; transform: rotate(-2deg); }
.check { width: 30px; height: 30px; border-radius: var(--r-circle); background: var(--success); color: var(--on-dark); display: grid; place-items: center; flex-shrink: 0; }
.check svg { width: 16px; height: 16px; }
.c-proxy .main { display: block; margin-top: 5px; font-size: 18px; line-height: 1.2; letter-spacing: -.015em; }
.c-core { left: 28px; top: 570px; width: 274px; height: 108px; padding: 22px 18px 0; transform: rotate(-1.5deg); }
.c-core .tag { top: -12px; left: 18px; }
.select { display: flex; align-items: center; justify-content: space-between; height: 42px; margin-top: 8px; padding: 0 12px 0 14px; border: 1px solid var(--border); border-radius: var(--r-field); background: var(--bg); color: var(--text); font-size: 15px; }
.select svg { width: 16px; height: 16px; color: var(--text-muted); }
.c-tun { left: 950px; top: 558px; width: 280px; height: 92px; padding: 0 20px 0 22px; display: flex; align-items: center; justify-content: space-between; transform: rotate(1deg); }
.c-tun .main { display: block; font-size: 18px; line-height: 1.2; letter-spacing: -.015em; }
.c-tun .cap { margin-top: 6px; }
.switch { position: relative; width: 46px; height: 26px; border-radius: var(--r-pill); background: var(--ink); flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: var(--r-circle); background: var(--bg); }
.next { max-width: var(--stage-w); margin: 0 auto; padding: 0 24px 80px; }
.next-panel { min-height: 420px; padding: 72px 64px; }
.next-panel .tag { position: static; display: inline-flex; }
.next-panel h2 { margin: 20px 0 0; }
@media (max-width: 1279px) and (min-width: 1101px) {
  .stage { transform: translateX(-50%) scale(.86); }
  .hero { height: 690px; }
  .desktop-nav { margin-left: 24px; }
  .tab { padding-inline: 12px; }
}
@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: flex; }
  .mobile-drawer {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 3;
    display: block;
    padding: 16px var(--gutter) 24px;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--bg);
    color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .mobile-drawer ul { list-style: none; padding: 0; margin: 0; }
  .mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 12px 16px; border-radius: var(--r-field); }
  .mobile-drawer a[aria-current], .mobile-drawer a:hover { background: var(--bg-panel); color: var(--text); }
  .drawer-languages { margin-top: 16px !important; padding-top: 16px !important; border-top: 1px solid var(--border); }
  .hero { height: auto; overflow: visible; overflow-x: clip; padding: 40px 20px 56px; }
  .stage { position: static; width: auto; height: auto; transform: none; display: flex; flex-direction: column; align-items: center; }
  .wires, .stamp, .c-update, .c-route, .c-core { display: none; }
  .hero-copy { display: contents; }
  .hero-title { order: 1; text-align: center; font-size: clamp(26px, 7.4vw, 30px); }
  .lede { order: 2; font-size: 15px; text-align: center; }
  .hero .cta { order: 3; justify-content: center; }
  .deck { order: 4; position: relative; inset: auto; display: flex; flex-direction: column; gap: 22px; width: 100%; max-width: 380px; margin: 40px 0 12px; }
  .deck::before { content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 1.5px; background: var(--grad-accent-v); }
  .deck .card { position: relative; left: auto; top: auto; z-index: 1; width: 84%; height: auto; }
  .c-sub { align-self: flex-start; padding: 24px 20px 22px; }
  .c-proxy { align-self: flex-end; padding: 18px; }
  .c-tun { align-self: flex-start; padding: 18px 18px 18px 20px; }
  .chips { order: 5; }
  .platforms { order: 6; }
  .platforms a { padding-inline: 12px; }
  .next { padding: 0 16px 56px; }
  .next-panel { padding: 48px 28px; }
  .next-panel h2 { font-size: 26px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  h1 { font-size: clamp(24px, 6vw, 30px); }
  :root { --space-section: 64px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --space-card: 22px; }
  :where(h1, h2) .nowrap { white-space: normal; overflow-wrap: anywhere; }
  .grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .brand { gap: 8px; }
  .brand-name { font-size: var(--size-caption); }
  .brand-mark { width: 28px; height: 28px; }
  .lang { padding-inline: 10px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .lang svg { display: none; }
  .header-tools { gap: 6px; margin-left: auto; }
  .panel { padding: 28px 22px; }
  .deck .card, .tilt, [data-tilt] { transform: none; }
  .hero-title { letter-spacing: -.02em; line-height: 1.1; }
  .hero-title .line { white-space: nowrap; }
  .hero .btn { padding-inline: 22px; }
  .footer-grid { gap: 32px; }
  .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 { opacity: 1; transform: none; }
}