:root {
  --bg: #FAF9F7;
  --bg-panel: #FFFFFF;
  --bg-panel-2: #F3F2EF;
  --border: #E4E3DF;
  --border-strong: #D2D1CC;
  --accent: #1313C4;
  --accent-dark: #0B0B8A;
  --text: #141413;
  --text-hover: #2C2C2A;
  --text-muted: #6E6D68;
  --text-faint: #8E8D87;
  --text-ghost: #BAB9B3;
  --success: #1E8A4C;
  --warn: #B7791F;
  --error: #C53030;
  --on-dark: #FFFFFF;
  --marker-muted: #D6D5D0;
  --term-bg: #141413;
  --term-bar: #1C1C1B;
  --term-edge: #2E2E2C;
  --term-fg: #E7E6E1;
  --term-out: #B3B2AC;
  --term-dim: #85847F;
  --clear: transparent;
  --font-display: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans", "Yu Gothic", "Apple SD Gothic Neo", "Malgun Gothic", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --radius-2xs: 3px;
  --radius-xs: 4px;
  --radius-sm: 5px;
  --radius-toggle: 9px;
  --radius-round: 50%;
  --shadow-back: 0 1px 2px rgba(20, 20, 19, 0.05), 0 12px 30px -10px rgba(20, 20, 19, 0.12);
  --shadow-front: 0 1px 3px rgba(20, 20, 19, 0.06), 0 6px 14px -6px rgba(20, 20, 19, 0.08), 0 26px 56px -16px rgba(20, 20, 19, 0.22);
  --shadow-knob: 0 1px 2px rgba(20, 20, 19, 0.25);
  --gutter: 32px;
  --content-width: 1120px;
  --reading-width: 760px;
  --header-width: 1280px;
  --head-h: 64px;
  --peek-h: 48px;
  --space-section: 112px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --duration-fast: 0.15s;
  --duration-reveal: 0.6s;
  --size-body: 16px;
  --size-small: 14px;
  --size-h1: clamp(34px, 3.4vw, 48px);
  --size-h2: clamp(26px, 2.5vw, 36px);
  --size-h3: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
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;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; vertical-align: middle; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-2xs);
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-wrap: balance;
  overflow-wrap: normal;
}
h1 { font-size: var(--size-h1); line-height: 1.14; }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); }
p { margin: 0 0 1.2em; }
strong { font-weight: 600; }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--bg-panel-2);
  color: var(--text);
  font-size: 13px;
  line-height: 1.8;
}
pre code { overflow-wrap: normal; white-space: pre; }
:where(section, article, aside, div, li) { min-width: 0; }
:where(h2, h3, [id]) { scroll-margin-top: 24px; }
.wrap {
  width: 100%;
  max-width: calc(var(--content-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading { max-width: calc(var(--reading-width) + var(--gutter) * 2); }
.section { padding-top: var(--space-section); padding-bottom: var(--space-section); border-top: 1px solid var(--border); }
.section-white { background: var(--bg-panel); color: var(--text); }
.section-neutral { background: var(--bg); color: var(--text); }
.section-head { margin-bottom: 40px; }
.section-head h2 { margin-top: 24px; margin-bottom: 16px; }
.section-head p { max-width: 42em; color: var(--text-muted); }
.nowrap { white-space: nowrap; }
.muted { color: var(--text-muted); }
.soft { color: var(--text-muted); }
.mono { font-family: var(--font-mono); }
.prose { min-width: 0; overflow-wrap: break-word; }
.prose h2 { margin-top: 2.6em; margin-bottom: 0.8em; }
.prose h3 { margin-top: 1.8em; margin-bottom: 0.7em; }
.prose p, .prose li { line-height: 1.85; }
.prose a { text-decoration: underline; }
.prose :where(ul, ol) { padding-left: 1.5em; }
.prose li + li { margin-top: 0.5em; }
.prose :not(pre) > code { font-size: 0.88em; }
.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)); }
.card, .panel {
  min-width: 0;
  padding: 28px;
  background: var(--bg-panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.panel { box-shadow: var(--shadow-back); }
.decorated { position: relative; overflow-x: clip; }
.decor-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sect-tag {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 12px/1.2 var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--text);
}
.sect-sq { width: 8px; height: 8px; background: var(--accent); flex-shrink: 0; }
.btn {
  min-height: 46px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid var(--clear);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color var(--duration-fast), border-color var(--duration-fast);
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn-solid { background: var(--text); color: var(--on-dark); }
.btn-solid:hover, .btn-solid.is-hover { background: var(--text-hover); color: var(--on-dark); }
.btn-line { background: var(--bg-panel); color: var(--text); border-color: var(--border-strong); }
.btn-line:hover, .btn-line.is-hover { border-color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: var(--bg-panel-2); border-color: var(--border); color: var(--text-muted); }
.btn.is-focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.site-head { position: relative; z-index: 30; height: var(--head-h); background: var(--bg-panel); color: var(--text); border-bottom: 1px solid var(--border); }
.site-head-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  max-width: min(100%, calc(var(--header-width) + var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }
.brand-mark { width: 28px; height: 28px; flex-shrink: 0; }
.main-nav { margin-left: auto; min-width: 0; }
.nav-list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 14px; font-size: 14.5px; white-space: nowrap; }
.nav-list li { display: flex; align-items: center; gap: 14px; }
.nav-list li + li::before { content: "/" / ""; color: var(--text-ghost); }
.nav-link { color: var(--text); text-decoration: none; padding: 6px 0; transition: color var(--duration-fast); }
.nav-link:hover { color: var(--text-muted); }
.nav-link[aria-current="page"] { color: var(--accent); }
.head-tools { display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-left: 28px; }
.language-box { position: relative; }
.lang {
  min-height: 44px;
  padding: 4px 0 4px 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 14px/1.5 var(--font-body);
  color: var(--text);
  background: var(--clear);
  border: 0;
  border-left: 1px solid var(--border);
  white-space: nowrap;
}
.lang svg { width: 15px; height: 15px; flex-shrink: 0; }
.lang-caret { color: var(--text-muted); font-size: 11px; }
.lang-short { display: none; }
.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 190px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--bg-panel);
  color: var(--text);
  box-shadow: var(--shadow-back);
  z-index: 4;
}
.language-menu a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; text-decoration: none; }
.language-menu a:hover { background: var(--bg-panel-2); color: var(--text); }
.language-menu a[aria-current="true"] { color: var(--accent); }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-xs); background: var(--bg-panel); color: var(--text); }
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.mobile-drawer { display: none; }
.menu-veil { position: fixed; inset: var(--head-h) 0 0; z-index: 1; background: var(--bg-panel-2); color: var(--text); opacity: 0.9; border: 0; width: 100%; }
.site-footer { border-top: 1px solid var(--border); padding-top: 64px; padding-bottom: 28px; background: var(--bg-panel); color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 0.8fr; gap: 40px; }
.footer-brand p { margin-top: 20px; max-width: 25em; font-size: 14px; color: var(--text-muted); }
.footer-title { margin: 0 0 16px; font: 12px/1.5 var(--font-mono); }
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list a { display: inline-block; padding-top: 5px; padding-bottom: 5px; font-size: 14px; color: var(--text-muted); text-decoration: none; }
.footer-list a:hover { color: var(--text); text-decoration: underline; }
.footer-list a[aria-current="true"] { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 24px; }
.reveal { opacity: 1; transform: none; }
.reveal.is-waiting { opacity: 0; transform: translateY(18px); transition: opacity var(--duration-reveal) var(--ease-out), transform var(--duration-reveal) var(--ease-out); }
.reveal.shown { opacity: 1; transform: none; }

/* Approved first-screen composition. */
.hero { position: relative; overflow: hidden; min-height: max(720px, calc(100vh - var(--head-h) - var(--peek-h))); display: flex; align-items: center; justify-content: center; padding: 56px 32px; background: var(--bg-panel); color: var(--text); }
.pin { position: absolute; z-index: 4; width: 8px; height: 8px; background: var(--accent); }
.pin-tl { top: 28px; left: 28px; }
.pin-tr { top: 28px; right: 28px; }
.pin-bl { bottom: 28px; left: 28px; }
.pin-br { bottom: 28px; right: 28px; }
.collage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.slice { position: absolute; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-xs); background: var(--bg-panel); color: var(--text); }
.slice-back { z-index: 1; box-shadow: var(--shadow-back); }
.slice-front { z-index: 2; box-shadow: var(--shadow-front); }
.slice-term { width: 360px; left: -44px; top: calc(50% - 230px); background: var(--term-bg); color: var(--term-fg); border-color: var(--term-edge); }
.slice-settings { width: 292px; left: 76px; top: calc(50% - 44px); }
.slice-json { width: 340px; right: -52px; top: calc(50% - 200px); background: var(--bg-panel-2); color: var(--text); }
.slice-proxy { width: 300px; right: 72px; top: calc(50% + 30px); }
.term-bar { position: relative; height: 30px; display: flex; align-items: center; justify-content: center; padding-left: 44px; background: var(--term-bar); border-bottom: 1px solid var(--term-edge); font: 11px/1 var(--font-mono); color: var(--term-out); }
.term-ctrls { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: flex; gap: 6px; }
.term-ctrls span { width: 14px; height: 14px; display: grid; place-items: center; border-radius: var(--radius-round); background: var(--term-edge); color: var(--term-out); }
.term-ctrls svg { width: 7px; height: 7px; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; }
.term-body { margin: 0; padding: 12px 16px 14px 60px; border: 0; border-radius: var(--radius-2xs); background: var(--term-bg); font: 11.5px/1.7 var(--font-mono); color: var(--term-fg); white-space: pre-wrap; word-break: break-all; }
.t-p { color: var(--term-out); }
.t-o { color: var(--term-out); }
.t-cur { display: inline-block; width: 7px; height: 14px; vertical-align: -2px; background: var(--term-fg); }
.win-bar { position: relative; height: 32px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); background: var(--bg-panel); font-size: 12px; font-weight: 500; color: var(--text); }
.win-app { position: absolute; left: 12px; font: 10.5px/1 var(--font-mono); color: var(--text-muted); }
.win-x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; display: grid; place-items: center; border-radius: var(--radius-round); background: var(--bg-panel-2); color: var(--text-muted); }
.win-x svg { width: 7px; height: 7px; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; }
.tabs { min-height: 32px; display: flex; align-items: stretch; gap: 16px; padding-inline: 14px; border-bottom: 1px solid var(--border); background: var(--bg); font-size: 11.5px; color: var(--text-muted); }
.tab { position: relative; display: flex; align-items: center; }
.tab.is-on { color: var(--text); }
.tab.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: var(--text); }
.opt { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: 12.5px; color: var(--text); }
.opt + .opt { border-top: 1px solid var(--border); }
.field { display: inline-block; padding: 4px 8px; min-width: 64px; border: 1px solid var(--border-strong); border-radius: var(--radius-2xs); background: var(--bg-panel); font: 11.5px/1.3 var(--font-mono); color: var(--text); }
.tg { position: relative; flex-shrink: 0; width: 30px; height: 17px; border-radius: var(--radius-toggle); background: var(--border-strong); }
.tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: var(--radius-round); background: var(--bg-panel); box-shadow: var(--shadow-knob); }
.tg.is-on { background: var(--text); }
.tg.is-on::after { transform: translateX(13px); }
.win-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--border); background: var(--bg); color: var(--text); }
.mini-btn { padding: 3px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-2xs); background: var(--bg-panel); font-size: 11.5px; color: var(--text); }
.mini-btn.is-primary { background: var(--text); border-color: var(--text); color: var(--on-dark); }
.code-bar { min-height: 30px; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-bottom: 1px solid var(--border); font: 11px/1 var(--font-mono); color: var(--text-muted); }
.code-bar b { font-weight: 500; color: var(--text); }
.code { padding-top: 10px; padding-bottom: 12px; font: 11.5px/1.7 var(--font-mono); color: var(--text); counter-reset: ln; overflow-x: auto; }
.ln { position: relative; display: block; padding-left: 40px; white-space: pre; }
.ln::before { counter-increment: ln; content: counter(ln); position: absolute; left: 0; width: 26px; text-align: right; color: var(--text-muted); }
.ln.is-hot { background: var(--bg-panel); color: var(--text); }
.ln.is-hot::after { content: ""; position: absolute; left: 32px; top: 4px; bottom: 4px; width: 2px; background: var(--text); }
.k { color: var(--text); }
.s, .p { color: var(--text-muted); }
.px-body { display: grid; gap: 12px; padding: 14px 16px 16px; }
.px-row { display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; gap: 10px; font-size: 12px; color: var(--text-muted); }
.seg { display: inline-flex; justify-self: start; border: 1px solid var(--border-strong); border-radius: var(--radius-xs); font-size: 11.5px; }
.seg span { padding: 4px 11px; color: var(--text-muted); }
.seg span + span { border-left: 1px solid var(--border-strong); }
.seg .is-on { background: var(--text); color: var(--on-dark); }
.px-fields { display: flex; gap: 6px; min-width: 0; }
.px-fields .field { min-width: 0; }
.field-grow { flex: 1; }
.hero-core { position: relative; z-index: 3; max-width: 760px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow { margin: 0 0 20px; font: 12px/1.4 var(--font-mono); letter-spacing: 0.04em; color: var(--text-muted); }
.headline { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: var(--size-h1); line-height: 1.14; letter-spacing: -0.02em; }
.hl-line { display: block; animation: hl-rise 0.62s var(--ease-out) both; }
/* The approved display uses this lighter tone only for its large first line. */
.hl-soft { color: var(--text-faint); }
.hl-strong { color: var(--text); animation-delay: 0.16s; }
.hl-mark { position: relative; display: inline-block; }
.hl-mark::after { content: ""; position: absolute; left: 0.02em; right: 0; bottom: -1px; height: 3px; background: var(--accent); transform-origin: left center; animation: hl-draw 0.4s var(--ease-out) 0.58s both; }
@keyframes hl-rise { from { opacity: 0; transform: translateY(0.45em); } to { opacity: 1; transform: none; } }
@keyframes hl-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lede { margin: 22px 0 0; max-width: 33em; font-size: 16.5px; line-height: 1.7; color: var(--text-muted); text-wrap: pretty; }
.lede strong { font-weight: 500; color: var(--text); }
.ctas { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.platforms { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.plat { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--clear); color: var(--text); text-decoration: none; font-size: 13.5px; transition: border-color var(--duration-fast); }
.plat:hover { border-bottom-color: var(--border-strong); }
.plat svg { width: 16px; height: 16px; flex-shrink: 0; }
.meta { margin-top: 26px; padding-top: 20px; width: min(100%, 540px); display: grid; justify-items: center; gap: 12px; border-top: 1px solid var(--border); }
.chips-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.meta-label { margin-right: 4px; font: 11.5px/1 var(--font-mono); color: var(--text-muted); }
.chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 3px 9px; max-width: 100%; overflow-wrap: anywhere; border: 1px solid var(--border); border-radius: var(--radius-xs); background: var(--bg); font-size: 12.5px; line-height: 1.5; color: var(--text); }
.facts { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; font: 12px/1.6 var(--font-mono); color: var(--text); }
.facts div { display: flex; gap: 6px; }
.facts div + div::before { content: "·" / ""; margin: 0 12px; color: var(--text-ghost); }
.facts dt { color: var(--text-muted); }
.facts dd { margin: 0; }
.peek { position: relative; overflow-x: clip; padding: 22px 32px 120px; background: var(--bg); color: var(--text); border-top: 1px solid var(--border); }
.pin-muted { background: var(--marker-muted); }
.peek .pin-tl, .peek .pin-tr { top: 22px; }
.peek-inner { max-width: 1120px; margin-inline: auto; }
.peek h2 { margin: 28px 0 0; font-size: 30px; }
.skip-link { position: absolute; top: 8px; left: var(--gutter); z-index: 50; transform: translateY(-200%); padding: 8px 14px; background: var(--text); color: var(--on-dark); }
.skip-link:focus { transform: none; }

@media (max-width: 1320px) {
  .slice-term { left: -96px; }
  .slice-settings { left: 28px; width: 272px; }
  .slice-json { right: -110px; }
  .slice-proxy { right: 24px; width: 280px; }
}
@media (max-width: 1279px) {
  .main-nav { display: none; }
  .head-tools { margin-left: auto; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .mobile-drawer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 3;
    display: block;
    max-height: calc(100dvh - var(--head-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px var(--gutter) 24px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-panel);
    color: var(--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 8px; text-decoration: none; border-bottom: 1px solid var(--border); }
  .mobile-drawer a[aria-current] { color: var(--accent); }
  .drawer-language-title { margin: 24px 8px 8px; font: 12px/1.6 var(--font-mono); color: var(--text-muted); }
}
@media (max-width: 1180px) {
  .hero { flex-direction: column; align-items: center; min-height: auto; padding: 48px 24px 64px; }
  .collage { display: contents; }
  .slice { position: relative; top: auto; left: auto; right: auto; }
  .slice-json, .slice-proxy { display: none; }
  .slice-term { order: 1; align-self: flex-start; width: min(86%, 440px); max-height: 150px; margin: 0 0 40px -40px; }
  .hero-core { order: 2; }
  .slice-settings { order: 3; align-self: flex-end; width: min(86%, 400px); margin: 44px 0 0; }
  .slice-settings .tabs, .slice-settings .win-foot { display: none; }
}
@media (max-width: 900px) {
  :root { --gutter: 24px; --space-section: 80px; }
  .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 { --size-h1: clamp(24px, 7.2vw, 30px); --size-h2: 26px; }
  .hero { padding: 36px 20px 52px; }
  .pin-tl, .pin-tr { top: 14px; }
  .pin-bl, .pin-br { bottom: 14px; }
  .pin-tl, .pin-bl { left: 14px; }
  .pin-tr, .pin-br { right: 14px; }
  .slice-term { margin-left: -36px; margin-bottom: 32px; max-height: 100px; }
  .slice-settings { margin-top: 36px; }
  .lede { font-size: 15.5px; }
  .platforms { gap: 6px 20px; }
  .peek { padding: 22px 20px 96px; }
  .peek .pin-tl { left: 14px; }
  .peek .pin-tr { right: 14px; }
  .peek h2 { font-size: 24px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --space-section: 64px; --head-h: 64px; }
  .grid-two, .grid-three { grid-template-columns: minmax(0, 1fr); }
  .card, .panel { padding: 22px; }
  .tilt, .tilt-left, .tilt-right, [data-tilt] { transform: none; }
  .head-tools { margin-left: auto; gap: 6px; }
  .lang { padding-left: 12px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .brand { font-size: 13px; gap: 8px; }
  .brand-mark { width: 26px; height: 26px; }
  .footer-grid { gap: 32px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .facts { gap: 6px 0; }
  .facts div + div::before { margin-inline: 7px; }
  .hero-core { width: 100%; }
  .headline .hl-strong { font-size: clamp(22px, 6vw, 30px); }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .head-tools { gap: 2px; }
  .lang { gap: 4px; padding-left: 8px; }
  .brand { font-size: 12px; }
  .platforms { gap: 6px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hl-line, .hl-mark::after { animation: none; }
  .reveal.is-waiting { opacity: 1; transform: none; transition: none; }
  .btn, .plat, .nav-link { transition: none; }
}