:root {
  color-scheme: dark;
  --bg: #3c3c3b;
  --bg-panel: #f5f5f4;
  --bg-panel-2: #2f2f2e;
  --border: #545453;
  --accent: #f2cf2e;
  --accent-dark: #c7a412;
  --text: #f3f3f1;
  --text-muted: #b3b3b0;
  --success: #5ec27a;
  --warn: #e8a33d;
  --error: #e5645a;
  --ink: #222221;
  --ink-muted: #6b6b69;
  --ink-soft: #8d8d8a;
  --ink-faint: #c9c9c6;
  --paper: #ffffff;
  --line-light: #e6e6e4;
  --line-strong: #d4d4d1;
  --alu-hi: #f1f1ef;
  --alu-mid: #d2d2cf;
  --alu-lo: #ababa8;
  --alu-edge: #9d9d9a;
  --alu-shine: rgba(255, 255, 255, 0.85);
  --bezel: #161615;
  --bezel-edge: #2c2c2b;
  --lens: #2b2b2a;
  --code-num: #b8b8b5;
  --overlay-dark: rgba(47, 47, 46, 0.92);
  --hairline-dark: rgba(255, 255, 255, 0.06);
  --veil: rgba(34, 34, 33, 0.58);
  --pulse: rgba(94, 194, 122, 0.45);
  --clear: transparent;
  --shadow-ipad: -12px 48px 80px -14px rgba(34, 34, 33, 0.30), -3px 12px 18px -6px rgba(34, 34, 33, 0.30);
  --shadow-iphone: -14px 42px 62px -10px rgba(34, 34, 33, 0.38), -3px 10px 14px -4px rgba(34, 34, 33, 0.36);
  --shadow-btn: 0 10px 22px -10px rgba(34, 34, 33, 0.45), 0 2px 4px rgba(34, 34, 33, 0.18);
  --shadow-panel: 0 -18px 50px -20px rgba(0, 0, 0, 0.45), 0 -2px 6px rgba(0, 0, 0, 0.18);
  --shadow-card: 0 28px 60px -26px rgba(0, 0, 0, 0.26), 0 4px 10px -3px rgba(0, 0, 0, 0.16);
  --shadow-menu: 0 20px 44px -12px rgba(34, 34, 33, 0.24), 0 3px 8px rgba(34, 34, 33, 0.12);
  --shadow-logo: 0 1px 2px var(--ink-faint);
  --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", "PingFang TC", "Hiragino Sans", "Apple SD Gothic Neo", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --f-micro: 11px;
  --f-small: 12px;
  --f-label: 13px;
  --f-detail: 13.5px;
  --f-ui: 14px;
  --f-nav: 15px;
  --f-body: 16px;
  --f-lede: 16.5px;
  --f-brand: 18px;
  --f-subtitle: 20px;
  --f-phone: 22px;
  --f-h1: clamp(34px, 3.4vw, 48px);
  --f-h2: clamp(26px, 3vw, 40px);
  --f-h3: clamp(20px, 2vw, 24px);
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-label: 600;
  --weight-strong: 650;
  --weight-bold: 700;
  --weight-display: 800;
  --tracking-title: -0.02em;
  --tracking-brand: -0.01em;
  --tracking-small: 0.02em;
  --leading-body: 1.8;
  --leading-title: 1.17;
  --r-card: 28px;
  --r-card-small: 24px;
  --r-btn: 14px;
  --r-badge: 12px;
  --r-shot: 10px;
  --r-logo: 9px;
  --r-pill: 999px;
  --r-stroke: 3px;
  --r-tiny: 2px;
  --r-round: 50%;
  --r-ipad: 44px;
  --r-ipad-bezel: 37px;
  --r-ipad-screen: 20px;
  --r-iphone: 40px;
  --r-iphone-bezel: 35px;
  --r-iphone-screen: 27px;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-7: 28px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --section-space: clamp(56px, 7vw, 104px);
  --nav-h: 76px;
  --strip-h: 88px;
  --peek-h: 68px;
  --gutter: clamp(20px, 6.6vw, 96px);
  --content-width: 1200px;
  --reading-width: 780px;
  --header-width: 1280px;
  --duration-fast: 0.2s;
  --duration-reveal: 0.6s;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --focus-width: 2px;
  --focus-gap: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--s-6); }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: var(--weight-normal) var(--f-body)/var(--leading-body) var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  letter-spacing: var(--tracking-title);
  line-height: var(--leading-title);
  text-wrap: balance;
}
h1 { font-size: var(--f-h1); }
h2 { font-size: var(--f-h2); }
h3 { font-size: var(--f-h3); }
h4 { font-size: var(--f-brand); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: var(--clear); }
button { color: inherit; }
button:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; opacity: 0.55; }
img, svg { max-width: 100%; }
img { display: block; }
svg { vertical-align: middle; }
svg.icon { width: 20px; height: 20px; flex-shrink: 0; }
ul, ol { padding-inline-start: var(--s-6); }
li + li { margin-top: var(--s-2); }
hr { border: 0; border-top: 1px solid var(--border); margin-block: var(--s-8); }
:focus-visible {
  outline: var(--focus-width) solid var(--accent);
  outline-offset: var(--focus-gap);
}
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--ink); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  inset-block-start: var(--s-2);
  inset-inline-start: var(--s-4);
  z-index: 100;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-btn);
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.nowrap { white-space: nowrap; }
.wrap {
  width: 100%;
  max-width: calc(var(--content-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-width: 0;
}
.reading {
  width: 100%;
  max-width: calc(var(--reading-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-width: 0;
}
.section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}
.section--light { color-scheme: light; background: var(--bg-panel); color: var(--ink); }
.section--deep { background: var(--bg-panel-2); color: var(--text); }
.section__head { max-width: 720px; margin-bottom: var(--s-10); }
.section__head p { margin-top: var(--s-5); color: var(--text-muted); }
.section--light .section__head p { color: var(--ink-muted); }
.grid { display: grid; gap: var(--s-6); }
.grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid > *, .flex > *, .prose, .prose > *, .card, .panel { min-width: 0; }
.flex { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }
.stack > * + * { margin-top: var(--s-6); }
.muted { color: var(--text-muted); }
.section--light .muted, .card--light .muted { color: var(--ink-muted); }
.mono { font-family: var(--font-mono); }
.prose { max-width: 100%; }
.prose > * + * { margin-top: var(--s-5); }
.prose h2 { margin-top: var(--s-16); }
.prose h3 { margin-top: var(--s-10); }
.prose a:not(.btn):not(.app-store-button) { text-decoration: underline; text-underline-offset: 0.2em; }
.prose li + li { margin-top: var(--s-3); }
.prose :is(h2, h3, h4, section) { scroll-margin-top: var(--s-8); }
code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  overflow-wrap: anywhere;
}
pre {
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: var(--s-6);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  background: var(--bg-panel-2);
  color: var(--text);
  font: var(--f-ui)/1.9 var(--font-mono);
  tab-size: 2;
}
pre code {
  padding: 0;
  white-space: pre;
  overflow-wrap: normal;
  word-break: normal;
  font-size: inherit;
}
.rule-key {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.card, .panel {
  padding: var(--s-8);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg-panel-2);
  color: var(--text);
  box-shadow: var(--shadow-card);
}
.card p, .panel p { margin-top: var(--s-4); }
.card--light {
  color-scheme: light;
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line-light);
}
.panel--floating {
  background: var(--overlay-dark);
  color: var(--text);
  box-shadow: inset 0 1px 0 var(--hairline-dark), var(--shadow-card);
}
.btn, .app-store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  max-width: 100%;
  padding: var(--s-3) 22px;
  border: 1px solid var(--clear);
  border-radius: var(--r-btn);
  font: var(--weight-strong) var(--f-body)/1.4 var(--font-body);
  text-align: center;
  text-decoration: none;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn--primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 0 0 2px var(--bg-panel), 0 0 0 4px var(--accent), var(--shadow-btn);
}
.btn--ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--outline { background: var(--clear); color: var(--text); border-color: var(--border); }
.btn:hover, .app-store-button:hover { transform: translateY(-1px); }
.btn:active, .app-store-button:active { transform: translateY(1px); }
.btn:disabled:hover, .btn[aria-disabled="true"]:hover { transform: none; }
.btn--focus { outline: var(--focus-width) solid var(--accent); outline-offset: var(--focus-gap); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.reveal { opacity: 1; transform: none; }
html.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--duration-reveal) var(--ease-out), transform var(--duration-reveal) var(--ease-out);
}
html.reveal-ready .reveal.shown { opacity: 1; transform: none; }

/* 页头使用独立宽版心，不继承正文阅读宽度。 */
#site-header, .preview-header { position: relative; z-index: 50; }
.masthead { background: var(--paper); color: var(--ink); color-scheme: light; }
.masthead__inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: var(--nav-h);
  width: 100%;
  max-width: min(100%, calc(var(--header-width) + var(--gutter) * 2));
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; gap: var(--s-3); flex-shrink: 0; }
.brand__mark {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--r-logo);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-logo);
}
.brand__name { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name b {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: var(--f-brand);
  letter-spacing: var(--tracking-brand);
  color: var(--ink);
}
.brand__name span { font-size: var(--f-small); color: var(--ink-muted); letter-spacing: var(--tracking-small); }
.desktop-nav { margin-left: auto; min-width: 0; align-self: stretch; }
.nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  gap: var(--s-1);
}
.nav__list li { height: 100%; margin: 0; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  height: 100%;
  padding-inline: 12px;
  font-size: var(--f-nav);
  font-weight: var(--weight-medium);
  color: var(--ink-muted);
  white-space: nowrap;
}
.nav__link svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: var(--weight-strong); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-inline: 12px;
  bottom: 0;
  height: 3px;
  border-radius: var(--r-stroke) var(--r-stroke) 0 0;
  background: var(--accent);
}
.header-tools { display: flex; align-items: center; gap: var(--s-2); flex-shrink: 0; }
.language-picker { position: relative; }
.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: var(--s-2) 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font: var(--weight-medium) var(--f-ui)/1.4 var(--font-body);
  white-space: nowrap;
}
.lang svg { width: 16px; height: 16px; flex-shrink: 0; }
.lang__short { display: none; }
.lang__caret { color: var(--ink-muted); font-size: var(--f-micro); }
.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 180px;
  padding: var(--s-2);
  border: 1px solid var(--line-light);
  border-radius: var(--r-btn);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-menu);
  z-index: 4;
}
.language-menu a { display: flex; align-items: center; min-height: 44px; padding: var(--s-2) var(--s-3); border-radius: var(--r-logo); }
.language-menu a:hover, .language-menu a[aria-current="true"] { background: var(--bg-panel); color: var(--ink); }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-badge);
  background: var(--paper);
  color: var(--ink);
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-veil {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 1;
  border: 0;
  background: var(--veil);
  color: var(--paper);
}
.mobile-drawer {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  z-index: 2;
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--s-4) var(--gutter) var(--s-6);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-menu);
}
.mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
.mobile-drawer li { margin: 0; }
.mobile-drawer a {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  width: 100%;
  min-height: 48px;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-badge);
}
.mobile-drawer a svg { width: 18px; height: 18px; flex-shrink: 0; }
.mobile-drawer a:hover, .mobile-drawer a[aria-current] { background: var(--bg-panel); color: var(--ink); }
.drawer-language { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line-light); }
.masthead :focus-visible { outline-color: var(--ink); }

/* 已确认首屏：设备屏内是规则稿件，不是应用界面。 */
.hero {
  position: relative;
  overflow: hidden;
  overflow-x: clip;
  background: var(--bg-panel);
  color: var(--ink);
  color-scheme: light;
  height: clamp(600px, calc(100vh - var(--nav-h) - var(--strip-h) - var(--peek-h)), 760px);
  display: flex;
  align-items: center;
  padding-inline: var(--gutter);
}
.hero__copy { position: relative; z-index: 3; width: min(560px, 44%); min-width: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 30px;
  max-width: 100%;
  padding: var(--s-1) 14px var(--s-1) 12px;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-light);
  font-size: var(--f-label);
  font-weight: var(--weight-label);
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: var(--r-round); background: var(--success); flex-shrink: 0; }
.eyebrow__sep { color: var(--ink-muted); }
.eyebrow__tail { color: var(--ink-muted); font-weight: var(--weight-medium); }
.hero h1 { margin-top: 22px; font-size: var(--f-h1); color: var(--ink); }
.hero h1 .line { display: block; }
.hl { position: relative; z-index: 0; white-space: nowrap; }
.hl::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.06em;
  right: -0.08em;
  bottom: 0.06em;
  height: 0.42em;
  border-radius: var(--r-stroke);
  background: var(--accent);
  transform: rotate(-1.2deg);
}
.lede { margin-top: var(--s-7); max-width: 500px; font-size: var(--f-lede); line-height: 1.8; color: var(--ink-muted); }
.lede strong { color: var(--ink); font-weight: var(--weight-strong); }
.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.chips li { margin: 0; min-width: 0; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: 100%;
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink-muted);
  border: 1px solid var(--line-light);
  font: var(--f-small)/1.5 var(--font-mono);
  overflow-wrap: anywhere;
}
.chip--fact { font-family: var(--font-body); font-weight: var(--weight-label); color: var(--ink); border-color: var(--line-strong); }
.devices {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin: 22px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
  max-width: 500px;
}
.devices li { margin: 0; }
.device { display: inline-flex; align-items: center; gap: 7px; font-size: var(--f-detail); font-weight: var(--weight-label); color: var(--ink); }
.device svg { width: 18px; height: 18px; flex-shrink: 0; }
.device:hover { text-decoration: underline; text-underline-offset: 4px; }
.store-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 10px; border-radius: var(--r-pill); border: 1px solid var(--ink); font-size: var(--f-small); font-weight: var(--weight-strong); color: var(--ink); }
.glyphs { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.glyph { position: absolute; font-family: var(--font-mono); font-weight: var(--weight-medium); color: var(--ink-faint); user-select: none; }
.g1 { left: 40px; top: 15%; font-size: 26px; transform: rotate(-10deg); }
.g2 { left: 41%; top: 7%; font-size: var(--f-phone); transform: rotate(8deg); }
.g3 { left: 46%; bottom: 7%; font-size: 30px; }
.g4 { left: 3.6%; bottom: 11%; font-size: 28px; transform: rotate(12deg); }
.g5 { right: 4%; bottom: 6%; font-size: 24px; transform: rotate(-6deg); }
.g6 { left: 38%; top: 47%; font-size: var(--f-brand); transform: rotate(-14deg); }
.hero__visual { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.stage { position: absolute; left: calc(50% - 40px); top: -20px; width: 800px; height: 660px; }
.rig-float { position: absolute; inset: 0; animation: drift 8s ease-in-out infinite alternate; }
.rig { position: absolute; inset: 0; transform: rotate(-14deg); transform-origin: 50% 50%; }
.ipad {
  position: absolute;
  left: 120px;
  top: 20px;
  width: 680px;
  height: 480px;
  padding: 7px;
  border-radius: var(--r-ipad);
  background: linear-gradient(145deg, var(--alu-hi) 0%, var(--alu-mid) 36%, var(--alu-lo) 58%, var(--alu-mid) 78%, var(--alu-hi) 100%);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--alu-edge), inset 0 1.5px 0 var(--alu-shine), var(--shadow-ipad);
}
.ipad__bezel { position: relative; height: 100%; padding: 18px; border-radius: var(--r-ipad-bezel); background: var(--bezel); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--bezel-edge); }
.ipad__bezel::before { content: ""; position: absolute; top: 7px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: var(--r-round); background: var(--lens); }
.ipad__screen { position: relative; height: 100%; border-radius: var(--r-ipad-screen); background: var(--paper); color: var(--ink); }
.sheet { counter-reset: ln; margin: 0; padding: 44px 24px 0 80px; list-style: none; font: var(--f-ui)/28px var(--font-mono); color: var(--ink-muted); white-space: pre; }
.sheet li { counter-increment: ln; position: relative; padding-left: 40px; margin: 0; }
.sheet li::before { content: counter(ln); position: absolute; left: 0; width: 22px; text-align: right; color: var(--code-num); }
.sheet::before { content: ""; position: absolute; top: 34px; bottom: 34px; left: 111px; width: 1px; background: var(--line-light); }
.sec, .pol { color: var(--ink); font-weight: var(--weight-bold); }
.kw { color: var(--ink); font-weight: var(--weight-label); }
.pun { color: var(--ink-muted); }
.mark { position: relative; display: inline-block; }
.mark__ring { position: absolute; left: -14px; top: -6px; width: 70px; height: 40px; max-width: none; overflow: visible; }
.mark__arrow { position: absolute; left: 58px; top: -44px; width: 92px; height: 60px; max-width: none; overflow: visible; }
.mark__ring path, .mark__arrow path, .note__line path { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.note { position: absolute; left: 150px; top: -60px; white-space: nowrap; }
.note__txt { display: block; transform: rotate(-6deg); transform-origin: 0 50%; font: var(--weight-display) var(--f-ui)/18px var(--font-display); color: var(--ink-muted); letter-spacing: var(--tracking-small); }
.note__line { display: block; width: 70px; height: 10px; margin-top: 1px; transform: rotate(-6deg); transform-origin: 0 50%; overflow: visible; }
.ink-in { animation: ink-in 0.5s var(--ease-out) backwards; }
.ink-in--2 { animation-delay: 0.15s; }
.ink-in--3 { animation-delay: 0.3s; }
.iphone {
  position: absolute;
  left: 0;
  top: 170px;
  width: 200px;
  height: 408px;
  padding: 5px;
  border-radius: var(--r-iphone);
  background: linear-gradient(150deg, var(--alu-hi) 0%, var(--alu-mid) 40%, var(--alu-lo) 64%, var(--alu-hi) 100%);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--alu-edge), inset 0 1.5px 0 var(--alu-shine), var(--shadow-iphone);
}
.iphone::before, .iphone::after { content: ""; position: absolute; width: 3px; border-radius: var(--r-tiny); background: var(--alu-lo); }
.iphone::before { right: -2px; top: 118px; height: 58px; }
.iphone::after { left: -2px; top: 96px; height: 36px; }
.iphone__bezel { position: relative; height: 100%; padding: 9px; border-radius: var(--r-iphone-bezel); background: var(--bezel); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--bezel-edge); }
.iphone__screen { position: relative; height: 100%; border-radius: var(--r-iphone-screen); background: var(--paper); color: var(--ink); display: flex; flex-direction: column; justify-content: center; padding-inline: 14px; }
.iphone__island { position: absolute; top: 11px; left: 50%; width: 56px; height: 17px; margin-left: -28px; border-radius: var(--r-pill); background: var(--bezel); }
.ph-num { font: var(--f-micro)/1.4 var(--font-mono); color: var(--ink-muted); }
.ph-final { margin-top: var(--s-2); font: var(--weight-display) var(--f-phone)/1.2 var(--font-display); letter-spacing: var(--tracking-title); color: var(--ink); white-space: nowrap; }
.ph-final .hl::before { height: 0.5em; bottom: 0.02em; }
.caret { display: inline-block; width: 2.5px; height: 1.05em; margin-left: 3px; vertical-align: -0.16em; border-radius: var(--r-tiny); background: var(--ink); }
.ph-note { margin-top: var(--s-3); font: var(--f-micro)/1.6 var(--font-mono); color: var(--ink-muted); }
.strip { position: relative; z-index: 4; min-height: var(--strip-h); background: var(--paper); color: var(--ink); border-top: 1px solid var(--line-light); display: flex; align-items: center; justify-content: space-between; gap: var(--s-8); padding-inline: var(--gutter); }
.facts { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.fact { display: flex; flex-direction: column; gap: var(--s-1); padding-inline: 22px; border-left: 1px solid var(--line-light); margin: 0; }
.fact:first-child { border-left: 0; }
.fact__k { font-size: var(--f-micro); font-weight: var(--weight-label); letter-spacing: 0.06em; color: var(--ink-muted); }
.fact__v { font: var(--weight-medium) var(--f-detail)/1.5 var(--font-mono); color: var(--ink); }
.peek { position: relative; height: var(--peek-h); overflow: hidden; background: var(--bg); color: var(--text); padding-inline: var(--gutter); }
.peek__label { position: absolute; top: 30px; font: var(--f-small)/1.5 var(--font-mono); color: var(--text-muted); }
.peek__label b { color: var(--text); }
.peek__panel { position: absolute; top: 28px; right: var(--gutter); width: 56%; height: 120px; border-radius: var(--r-card) var(--r-card) 0 0; background: var(--overlay-dark); color: var(--text); box-shadow: inset 0 1px 0 var(--hairline-dark), var(--shadow-panel); }
.peek__panel::before { content: ""; position: absolute; top: 18px; left: 28px; width: 64px; height: 6px; border-radius: var(--r-stroke); background: var(--border); }
.preview-page .rig-float, .preview-page .ink-in { animation: none; }

/* 页脚。 */
.site-footer { background: var(--bg-panel-2); color: var(--text); padding-top: var(--s-16); padding-bottom: var(--s-8); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 1.3fr 0.8fr; gap: var(--s-10); }
.footer-grid > * { min-width: 0; }
.footer-brand { display: flex; align-items: center; gap: var(--s-3); font-weight: var(--weight-bold); }
.footer-brand img { width: 40px; height: 40px; border-radius: var(--r-logo); flex-shrink: 0; }
.footer-about p { margin-top: var(--s-4); color: var(--text-muted); font-size: var(--f-ui); }
.footer-title { font-size: var(--f-ui); font-weight: var(--weight-bold); margin-bottom: var(--s-4); }
.footer-links { list-style: none; margin: 0; padding: 0; font-size: var(--f-ui); }
.footer-links li { margin: 0; }
.footer-links a { display: block; padding-block: 6px; color: var(--text-muted); overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-4); border-top: 1px solid var(--border); padding-top: var(--s-6); margin-top: var(--s-12); font-size: var(--f-small); color: var(--text-muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--s-4); }
@keyframes drift { from { transform: translate3d(0, 4px, 0); } to { transform: translate3d(0, -4px, 0); } }
@keyframes ink-in { from { opacity: 0; transform: translate3d(0, 6px, 0); } }

@media (max-width: 1279px) {
  .desktop-nav { display: none; }
  .header-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 1240px) {
  .stage { transform: scale(0.8); transform-origin: 0 0; left: calc(50% - 10px); top: 10px; }
  .facts .fact:nth-child(5) { display: none; }
}
@media (max-width: 1040px) {
  .facts .fact:nth-child(4) { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero { height: auto; flex-direction: column; align-items: stretch; padding-top: var(--s-10); padding-bottom: 0; }
  .hero__copy { width: 100%; }
  .hero h1 { font-size: clamp(24px, 7vw, 30px); }
  .lede { font-size: var(--f-nav); }
  .hero__visual { position: relative; inset: auto; height: 340px; margin-top: var(--s-3); }
  .stage { left: 50%; top: 0; transform: translateX(-50%) scale(0.5); transform-origin: 50% 0; }
  .g2, .g3, .g6 { display: none; }
  .strip { flex-direction: column; align-items: flex-start; padding-top: var(--s-5); padding-bottom: var(--s-5); gap: var(--s-4); }
  .facts { flex-wrap: wrap; width: 100%; gap: var(--s-3) 0; }
  .facts .fact:nth-child(4), .facts .fact:nth-child(5) { display: flex; }
  .fact { padding-inline: 0 var(--s-4); border-left: 0; width: 50%; min-width: 0; }
  .peek__panel { width: 65%; }
  .grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  h1 { font-size: clamp(24px, 6vw, 30px); }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --nav-h: 68px; }
  .masthead__inner { gap: var(--s-2); }
  .brand { gap: var(--s-2); flex-shrink: 1; min-width: 0; }
  .brand__name { min-width: 0; overflow-wrap: anywhere; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name b { font-size: var(--f-nav); }
  .brand__name span { font-size: var(--f-micro); }
  .lang__full { display: none; }
  .lang__short { display: inline; }
  .lang { min-height: 44px; padding-inline: 10px; }
  .lang > svg { display: none; }
  .header-tools { margin-left: auto; gap: 6px; }
  .grid--two, .grid--three, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .card, .panel { padding: var(--s-6); }
  .tilt, .content-tilt { transform: none; }
  .hero .cta { gap: var(--s-4); }
  .hero .btn { padding-inline: var(--s-4); font-size: var(--f-ui); }
  .hero__visual { height: 300px; }
  .stage { transform: translateX(-50%) scale(0.44); }
  .devices { gap: var(--s-2) var(--s-4); }
  .footer-grid { gap: var(--s-8); }
  .footer-bottom { flex-direction: column; }
  .peek__panel { width: 44%; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .brand__name span { display: none; }
  .hero .cta { gap: var(--s-3); }
  .hero .btn { padding-inline: var(--s-3); }
  .hero__visual { height: 265px; }
  .stage { transform: translateX(-50%) scale(0.38); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.reveal-ready .reveal { opacity: 1; transform: none; }
}
@media print {
  .header-tools, .desktop-nav, .mobile-drawer, .menu-veil { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}