:root {
  --bg: #FFE6C8;
  --bg-panel: #FFFFFF;
  --bg-panel-2: #F7EEFC;
  --border: #1E1A17;
  --accent: #F05A28;
  --accent-dark: #B83E14;
  --text: #1E1A17;
  --text-muted: #6B6158;
  --success: #2F8F5B;
  --warn: #C98A12;
  --error: #C7362B;
  --chrome: #F2EEEA;
  --chrome-side: #F8F6F3;
  --lav-line: #E4D0F1;
  --line: rgba(30, 26, 23, .12);
  --line-soft: rgba(30, 26, 23, .07);
  --line-strong: rgba(30, 26, 23, .28);
  --accent-tint: rgba(240, 90, 40, .16);
  --veil: rgba(30, 26, 23, .35);
  --clear: transparent;
  --font-display: "Inter", "Noto Sans SC", "PingFang SC", "Hiragino Sans", "Yu Gothic", "Apple SD Gothic Neo", "Malgun Gothic", "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, "Noto Sans SC", monospace;
  --text-xs: 12px;
  --text-chip: 12.5px;
  --text-sm: 13px;
  --text-control: 13.5px;
  --text-nav: 15px;
  --text-small: 14px;
  --text-base: 16px;
  --text-lede: 17px;
  --text-sub: 18px;
  --text-h3: 22px;
  --text-h2: clamp(26px, 3vw, 36px);
  --text-h1: clamp(34px, 3.4vw, 48px);
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-heavy: 800;
  --weight-display: 900;
  --tracking-display: -.02em;
  --tracking-tight: -.01em;
  --tracking-label: .01em;
  --tracking-mono: .06em;
  --leading-body: 1.5;
  --leading-prose: 1.85;
  --leading-title: 1.1;
  --r-ctl: 6px;
  --r-card: 8px;
  --r-win: 10px;
  --r-pill: 999px;
  --r-dot: 50%;
  --r-tiny: 2px;
  --r-small: 3px;
  --r-tag: 4px;
  --stroke: 2px;
  --shadow-card: 6px 6px 0 var(--border);
  --shadow-hard: 8px 8px 0 var(--border);
  --shadow-btn: 4px 4px 0 var(--border);
  --shadow-btn-hover: 6px 6px 0 var(--border);
  --shadow-btn-active: 2px 2px 0 var(--border);
  --shadow-float: 0 22px 44px -16px rgba(30, 26, 23, .28), 0 3px 8px rgba(30, 26, 23, .08);
  --knob-shadow: 0 1px 2px rgba(30, 26, 23, .25);
  --gutter: 48px;
  --wrap: 1200px;
  --header-wrap: 1280px;
  --reading-wrap: 800px;
  --nav-h: 68px;
  --section-space: 96px;
  --ease-enter: cubic-bezier(.2, .7, .2, 1);
  --speed: .15s;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; 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(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; vertical-align: middle; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: var(--clear); }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: var(--text-h1); line-height: var(--leading-title); }
h2 { font-size: var(--text-h2); line-height: 1.2; margin: 0 0 24px; }
h3 { font-size: var(--text-h3); line-height: 1.35; margin: 0 0 14px; }
p { margin: 0 0 18px; }
strong { font-weight: var(--weight-bold); }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 20px;
  background: var(--chrome-side);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-ctl);
  font-size: var(--text-sm);
  line-height: 1.7;
  tab-size: 2;
}
pre code { overflow-wrap: normal; word-break: normal; white-space: pre; }
mark { background: var(--accent-tint); color: var(--accent-dark); border-radius: var(--r-tiny); }
hr { border: 0; border-top: 1px solid var(--line-strong); margin: 32px 0; }
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading-wrap { max-width: calc(var(--reading-wrap) + var(--gutter) * 2); }
.section { padding-top: var(--section-space); padding-bottom: var(--section-space); overflow-x: clip; }
.surface-white { background: var(--bg-panel); color: var(--text); }
.surface-lavender { background: var(--bg-panel-2); color: var(--text); }
.surface-peach { background: var(--bg); color: var(--text); }
.section-heading { max-width: 800px; margin-bottom: 40px; }
.eyebrow { font-size: var(--text-small); font-weight: var(--weight-bold); color: var(--text-muted); }
.muted { color: var(--text-muted); }
.text-link { color: var(--accent-dark); font-weight: var(--weight-bold); }
.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;
}
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid > *, .wrap > *, .win-body > *, .groups > *, .feature-layout > *, .footer-grid > * { min-width: 0; }
.stack > * + * { margin-top: 24px; }
.actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border: var(--stroke) solid var(--border);
  border-radius: var(--r-ctl);
  background: var(--bg-panel);
  color: var(--text);
  font-size: var(--text-base);
  font-weight: var(--weight-heavy);
  line-height: var(--leading-body);
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition: transform var(--speed), box-shadow var(--speed);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover, .btn.is-hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-btn-hover); }
.btn:active, .btn.is-pressed { transform: translate(2px, 2px); box-shadow: var(--shadow-btn-active); }
.btn-primary { background: var(--text); color: var(--bg-panel); }
.btn-ghost { background: var(--bg-panel); color: var(--text); }
.btn:disabled, .btn[aria-disabled="true"] {
  background: var(--chrome);
  color: var(--text-muted);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}
.btn.is-focused { outline: 2px solid var(--accent-dark); outline-offset: 4px; }
.card, .panel {
  padding: 28px;
  background: var(--bg-panel);
  color: var(--text);
  border: var(--stroke) solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.panel { border-radius: var(--r-win); }
.card > :last-child, .panel > :last-child { margin-bottom: 0; }
.prose { min-width: 0; line-height: var(--leading-prose); }
.prose h2 { margin-top: 64px; scroll-margin-top: 24px; }
.prose h3 { margin-top: 36px; scroll-margin-top: 24px; }
.prose li + li { margin-top: 8px; }
.prose :not(pre) > code { background: var(--chrome); color: var(--text); padding: 2px 5px; border-radius: var(--r-tag); }
.prose a { color: var(--accent-dark); }
.reveal { transition: opacity .5s var(--ease-enter), transform .5s var(--ease-enter); }
.reveal.is-pending:not(.shown) { opacity: 0; transform: translateY(18px); }
.reveal.shown { opacity: 1; transform: none; }

/* 独立宽版心，不挤占正文的阅读宽度。 */
.topbar { min-height: var(--nav-h); background: var(--bg-panel-2); color: var(--text); border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.header-shell {
  width: 100%;
  max-width: min(100%, calc(var(--header-wrap) + var(--gutter) * 2));
  min-height: var(--nav-h);
  padding-inline: var(--gutter);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: var(--weight-heavy); font-size: var(--text-lede); letter-spacing: var(--tracking-tight); white-space: nowrap; flex-shrink: 0; }
.brand-mark { width: 30px; height: 30px; flex-shrink: 0; }
.desktop-nav { min-width: 0; margin-left: auto; align-self: stretch; }
.tabs { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; height: 100%; gap: 0; }
.tabs li { height: 100%; }
.tabs a { position: relative; display: flex; align-items: center; height: 100%; min-height: var(--nav-h); padding: 0 14px; font-size: var(--text-nav); font-weight: var(--weight-semibold); color: var(--text-muted); text-decoration: none; white-space: nowrap; transition: color var(--speed); }
.tabs a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: var(--r-small) var(--r-small) 0 0; background: var(--clear); color: var(--text); }
.tabs a:hover { color: var(--text); }
.tabs a:hover::after { background: var(--line-strong); }
.tabs a[aria-current="page"] { color: var(--text); font-weight: var(--weight-heavy); }
.tabs a[aria-current="page"]::after { background: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-sep { width: 1px; height: 22px; background: var(--line-strong); margin: 0 8px 0 12px; flex-shrink: 0; }
.language-picker { position: relative; }
.lang { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 6px 12px; font-size: var(--text-small); font-weight: var(--weight-bold); color: var(--text); background: var(--bg-panel); border: 1.5px solid var(--border); border-radius: var(--r-ctl); cursor: pointer; white-space: nowrap; }
.lang svg { width: 16px; height: 16px; flex-shrink: 0; }
.lang-short { display: none; }
.language-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 180px; padding: 6px; margin: 0; list-style: none; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg-panel); color: var(--text); box-shadow: var(--shadow-float); z-index: 4; }
.language-menu a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; text-decoration: none; border-radius: var(--r-ctl); }
.language-menu a:hover, .language-menu a[aria-current="true"] { background: var(--bg-panel-2); color: var(--text); }
.menu-toggle { display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px; background: var(--bg-panel); color: var(--text); border: 1.5px solid var(--border); border-radius: var(--r-ctl); }
.menu-toggle svg { width: 22px; height: 22px; flex-shrink: 0; }
.mobile-drawer { display: none; }
.nav-veil { position: fixed; inset: var(--nav-h) 0 0; background: var(--veil); color: var(--text); border: 0; z-index: -1; cursor: default; }
.preview-mobile { display: none; }

/* 拍板首屏：产品窗口只在桌面下缘裁切，正文不参与裁切。 */
.hero { position: relative; height: 792px; overflow: hidden; overflow-x: clip; background: var(--bg); color: var(--text); }
.hero-copy { padding-top: 34px; }
.badge { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 3px 12px; background: var(--bg-panel); color: var(--text); border: 1.5px solid var(--border); border-radius: var(--r-ctl); font-size: var(--text-sm); font-weight: var(--weight-bold); letter-spacing: var(--tracking-label); max-width: 100%; overflow-wrap: anywhere; }
.badge-dot { width: 7px; height: 7px; border-radius: var(--r-dot); background: var(--success); flex-shrink: 0; }
.hero h1 { margin: 18px 0 22px; font-size: var(--text-h1); line-height: var(--leading-title); }
.h1-line { display: block; }
.seg { display: inline-block; animation: rise .55s var(--ease-enter) both; }
.seg-2 { animation-delay: .14s; }
.seg-3 { animation-delay: .22s; }
.seg-4 { animation-delay: .30s; }
.hl { position: relative; isolation: isolate; }
.hl::before { content: ""; position: absolute; left: -.08em; right: -.08em; bottom: .04em; height: .42em; background: var(--accent); border-radius: var(--r-tiny); z-index: -1; transform-origin: left center; animation: sweep .4s .72s var(--ease-enter) both; }
@keyframes rise { from { opacity: 0; transform: translateY(.45em); } to { opacity: 1; transform: none; } }
@keyframes sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lede { margin: 20px 0 18px; max-width: 900px; font-size: var(--text-lede); line-height: 1.55; color: var(--text-muted); }
.lede strong { color: var(--text); }
.facts .row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.facts .row + .row { margin-top: 10px; }
.row-label { width: 44px; flex-shrink: 0; font-size: var(--text-chip); font-weight: var(--weight-bold); letter-spacing: var(--tracking-mono); color: var(--text-muted); }
.chip { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 10px; background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-ctl); font-family: var(--font-mono); font-size: var(--text-chip); font-weight: var(--weight-semibold); max-width: 100%; overflow-wrap: anywhere; }
.plat { display: inline-flex; align-items: center; gap: 7px; margin-right: 16px; padding: 3px 0; font-size: var(--text-small); font-weight: var(--weight-semibold); text-decoration: none; color: var(--text); transition: color var(--speed); }
.plat svg { width: 16px; height: 16px; flex-shrink: 0; }
.plat:hover { color: var(--accent-dark); }
.device-zone { margin-top: 50px; }
.device { position: relative; }
.win { height: 520px; display: grid; grid-template-rows: 40px 1fr; background: var(--bg-panel); color: var(--text); border: var(--stroke) solid var(--border); border-radius: var(--r-win); box-shadow: var(--shadow-hard); overflow: hidden; }
.win-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 16px; background: var(--chrome); color: var(--text); border-bottom: 1px solid var(--line-strong); }
.lights { display: flex; gap: 8px; }
.light { width: 12px; height: 12px; border-radius: var(--r-dot); border: 1px solid var(--line); flex-shrink: 0; }
.light-r { background: var(--error); }
.light-y { background: var(--warn); }
.light-g { background: var(--success); }
.win-title { font-size: var(--text-sm); font-weight: var(--weight-bold); letter-spacing: var(--tracking-label); }
.win-body { display: grid; grid-template-columns: 228px minmax(0, 1fr); min-height: 0; }
.side { background: var(--chrome-side); color: var(--text); border-right: 1px solid var(--line); padding: 18px 12px; }
.side-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 10px 14px; font-size: var(--text-nav); font-weight: var(--weight-heavy); }
.side-head span { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--text-muted); }
.menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.menu li { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 8px 10px; border-radius: var(--r-ctl); font-size: var(--text-small); font-weight: var(--weight-medium); }
.menu li svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-muted); }
.menu li.is-on { background: var(--bg-panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--lav-line); font-weight: var(--weight-heavy); }
.menu li.is-on svg { color: var(--text); }
.pane { position: relative; padding: 20px 28px; min-width: 0; }
.pane-head { display: flex; align-items: baseline; gap: 14px; min-height: 44px; flex-wrap: wrap; }
.pane-title { font-size: var(--text-sub); font-weight: var(--weight-heavy); letter-spacing: var(--tracking-tight); }
.pane-note { font-size: var(--text-sm); color: var(--text-muted); }
.groups { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 32px; margin-top: 16px; }
.grp-title { padding-bottom: 10px; margin-bottom: 2px; border-bottom: 2px solid var(--border); font-size: var(--text-control); font-weight: var(--weight-heavy); }
.field { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; border-bottom: 1px solid var(--line-soft); font-size: var(--text-small); }
.input { display: flex; align-items: center; width: 84px; height: 30px; padding: 0 10px; background: var(--bg-panel); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); font-family: var(--font-mono); font-size: var(--text-sm); font-weight: var(--weight-semibold); flex-shrink: 0; }
.switch { position: relative; flex-shrink: 0; width: 36px; height: 20px; border-radius: var(--r-pill); background: var(--chrome); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: var(--r-dot); background: var(--bg-panel); box-shadow: var(--knob-shadow); }
.switch.is-on { background: var(--text); color: var(--bg-panel); box-shadow: none; }
.switch.is-on::after { left: 19px; }
.opt { display: flex; align-items: center; gap: 10px; min-height: 44px; border-bottom: 1px solid var(--line-soft); font-size: var(--text-small); }
.radio { position: relative; flex-shrink: 0; width: 16px; height: 16px; border-radius: var(--r-dot); border: 1.5px solid var(--line-strong); background: var(--bg-panel); }
.opt.is-on { font-weight: var(--weight-bold); }
.opt.is-on .radio { border: 2px solid var(--text); }
.opt.is-on .radio::after { content: ""; position: absolute; inset: 3px; border-radius: var(--r-dot); background: var(--text); }
.select { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 132px; min-height: 30px; padding: 3px 8px 3px 10px; background: var(--bg-panel); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); font-size: var(--text-control); font-weight: var(--weight-semibold); }
.select svg { width: 14px; height: 14px; color: var(--text-muted); flex-shrink: 0; }
.hint { margin-top: 9px; font-size: var(--text-xs); line-height: var(--leading-body); color: var(--text-muted); }
.float { position: absolute; right: 34px; top: -52px; z-index: 2; width: 300px; background: var(--bg-panel); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--r-card); box-shadow: var(--shadow-float); overflow: hidden; }
.float-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: var(--text-xs); font-weight: var(--weight-bold); color: var(--text-muted); }
.float-tag { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: var(--tracking-mono); padding: 2px 6px; border: 1px solid var(--line-strong); border-radius: var(--r-tag); color: var(--text); }
.float pre { margin: 0; padding: 11px 14px 13px; border: 0; border-radius: 0; background: var(--bg-panel); color: var(--text); font-size: var(--text-chip); line-height: 1.6; }
.float .p { color: var(--text-muted); }
.float mark { padding: 1px 3px; border-radius: var(--r-small); font-weight: var(--weight-bold); }
.next { background: var(--bg-panel); color: var(--text); position: relative; z-index: 1; }
.next .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 72px; }
.next-eyebrow { font-size: var(--text-small); color: var(--text-muted); }
.next-eyebrow b { color: var(--text); font-weight: var(--weight-heavy); margin-right: 10px; }
.next-link { font-size: var(--text-small); font-weight: var(--weight-bold); color: var(--accent-dark); text-decoration: none; }
.next-link:hover { text-decoration: underline; }

.site-footer { background: var(--bg-panel-2); color: var(--text); border-top: 2px solid var(--border); padding-top: 64px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 20px; font-size: var(--text-small); color: var(--text-muted); max-width: 300px; }
.footer-title { margin: 0 0 18px; font-size: var(--text-small); font-weight: var(--weight-heavy); }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 9px; }
.footer-links a { display: inline-block; padding-block: 3px; font-size: var(--text-small); text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--accent-dark); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line-strong); margin-top: 48px; padding-top: 22px; font-size: var(--text-sm); color: var(--text-muted); }

@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .nav-sep { display: none; }
  .mobile-drawer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 16px var(--gutter) 24px;
    background: var(--bg-panel);
    color: var(--text);
    border-bottom: 2px solid var(--border);
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 3;
  }
  .mobile-drawer:not([hidden]) { display: block; }
  .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 14px; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-drawer a[aria-current] { background: var(--bg-panel-2); color: var(--text); font-weight: var(--weight-heavy); }
  .drawer-languages { margin-top: 20px; }
  .preview-mobile { display: block; position: static; }
  .preview-mobile > summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; border: 1.5px solid var(--border); border-radius: var(--r-ctl); background: var(--bg-panel); color: var(--text); cursor: pointer; }
  .preview-mobile > summary::-webkit-details-marker { display: none; }
  .preview-mobile .mobile-drawer { display: block; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; --section-space: 64px; }
  .hero { height: auto; padding-bottom: 48px; }
  .win { height: auto; }
  .win-body { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .groups { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .float { position: relative; right: auto; top: auto; width: auto; margin-bottom: 20px; }
  .next .wrap { flex-direction: column; align-items: flex-start; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (max-width: 768px) {
  :root { --text-h1: clamp(24px, 6.4vw, 30px); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-space: 56px; }
  .brand { font-size: var(--text-small); gap: 7px; }
  .brand-mark { width: 28px; height: 28px; }
  .header-tools { margin-left: auto; gap: 8px; }
  .lang { padding-inline: 9px; min-height: 44px; }
  .lang-full { display: none; }
  .lang-short { display: inline; }
  .lang svg { display: none; }
  .grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .card, .panel { padding: 22px; }
  .hero-copy { padding-top: 28px; }
  .badge { font-size: var(--text-xs); padding-inline: 8px; }
  .hero h1 { line-height: 1.18; }
  .hero .btn { padding-inline: 16px; }
  .lede { font-size: var(--text-base); }
  .facts .row { gap: 6px; }
  .row-label { width: 30px; }
  .chip { padding-inline: 7px; font-size: var(--text-xs); }
  .plat { margin-right: 8px; font-size: var(--text-sm); }
  .device-zone { margin-top: 34px; }
  .pane { padding: 20px 18px; }
  .win-bar { padding-inline: 10px; grid-template-columns: auto 1fr; gap: 12px; }
  .win-title { text-align: center; }
  .lights { gap: 5px; }
  .light { width: 9px; height: 9px; }
  .tilt, [data-tilt] { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .seg, .hl::before { animation: none; }
  .btn, .tabs a, .plat, .reveal { transition: none; }
  .reveal.is-pending:not(.shown) { opacity: 1; transform: none; }
}