:root {
  color-scheme: dark;
  --bg: #3f3e3c;
  --bg-panel: #f4f4f2;
  --bg-panel-2: #333231;
  --border: #585654;
  --accent: #f5c400;
  --accent-dark: #c99a00;
  --accent-ring: rgba(245,196,0,.24);
  --text: #f2f1ef;
  --text-muted: #b3b1ad;
  --success: #5fbf7a;
  --warn: #e9a23b;
  --error: #e5604f;
  --surface: #ffffff;
  --ink: #2b2a28;
  --ink-soft: #5f5d5a;
  --ink-faint: #9a9894;
  --glyph: #cdcbc7;
  --hairline: rgba(63,62,60,.12);
  --hairline-strong: rgba(63,62,60,.22);
  --paper: #fdfdfb;
  --bezel: #292827;
  --bezel-edge: #4c4b48;
  --island: #141413;
  --alu-hi: #eeedeb;
  --alu-mid: #dbdad7;
  --alu-lo: #bebdb9;
  --key: #fbfbf9;
  --key-edge: #d0cfcc;
  --key-shade: rgba(63,62,60,.15);
  --screen-top: #e6e5e2;
  --screen-bottom: #fbf9f5;
  --skeleton: #d2d1cd;
  --glass: rgba(255,255,255,.85);
  --halo: rgba(255,255,255,.95);
  --clear: rgba(255,255,255,0);
  --grid-line: rgba(63,62,60,.075);
  --shade-1: rgba(34,33,31,.08);
  --shade-2: rgba(34,33,31,.16);
  --shade-3: rgba(34,33,31,.26);
  --veil: rgba(34,33,31,.42);
  --r-xl: 32px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-btn: 14px;
  --r-sm: 10px;
  --r-xs: 4px;
  --r-logo: 9px;
  --r-key: 3px;
  --r-paper: 5px;
  --r-screen-top: 14px;
  --r-screen-bottom: 6px;
  --r-deck: 16px;
  --r-phone: 30px;
  --r-phone-screen: 24px;
  --r-pill: 999px;
  --r-circle: 50%;
  --font-display: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-hand: "Kaiti SC", "STKaiti", "KaiTi", "BiauKai", "Noto Sans SC", cursive;
  --size-tiny: 12px;
  --size-small: 13px;
  --size-nav: 14px;
  --size-button: 15.5px;
  --size-body: 16px;
  --size-lede: 17px;
  --size-h1: clamp(34px,3.4vw,48px);
  --size-h2: clamp(28px,3vw,40px);
  --size-h3: 22px;
  --weight-body: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-display: 800;
  --tracking-display: -.025em;
  --tracking-cjk: -.02em;
  --leading-body: 1.8;
  --gutter: 32px;
  --content-width: 1160px;
  --header-width: 1280px;
  --reading-width: 780px;
  --nav-h: 64px;
  --strip-peek: 32px;
  --section-space: 144px;
  --space-card: 32px;
  --duration-fast: .18s;
  --duration-reveal: .65s;
  --shadow-panel: 0 26px 60px -24px var(--shade-3);
  --shadow-button: inset 0 -1px 0 var(--accent-dark),0 1px 2px var(--shade-1),0 12px 24px -14px var(--shade-3);
  --shadow-glass: inset 0 0 0 1px var(--hairline),0 1px 2px var(--shade-1),0 18px 34px -14px var(--shade-2),0 44px 72px -32px var(--shade-2);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
html.nav-open { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: var(--size-body); line-height: var(--leading-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1,h2,h3,h4,p,figure,blockquote { margin-top: 0; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: var(--weight-display); line-height: 1.2; letter-spacing: var(--tracking-display); text-wrap: balance; }
:lang(zh-CN) h1,:lang(zh-CN) h2,:lang(zh-CN) h3 { letter-spacing: var(--tracking-cjk); }
h1,.h1 { font-size: var(--size-h1); line-height: 1.12; }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); }
p { margin-bottom: 1.25em; }
a { color: inherit; text-decoration: none; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button,svg,img,.badge-dot,.strip-dot { flex-shrink: 0; }
img { max-width: 100%; }
svg { vertical-align: middle; }
a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--r-xs); }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--ink); }
.wrap { width: 100%; max-width: calc(var(--content-width) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.reading { width: 100%; max-width: calc(var(--reading-width) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-top: var(--section-space); padding-bottom: 0; }
.section:last-child { padding-bottom: var(--section-space); }
.decorated,.hero { position: relative; overflow-x: clip; }
.grid { display: grid; gap: 24px; }
.grid > *, .split > *, .footer-grid > *, .topbar-in > *, .prose > *, .card > * { min-width: 0; }
.grid-two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.stack > * + * { margin-top: 24px; }
.nowrap { white-space: nowrap; }
.muted { color: var(--text-muted); }
.small { font-size: var(--size-small); }
.mono { font-family: var(--font-mono); }
.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; z-index: 100; top: 8px; left: var(--gutter); padding: 8px 16px; background: var(--accent); color: var(--ink); transform: translateY(-150%); border-radius: var(--r-sm); }
.skip-link:focus { transform: translateY(0); }
.prose { min-width: 0; overflow-wrap: break-word; }
.prose h2 { margin-top: 2.5em; scroll-margin-top: 24px; }
.prose h3 { margin-top: 1.8em; }
.prose a:not(.btn):not(.appstore-button) { text-decoration: underline; text-underline-offset: .2em; }
.prose li + li { margin-top: .6em; }
code { font-family: var(--font-mono); font-size: .875em; overflow-wrap: anywhere; }
pre { max-width: 100%; min-width: 0; overflow-x: auto; padding: 22px; background: var(--bg-panel-2); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-sm); line-height: 1.8; }
pre code { white-space: pre; overflow-wrap: normal; word-break: normal; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 10px 24px; border: 0; border-radius: var(--r-btn); font-family: var(--font-body); font-size: var(--size-button); font-weight: var(--weight-bold); line-height: 1.35; letter-spacing: -.005em; text-align: center; transition: transform var(--duration-fast) ease,background-color var(--duration-fast) ease,box-shadow var(--duration-fast) ease; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: var(--shadow-button); }
.btn-primary:hover,.btn-primary.is-hover { transform: translateY(-1px); background: var(--accent-dark); color: var(--ink); }
.btn-primary:active,.btn-primary.is-active { transform: translateY(1px); box-shadow: inset 0 1px 2px var(--shade-2); }
.btn-ghost { background: var(--clear); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text-muted); }
.btn-ghost:hover { transform: translateY(-1px); background: var(--bg-panel-2); color: var(--text); }
.btn:disabled,.btn.is-disabled { background: var(--border); color: var(--text); box-shadow: none; transform: none; }
.btn.is-focus { outline: 2px solid var(--accent); outline-offset: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.card,.panel { padding: var(--space-card); border-radius: var(--r-xl); background: var(--bg-panel-2); color: var(--text); }
.card p:last-child,.panel p:last-child { margin-bottom: 0; }
.card h3 { margin-bottom: 16px; }
.panel-light { background: var(--bg-panel); color: var(--ink); box-shadow: var(--shadow-panel); }
.panel-light .muted { color: var(--ink-soft); }
.panel-light pre { background: var(--paper); color: var(--ink); border-color: var(--hairline-strong); }
.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal:not(.shown) { opacity: 0; transform: translateY(18px); }
html.reveal-ready .reveal { transition: opacity var(--duration-reveal) ease,transform var(--duration-reveal) ease; }

/* 独立的宽版页头。 */
.topbar { position: relative; z-index: 40; height: var(--nav-h); background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--hairline); color-scheme: light; }
.topbar-in { position: relative; width: 100%; max-width: min(100%,calc(var(--header-width) + var(--gutter) * 2)); height: 100%; margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; flex-shrink: 0; }
.brand-mark { display: block; width: 32px; height: 32px; border-radius: var(--r-logo); }
.brand-placeholder { background: linear-gradient(160deg,var(--surface),var(--alu-hi)); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline-strong),0 1px 2px var(--shade-1); }
.brand-name { font-family: var(--font-display); font-size: var(--size-body); font-weight: var(--weight-bold); letter-spacing: -.01em; color: var(--ink); line-height: 1.25; }
.nav { min-width: 0; }
.nav ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav li { min-width: 0; }
.nav-item { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 5px 15px; border-radius: var(--r-pill); font-size: var(--size-nav); font-weight: var(--weight-medium); line-height: 1.5; white-space: nowrap; color: var(--ink); opacity: .55; transition: opacity var(--duration-fast) ease; }
.nav-item:hover { opacity: .85; }
.nav-item.is-current { opacity: 1; background: var(--bg); color: var(--text); box-shadow: inset 0 0 0 1px var(--accent); }
.header-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.language-control { position: relative; }
.lang { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 5px 13px; border: 0; border-radius: var(--r-pill); background: var(--surface); color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--hairline-strong); font-size: var(--size-small); font-weight: var(--weight-medium); white-space: nowrap; }
.lang-caret { font-size: var(--size-tiny); }
.lang-short { display: none; }
.language-menu { position: absolute; z-index: 4; right: 0; top: calc(100% + 12px); min-width: 180px; padding: 8px; border: 1px solid var(--hairline-strong); border-radius: var(--r-md); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-panel); }
.language-menu a { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: var(--r-sm); font-size: var(--size-nav); }
.language-menu a:hover,.language-menu a[aria-current] { background: var(--bg-panel); color: var(--ink); }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid var(--hairline-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); }
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.mobile-drawer { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; z-index: 3; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; padding: 16px var(--gutter) 24px; background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--hairline-strong); }
.mobile-drawer ul { list-style: none; padding: 0; margin: 0; }
.mobile-drawer a { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 12px 16px; border-radius: var(--r-sm); font-size: var(--size-nav); }
.mobile-drawer a[aria-current="page"] { background: var(--bg); color: var(--text); box-shadow: inset 0 0 0 1px var(--accent); }
.drawer-languages { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.drawer-label { padding-inline: 16px; font-size: var(--size-small); color: var(--ink-soft); }
.nav-veil { position: fixed; z-index: 30; inset: var(--nav-h) 0 0; border: 0; border-radius: 0; background: var(--veil); color: var(--text); }

/* 首屏沿用确认稿的构图及设备位置。 */
.hero { display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - var(--nav-h) - var(--strip-peek)); padding-bottom: 16px; background: var(--bg-panel); color: var(--ink); }
.halo { position: absolute; left: 50%; top: 330px; width: 1180px; height: 600px; margin-left: -590px; background: radial-gradient(closest-side,var(--halo),var(--clear)); color: var(--ink); pointer-events: none; }
.horizon { position: absolute; left: -12%; right: -12%; bottom: 0; height: 400px; background-image: linear-gradient(var(--grid-line) 1px,var(--clear) 1px),linear-gradient(90deg,var(--grid-line) 1px,var(--clear) 1px); background-size: 56px 56px; background-position: center bottom; transform: perspective(620px) rotateX(62deg); transform-origin: 50% 100%; mask-image: radial-gradient(ellipse 52% 88% at 50% 100%,var(--ink) 22%,var(--clear) 74%); pointer-events: none; }
.glyph { position: absolute; z-index: 1; font-family: var(--font-mono); font-weight: var(--weight-medium); line-height: 1; color: var(--glyph); pointer-events: none; user-select: none; }
.g1 { left: 14%; top: 72px; font-size: 34px; transform: rotate(-12deg); }
.g2 { left: 9%; top: 214px; font-size: 24px; transform: rotate(9deg); }
.g3 { left: 20.5%; top: 298px; font-size: 40px; transform: rotate(14deg); }
.g4 { right: 13%; top: 96px; font-size: 26px; transform: rotate(-7deg); }
.g5 { right: 21%; top: 44px; font-size: 30px; transform: rotate(18deg); }
.g6 { right: 9%; top: 250px; font-size: 26px; transform: rotate(-16deg); }
.g7 { right: 19.5%; top: 318px; font-size: 18px; transform: rotate(11deg); }
.g8 { left: 7%; top: 470px; font-size: 20px; transform: rotate(-20deg); }
.g9 { right: 6%; top: 528px; font-size: 30px; transform: rotate(6deg); }
.hero-copy { position: relative; z-index: 2; width: 100%; max-width: 920px; margin-inline: auto; padding: 44px 24px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; min-height: 30px; padding: 5px 15px 5px 11px; border-radius: var(--r-pill); background: var(--surface); color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--hairline),0 1px 2px var(--shade-1),0 8px 18px -12px var(--shade-2); font-size: var(--size-small); font-weight: var(--weight-medium); line-height: 1.5; margin-bottom: 18px; }
.badge-dot { width: 8px; height: 8px; border-radius: var(--r-circle); background: var(--accent); color: var(--ink); box-shadow: 0 0 0 3px var(--accent-ring); }
.hero .h1 { margin: 0 0 16px; color: var(--ink); }
.mark { position: relative; display: inline-block; white-space: nowrap; }
.mark-ink { position: absolute; left: -.24em; top: -.17em; width: calc(100% + .48em); height: calc(100% + .32em); overflow: visible; pointer-events: none; }
.mark-ink path { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lede { max-width: 700px; margin: 0 0 24px; font-size: var(--size-lede); line-height: 1.65; color: var(--ink-soft); }
.lede strong { color: var(--ink); font-weight: var(--weight-bold); }
.cta { display: flex; gap: 12px; justify-content: center; margin-bottom: 18px; }
.hero .btn-ghost { color: var(--ink); background: var(--clear); box-shadow: inset 0 0 0 1.5px var(--ink); }
.hero .btn-ghost:hover { background: var(--surface); color: var(--ink); }
.devices { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; font-size: var(--size-small); font-weight: var(--weight-medium); color: var(--ink-soft); }
.dev { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 8px; }
.dev svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dev + .dev::before { content: ""; flex-shrink: 0; width: 3px; height: 3px; margin-right: 10px; border-radius: var(--r-circle); background: var(--ink-faint); }
.cap { display: inline-flex; align-items: center; min-height: 28px; max-width: 100%; padding: 3px 12px; border-radius: var(--r-pill); background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline-strong); font-weight: var(--weight-semibold); line-height: 1.5; overflow-wrap: anywhere; }
.cap-first { margin-left: 10px; }
.stage-wrap { position: relative; z-index: 2; height: 420px; margin-top: 28px; }
.stage { position: absolute; left: 50%; top: 0; width: 920px; height: 420px; margin-left: -460px; transform-origin: 50% 0; }
.mac { position: absolute; z-index: 1; left: 316px; top: 47px; width: 368px; height: 375px; transform: rotate(-14deg); transform-origin: 184px 163px; }
.mac-screen { position: absolute; left: 0; top: 0; width: 368px; height: 230px; padding: 9px; border-radius: var(--r-screen-top) var(--r-screen-top) var(--r-screen-bottom) var(--r-screen-bottom); background: var(--bezel); color: var(--text); box-shadow: inset 0 0 0 1px var(--bezel-edge),0 1px 2px var(--shade-1),0 26px 40px -18px var(--shade-2),0 70px 100px -44px var(--shade-2); }
.mac-notch { position: absolute; z-index: 2; left: 50%; top: 9px; width: 44px; height: 8px; margin-left: -22px; border-radius: 0 0 var(--r-screen-bottom) var(--r-screen-bottom); background: var(--bezel); }
.mac-hinge { position: absolute; left: 2px; right: 2px; top: 230px; height: 5px; border-radius: 0 0 var(--r-key) var(--r-key); background: linear-gradient(var(--alu-lo),var(--alu-mid)); }
.mac-deck { position: absolute; left: 0; top: 235px; width: 368px; height: 140px; padding: 10px 16px 0; border-radius: var(--r-xs) var(--r-xs) var(--r-deck) var(--r-deck); background: linear-gradient(180deg,var(--alu-hi),var(--alu-mid) 72%,var(--alu-lo)); color: var(--ink); box-shadow: inset 0 1px 0 var(--surface),inset 0 0 0 1px var(--key-edge),0 24px 36px -16px var(--shade-2),0 60px 90px -40px var(--shade-3); transform: perspective(1000px) rotateX(55deg); transform-origin: 50% 0; }
.kb { display: flex; flex-direction: column; gap: 3px; }
.kb-row { display: flex; gap: 3px; height: 16px; }
.kb-row i { flex: 1; border-radius: var(--r-key); background: var(--key); box-shadow: inset 0 0 0 1px var(--key-edge),inset 0 -1.5px 0 var(--key-shade); }
.kb-row .w13 { flex: 1.3; }
.kb-row .w15 { flex: 1.5; }
.kb-row .w18 { flex: 1.8; }
.kb-row .w23 { flex: 2.3; }
.kb-row .w52 { flex: 5.2; }
.trackpad { width: 120px; height: 30px; margin: 8px auto 0; border-radius: var(--r-paper); background: linear-gradient(var(--alu-mid),var(--alu-hi)); box-shadow: inset 0 0 0 1px var(--key-edge); }
.paper { position: relative; width: 350px; height: 212px; padding: 12px 14px; border-radius: var(--r-paper); overflow: hidden; background: var(--paper); color: var(--ink-soft); font-family: var(--font-mono); }
.paper-head { height: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--hairline); font-size: 10px; font-weight: var(--weight-medium); letter-spacing: .02em; color: var(--ink-faint); }
.code { list-style: none; margin: 0; padding: 0; counter-reset: ln; font-size: 10.5px; line-height: 18px; color: var(--ink-soft); white-space: nowrap; }
.code li { counter-increment: ln; display: flex; }
.code li::before { content: counter(ln); flex: none; width: 18px; margin-right: 10px; text-align: right; color: var(--glyph); }
.code .sec { color: var(--ink); font-weight: var(--weight-bold); }
.code .cm { color: var(--ink-faint); }
.code .kw { color: var(--ink); font-weight: var(--weight-semibold); }
.code .po { color: var(--ink); font-weight: var(--weight-medium); }
.caret { display: inline-block; width: 1.5px; height: 12px; margin: 3px 0 0 3px; background: var(--ink); }
.paper-ink { position: absolute; left: 0; top: 0; width: 350px; height: 212px; overflow: visible; pointer-events: none; }
.paper-ink path { fill: none; stroke: var(--accent); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.paper-note { position: absolute; left: 154px; top: 113px; font-family: var(--font-hand); font-size: 18px; font-weight: var(--weight-semibold); line-height: 1; color: var(--accent-dark); transform: rotate(-5deg); }
.phone { position: absolute; z-index: 2; left: 210px; top: 140px; width: 136px; height: 276px; animation: phone-float 8s ease-in-out infinite; }
.phone-body { position: relative; width: 100%; height: 100%; padding: 6px; border-radius: var(--r-phone); background: var(--bezel); color: var(--text); box-shadow: inset 0 0 0 1px var(--bezel-edge),0 2px 4px var(--shade-1),0 28px 42px -16px var(--shade-3),0 72px 96px -38px var(--shade-2); transform: rotate(-8deg); }
.phone-body::before,.phone-body::after { content: ""; position: absolute; width: 2px; border-radius: var(--r-xs); background: var(--bezel-edge); }
.phone-body::before { right: -2px; top: 78px; height: 38px; }
.phone-body::after { left: -2px; top: 64px; height: 22px; }
.phone-screen { position: relative; height: 100%; border-radius: var(--r-phone-screen); overflow: hidden; background: linear-gradient(168deg,var(--screen-top),var(--screen-bottom) 78%); color: var(--ink); }
.island { position: absolute; left: 50%; top: 9px; width: 40px; height: 12px; margin-left: -20px; border-radius: var(--r-pill); background: var(--island); }
.sk { position: absolute; left: 16px; height: 6px; border-radius: var(--r-pill); background: var(--skeleton); }
.sk-1 { top: 176px; width: 64%; }
.sk-2 { top: 192px; width: 42%; }
.sk-3 { top: 208px; width: 74%; }
.glass-card { position: absolute; z-index: 3; left: 262px; top: 332px; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 15px; border-radius: var(--r-md); background: var(--glass); color: var(--ink); backdrop-filter: blur(10px); box-shadow: var(--shadow-glass); font-size: var(--size-small); white-space: nowrap; }
.gc-dot { width: 7px; height: 7px; border-radius: var(--r-circle); background: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.gc-key { font-weight: var(--weight-bold); color: var(--ink); }
.gc-sep { color: var(--ink-faint); }
.gc-val { font-family: var(--font-mono); font-size: var(--size-tiny); font-weight: var(--weight-medium); color: var(--ink-soft); }
.strip { background: var(--bg); color: var(--text-muted); border-top: 1px solid var(--bg-panel-2); }
.strip-in { max-width: 1280px; min-height: 40px; margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 18px; font-family: var(--font-mono); font-size: var(--size-tiny); letter-spacing: .03em; }
.strip-dot { width: 6px; height: 6px; border-radius: var(--r-circle); background: var(--accent); }
.strip-sep { color: var(--text-muted); }
@keyframes phone-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* 页脚与正文保持相同的深灰节奏。 */
.site-footer { margin-top: var(--section-space); padding-top: 64px; padding-bottom: 32px; background: var(--bg-panel-2); color: var(--text); border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.3fr; gap: 48px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: var(--weight-bold); line-height: 1.4; }
.footer-brand img { width: 36px; height: 36px; border-radius: var(--r-logo); }
.footer-intro { margin-top: 20px; font-size: var(--size-nav); color: var(--text-muted); }
.footer-title { margin-bottom: 16px; font-size: var(--size-body); font-weight: var(--weight-bold); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { display: inline-flex; min-height: 36px; align-items: center; font-size: var(--size-nav); color: var(--text-muted); }
.footer-links a:hover,.footer-languages a:hover { color: var(--text); text-decoration: underline; text-underline-offset: .2em; }
.footer-languages { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 40px; font-size: var(--size-nav); color: var(--text-muted); }
.footer-languages a { min-height: 36px; display: inline-flex; align-items: center; }
.footer-languages [aria-current] { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); font-size: var(--size-tiny); color: var(--text-muted); }
.footer-bottom p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal-links a { display: inline-flex; align-items: center; min-height: 32px; }

/* 预览页不依赖脚本，展示动效终态。 */
.design-preview .phone { animation: none; }
.preview-heading { margin-bottom: 40px; }
.preview-label { font-family: var(--font-mono); font-size: var(--size-small); color: var(--text-muted); }
.preview-samples { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.preview-samples > * { min-width: 0; }
.palette-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 20px; }
.swatch { margin: 0; min-width: 0; }
.swatch-chip { height: 72px; border-radius: var(--r-sm); border: 1px solid var(--border); margin-bottom: 8px; }
.swatch figcaption { font-family: var(--font-mono); font-size: var(--size-tiny); overflow-wrap: anywhere; }
.sw-bg { background: var(--bg); }
.sw-panel { background: var(--bg-panel); }
.sw-panel2 { background: var(--bg-panel-2); }
.sw-border { background: var(--border); }
.sw-accent { background: var(--accent); }
.sw-accent-dark { background: var(--accent-dark); }
.sw-accent-ring { background: var(--accent-ring); }
.sw-text { background: var(--text); }
.sw-muted { background: var(--text-muted); }
.sw-success { background: var(--success); }
.sw-warn { background: var(--warn); }
.sw-error { background: var(--error); }
.sw-surface { background: var(--surface); }
.sw-ink { background: var(--ink); }
.sw-ink-soft { background: var(--ink-soft); }
.sw-ink-faint { background: var(--ink-faint); }
.sw-glyph { background: var(--glyph); }
.sw-hairline { background: var(--hairline); }
.sw-hairline-strong { background: var(--hairline-strong); }
.sw-paper { background: var(--paper); }
.sw-bezel { background: var(--bezel); }
.sw-bezel-edge { background: var(--bezel-edge); }
.sw-island { background: var(--island); }
.sw-alu-hi { background: var(--alu-hi); }
.sw-alu-mid { background: var(--alu-mid); }
.sw-alu-lo { background: var(--alu-lo); }
.sw-key { background: var(--key); }
.sw-key-edge { background: var(--key-edge); }
.sw-key-shade { background: var(--key-shade); }
.sw-screen-top { background: var(--screen-top); }
.sw-screen-bottom { background: var(--screen-bottom); }
.sw-skeleton { background: var(--skeleton); }
.sw-glass { background: var(--glass); }
.sw-halo { background: var(--halo); }
.sw-clear { background: var(--clear); }
.sw-grid { background: var(--grid-line); }
.sw-shade1 { background: var(--shade-1); }
.sw-shade2 { background: var(--shade-2); }
.sw-shade3 { background: var(--shade-3); }
.sw-veil { background: var(--veil); }

@media (max-width: 1280px) {
  .topbar-in { gap: 16px; }
  .nav-item { padding-inline: 10px; }
}
@media (max-width: 1180px) {
  .stage-wrap { height: 362px; }
  .stage { transform: scale(.86); }
  .g3,.g7 { display: none; }
  .split { gap: 40px; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .mobile-drawer:not([hidden]) { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .glyph { display: none; }
  .g1,.g4 { display: block; }
  .grid-three { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 768px) {
  :root { --size-h1: clamp(24px,4vw,30px); --size-h2: 28px; }
  .split { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; --space-card: 24px; }
  .topbar-in { gap: 8px; }
  .brand { gap: 8px; }
  .brand-name { font-size: var(--size-nav); max-width: 142px; }
  .brand-mark { width: 28px; height: 28px; }
  .lang-long { display: none; }
  .lang-short { display: inline; }
  .lang { min-height: 44px; padding-inline: 10px; }
  .header-tools { margin-left: auto; gap: 6px; }
  .hero-copy { padding-top: 32px; padding-inline: var(--gutter); }
  .hero .h1 { font-size: clamp(24px,4.1vw,30px); }
  .lede { font-size: var(--size-button); }
  .cta { flex-direction: column; align-self: stretch; }
  .stage-wrap { height: 244px; }
  .stage { transform: scale(.58); }
  .cap-first { margin-left: 0; }
  .devices { gap: 4px 0; font-size: var(--size-tiny); }
  .dev { padding-inline: 5px; gap: 4px; }
  .dev + .dev::before { margin-right: 4px; }
  .grid-two,.grid-three,.footer-grid { grid-template-columns: minmax(0,1fr); }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-grid { gap: 32px; }
  .tilt,[data-tilt] { transform: none; }
  .strip-in { padding-top: 8px; padding-bottom: 8px; gap: 4px 12px; }
}
@media (max-width: 380px) {
  .brand-name { max-width: 118px; font-size: var(--size-small); }
  .stage { transform: scale(.49); }
  .stage-wrap { height: 210px; }
  .dev + .dev::before { display: none; }
}
@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; }
}