:root {
  --bg: #F3F3F3;
  --panel: #FFFFFF;
  --panel-2: #E9E9EB;
  --border: #DCDCE0;
  --accent: #4B47C9;
  --accent-dark: #35319A;
  --text: #1E1E24;
  --text-muted: #65656F;
  --success: #1E9E78;
  --warn: #D9841F;
  --error: #D6435A;
  --lake: #2FB5AE;
  --apricot: #FF9152;
  --on-accent: #FFFFFF;
  --lake-ink: #15827B;
  --lake-night: #0B4744;
  --apricot-ink: #B5541B;
  --apricot-night: #5E2706;
  --sky-top: #CDEBFA;
  --sky-bottom: #DDF5F2;
  --cloud: #FFFFFF;
  --cloud-haze: rgba(255, 255, 255, .42);
  --ridge-far: #C3E7EA;
  --ridge-mid: #A8DDD8;
  --valley: #C3F1EC;
  --slope: #92D8D0;
  --hill: #63C2B8;
  --hill-hi: #7CCFC6;
  --river: #E4FAF8;
  --river-bank: #47B4AA;
  --bush: #0F9A92;
  --cat: #FFFFFF;
  --cat-shade: #A6E1DC;
  --cat-line: #2B4846;
  --node-sky: #CBE4FA;
  --bar: rgba(255, 255, 255, .66);
  --bar-line: rgba(255, 255, 255, .85);
  --glass: rgba(255, 255, 255, .62);
  --glass-line: rgba(255, 255, 255, .9);
  --term-bg: rgba(255, 255, 255, .86);
  --term-bar: rgba(233, 233, 235, .72);
  --veil: rgba(255, 255, 255, .74);
  --veil-mid: rgba(255, 255, 255, .36);
  --hover-tint: rgba(75, 71, 201, .08);
  --active-tint: rgba(75, 71, 201, .11);
  --focus-ring: rgba(75, 71, 201, .45);
  --shade: rgba(30, 30, 36, .24);
  --clear: transparent;
  --feature-purple: #DDDCF8;
  --feature-purple-soft: #EEEDFC;
  --feature-lake: #BCE8E3;
  --feature-lake-soft: #E1F4F1;
  --feature-apricot: #FFD3BA;
  --feature-apricot-soft: #FFEBDF;
  --shadow-float: 0 22px 44px -28px rgba(30, 30, 36, .32);
  --shadow-menu: 0 18px 40px -24px rgba(30, 30, 36, .28);
  --shadow-fab: 0 12px 30px -16px rgba(53, 49, 154, .42);
  --font-display: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --weight-title: 400;
  --weight-body: 400;
  --weight-medium: 500;
  --weight-strong: 600;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-pill: 999px;
  --r-circle: 50%;
  --gutter: 28px;
  --hero-gutter: max(28px, calc(50% - 664px));
  --bar-h: 72px;
  --reading-width: 1120px;
  --header-width: 1328px;
  --ease: cubic-bezier(.2, .65, .3, 1);
  --duration: .2s;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 24px); }
html, body { margin: 0; }
html.nav-open { overflow: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--weight-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: var(--clear); }
button { cursor: pointer; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}
[hidden] { display: none !important; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-title);
  line-height: 1.3;
  letter-spacing: .01em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { color: var(--accent); font-size: clamp(34px, 3.4vw, 48px); line-height: 1.24; }
h2 { font-size: clamp(26px, 2.8vw, 36px); }
h3 { font-size: 23px; }
p { margin-block: 0 1.2em; }
strong { font-weight: var(--weight-strong); }
code, pre, kbd { font-family: var(--font-mono); }
code { font-size: .9em; overflow-wrap: anywhere; }
pre {
  max-width: 100%;
  margin-block: 24px;
  padding: 24px;
  overflow-x: auto;
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  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(--border); margin-block: 32px; }
:where(.grid, .card-grid, .footer-grid, .feature-book, .article-layout) > * { min-width: 0; }
:where(main, section, article, aside, .prose, .panel, .card) { min-width: 0; }
.wrap {
  width: 100%;
  max-width: calc(var(--reading-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-top: 88px; padding-bottom: 88px; }
.page-main { padding-top: calc(var(--bar-h) + 56px); padding-bottom: 88px; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 { margin-top: 0; margin-bottom: 16px; }
.muted, .section-head p { color: var(--text-muted); }
.accent { color: var(--accent); }
.keep { white-space: nowrap; }
.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: fixed;
  top: 8px;
  left: var(--gutter);
  z-index: 100;
  padding: 12px 20px;
  background: var(--panel);
  color: var(--accent);
  border-radius: var(--r-pill);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.panel, .card {
  padding: 32px;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.panel-secondary { background: var(--panel-2); color: var(--text); }
.card h3 { margin-top: 0; margin-bottom: 16px; }
.card p:last-child, .panel p:last-child { margin-bottom: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.prose { max-width: 800px; }
.prose h2 { margin-top: 64px; margin-bottom: 24px; }
.prose h3 { margin-top: 36px; margin-bottom: 16px; }
.prose p, .prose li { line-height: 1.85; }
.prose :where(ul, ol) { padding-left: 1.5em; }
.prose li + li { margin-top: 10px; }
.prose :where(h2, h3, section) { scroll-margin-top: calc(var(--bar-h) + 24px); }
.decorated, .hero, .river-steps { position: relative; overflow-x: clip; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 28px;
  border: 2px solid var(--accent);
  border-radius: var(--r-pill);
  background: var(--clear);
  color: var(--accent);
  font: inherit;
  font-size: 16px;
  letter-spacing: .02em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--duration), border-color var(--duration), color var(--duration), transform var(--duration);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover, .btn-primary.is-hover {
  background: var(--accent-dark);
  color: var(--on-accent);
  border-color: var(--accent-dark);
}
.btn-ghost { background: var(--glass); color: var(--accent); }
.btn-ghost:hover, .btn-ghost.is-hover { background: var(--panel); color: var(--accent-dark); }
.btn:active, .btn.is-pressed { transform: translateY(1px); }
.btn.is-focused { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] {
  background: var(--panel-2);
  color: var(--text-muted);
  border-color: var(--border);
  cursor: not-allowed;
  transform: none;
}
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--bar-h);
  background: var(--bar);
  color: var(--text);
  border-bottom: 1px solid var(--bar-line);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
}
.topbar-in {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: min(100%, calc(var(--header-width) + var(--gutter) * 2));
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: var(--weight-medium);
  letter-spacing: .01em;
  text-decoration: none;
}
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.nav { min-width: 0; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 15px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--clear);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--duration), color var(--duration);
}
.nav-link:hover { background: var(--hover-tint); color: var(--accent); }
.nav-link[aria-current="page"], .nav-link.is-current {
  background: var(--active-tint);
  color: var(--accent);
}
.nav-caret { width: 10px; height: 10px; flex-shrink: 0; transition: transform var(--duration); }
.nav-more, .language-picker { position: relative; }
.more-menu, .language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-menu);
}
.more-menu a, .language-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
}
.more-menu a:hover, .language-menu a:hover, .language-menu a[aria-current] {
  background: var(--hover-tint);
  color: var(--accent);
}
.more-menu a[aria-current="page"] { background: var(--active-tint); color: var(--accent); }
.more-hint { color: var(--text-muted); font-size: 12px; }
[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.header-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  white-space: nowrap;
}
.lang:hover { border-color: var(--accent); }
.lang svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-muted); }
.lang-short { display: none; }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--panel);
  color: var(--accent);
}
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-drawer {
  position: absolute;
  top: var(--bar-h);
  right: 0;
  left: 0;
  z-index: 2;
  max-height: calc(100dvh - var(--bar-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px var(--gutter) 28px;
  background: var(--panel);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-drawer ul { margin: 0; padding: 0; list-style: none; }
.mobile-drawer a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  color: var(--text);
  text-decoration: none;
}
.mobile-drawer a:hover, .mobile-drawer a[aria-current] {
  background: var(--active-tint);
  color: var(--accent);
}
.drawer-label { margin: 20px 16px 8px; color: var(--text-muted); font-size: 13px; }
.nav-veil {
  position: fixed;
  inset: var(--bar-h) 0 0;
  z-index: 40;
  border: 0;
  background: var(--shade);
  color: var(--text);
}
.static-drop > summary { list-style: none; cursor: pointer; }
.static-drop > summary::-webkit-details-marker { display: none; }
.preview-mobile { display: none; }

.site-footer {
  padding-top: 64px;
  padding-bottom: 96px;
  background: var(--panel-2);
  color: var(--text);
  border-top: 1px solid var(--border);
}
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1.2fr .8fr; gap: 40px; }
.footer-brand p { margin-top: 20px; max-width: 300px; color: var(--text-muted); }
.footer-heading { margin: 0 0 18px; font-size: 16px; font-weight: var(--weight-strong); }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--text-muted); }

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: calc(var(--bar-h) + 24px) var(--hero-gutter) 22vh;
  isolation: isolate;
  background: var(--sky-bottom);
  color: var(--text);
  overflow: hidden;
}
.hero-visual { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.scene { display: block; position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.hero-copy { position: relative; max-width: 760px; display: grid; justify-items: center; text-align: center; }
.hero-copy::before {
  content: "";
  position: absolute;
  inset: -96px -170px -80px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(closest-side, var(--veil) 0%, var(--veil-mid) 58%, var(--clear) 100%);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  padding: 5px 15px 5px 13px;
  border: 1px solid var(--glass-line);
  border-radius: var(--r-pill);
  background: var(--glass);
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: .04em;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: var(--r-circle); background: var(--lake); flex-shrink: 0; }
.hero-title {
  margin: 20px 0 0;
  font-size: clamp(28px, calc(2.2vw + 16px), 48px);
  font-weight: var(--weight-title);
  line-height: 1.24;
  letter-spacing: .01em;
  color: var(--accent);
}
.ttl-line { display: block; }
.ttl-em { color: var(--lake-ink); }
.hero-sub { margin: 20px 0 0; max-width: 560px; color: var(--text-muted); font-size: 17px; line-height: 1.75; }
.hero-sub strong { color: var(--text); }
.hero-sub code { font-size: .92em; }
.plat-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.plat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--panel);
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}
.plat svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent-dark); }
.plat:hover { border-color: var(--accent); color: var(--accent); }
.term {
  position: absolute;
  left: var(--hero-gutter);
  top: calc(var(--bar-h) + 11vh);
  width: 306px;
  max-width: 100%;
  margin: 0;
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  background: var(--term-bg);
  color: var(--text);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--term-bar);
  color: var(--text-muted);
}
.term-dot { width: 10px; height: 10px; flex-shrink: 0; border-radius: var(--r-circle); }
.d-r { background: var(--error); }
.d-y { background: var(--warn); }
.d-g { background: var(--success); }
.term-title { margin-left: 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .01em; }
.term-code { margin: 0; border: 0; border-radius: 0; padding: 14px 18px 16px; background: var(--clear); color: var(--text); font-family: var(--font-mono); font-size: 12px; line-height: 1.8; }
.term-code code { font-size: inherit; }
.ln { display: block; white-space: pre; animation: ln-in .5s ease-out both; }
.ln:nth-child(1) { animation-delay: .1s; }
.ln:nth-child(2) { animation-delay: .2s; }
.ln:nth-child(3) { animation-delay: .3s; }
.ln:nth-child(4) { animation-delay: .4s; }
.ln:nth-child(5) { animation-delay: .5s; }
.ln:nth-child(6) { animation-delay: .6s; }
.tk-c, .tk-v { color: var(--text-muted); }
.tk-k { color: var(--accent-dark); }
.tk-px { color: var(--accent); }
.tk-dr { color: var(--lake-ink); }
.tk-rj { color: var(--apricot-ink); }
@keyframes ln-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.sk-a { stop-color: var(--sky-top); }
.sk-b { stop-color: var(--sky-bottom); }
.f-haze { fill: var(--cloud-haze); }
.f-cloud { fill: var(--cloud); }
.f-rfar { fill: var(--ridge-far); }
.f-rmid { fill: var(--ridge-mid); }
.f-valley { fill: var(--valley); }
.f-slope { fill: var(--slope); }
.f-hill { fill: var(--hill); }
.f-hill-hi { fill: var(--hill-hi); }
.f-bush { fill: var(--bush); }
.f-wave { fill: var(--bg); }
.s-bank { fill: none; stroke: var(--river-bank); stroke-linecap: round; }
.s-river { fill: none; stroke: var(--river); stroke-linecap: round; }
.n-proxy { fill: var(--accent); }
.n-direct { fill: var(--lake); }
.n-reject { fill: var(--apricot); }
.n-match { fill: var(--node-sky); }
.t-node { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .01em; text-anchor: middle; dominant-baseline: central; }
.t-on-accent { fill: var(--on-accent); }
.t-on-lake { fill: var(--lake-night); }
.t-on-apricot { fill: var(--apricot-night); }
.t-on-sky { fill: var(--accent-dark); }
.s-dash { fill: none; stroke: var(--cloud); stroke-width: 2.5; stroke-dasharray: 7 7; stroke-linecap: round; }
.mk { fill: none; stroke: var(--cloud); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.f-cat { fill: var(--cat); }
.f-cat-shade { fill: var(--cat-shade); }
.s-cat-line { fill: none; stroke: var(--cat-line); stroke-width: 2; stroke-linecap: round; }
.s-cat-thin { fill: none; stroke: var(--cat-line); stroke-width: 1.4; stroke-linecap: round; }
.f-nose { fill: var(--apricot); }
.f-blush { fill: var(--apricot); opacity: .32; }
.drift { animation: drift 46s ease-in-out infinite alternate; }
.drift-2 { animation-duration: 58s; animation-delay: -12s; }
.drift-3 { animation-duration: 38s; animation-delay: -20s; }
.drift-4 { animation-duration: 52s; animation-delay: -6s; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(44px); } }
.peek { padding: 40px var(--hero-gutter) 104px; background: var(--bg); color: var(--text); text-align: center; }
.peek h2 { margin: 0; font-size: 30px; }
.peek h2 span { color: var(--accent); }
.peek p { margin: 14px auto 0; max-width: 560px; color: var(--text-muted); }
.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(16px); }
html.reveal-ready .reveal { transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.shown { opacity: 1; transform: none; }

@media (min-width: 1600px) {
  .hero { padding-bottom: 16vh; }
}
@media (max-width: 1180px) {
  .term { position: relative; left: auto; top: auto; margin: 40px auto 0; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-mobile { display: block; }
  .preview-mobile > summary { display: inline-flex; list-style: none; }
  .preview-mobile > summary::-webkit-details-marker { display: none; }
  .preview-mobile .mobile-drawer { top: var(--bar-h); }
}
@media (min-width: 1081px) {
  .mobile-drawer, .nav-veil { display: none !important; }
}
@media (max-width: 860px) {
  .hero { padding-bottom: 18vh; }
  .hero-sub { font-size: 16px; }
  .term { display: none; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  h1, .hero-title { font-size: clamp(24px, 4.5vw, 30px); }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .page-main { padding-top: calc(var(--bar-h) + 36px); }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --hero-gutter: 20px; }
  .topbar-in { gap: 10px; }
  .brand { gap: 8px; font-size: 16px; }
  .brand-mark { width: 30px; height: 30px; }
  .lang { padding-inline: 10px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .header-tools { gap: 6px; margin-left: auto; }
  .panel, .card { padding: 24px; }
  .card-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { gap: 28px; }
  .hero { padding-top: calc(var(--bar-h) + 36px); padding-bottom: 18vh; }
  .hero-copy::before { inset: -60px -20px; }
  .hero-title { margin-top: 18px; }
  .hero-sub { margin-top: 16px; }
  .cta-row { gap: 10px; margin-top: 24px; }
  .btn { padding-inline: 20px; }
  .plat-row { gap: 7px; margin-top: 24px; }
  .plat { font-size: 12px; padding-inline: 10px; gap: 6px; }
  .peek { padding-top: 32px; padding-bottom: 64px; }
  .peek h2 { font-size: 26px; }
  .tilt, [data-tilt] { transform: none !important; }
  pre { padding: 18px; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; --hero-gutter: 16px; }
  .brand { font-size: 14px; gap: 6px; }
  .brand-mark { width: 28px; height: 28px; }
  .lang { gap: 4px; padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.reveal-ready .reveal:not(.shown) { opacity: 1; transform: none; }
}