:root {
  --c-bg: #fdfdfd;
  --c-panel: #ffffff;
  --c-panel-2: #f6f7f7;
  --c-mint: #f2faf6;
  --c-border: #e6e8e7;
  --c-border-strong: #cdd2d0;
  --c-accent: #1fa971;
  --c-accent-dark: #13784f;
  --c-accent-soft: rgba(31,169,113,.16);
  --c-text: #171a19;
  --c-muted: #6b716e;
  --c-faint: #a3a9a6;
  --c-dot: #d3e6dc;
  --c-success: #1f9d63;
  --c-warn: #c98a12;
  --c-error: #d1453b;
  --c-on-accent: #0d1f17;
  --c-clear: transparent;
  --c-veil: rgba(23,26,25,.2);
  --f-display: 'Inter','Noto Sans SC',-apple-system,BlinkMacSystemFont,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
  --f-body: 'Inter','Noto Sans SC',-apple-system,BlinkMacSystemFont,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
  --f-mono: 'JetBrains Mono',ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  --fs-10: 10px;
  --fs-11: 11px;
  --fs-11h: 11.5px;
  --fs-12: 12px;
  --fs-12h: 12.5px;
  --fs-13: 13px;
  --fs-13h: 13.5px;
  --fs-14: 14px;
  --fs-14h: 14.5px;
  --fs-15: 15px;
  --fs-15h: 15.5px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-24: 24px;
  --fs-30: 30px;
  --fs-32: 32px;
  --fs-display: clamp(34px,3.3vw,48px);
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-strong: 600;
  --lh-body: 1.6;
  --lh-reading: 1.85;
  --lh-title: 1.16;
  --ls-display: -.025em;
  --ls-cjk: -.02em;
  --r-card: 8px;
  --r-sm: 6px;
  --r-pill: 999px;
  --r-round: 50%;
  --r-squircle: 23%;
  --r-dot: 1px;
  --shadow-float: 0 8px 24px rgba(23,26,25,.06);
  --shadow-hair: 0 1px 2px rgba(23,26,25,.04);
  --shadow-menu: 0 12px 32px rgba(23,26,25,.08);
  --gap-bento: 16px;
  --gutter: 32px;
  --wrap: 1280px;
  --reading: 800px;
  --nav-h: 64px;
  --section-space: 140px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --duration-fast: .2s;
  --duration-reveal: .6s;
}
*,*::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(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: var(--fs-15);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
button,summary,a { -webkit-tap-highlight-color: var(--c-accent-soft); }
button:disabled { cursor: not-allowed; }
img,svg { max-width: 100%; }
img { height: auto; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--c-accent-dark); outline-offset: 3px; border-radius: var(--r-sm); }
::selection { background: var(--c-accent-soft); color: var(--c-text); }
h1,h2,h3,h4 { font-family: var(--f-display); font-weight: var(--fw-normal); text-wrap: balance; }
h1 { font-size: var(--fs-display); line-height: var(--lh-title); letter-spacing: var(--ls-cjk); }
h2 { font-size: var(--fs-32); line-height: 1.25; letter-spacing: var(--ls-cjk); }
h3 { font-size: var(--fs-20); line-height: 1.4; }
p,li,dd { overflow-wrap: break-word; }
strong,b { font-weight: var(--fw-medium); }
code,kbd,pre { font-family: var(--f-mono); }
code { font-size: .9em; overflow-wrap: anywhere; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 20px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  background: var(--c-panel-2);
  color: var(--c-text);
  font-size: var(--fs-13);
  line-height: 1.8;
  overscroll-behavior-inline: contain;
}
pre code { font-size: inherit; white-space: pre; overflow-wrap: normal; word-break: normal; }
hr { border: 0; border-top: 1px solid var(--c-border); }
figure { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.reading { max-width: var(--reading); margin-inline: auto; }
.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)); }
.grid > *,.bento > *,section,article,.prose,.panel,.card { min-width: 0; }
.stack > * + * { margin-top: 20px; }
.section { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.section + .section { padding-top: 0; }
.section--wash { background: var(--c-panel-2); color: var(--c-text); }
.section--wash + .section { padding-top: var(--section-space); }
.section-heading { margin-bottom: 32px; }
.section-heading h2 { margin: 12px 0 0; }
.section-heading p { max-width: 640px; color: var(--c-muted); }
.eyebrow { font-family: var(--f-mono); font-size: var(--fs-12); color: var(--c-muted); letter-spacing: .03em; }
.mono { font-family: var(--f-mono); }
.muted { color: var(--c-muted); }
.accent { color: var(--c-accent-dark); }
.keep { white-space: nowrap; }
.text-link { color: var(--c-accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset: 8px auto auto 16px; z-index: 100; padding: 10px 16px; background: var(--c-panel); color: var(--c-text); border: 1px solid var(--c-border); border-radius: var(--r-sm); }
.skip-link:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 20px;
  max-width: 100%;
  font-family: var(--f-body);
  font-size: var(--fs-15);
  font-weight: var(--fw-medium);
  line-height: 1.5;
  text-align: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  background: var(--c-panel);
  color: var(--c-text);
  transition: background-color var(--duration-fast) var(--ease),border-color var(--duration-fast) var(--ease),color var(--duration-fast) var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--c-accent); color: var(--c-on-accent); border-color: var(--c-accent-dark); }
.btn-primary:hover,.btn-primary.is-hover { background: var(--c-accent-dark); color: var(--c-panel); }
.btn-ghost:hover,.btn-ghost.is-hover { background: var(--c-panel-2); color: var(--c-text); border-color: var(--c-border-strong); }
.btn:disabled,.btn[aria-disabled="true"] { background: var(--c-panel-2); color: var(--c-muted); border-color: var(--c-border); }
.btn.is-focus { outline: 2px solid var(--c-accent-dark); outline-offset: 3px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.card,.panel { border: 1px solid var(--c-border); border-radius: var(--r-card); padding: 24px; background: var(--c-panel); color: var(--c-text); }
.card h3,.panel h3 { margin-top: 0; }
.card p:last-child,.panel p:last-child { margin-bottom: 0; }
.card--grey { background: var(--c-panel-2); color: var(--c-text); }
.card--mint { background: var(--c-mint); color: var(--c-text); }
.prose { line-height: var(--lh-reading); }
.prose h2 { margin-top: 64px; margin-bottom: 24px; }
.prose h3 { margin-top: 36px; }
.prose p { margin-block: 20px; }
.prose a:not(.btn):not(.appstore-button) { color: var(--c-accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose li + li { margin-top: 10px; }
.prose :is(ul,ol) { padding-left: 1.5em; }
.prose :is(div,section,article) { min-width: 0; max-width: 100%; }

/* 独立页头版心，不复用正文宽度。 */
.topbar { height: var(--nav-h); border-bottom: 1px solid var(--c-border); background: var(--c-bg); color: var(--c-text); position: relative; z-index: 40; }
.header-wrap { max-width: min(100%,calc(1280px + var(--gutter) * 2)); padding-inline: var(--gutter); margin-inline: auto; }
.topbar-inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-15); font-weight: var(--fw-medium); letter-spacing: -.01em; white-space: nowrap; flex-shrink: 0; }
.brand-mark { display: block; width: 28px; height: 28px; flex-shrink: 0; border-radius: var(--r-squircle); background: linear-gradient(160deg,var(--c-panel),var(--c-panel-2)); color: var(--c-text); border: 1px solid var(--c-border-strong); box-shadow: var(--shadow-hair); }
.brand-short { display: none; }
.mainnav { min-width: 0; font-size: var(--fs-14h); }
.mainnav ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 28px; }
.mainnav li { flex-shrink: 0; }
.mainnav li > a,.more-btn { color: var(--c-muted); transition: color var(--duration-fast) var(--ease); }
.mainnav li > a { display: flex; align-items: center; min-height: 44px; }
.mainnav li > a:hover,.more-btn:hover { color: var(--c-text); }
.mainnav a[aria-current="page"],.more-btn.is-current { color: var(--c-text); font-weight: var(--fw-medium); }
.nav-more,.language-picker { position: relative; }
.more-btn { font: inherit; background: var(--c-clear); border: 0; min-height: 44px; padding: 0; display: inline-flex; align-items: center; gap: 6px; list-style: none; }
.more-btn::-webkit-details-marker,.lang::-webkit-details-marker { display: none; }
.more-btn svg,.lang svg { width: 10px; height: 10px; }
.more-panel,.language-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: -14px;
  min-width: 236px;
  padding: 8px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  background: var(--c-panel);
  color: var(--c-text);
  box-shadow: var(--shadow-menu);
  z-index: 45;
}
.more-group { display: block; padding: 6px 10px 4px; font-family: var(--f-mono); font-size: var(--fs-11); color: var(--c-muted); letter-spacing: .04em; }
.more-link,.language-panel a { display: block; padding: 10px; min-height: 44px; border-radius: var(--r-sm); }
.more-link:hover,.language-panel a:hover { background: var(--c-panel-2); color: var(--c-text); }
.more-link b { display: block; font-size: var(--fs-14); font-weight: var(--fw-medium); }
.more-link span { display: block; font-size: var(--fs-12h); color: var(--c-muted); }
.topbar-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang,.store-link { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 5px 12px; font-size: var(--fs-13h); line-height: 1.5; color: var(--c-text); border: 1px solid var(--c-border); border-radius: var(--r-sm); background: var(--c-panel); white-space: nowrap; list-style: none; }
.lang svg { color: var(--c-muted); }
.lang-short { display: none; }
.language-panel { left: auto; right: 0; min-width: 180px; }
.language-panel a[aria-current="true"] { font-weight: var(--fw-medium); color: var(--c-accent-dark); }
.store-link svg { width: 13px; height: 13px; }
.store-link:hover { border-color: var(--c-border-strong); }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; background: var(--c-panel); color: var(--c-text); border: 1px solid var(--c-border); border-radius: var(--r-sm); }
.menu-toggle svg { width: 20px; height: 20px; }
.mobile-drawer,.menu-veil { display: none; }

/* 首屏复用拍板稿的比例与静态装置。 */
.hero { padding-top: 28px; padding-bottom: 30px; overflow-x: clip; }
.bento { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: var(--gap-bento); }
.cell { position: relative; min-width: 0; border: 1px solid var(--c-border); border-radius: var(--r-card); background: var(--c-panel); color: var(--c-text); padding: 20px 22px; transition: transform .25s var(--ease),border-color .25s var(--ease); }
.cell:hover { transform: translateY(-2px); border-color: var(--c-border-strong); }
.cell--grey { background: var(--c-panel-2); color: var(--c-text); }
.cell--mint { background-color: var(--c-mint); color: var(--c-text); }
.cell-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: var(--fs-11h); letter-spacing: .02em; color: var(--c-muted); line-height: 1; }
.cell-name a { color: var(--c-muted); font-family: var(--f-body); font-size: var(--fs-12h); letter-spacing: 0; line-height: 1.5; }
.cell-name a:hover { color: var(--c-accent-dark); }
.cell-hero { grid-column: 1/8; grid-row: 1/3; padding: 36px 40px 30px; display: flex; flex-direction: column; }
.cell-flow { grid-column: 8/13; grid-row: 1/3; display: flex; flex-direction: column; gap: 18px; padding: 20px 24px 22px; }
.cell-proto { grid-column: 1/5; grid-row: 3; }
.cell-dev { grid-column: 5/8; grid-row: 3; }
.cell-route { grid-column: 8/13; grid-row: 3; }
.facts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.badge,.chip-plain { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 3px 12px; max-width: 100%; font-size: var(--fs-12h); color: var(--c-text); background: var(--c-panel-2); border: 1px solid var(--c-border); border-radius: var(--r-pill); }
.badge svg { width: 13px; height: 13px; }
.chip-plain { color: var(--c-muted); background: var(--c-panel); }
.dot-ok { width: 6px; height: 6px; flex-shrink: 0; border-radius: var(--r-round); background: var(--c-success); box-shadow: 0 0 0 3px var(--c-accent-soft); }
.title { margin: 24px 0 0; font-family: var(--f-display); font-weight: var(--fw-normal); font-size: clamp(36px,3.3vw,48px); line-height: var(--lh-title); letter-spacing: var(--ls-display); }
.title > span { display: block; }
.title .t-accent { color: var(--c-accent); }
.lede { margin: 22px 0 0; max-width: 640px; color: var(--c-muted); font-size: var(--fs-15h); line-height: 1.75; }
.lede strong { color: var(--c-text); font-weight: var(--fw-medium); }
.devices { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--c-border); display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.devices-label { font-family: var(--f-mono); font-size: var(--fs-11); color: var(--c-muted); letter-spacing: .04em; }
.device { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-13h); color: var(--c-muted); }
.device svg { width: 18px; height: 18px; color: var(--c-text); }
.device:hover,.device:hover svg { color: var(--c-accent-dark); }
.store-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 3px 11px; font-size: var(--fs-12h); color: var(--c-text); border: 1px solid var(--c-border); border-radius: var(--r-pill); background: var(--c-panel); }
.store-pill svg { width: 12px; height: 12px; }
.cell-flow { background-image: radial-gradient(circle,var(--c-dot) 1px,var(--c-clear) 1.3px); background-size: 16px 16px; background-position: 8px 8px; }
.flow-stage { position: relative; isolation: isolate; margin: 0 4px 14px; }
.flow-stage::before,.flow-stage::after { content: ""; position: absolute; z-index: -1; border: 1px solid var(--c-border); border-radius: var(--r-card); top: 0; bottom: -7px; left: 12px; right: 12px; background: var(--c-panel); color: var(--c-text); }
.flow-stage::after { bottom: -13px; left: 26px; right: 26px; background: var(--c-panel-2); color: var(--c-text); z-index: -2; }
.flow-card { position: relative; background: var(--c-panel); color: var(--c-text); border: 1px solid var(--c-border); border-radius: var(--r-card); box-shadow: var(--shadow-float); }
.flow-head { display: flex; justify-content: space-between; align-items: center; height: 38px; padding-inline: 16px; border-bottom: 1px solid var(--c-border); font-family: var(--f-mono); font-size: var(--fs-11h); color: var(--c-muted); }
.flow-head b { font-weight: var(--fw-medium); color: var(--c-text); }
.flow-svg { display: block; width: 100%; height: auto; padding: 6px 14px 10px; }
.flow-caption { margin: auto 0 0; font-size: var(--fs-13); line-height: 1.65; color: var(--c-muted); }
.flow-caption code { font-size: var(--fs-12); color: var(--c-text); }
.fl-head { font-family: var(--f-mono); font-size: var(--fs-10); letter-spacing: .12em; fill: var(--c-muted); }
.fl-box,.fl-num,.fl-port { fill: var(--c-panel); stroke: var(--c-border-strong); stroke-width: 1; }
.fl-rule { font-family: var(--f-mono); font-size: var(--fs-12); fill: var(--c-text); }
.fl-rule-k { fill: var(--c-muted); }
.fl-num-on { fill: var(--c-text); stroke: var(--c-text); }
.fl-num-t { font-family: var(--f-mono); font-size: var(--fs-10); fill: var(--c-muted); }
.fl-num-t-on { fill: var(--c-panel); }
.fl-wire { fill: none; stroke: var(--c-faint); stroke-width: 1; stroke-dasharray: 3 4; }
.fl-wire-hit { fill: none; stroke: var(--c-accent); stroke-width: 1.25; }
.fl-port-t { font-family: var(--f-mono); font-size: var(--fs-11h); letter-spacing: .05em; fill: var(--c-text); }
.fl-port-t-dim { fill: var(--c-muted); }
.fl-halo { fill: var(--c-accent-soft); }
.fl-hit-dot { fill: var(--c-accent); }
.proto-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.proto-list li { font-size: var(--fs-12h); line-height: 1; padding: 7px 11px; border: 1px solid var(--c-border-strong); border-radius: var(--r-pill); background: var(--c-panel); color: var(--c-text); }
.dev-body { display: flex; gap: 16px; margin-top: 14px; align-items: flex-start; }
.app-mark { width: 52px; height: 52px; flex-shrink: 0; border-radius: var(--r-squircle); background: linear-gradient(160deg,var(--c-panel),var(--c-panel-2)); color: var(--c-text); border: 1px solid var(--c-border-strong); box-shadow: var(--shadow-float); }
.dev-facts { margin: 0; display: grid; gap: 7px; min-width: 0; }
.dev-facts div { min-width: 0; }
.dev-facts dt { font-family: var(--f-mono); font-size: var(--fs-11); color: var(--c-muted); letter-spacing: .03em; line-height: 1.3; }
.dev-facts dd { margin: 1px 0 0; font-size: var(--fs-12h); line-height: 1.4; color: var(--c-text); }
.dev-facts dd.mono { font-size: var(--fs-12); }
.modes { list-style: none; margin: 16px 0 0; padding: 3px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 3px; border: 1px solid var(--c-border); border-radius: var(--r-pill); background: var(--c-panel); color: var(--c-text); }
.modes li { text-align: center; font-size: var(--fs-12h); line-height: 1; padding: 8px 0; border: 1px solid var(--c-clear); border-radius: var(--r-pill); color: var(--c-muted); }
.modes li.on { border-color: var(--c-text); color: var(--c-text); background: var(--c-panel); }
.route-note { margin: 12px 0 0; font-size: var(--fs-12h); line-height: 1.6; color: var(--c-muted); }
.route-note code { font-size: var(--fs-11h); color: var(--c-text); }
.cfg-strip { border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); background: var(--c-bg); color: var(--c-muted); }
.cfg-row { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); }
.cfg-row span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; font-family: var(--f-mono); font-size: var(--fs-12); border-left: 1px solid var(--c-border); }
.cfg-row span:last-child { border-right: 1px solid var(--c-border); }
.cfg-row i { width: 4px; height: 4px; flex-shrink: 0; background: var(--c-faint); border-radius: var(--r-dot); }
.store-entry { padding-top: 140px; padding-bottom: 120px; }
.store-entry h2 { margin: 12px 0 0; font-weight: var(--fw-normal); font-size: var(--fs-32); line-height: 1.25; letter-spacing: var(--ls-display); }
.store-entry h2 span { color: var(--c-muted); }
.store-entry p { margin: 14px 0 0; max-width: 620px; color: var(--c-muted); }
.store-entry .more { display: inline-block; margin-top: 18px; color: var(--c-accent-dark); font-weight: var(--fw-medium); }

/* 无脚本时可见；只有观察器就绪后才进入待揭示态。 */
.reveal { transition: opacity var(--duration-reveal) var(--ease),transform var(--duration-reveal) var(--ease); }
.reveal.pending:not(.shown) { opacity: 0; transform: translateY(14px); }
.reveal.shown { opacity: 1; transform: none; }

.site-footer { border-top: 1px solid var(--c-border); padding-top: 56px; padding-bottom: 28px; background: var(--c-panel-2); color: var(--c-text); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1.5fr .7fr; gap: 40px; }
.footer-grid > * { min-width: 0; }
.footer-brand p { max-width: 340px; color: var(--c-muted); font-size: var(--fs-14); }
.footer-heading { margin: 0 0 16px; font-size: var(--fs-13); font-weight: var(--fw-medium); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { display: block; padding-block: 6px; font-size: var(--fs-13); color: var(--c-muted); }
.footer-links a:hover { color: var(--c-accent-dark); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--c-border); color: var(--c-muted); font-size: var(--fs-12); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom p { margin: 0; }

@media (max-width:1080px) {
  .topbar-inner { gap: 24px; }
  .mainnav ul { gap: 20px; }
  .cell-hero { padding: 30px 30px 26px; }
  .store-pill { margin-left: 0; }
  .footer-grid { gap: 28px; }
}
@media (max-width:960px) {
  .mainnav,.topbar-tools > .store-link { display: none; }
  .topbar-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .lang { min-height: 44px; }
  .mobile-drawer {
    position: absolute;
    z-index: 43;
    inset: 100% 0 auto;
    max-height: calc(100dvh - var(--nav-h));
    padding: 16px var(--gutter) 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--c-panel);
    color: var(--c-text);
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-menu);
  }
  .mobile-drawer:not([hidden]) { display: block; }
  .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; border-radius: var(--r-sm); }
  .mobile-drawer a:hover,.mobile-drawer a[aria-current] { background: var(--c-panel-2); color: var(--c-accent-dark); }
  .drawer-label { display: block; margin-top: 16px; padding: 12px; border-top: 1px solid var(--c-border); color: var(--c-muted); font-size: var(--fs-12); }
  .menu-veil:not([hidden]) { display: block; position: fixed; z-index: 41; inset: var(--nav-h) 0 0; border: 0; background: var(--c-veil); color: var(--c-text); }
  .topbar-inner { position: relative; z-index: 44; background: var(--c-bg); color: var(--c-text); }
}
@media (max-width:860px) {
  :root { --gutter: 18px; }
  .bento { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cell-hero,.cell-flow { grid-column: 1/-1; grid-row: auto; }
  .cell-proto { grid-column: 1/2; grid-row: auto; }
  .cell-dev { grid-column: 2/3; grid-row: auto; }
  .cell-route { grid-column: 1/-1; grid-row: auto; }
  .title { font-size: clamp(26px,7vw,30px); }
  .cell-hero { padding: 24px 20px 20px; }
  .devices { margin-top: 22px; gap: 14px 18px; }
  .cfg-row { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .cfg-row span { border-bottom: 1px solid var(--c-border); }
  .store-entry { padding-top: 96px; padding-bottom: 80px; }
  .store-entry h2 { font-size: var(--fs-24); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:768px) {
  h1 { font-size: clamp(24px,5vw,30px); }
  h2 { font-size: var(--fs-24); }
  .grid--three { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px) {
  :root { --gutter: 16px; --section-space: 96px; }
  .grid--two,.grid--three { grid-template-columns: minmax(0,1fr); }
  .tilt,[data-tilt] { transform: none !important; }
  .hero,.decorated { overflow-x: clip; }
  .facts { flex-direction: row; flex-wrap: wrap; }
  .cell-flow { padding: 20px 16px 22px; }
  .flow-stage { margin-inline: 0; }
  .footer-grid { grid-template-columns: minmax(0,1fr); }
  .brand { gap: 8px; font-size: var(--fs-14); }
  .topbar-inner { gap: 12px; }
}
@media (max-width:520px) {
  .cell-proto,.cell-dev { grid-column: 1/-1; }
  .dev-body { gap: 12px; }
  .brand-full,.lang-full { display: none; }
  .brand-short,.lang-short { display: inline; }
  .topbar-tools { gap: 6px; }
  .lang { padding-inline: 10px; }
  .modes li { font-size: var(--fs-11h); }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; animation: none !important; }
  .cell:hover,.reveal.pending:not(.shown) { transform: none; }
  .reveal.pending:not(.shown) { opacity: 1; }
}