:root {
  --bg: #ffffff;
  --bg-panel: #f5f5f5;
  --bg-panel-hover: #ededed;
  --bg-panel-2: #eaf3ff;
  --border: #e6e6e6;
  --accent: #2f8a14;
  --accent-dark: #226a0c;
  --accent-tint: #e8f3e2;
  --on-accent: #ffffff;
  --text: #161616;
  --text-muted: #5f6368;
  --success: #188a4a;
  --warn: #f2a516;
  --error: #d93a2b;
  --sky: #4aa3ff;
  --sun: #ffc83d;
  --lilac: #a98bf0;
  --sun-tint: #fff4d6;
  --lilac-tint: #f1ecfd;
  --wave-far: #d3e7ff;
  --wave-mid: #a3cfff;
  --wave-near: #4aa3ff;
  --wave-crest: #ffffff;
  --line: #161616;
  --clear: transparent;
  --veil: rgba(0, 0, 0, .22);
  --font-display: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans', 'Apple SD Gothic Neo', 'Microsoft YaHei', system-ui, sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Apple SD Gothic Neo', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --text-xs: 12px;
  --text-tag: 12.5px;
  --text-sm: 13px;
  --text-device: 13.5px;
  --text-small: 14px;
  --text-nav: 15px;
  --text-base: 16px;
  --text-brand: 17px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-h3: 24px;
  --text-h2: clamp(26px, 3vw, 36px);
  --text-h1: clamp(34px, 3.4vw, 48px);
  --text-h1-mobile: clamp(24px, 7.2vw, 30px);
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-strong: 600;
  --tracking-title: -.02em;
  --tracking-brand: -.01em;
  --tracking-code: .01em;
  --tracking-tag: .03em;
  --tracking-sign: .06em;
  --r-pill: 999px;
  --r-card: 28px;
  --r-field: 40px;
  --r-panel: 36px;
  --r-group: 16px;
  --r-logo: 9px;
  --r-logo-lg: 14px;
  --r-tag: 7px;
  --r-shot: 10px;
  --r-circle: 50%;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 40px rgba(0, 0, 0, .06);
  --shadow-card-hover: 0 1px 2px rgba(0, 0, 0, .05), 0 20px 52px rgba(0, 0, 0, .09);
  --shadow-nav: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 24px rgba(0, 0, 0, .05);
  --shadow-btn: 0 1px 2px rgba(34, 106, 12, .22), 0 8px 22px rgba(47, 138, 20, .18);
  --shadow-logo: inset 0 0 0 4px var(--bg-panel);
  --shadow-logo-lg: inset 0 0 0 6px var(--bg-panel);
  --container: 1200px;
  --reading: 800px;
  --header-container: 1440px;
  --gutter: 24px;
  --section-gap: 144px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --duration-fast: .2s;
  --duration-card: .35s;
  --duration-reveal: .6s;
  --layer-header: 40;
  --layer-veil: 1;
  --layer-drawer: 3;
  --layer-popover: 5;
  --layer-fab: 20;
}

*, *::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: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
main, section, article, aside, nav, header, footer, div, li { min-width: 0; }
img { max-width: 100%; }
svg { flex-shrink: 0; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: var(--clear); }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-tag); }
::selection { background: var(--accent-tint); color: var(--text); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-normal);
  letter-spacing: var(--tracking-title);
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: var(--text-h1); line-height: 1.16; }
h2 { font-size: var(--text-h2); line-height: 1.25; }
h3 { font-size: var(--text-h3); line-height: 1.35; }
p { margin-top: 0; }
strong { font-weight: var(--weight-strong); }
code, pre, kbd { font-family: var(--font-mono); }
code { overflow-wrap: anywhere; font-size: .9em; }
pre {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 20px;
  background: var(--bg-panel);
  color: var(--text);
  border-radius: var(--r-group);
  line-height: 1.8;
  overscroll-behavior-inline: contain;
}
pre code { white-space: pre; overflow-wrap: normal; word-break: normal; }
.wrap {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.reading { max-width: calc(var(--reading) + var(--gutter) * 2); }
.section { margin-top: var(--section-gap); padding-top: 0; padding-bottom: 0; }
.section-heading { margin: 0 auto 36px; text-align: center; max-width: 760px; }
.section-heading p { color: var(--text-muted); margin: 16px 0 0; }
.section-heading h2 { margin: 0; }
.panel {
  padding: 56px;
  border-radius: var(--r-panel);
  background: var(--bg-panel);
  color: var(--text);
}
.sky-panel {
  position: relative;
  overflow-x: clip;
  padding: 64px 40px;
  border-radius: var(--r-field);
  background: var(--bg-panel-2);
  color: var(--text);
}
.grid-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.stack { display: grid; gap: 24px; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.muted { color: var(--text-muted); }
.kw { color: var(--accent); }
.nowrap { white-space: nowrap; }
.mono { font-family: var(--font-mono); letter-spacing: var(--tracking-code); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 8px; left: 16px; z-index: 100;
  padding: 12px 20px; border-radius: var(--r-pill);
  background: var(--accent); color: var(--on-accent);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.btn, .store-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: 100%;
  min-height: 52px;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease), transform var(--duration-fast) var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-btn); }
.btn-primary:hover, .btn-primary.is-hover { background: var(--accent-dark); color: var(--on-accent); }
.btn-ghost { background: var(--bg-panel); color: var(--text); }
.btn-ghost:hover, .btn-ghost.is-hover { background: var(--bg-panel-hover); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: var(--bg-panel); color: var(--text-muted); box-shadow: none; }
.btn.is-focus { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-arrow { transition: transform var(--duration-fast) var(--ease); }
.btn-ghost:hover .btn-arrow { transform: translateX(3px); }
.text-link { color: var(--accent-dark); text-decoration-thickness: 1px; }
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* 页头的独立宽版心，不复用正文 wrap。 */
#site-header { position: relative; z-index: var(--layer-header); }
.masthead {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: min(100%, calc(var(--header-container) + var(--gutter) * 2));
  min-height: 92px;
  padding: 18px 40px 0;
  margin-inline: auto;
}
.brand {
  display: inline-flex; flex-shrink: 0; align-items: center; gap: 11px;
  color: var(--text); text-decoration: none;
  font-size: var(--text-brand); letter-spacing: var(--tracking-brand);
}
.brand-name { overflow-wrap: anywhere; }
.logo-slot {
  display: block; flex: 0 0 auto; width: 36px; height: 36px;
  border-radius: var(--r-logo); background: var(--bg); color: var(--text);
}
img.logo-slot { object-fit: cover; }
.logo-placeholder { border: 1px solid var(--border); box-shadow: var(--shadow-logo); }
.logo-slot-lg { width: 60px; height: 60px; border-radius: var(--r-logo-lg); }
.logo-placeholder.logo-slot-lg { box-shadow: var(--shadow-logo-lg); }
.desktop-nav { min-width: 0; margin-inline: auto; }
.tabbar {
  position: relative;
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0 8px;
  height: 52px;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-nav);
}
.tabbar li { display: flex; }
.tab {
  position: relative; display: flex; align-items: center; min-height: 50px;
  padding: 0 16px; color: var(--text-muted); font-size: var(--text-nav);
  text-decoration: none; white-space: nowrap;
  transition: color var(--duration-fast) var(--ease);
}
.tab:hover, .tab[aria-current="page"] { color: var(--text); }
.tab[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 7px; width: 22px; height: 3px;
  border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent);
  transform: translateX(-50%);
}
.tabbar .nav-marker {
  position: absolute; left: 0; bottom: 7px; width: 22px; height: 3px;
  pointer-events: none; border-radius: var(--r-pill);
  background: var(--accent); color: var(--on-accent);
}
.tabbar.has-marker .tab[aria-current="page"]::after { display: none; }
.masthead-end { display: flex; flex-shrink: 0; align-items: center; gap: 8px; }
.language-control { position: relative; }
.lang {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 40px; padding: 8px 14px; border: 0; border-radius: var(--r-pill);
  background: var(--clear); color: var(--text);
  font-size: var(--text-small); white-space: nowrap;
}
.lang:hover { background: var(--bg-panel); color: var(--text); }
.lang svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lang-caret { color: var(--text-muted); font-size: var(--text-xs); }
.lang-short { display: none; }
.language-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: var(--layer-popover);
  min-width: 180px; padding: 8px; margin: 0; list-style: none;
  border: 1px solid var(--border); border-radius: var(--r-group);
  background: var(--bg); color: var(--text); box-shadow: var(--shadow-card);
}
.language-menu a {
  display: flex; align-items: center; min-height: 44px; padding: 10px 14px;
  border-radius: var(--r-tag); text-decoration: none;
}
.language-menu a:hover, .language-menu a[aria-current="true"] {
  background: var(--bg-panel); color: var(--text);
}
.store-mini {
  gap: 7px; min-height: 40px; padding: 8px 16px;
  border: 1px solid var(--border); font-size: var(--text-small);
  background: var(--bg); color: var(--text); white-space: nowrap;
}
.store-mini:hover { background: var(--bg-panel); color: var(--text); }
.store-mini svg { width: 14px; height: 14px; }
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 10px;
  border: 1px solid var(--border); border-radius: var(--r-pill);
  background: var(--bg); color: var(--text);
}
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.mobile-drawer { display: none; }
.menu-veil {
  position: fixed; inset: 0; z-index: var(--layer-veil);
  border: 0; padding: 0; background: var(--veil); color: var(--text);
}

/* 拍板首屏：标题、设备行、两张白卡与路牌分别成组。 */
.hero { position: relative; overflow-x: clip; padding: 24px 24px 0; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; min-height: 30px;
  max-width: 100%; padding: 5px 14px 5px 11px; border-radius: var(--r-pill);
  background: var(--bg-panel); color: var(--text-muted); font-size: var(--text-sm);
}
.badge-dot {
  flex: 0 0 auto; width: 8px; height: 8px; border-radius: var(--r-circle);
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 0 0 4px var(--accent-tint);
}
.hero .badge { margin: 13px 0; }
.hero-title {
  margin: 18px 0 0; font-family: var(--font-display);
  font-size: var(--text-h1); font-weight: var(--weight-normal);
  line-height: 1.16; letter-spacing: var(--tracking-title);
}
.lede { max-width: 720px; margin: 20px auto 0; color: var(--text-muted); font-size: var(--text-base); line-height: 1.65; }
.lede strong { color: var(--text); }
.devices {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 4px; margin: 14px 0 0; padding: 0; list-style: none;
}
.devices li { display: flex; align-items: center; }
.device-link {
  display: inline-flex; align-items: center; gap: 7px; min-height: 32px;
  padding: 5px 10px; border-radius: var(--r-pill); color: var(--text-muted);
  font-size: var(--text-device); text-decoration: none;
}
.device-link:hover { background: var(--bg-panel); color: var(--text); }
.device-link svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round;
}
.device-link .ico-fill { fill: currentColor; stroke: none; }
.devices .sep { width: 1px; height: 14px; margin: 0 8px; background: var(--border); color: var(--text); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 28px; max-width: 100%;
  padding: 4px 12px; border: 1px solid var(--border); border-radius: var(--r-pill);
  background: var(--bg); color: var(--text); font-size: var(--text-tag);
  line-height: 1.5; text-decoration: none; overflow-wrap: anywhere;
}
a.chip:hover { background: var(--bg-panel); color: var(--text); }
.chip svg { width: 12px; height: 12px; }
.device { position: relative; width: min(var(--container), 100%); height: 460px; margin: 30px auto 0; text-align: left; }
.field {
  position: absolute; top: 150px; left: 50%; width: 115%; height: 310px;
  overflow: hidden; border-radius: var(--r-field); transform: translateX(-50%);
  pointer-events: none;
}
.field-back { z-index: 0; background: var(--bg-panel-2); color: var(--text); }
.field-front { z-index: 3; }
.wave { position: absolute; left: 0; display: block; }
.wave-far { top: 18px; width: 200%; height: 220px; }
.wave-far svg { display: block; width: 100%; height: 100%; }
.wave-mid { bottom: 0; width: 100%; height: 230px; }
.wave-near { bottom: 0; width: 100%; height: 170px; }
.fill-far { fill: var(--wave-far); }
.fill-mid { fill: var(--wave-mid); }
.fill-near { fill: var(--wave-near); }
.grain { fill: var(--wave-mid); opacity: .7; }
.crest { fill: none; stroke: var(--wave-crest); stroke-width: 2; opacity: .5; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.device-row { position: relative; z-index: 2; display: flex; justify-content: center; align-items: flex-start; gap: 24px; }
.cards { display: flex; align-items: stretch; flex: 1 1 auto; gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; min-width: 0; padding: 28px;
  border-radius: var(--r-card); background: var(--bg); color: var(--text);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-card) var(--ease), box-shadow var(--duration-card) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.card-verify { flex: 0 1 420px; padding-bottom: 60px; }
.card-rules { flex: 0 1 540px; padding-bottom: 60px; }
.corner-tag {
  position: absolute; top: 18px; right: 18px; padding: 5px 11px;
  border-radius: var(--r-pill); background: var(--bg-panel-2); color: var(--text);
  font-size: var(--text-xs); line-height: 1.3;
}
.verify-head { display: flex; align-items: center; gap: 14px; }
.verify-name { margin: 0; font-family: var(--font-display); font-size: var(--text-xl); letter-spacing: var(--tracking-title); line-height: 1.25; }
.verify-sub { margin: 3px 0 0; color: var(--text-muted); font-size: var(--text-sm); }
.ios-group { margin: 20px 0 0; padding: 0; list-style: none; border-radius: var(--r-group); background: var(--bg-panel); color: var(--text); }
.ios-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 12px 16px; }
.ios-row + .ios-row::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--border); color: var(--text); }
.ios-row dt { flex: 0 0 auto; color: var(--text-muted); font-size: var(--text-sm); }
.ios-row dd { min-width: 0; margin: 0; text-align: right; font-size: var(--text-small); line-height: 1.4; overflow-wrap: anywhere; }
.dd-note { display: block; margin-top: 2px; color: var(--text-muted); font-size: var(--text-xs); }
.card-foot { margin: 14px 0 0; color: var(--text-muted); font-size: var(--text-tag); line-height: 1.6; }
.rules-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.card-title { margin: 0; font-family: var(--font-display); font-weight: var(--weight-normal); font-size: var(--text-lg); letter-spacing: var(--tracking-title); line-height: 1.5; }
.mono-tag { font-family: var(--font-mono); font-size: var(--text-tag); color: var(--text-muted); }
.rule-list { margin-top: 18px; }
.rule { min-height: 46px; padding: 10px 16px; }
.rule code { font-family: var(--font-mono); font-size: var(--text-device); color: var(--text); white-space: nowrap; }
.rule-note { flex: 0 0 auto; color: var(--text-muted); font-size: var(--text-tag); }
.pol {
  display: inline-block; margin-left: 1px; padding: 2px 8px; border-radius: var(--r-tag);
  font-size: var(--text-xs); font-weight: var(--weight-strong); letter-spacing: var(--tracking-tag);
  line-height: 1.45; vertical-align: 1px;
}
.pol-proxy { background: var(--accent-tint); color: var(--accent-dark); }
.pol-direct { background: var(--sun-tint); color: var(--text); box-shadow: inset 0 0 0 1px var(--sun); }
.pol-reject { background: var(--lilac-tint); color: var(--text); box-shadow: inset 0 0 0 1px var(--lilac); }
.sign { flex: 0 0 180px; width: 180px; height: 262px; margin-top: 96px; }
.sign svg { display: block; width: 100%; height: 100%; overflow: visible; }
.sp-line { fill: none; stroke: var(--line); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.sp-pole { fill: var(--bg); }
.sp-sky { fill: var(--sky); }
.sp-sun { fill: var(--sun); }
.sp-lilac { fill: var(--lilac); }
.sp-hatch { fill: none; stroke: var(--line); stroke-width: 1.3; stroke-linecap: round; opacity: .5; vector-effect: non-scaling-stroke; }
.sp-bolt { fill: var(--line); }
.sp-text { font-family: var(--font-mono); font-size: var(--text-nav); font-weight: var(--weight-strong); letter-spacing: var(--tracking-sign); fill: var(--text); }

.prose { min-width: 0; line-height: 1.9; }
.prose h2 { margin: 64px 0 24px; scroll-margin-top: 24px; }
.prose h3 { margin: 36px 0 16px; }
.prose p, .prose ul, .prose ol { margin-bottom: 22px; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--accent-dark); }
.prose img { height: auto; }
.prose > :first-child { margin-top: 0; }

.site-footer { margin-top: var(--section-gap); padding-top: 64px; padding-bottom: 32px; background: var(--bg-panel); color: var(--text); border-radius: var(--r-panel) var(--r-panel) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr 1fr; gap: 56px; }
.footer-brand p { max-width: 360px; margin: 20px 0 0; color: var(--text-muted); font-size: var(--text-small); line-height: 1.9; }
.footer-title { margin: 0 0 16px; font-size: var(--text-base); font-weight: var(--weight-medium); }
.footer-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.footer-list a { display: inline-block; padding: 5px 0; color: var(--text-muted); font-size: var(--text-small); text-decoration: none; }
.footer-list a:hover { color: var(--accent-dark); text-decoration: underline; }
.footer-languages { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 40px; }
.footer-languages a { padding: 8px 0; font-size: var(--text-small); color: var(--text-muted); text-decoration: none; }
.footer-languages a[aria-current="true"] { color: var(--accent-dark); }
.footer-bottom { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; font-size: var(--text-xs); color: var(--text-muted); }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.reveal { opacity: 1; transform: none; }
.reveal.pending { opacity: 0; transform: translateY(16px); }
.reveal.shown { opacity: 1; transform: none; transition: opacity var(--duration-reveal) var(--ease), transform var(--duration-reveal) var(--ease); }

@media (max-width: 1280px) {
  .masthead { min-height: 82px; padding: 14px var(--gutter); }
  .card-verify { flex-basis: 380px; }
  .card-rules { flex-basis: 480px; }
  .sign { flex-basis: 150px; width: 150px; height: 218px; margin-top: 120px; }
}
@media (min-width: 1200px) and (max-width: 1280px) {
  .masthead { gap: 12px; }
  .tab { padding-inline: 12px; }
}
@media (max-width: 1199px) {
  .desktop-nav { display: none; }
  .masthead > .brand { flex-shrink: 1; min-width: 0; }
  .masthead .brand-name { min-width: 0; }
  .masthead-end { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .masthead > .brand, .masthead-end { position: relative; z-index: var(--layer-drawer); }
  .mobile-drawer:not([hidden]) {
    position: absolute; display: block; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px);
    z-index: var(--layer-drawer); max-height: calc(100dvh - 108px);
    overflow-y: auto; overscroll-behavior: contain;
    padding: 16px; border-radius: var(--r-card); background: var(--bg); color: var(--text);
    box-shadow: var(--shadow-card);
  }
  .drawer-list { display: grid; list-style: none; padding: 0; margin: 0; }
  .drawer-list a {
    display: flex; align-items: center; width: 100%; min-height: 48px;
    padding: 12px 16px; border-radius: var(--r-group); text-decoration: none;
  }
  .drawer-list a:hover, .drawer-list a[aria-current] { background: var(--bg-panel); color: var(--text); }
  .drawer-caption { margin: 18px 16px 8px; font-size: var(--text-sm); color: var(--text-muted); }
}
@media (max-width: 980px) {
  .device { height: auto; padding-bottom: 36px; }
  .device-row { flex-direction: column; align-items: center; }
  .cards { flex-direction: column; width: 100%; }
  .card-verify, .card-rules { flex: 0 0 auto; width: 100%; }
  .rule code { white-space: normal; overflow-wrap: anywhere; }
  .sign { flex: 0 0 auto; width: 132px; height: 192px; margin: 12px auto 0; }
  .field { top: auto; bottom: 0; height: 62%; width: calc(100% + 24px); border-radius: var(--r-panel); }
  .wave-near { height: 120px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  h1, .hero-title { font-size: var(--text-h1-mobile); }
  .grid-two { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 32px 24px; }
  .sky-panel { padding: 40px 24px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .masthead { gap: 8px; }
  .brand { gap: 8px; font-size: var(--text-nav); }
  .masthead .brand-name { max-width: 138px; font-size: var(--text-small); }
  .masthead .logo-slot { width: 32px; height: 32px; }
  .masthead-end { gap: 4px; margin-left: auto; }
  .masthead-end .store-mini { display: none; }
  .lang { min-width: 44px; min-height: 44px; padding: 8px; gap: 4px; }
  .lang-label { display: none; }
  .lang-short { display: inline; }
  .lang svg { display: none; }
  .hero { padding: 20px var(--gutter) 0; }
  .hero-title { margin-top: 16px; }
  .lede { font-size: var(--text-small); }
  .btn { padding: 12px 20px; }
  .cta-row { gap: 10px; margin-top: 22px; }
  .devices { gap: 4px 0; }
  .device-link { padding-inline: 7px; font-size: var(--text-sm); }
  .devices .sep { display: none; }
  .card { padding: 24px; }
  .card-verify, .card-rules { padding-bottom: 36px; }
  .corner-tag { position: static; align-self: flex-end; margin-bottom: 12px; }
  .rule { flex-wrap: wrap; gap: 4px 12px; }
  .ios-row { gap: 10px; padding-inline: 12px; }
  .ios-row + .ios-row::before { left: 12px; }
  .verify-name { font-size: var(--text-lg); }
  .footer-grid { gap: 28px 20px; }
  .site-footer .brand { flex-wrap: wrap; }
  .footer-bottom { display: grid; }
  .tilt, [data-tilt] { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.pending, .reveal.shown { opacity: 1; transform: none; }
  .card:hover, .btn:active { transform: none; }
}