/* ==========================================================================
   MyTransit Live — 落地页样式（简化重设计版）
   架构：:root 令牌块为唯一事实来源；全站引用令牌，禁止散落魔法值。
   设计原则：留白 + 对齐 + 字号层级建立张力，单一强调色，零装饰性 gimmick。
   ========================================================================== */

:root {
  /* ---- 背景 / 表面 ---- */
  --bg: #08090B;
  --bg-elevated: #0E1014;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.055);
  --bezel: #15181D;

  /* ---- 描边 ---- */
  --hairline: rgba(255, 255, 255, 0.07);
  --hairline-strong: rgba(255, 255, 255, 0.14);

  /* ---- 文本 ---- */
  --text: #F2F4F8;
  --muted: #8A92A6;
  --text-on-accent: #08090B;

  /* ---- 强调色（全站唯一 accent） ---- */
  --accent: #C8FA46;
  --accent-rgb: 200, 250, 70;
  --accent-ink: #08090B;

  /* ---- 数据状态色（仅用于 live pulse） ---- */
  --live: #34D399;
  --live-rgb: 52, 211, 153;

  /* ---- 字体（2 + 1：Inter 展示/正文，JetBrains Mono 数据标签） ---- */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ---- 排版层级（字号按最宽一行 "Real-time transit" = 7.66em 反推） ---- */
  --type-h1: clamp(40px, 5vw, 70px);
  --type-h1-lh: 1.05;
  --type-h1-ls: -0.03em;
  --type-h2: clamp(36px, 4vw, 56px);
  --type-h2-lh: 1.08;
  --type-h2-ls: -0.025em;
  --type-h3: clamp(22px, 2vw, 30px);
  --type-body: 17px;
  --type-body-lh: 1.6;
  --type-small: 15px;
  --type-eyebrow: 11px;
  --type-eyebrow-ls: 0.12em;
  --type-label: 10px;

  /* ---- 布局 ---- */
  --shell-max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 9vw, 128px);
  --header-h: 72px;
  --hero-phone-w: clamp(180px, calc((100vh - 220px) / 2.1), 340px);

  /* ---- 圆角 ---- */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* ---- 阴影 ---- */
  --shadow-card: 0 24px 60px -24px rgba(0, 0, 0, 0.75);
  --shadow-phone: 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 0 100px -16px rgba(90, 140, 220, 0.14);

  /* ---- 动效 ---- */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur: 0.24s;
  --dur-reveal: 0.6s;
  --dur-pin: 0.5s;
  --dur-pulse: 2.4s;

  /* ---- 层级 ---- */
  --z-base: 0;
  --z-content: 1;
  --z-header: 100;
  --z-skip: 1000;
}

/* ==========================================================================
   基础重置 / 深色底
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: var(--type-body);
  line-height: var(--type-body-lh);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 唯一氛围层：极淡单径向渐变，不抢眼 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-base);
  pointer-events: none;
  background: radial-gradient(880px 560px at 76% -8%, rgba(90, 140, 220, 0.10), transparent 70%);
}

main { position: relative; z-index: var(--z-content); }

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }

section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

::selection { background: rgba(var(--accent-rgb), 0.28); color: var(--text); }

/* ==========================================================================
   无障碍基线
   ========================================================================== */
.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;
  top: var(--r-sm);
  left: var(--r-sm);
  z-index: var(--z-skip);
  padding: 8px 16px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ==========================================================================
   排版基元
   ========================================================================== */
h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text);
}

h1 {
  font-size: var(--type-h1);
  line-height: var(--type-h1-lh);
  letter-spacing: var(--type-h1-ls);
  font-weight: 700;
}
h2 {
  font-size: var(--type-h2);
  line-height: var(--type-h2-lh);
  letter-spacing: var(--type-h2-ls);
}
h3 {
  font-size: var(--type-h3);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.kicker {
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: var(--type-eyebrow);
  font-weight: 500;
  letter-spacing: var(--type-eyebrow-ls);
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: var(--type-eyebrow);
  font-weight: 500;
  letter-spacing: var(--type-eyebrow-ls);
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  animation: dotPulse var(--dur-pulse) ease-in-out infinite;
}

.live-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--live);
  animation: dotPulseLive var(--dur-pulse) ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.45); }
  60% { box-shadow: 0 0 0 7px rgba(var(--accent-rgb), 0); }
}
@keyframes dotPulseLive {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--live-rgb), 0.40); }
  60% { box-shadow: 0 0 0 7px rgba(var(--live-rgb), 0); }
}

/* ==========================================================================
   布局骨架
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
}

.section { position: relative; padding: var(--section-y) var(--gutter); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

.section__head { margin-bottom: clamp(40px, 5vw, 72px); }
.section__head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}
.section__lede {
  max-width: 46ch;
  font-size: var(--type-small);
  line-height: 1.7;
  color: var(--muted);
}

/* ==========================================================================
   1 · 顶部导航
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  background: rgba(8, 9, 11, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.scrolled {
  background: rgba(8, 9, 11, 0.88);
  border-bottom-color: var(--hairline);
}
.site-header__inner {
  max-width: var(--shell-max);
  margin-inline: auto;
  height: var(--header-h);
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand-mark { width: 28px; height: 28px; display: inline-flex; flex: 0 0 auto; }
.brand-mark svg { width: 100%; height: 100%; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.site-nav > a {
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}
.nav-cta {
  padding: 9px 18px;
  border-radius: var(--r-md);
  background: var(--accent);
  color: var(--accent-ink) !important;
  font-weight: 600;
  transition: opacity var(--dur) var(--ease);
}
@media (hover: hover) {
  .site-nav > a:hover { color: var(--text); }
  .nav-cta:hover { opacity: 0.86; }
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 11px 9px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-sm);
}
.menu-toggle span:not(.sr-only) {
  display: block;
  height: 1.5px;
  margin: 4px 0;
  border-radius: var(--r-pill);
  background: var(--text);
  transition: transform var(--dur) var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-5.5px) rotate(-45deg); }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   2 · Hero（左文案 / 右手机 mockup，1fr 1fr）
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) var(--gutter) clamp(56px, 7vw, 96px);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

/* 桌面端 Hero 占满首屏并将内容垂直居中（手机 + 文案整体重心居中）
   min-height 上限 980px：超高视口（含长截图）下 Hero 不无限拉伸 */
@media (min-width: 901px) {
  .hero {
    min-height: min(100vh, 980px);
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + 16px);
    padding-bottom: 40px;
  }
  .hero__inner { width: 100%; }
}

.hero__copy { min-width: 0; }
.hero__title { margin-bottom: 24px; }
.hero__lede {
  max-width: 44ch;
  font-size: var(--type-body);
  line-height: var(--type-body-lh);
  color: var(--muted);
}
/* 避免孤字行（渐进增强，不支持的浏览器自动忽略） */
.hero__lede,
.section__lede,
.feature__copy p,
.faq__answer p,
.download__card p { text-wrap: pretty; }

.hero__stores { margin-top: 32px; }

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
.hero__phone { width: var(--hero-phone-w); }
.hero__phone figcaption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: var(--type-label);
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--muted);
}

/* 手机框（深色 bezel + 轻微蓝色氛围光晕；半径随尺寸缩放） */
.phone-frame {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--phone-r, 34px);
  background: var(--bezel);
  box-shadow: var(--shadow-phone);
}
.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--phone-r, 34px) - 8px);
  background: var(--bg-elevated);
}

/* Hero 下方信任统计行 */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: clamp(32px, 3.5vw, 44px);
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.stat-row li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.stat-row strong {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.stat-row span {
  font-family: var(--font-mono);
  font-size: var(--type-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   商店徽章
   ========================================================================== */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.store-badge svg { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge__text small {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.store-badge__text strong { margin-top: 2px; font-size: 14px; font-weight: 600; }
@media (hover: hover) {
  .store-badge:hover { background: var(--surface-hover); border-color: var(--accent); }
}

/* 主 CTA 徽章：acid lime 实底，首屏第一眼焦点 */
.store-badge--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 12px 30px -14px rgba(var(--accent-rgb), 0.55);
}
.store-badge--primary .store-badge__text small { color: rgba(8, 9, 11, 0.62); }
@media (hover: hover) {
  .store-badge--primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    opacity: 0.88;
  }
}

/* 非 primary 徽章（Google Play）内的播放三角改用 accent：
   深色 outline 底上比白色填充更醒目；不影响 primary 徽章的苹果 logo */
.store-badge:not(.store-badge--primary) .store-badge__play { fill: var(--accent); }

/* ==========================================================================
   3 · Cities strip（静态网格，替代双跑马灯）
   ========================================================================== */
.cities {
  position: relative;
  z-index: var(--z-content);
  padding-inline: var(--gutter);
}
.cities__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.city-cell {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 12px 20px 20px;
  border-left: 1px solid var(--hairline);
  min-width: 0;
}
.city-cell:nth-child(6n + 1) { border-left: 0; padding-left: 0; }
.city-cell__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--live);
}
.city-cell__name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}
.city-cell__agency {
  font-family: var(--font-mono);
  font-size: var(--type-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   4 · Features（3 张交替卡）
   ========================================================================== */
.features {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
}
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 3.5vw, 56px);
  align-items: center;
  padding: clamp(24px, 2.6vw, 40px);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
}
.feature__figure { justify-self: center; min-width: 0; }
.feature__figure .phone-frame { width: min(300px, 42vw); --phone-r: 30px; box-shadow: var(--shadow-card); }
.feature--flip .feature__figure { grid-column: 2; grid-row: 1; }
.feature--flip .feature__copy { grid-column: 1; grid-row: 1; }

.feature__copy { min-width: 0; }
.feature__tag {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: var(--type-label);
  font-weight: 500;
  letter-spacing: var(--type-eyebrow-ls);
  text-transform: uppercase;
  color: var(--muted);
}
.feature__copy h3 { margin-bottom: 14px; }
.feature__copy p {
  max-width: 48ch;
  font-size: var(--type-small);
  line-height: 1.7;
  color: var(--muted);
}
.tick-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: var(--type-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.tick-list li::before {
  content: "—";
  margin-right: 8px;
  color: var(--text);
}

/* ==========================================================================
   5 · Coverage 地图
   ========================================================================== */
.city-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.city-selector__tab {
  padding: 8px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.city-selector__tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
@media (hover: hover) {
  .city-selector__tab:hover { color: var(--text); border-color: var(--hairline-strong); }
  .city-selector__tab.is-active:hover { color: var(--accent-ink); background: var(--accent); }
}

.coverage-map {
  position: relative;
  height: clamp(400px, 46vw, 520px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 62% 48%, rgba(90, 140, 220, 0.11), transparent 58%),
    var(--bg-elevated);
  overflow: hidden;
}
/* 抽象经纬网底图：给地图区提供可识别的地理结构，极淡、不抢详情卡 */
.coverage-map__geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1240 520'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='0.12' stroke-width='1'%3E%3Cellipse cx='620' cy='260' rx='580' ry='250'/%3E%3Cellipse cx='620' cy='260' rx='435' ry='250'/%3E%3Cellipse cx='620' cy='260' rx='290' ry='250'/%3E%3Cellipse cx='620' cy='260' rx='145' ry='250'/%3E%3Cpath d='M40 260H1200'/%3E%3Cpath d='M89 160H1151'/%3E%3Cpath d='M89 360H1151'/%3E%3Cpath d='M208 84H1032'/%3E%3Cpath d='M208 436H1032'/%3E%3C/g%3E%3Cg fill='%23FFFFFF' fill-opacity='0.14'%3E%3Ccircle cx='210' cy='120' r='2.5'/%3E%3Ccircle cx='150' cy='220' r='2.5'/%3E%3Ccircle cx='300' cy='200' r='2.5'/%3E%3Ccircle cx='250' cy='300' r='2.5'/%3E%3Ccircle cx='180' cy='400' r='2.5'/%3E%3Ccircle cx='330' cy='430' r='2.5'/%3E%3Ccircle cx='410' cy='150' r='2.5'/%3E%3Ccircle cx='470' cy='320' r='2.5'/%3E%3Ccircle cx='540' cy='110' r='2.5'/%3E%3Ccircle cx='600' cy='410' r='2.5'/%3E%3Ccircle cx='700' cy='140' r='2.5'/%3E%3Ccircle cx='860' cy='150' r='2.5'/%3E%3Ccircle cx='930' cy='300' r='2.5'/%3E%3Ccircle cx='990' cy='180' r='2.5'/%3E%3Ccircle cx='880' cy='420' r='2.5'/%3E%3Ccircle cx='1010' cy='420' r='2.5'/%3E%3Ccircle cx='1080' cy='250' r='2.5'/%3E%3Ccircle cx='760' cy='440' r='2.5'/%3E%3Ccircle cx='660' cy='320' r='2.5'/%3E%3Ccircle cx='1120' cy='150' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 88%);
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 88%);
}
/* 第二层：更淡的方形细网格 */
.coverage-map__grid {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  pointer-events: none;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 28%, transparent 76%);
  mask-image: radial-gradient(ellipse at center, #000 28%, transparent 76%);
}

.map-coordinates {
  position: absolute;
  left: 24px;
  top: 24px;
  display: flex;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: var(--type-label);
  letter-spacing: 0.06em;
  color: var(--muted);
}

.city-pin {
  position: absolute;
  left: 60%;
  top: 52%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: left var(--dur-pin) var(--ease), top var(--dur-pin) var(--ease);
  will-change: left, top;
}
.city-pin i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.14), 0 0 24px 6px rgba(var(--accent-rgb), 0.22);
}
.city-pin span {
  padding: 3px 8px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  background: rgba(8, 9, 11, 0.86);
  font-family: var(--font-mono);
  font-size: var(--type-label);
  letter-spacing: 0.06em;
  color: var(--text);
}

.city-detail {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  width: min(280px, calc(100% - 48px));
  padding: 24px;
  background: rgba(8, 9, 11, 0.86);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.city-detail.is-switching { animation: detailIn var(--dur) var(--ease); }
@keyframes detailIn {
  from { opacity: 0.4; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.city-detail__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.city-detail h3 {
  margin: 8px 0 10px;
  font-size: 24px;
}
.city-detail__modes {
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.city-detail__agency {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--muted);
}

.coverage-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: var(--type-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   6 · Montage（居中三机位，零暖色干扰）
   ========================================================================== */
.montage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 2.5vw, 32px);
}
.montage__row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 24px);
}
/* 展示台面：极淡 surface + 底边光带，给三台手机承托 */
.montage__stage {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: clamp(36px, 4.5vw, 64px) clamp(20px, 3vw, 48px) 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.012) 52%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.montage__stage::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  pointer-events: none;
  background: radial-gradient(58% 100% at 50% 100%, rgba(255, 255, 255, 0.055), transparent 72%);
}
.montage__stage::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.20), transparent);
}
.montage__phone { flex: 0 0 auto; box-shadow: var(--shadow-card); }
.montage__phone--main {
  width: clamp(180px, 20vw, 250px);
  --phone-r: 32px;
}
.montage__phone--side {
  width: clamp(140px, 16vw, 200px);
  --phone-r: 26px;
  opacity: 0.94;
}
.montage__caption {
  font-family: var(--font-mono);
  font-size: var(--type-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   7 · FAQ
   ========================================================================== */
.faq__panel {
  max-width: 860px;
  padding: 8px clamp(20px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
}
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__item:last-child { border-bottom: 0; }
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "+";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  font-size: 15px;
  line-height: 1;
  color: var(--muted);
  transition: transform var(--dur) var(--ease);
}
.faq__item[open] .faq__question::after { transform: rotate(45deg); }
.faq__answer { padding-bottom: 22px; }
.faq__answer p { max-width: 62ch; font-size: var(--type-small); line-height: 1.7; color: var(--muted); }

/* ==========================================================================
   8 · Download CTA
   ========================================================================== */
.download__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 56px);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
}
.download__card p { max-width: 44ch; color: var(--muted); }
.download__stores { justify-content: center; margin-top: 8px; }

/* ==========================================================================
   9 · Footer
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: var(--z-content);
  padding: clamp(40px, 5vw, 64px) var(--gutter);
  border-top: 1px solid var(--hairline);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 13px;
}
.footer__links a { color: var(--muted); transition: color var(--dur) var(--ease); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: var(--type-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
}
.status-pill .live-dot { width: 6px; height: 6px; }
.status-pill.is-live { border-color: rgba(var(--live-rgb), 0.4); }
@media (hover: hover) {
  .footer__links a:hover { color: var(--text); }
}

/* ==========================================================================
   滚动 reveal（简单 fade-up）
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   响应式：1024 / 900 / 600 / 400
   ========================================================================== */
@media (max-width: 1024px) {
  .feature { gap: clamp(24px, 3vw, 40px); }
  .feature__figure .phone-frame { width: min(280px, 38vw); }
}

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
    --hero-phone-w: min(300px, 78vw);
    /* 单列布局下可用宽度更大，字号随视口缩放但受最大宽度约束 */
    --type-h1: clamp(38px, 7.4vw, 56px);
    --type-h2: clamp(24px, 5.2vw, 42px);
  }

  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    left: var(--gutter);
    right: var(--gutter);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    background: rgba(8, 9, 11, 0.96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-card);
  }
  .site-nav.is-open { display: flex; animation: menuIn var(--dur) var(--ease); }
  .site-nav > a { padding: 12px 8px; font-size: 16px; }
  .nav-cta { margin-top: 8px; text-align: center; }

  /* Hero → 单列，手机居中 */
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero__lede { margin-inline: auto; }
  .hero__stores { justify-content: center; }
  .stat-row { justify-content: center; }

  .section__head--split { grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }

  .feature,
  .feature--flip {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    text-align: center;
  }
  .feature--flip .feature__figure,
  .feature--flip .feature__copy {
    grid-column: 1;
    grid-row: auto;
  }
  .feature__figure .phone-frame { width: min(280px, 62vw); --phone-r: 30px; }
  .feature__copy p { margin-inline: auto; }
  .tick-list { justify-content: center; }

  .cities__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .city-cell { border-left: 1px solid var(--hairline); padding-left: 20px; }
  .city-cell:nth-child(6n + 1) { border-left: 1px solid var(--hairline); padding-left: 20px; }
  .city-cell:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
  .city-cell:nth-child(n + 4) { border-top: 1px solid var(--hairline); }

  .montage__phone--main { width: clamp(180px, 30vw, 250px); }
  .montage__phone--side { width: clamp(130px, 24vw, 200px); }

  .footer__top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  :root { --type-body: 16px; }

  .cities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-cell { padding: 18px 8px 18px 16px; }
  .city-cell:nth-child(3n + 1) { border-left: 1px solid var(--hairline); padding-left: 16px; }
  .city-cell:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
  .city-cell:nth-child(n + 3) { border-top: 1px solid var(--hairline); }

  .city-selector {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .city-selector::-webkit-scrollbar { display: none; }
  .city-selector__tab { flex: 0 0 auto; white-space: nowrap; }

  .city-detail { left: 16px; bottom: 16px; width: calc(100% - 32px); padding: 20px; }
  .coverage-note { display: none; }
  .map-coordinates { left: 16px; top: 16px; gap: 16px; }

  .store-badges { width: 100%; }
  .store-badge { flex: 1 1 auto; justify-content: center; }
  .download__stores { flex-direction: column; align-items: stretch; }

  .faq__question { font-size: 16px; gap: 16px; }

  .montage__phone--side { display: none; }
  .montage__phone--main { width: min(260px, 68vw); --phone-r: 30px; }
}

@media (max-width: 380px) {
  :root {
    --type-h1: clamp(30px, 10vw, 40px);
    --type-h2: clamp(21px, 5.9vw, 28px);
  }
  .stat-row { gap: 10px 20px; }
  .stat-row strong { font-size: 18px; }
  .brand__word { font-size: 15px; }
}

/* ==========================================================================
   动效降级（reduced-motion 全量）
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .city-pin { transition: none; }
}

/* ==========================================================================
   backdrop-filter 回退
   ========================================================================== */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(8, 9, 11, 0.96); }
  .site-nav, .city-detail { background: rgba(8, 9, 11, 0.96); }
}
