/*
 * 官网与落地页公共样式（原型 Home / Web* / Page-W* / Page-V12 / Page-V13 的共用部分）。
 * 依赖 tokens.css。页面专属版式写在各页 <style> 里，只用 tokens.css 的变量。
 * 层级只靠色面：象牙白底、白信息面、钴蓝主卡、淡青次级面；不用阴影、渐变、描边卡片。
 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0; background: var(--c-ivory); color: var(--c-ink);
  font-family: var(--f-sans); font-size: 16px; line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-cobalt); }
a:hover { color: var(--c-cobalt-hover); }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-serif); font-weight: 500; color: var(--c-ink); }
p { margin: 0; }
button { font-family: inherit; }
[hidden] { display: none !important; }
/* 页内锚点避开吸顶导航 */
main [id] { scroll-margin-top: calc(var(--nav-h) + 8px); }
:focus-visible { outline: 2px solid var(--c-cobalt); outline-offset: 2px; }
.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; }
.num { font-variant-numeric: tabular-nums; }

/* ── 版心与区块 ── */
.wrap { max-width: calc(var(--w-page) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.section-white { background: var(--c-white); }
.section-cobalt { background: var(--c-cobalt); color: var(--c-white); }
.section-ink { background: var(--c-ink); color: var(--c-white); }
.section-mint { background: var(--c-mint); }
.section-head { display: grid; grid-template-columns: 1fr minmax(0, 560px); column-gap: 80px; align-items: end; margin-bottom: 56px; }
.section-head p { font-size: 17px; line-height: 30px; color: var(--c-text); }
.section-cobalt .section-head p, .section-ink .section-head p { color: var(--c-on-dark-mist); }
.eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--c-cobalt); margin-bottom: 12px; }
.section-cobalt .eyebrow, .section-ink .eyebrow { color: var(--c-on-dark-mist); }
.h-display { font-size: 96px; line-height: 112px; letter-spacing: -.02em; }
.h1 { font-size: 56px; line-height: 72px; }
.h2 { font-size: 40px; line-height: 52px; }
.h3 { font-size: 26px; line-height: 36px; font-weight: 600; }
.h4 { font-size: 20px; line-height: 30px; font-weight: 600; }
.section-cobalt h1, .section-cobalt h2, .section-cobalt h3, .section-cobalt h4,
.section-ink h1, .section-ink h2, .section-ink h3, .section-ink h4 { color: var(--c-white); }
.lead { font-size: 19px; line-height: 32px; color: var(--c-text); }
.body { font-size: 15px; line-height: 26px; color: var(--c-text); }
.muted { color: var(--c-mist); }
.small { font-size: 13px; line-height: 20px; color: var(--c-mist); }
.link-u { color: var(--c-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.section-cobalt .link-u, .section-ink .link-u { color: var(--c-white); }

/* ── 色面 ── */
.panel { background: var(--c-white); border-radius: var(--r-panel-lg); padding: 40px; }
.panel-sm { background: var(--c-white); border-radius: var(--r-panel); padding: 24px; }
.panel-mint { background: var(--c-mint); border-radius: var(--r-panel); padding: 24px; }
.hero-card { background: var(--c-cobalt); color: var(--c-white); border-radius: var(--r-panel-lg); padding: 40px; }
.hero-card h2, .hero-card h3, .hero-card h4 { color: var(--c-white); }
.rule-list > * { border-top: 1px solid var(--c-stroke); padding: 28px 0; }
.rule-list > *:first-child { border-top-color: var(--c-ink); }
.rule-list > *:last-child { border-bottom: 1px solid var(--c-stroke); }
.moon { border-radius: 50%; overflow: hidden; aspect-ratio: 1 / 1; object-fit: cover; }

/* ── 按钮：胶囊与发丝线 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h-btn); padding: 0 40px; border-radius: calc(var(--h-btn) / 2);
  font-family: var(--f-sans); font-size: 17px; font-weight: 500; letter-spacing: .08em;
  text-decoration: none; white-space: nowrap; cursor: pointer; border: 0; background: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--c-cobalt); color: var(--c-white); }
.btn-primary:hover { background: var(--c-cobalt-hover); color: var(--c-white); }
.btn-secondary { border: 1px solid var(--c-ink); color: var(--c-ink); }
.btn-secondary:hover { background: var(--c-white); color: var(--c-ink); }
.btn-tertiary { height: auto; padding: 0; border-radius: 0; color: var(--c-ink); letter-spacing: .04em; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
/* 深底：主按钮白底钴蓝字，次按钮白色发丝线 */
.btn-light { background: var(--c-white); color: var(--c-cobalt); }
.btn-light:hover { background: var(--c-ivory); color: var(--c-cobalt); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .7); color: var(--c-white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: var(--c-white); }
.btn-md { height: var(--h-btn-md); padding: 0 26px; border-radius: calc(var(--h-btn-md) / 2); font-size: 15px; letter-spacing: .06em; }
.btn-sm { height: var(--h-btn-sm); padding: 0 14px; border-radius: calc(var(--h-btn-sm) / 2); font-size: 13px; letter-spacing: .04em; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--c-disabled); color: var(--c-white); border-color: transparent; cursor: not-allowed; }
.btn-secondary[disabled], .btn-secondary[aria-disabled="true"] { background: none; color: var(--c-disabled); border: 1px solid var(--c-disabled); }
.btn.is-busy { cursor: progress; }
.btn-icon { width: var(--h-icon); height: var(--h-icon); border-radius: 50%; border: 1px solid var(--c-hairline); background: none; color: var(--c-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: currentColor; animation: spin .8s linear infinite; flex: none; }
.btn-secondary .spinner, .spinner-dark { border-color: rgba(11, 21, 51, .2); border-top-color: var(--c-ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Logo：五根节律线 + Alchium + 知元医链 ── */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-cobalt); flex: none; }
.logo-mark { display: inline-flex; align-items: center; gap: 3px; height: 20px; }
.logo-mark i { width: 3px; border-radius: 2px; display: block; }
.logo-mark i:nth-child(1), .logo-mark i:nth-child(5) { height: 11px; background: var(--c-cyan-ink); }
.logo-mark i:nth-child(2) { height: 20px; background: var(--c-magenta); }
.logo-mark i:nth-child(3) { height: 15px; background: var(--c-magenta); }
.logo-mark i:nth-child(4) { height: 20px; background: var(--c-amber-ink); }
.logo-en { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.logo-zh { font-size: 15px; font-weight: 500; color: var(--c-ink); }
.on-dark .logo, .logo.on-dark { color: var(--c-white); }
.on-dark .logo-zh, .logo.on-dark .logo-zh { color: inherit; }
.on-dark .logo-mark i:nth-child(1), .on-dark .logo-mark i:nth-child(5) { background: var(--c-cyan); }
.on-dark .logo-mark i:nth-child(4) { background: var(--c-amber); }

/* ── 顶部导航 ── */
.site-nav { position: sticky; top: 0; z-index: 900; background: var(--c-white); border-bottom: 1px solid var(--c-hairline); }
.site-nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: calc(var(--w-page) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.site-nav-left { display: flex; align-items: center; gap: 48px; min-width: 0; }
.site-nav-links, .site-nav-right { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 500; }
.site-nav-links { gap: 28px; }
.site-nav a, .site-nav button { color: var(--c-ink); text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--c-cobalt); }
.site-nav a.is-active { color: var(--c-cobalt); text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1.5px; }
.site-nav .nav-cta { height: 44px; padding: 0 24px; border-radius: 22px; background: var(--c-cobalt); color: var(--c-white); letter-spacing: .06em; display: inline-flex; align-items: center; }
.site-nav .nav-cta:hover { background: var(--c-cobalt-hover); color: var(--c-white); }
/* 首屏照片上的导航：透明底、白字，随首屏滚走 */
.site-nav.on-photo { position: absolute; left: 0; right: 0; background: transparent; border-bottom-color: rgba(255, 255, 255, .18); }
.site-nav.on-photo a, .site-nav.on-photo .nav-menu-btn { color: var(--c-white); }
.site-nav.on-photo a.is-active { color: var(--c-white); }
.site-nav.on-photo .nav-cta { background: var(--c-white); color: var(--c-cobalt); }
.site-nav.on-photo .logo { color: var(--c-white); }
.site-nav.on-photo .logo-zh { color: var(--c-white); }
.site-nav.on-photo .logo-mark i:nth-child(1), .site-nav.on-photo .logo-mark i:nth-child(5) { background: var(--c-cyan); }
.site-nav.on-photo .logo-mark i:nth-child(4) { background: var(--c-amber); }
/* 二级菜单（hover / 聚焦展开） */
.nav-drop { position: relative; }
.nav-drop-menu { position: absolute; top: 100%; left: -20px; min-width: 200px; padding: 12px 0; margin: 0; list-style: none; background: var(--c-white); border-radius: var(--r-panel); visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu, .nav-drop.open .nav-drop-menu { visibility: visible; opacity: 1; transform: none; }
.nav-drop::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.nav-drop-menu a, .site-nav.on-photo .nav-drop-menu a { display: block; padding: 10px 20px; color: var(--c-ink); font-size: 14px; }
.nav-drop-menu a:hover { background: var(--c-mint); color: var(--c-ink); }
.nav-menu-btn { display: none; width: var(--h-icon); height: var(--h-icon); border-radius: 50%; border: 1px solid currentColor; background: none; color: var(--c-ink); align-items: center; justify-content: center; cursor: pointer; padding: 0; opacity: .9; }
.nav-mobile { display: none; }
@media (max-width: 1180px) {
  .site-nav-links { gap: 20px; }
  .site-nav-left { gap: 32px; }
  .site-nav-right { gap: 20px; }
}
/*
 * 英文导航文字长，版心 1280 放不下全部菜单加右侧入口（≥1536 宽曾互相压叠）。规格 3.0 要求右侧「患者入口 / 受理查询 / 申请评估」
 * 始终可见：英文页头不受版心限宽、收紧间距；宽度不够放全部菜单时，左侧菜单收进汉堡按钮，右侧入口保留到 1060（与中文一致）。
 * 落地页页头没有汉堡按钮，同一断点下只收起左侧菜单。
 */
html[lang="en"] .site-nav-inner { max-width: none; gap: 24px; }
html[lang="en"] .site-nav-left { gap: 36px; }
html[lang="en"] .site-nav-links, html[lang="en"] .site-nav-right { gap: 22px; }
@media (max-width: 1679px) {
  html[lang="en"] .site-nav-links { display: none; }
  html[lang="en"] .nav-menu-btn { display: inline-flex; }
  html[lang="en"] .nav-mobile.open { display: block; }
}
@media (max-width: 1060px) {
  .site-nav-links, .site-nav-right .nav-hide-md { display: none; }
  .nav-menu-btn { display: inline-flex; }
  .nav-mobile.open { display: block; }
}
/* 汉堡菜单面板（只在上面两个断点内显示）：高度用 100dvh——iOS Safari 的 100vh 含底部工具栏遮住的部分，末尾的「申请评估」会被挡住；
   旧浏览器回退 100vh。「申请评估」吸在面板底部，菜单一打开就能看到；底部留出安全区。 */
.nav-mobile.open { position: absolute; top: 100%; left: 0; right: 0; background: var(--c-white); border-bottom: 1px solid var(--c-hairline); padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px)); max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; }
.nav-mobile a { display: block; padding: 14px 0; border-top: 1px solid var(--c-hairline); color: var(--c-ink) !important; text-decoration: none; font-size: 16px; }
.nav-mobile a.sub { padding-left: 16px; font-size: 14px; color: var(--c-mist) !important; }
.nav-mobile .btn { display: flex; position: sticky; bottom: max(12px, env(safe-area-inset-bottom, 0px)); margin-top: 16px; width: 100%; padding: 0 24px; color: var(--c-white) !important; border-top: 0; text-align: center; }
@media (max-width: 600px) {
  .site-nav .nav-cta { height: 36px; padding: 0 16px; border-radius: 18px; font-size: 14px; }
  /* 英文“Request Evaluation”太长，手机上收进菜单（菜单里有同一个按钮） */
  html[lang="en"] .site-nav .nav-cta { display: none; }
  .site-nav-right { gap: 12px; }
  .logo-zh { display: none; }
}

/* ── 页脚 ── */
.site-footer { background: var(--c-footer); color: var(--c-white); padding: 72px 0 40px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 56px; }
.footer-grid { display: grid; grid-template-columns: 1fr repeat(4, 180px); column-gap: 32px; row-gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .logo { color: var(--c-white); }
.footer-brand .logo-zh { color: var(--c-on-dark-mist); }
.footer-brand .logo-mark i:nth-child(1), .footer-brand .logo-mark i:nth-child(5) { background: var(--c-cyan); }
.footer-brand .logo-mark i:nth-child(4) { background: var(--c-amber); }
.footer-slogan { font-family: var(--f-serif); font-size: 20px; line-height: 30px; color: var(--c-ivory); }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-col h4 { font-family: var(--f-sans); font-size: 14px; font-weight: 400; color: var(--c-on-dark-faint); }
.footer-col a, .footer-col span { color: var(--c-white); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { border-top: 1px solid var(--c-footer-line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--c-on-dark-faint); }
.footer-bottom a { color: var(--c-on-dark-faint); text-decoration: none; }
.footer-bottom a:hover { color: var(--c-white); }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

/* ── 底部通栏「还没找到答案？」 ── */
.cta-band { background: var(--c-cobalt); color: var(--c-white); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta-band h2 { color: var(--c-white); font-size: 40px; line-height: 52px; }

/* ── 首屏照片 ── */
.photo-hero { position: relative; min-height: 900px; color: var(--c-white); overflow: hidden; background: var(--c-ink); }
.photo-hero > img.photo-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
/* 原型首屏用横向压暗层保证白字可读（照片上的可读性压暗，不是装饰渐变） */
.photo-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(3, 14, 58, .86) 0%, rgba(3, 14, 58, .66) 42%, rgba(3, 14, 58, .22) 78%, rgba(3, 14, 58, .12) 100%); }
.photo-hero-body { position: relative; z-index: 2; padding-top: calc(var(--nav-h) + 108px); padding-bottom: 120px; max-width: 760px; }
.photo-hero h1 { color: var(--c-white); }
.photo-hero .sub { margin-top: 14px; font-family: var(--f-serif); font-size: 42px; line-height: 58px; color: var(--c-white); }
.photo-hero .lead { margin-top: 34px; color: var(--c-on-dark); }
.photo-hero .btn-row { margin-top: 44px; }
.photo-hero .hint { margin-top: 18px; font-size: 14px; line-height: 22px; color: var(--c-on-dark-mist); }
/* 纯色首屏（不放照片的页面） */
.plain-hero { padding: 88px 0 72px; }
.plain-hero .lead { margin-top: 20px; max-width: 720px; }
.plain-hero .btn-row { margin-top: 36px; }
.plain-hero .hint { margin-top: 16px; font-size: 14px; color: var(--c-mist); }

/* ── 筛选胶囊（顶级资源城市筛选、医疗前沿标签）：选中为钴蓝实心，可多选 ── */
.chip { height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--c-stroke); background: var(--c-white); color: var(--c-ink); font-family: inherit; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--c-ink); }
.chip svg { display: none; flex: none; }
.chip[aria-pressed="true"] { background: var(--c-cobalt); border-color: var(--c-cobalt); color: var(--c-white); }
.chip[aria-pressed="true"] svg { display: block; }
.chip-count { font-size: 13px; color: var(--c-mist); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .chip-count { color: var(--c-on-dark-mist); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── 状态点、标签、进度 ── */
.dot { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--c-dot-blue); }
.dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.dot-green { color: var(--c-dot-green); }
.dot-red { color: var(--c-dot-red); }
.dot-grey { color: var(--c-dot-grey); }
.tag-action { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: var(--r-tag); background: var(--c-amber); color: var(--c-ink); font-size: 12px; font-weight: 600; }
/* 三段进度（受理查询）：完成钴蓝、当前琥珀、未到描边色 */
.steps3 { display: flex; gap: 8px; }
.steps3 > span { flex: 1; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--c-mist); }
.steps3 > span::before { content: ''; height: 3px; background: var(--c-stroke); }
.steps3 > span.done { color: var(--c-ink); font-weight: 500; }
.steps3 > span.done::before { background: var(--c-cobalt); }
.steps3 > span.current { color: var(--c-ink); font-weight: 700; }
.steps3 > span.current::before { background: var(--c-amber); }
/* 节律线（4 组）：完整版每组 8 根 2px；完成钴蓝（深底青）、当前琥珀缓慢起伏、未开始雾灰 */
.rhythm { display: flex; gap: 14px; align-items: flex-end; height: 28px; }
.rhythm-group { display: flex; gap: 4px; align-items: flex-end; height: 100%; }
.rhythm-group i { width: 2px; height: 100%; background: var(--c-stroke); border-radius: 1px; transform-origin: bottom; }
.rhythm-group.done i { background: var(--c-cobalt); }
.rhythm-group.current i { background: var(--c-amber); animation: breathe 2.4s ease-in-out infinite; }
.rhythm-group.current i:nth-child(2n) { animation-delay: .3s; }
.rhythm-group.current i:nth-child(3n) { animation-delay: .6s; }
.on-dark .rhythm-group i { background: rgba(255, 255, 255, .28); }
.on-dark .rhythm-group.done i { background: var(--c-cyan); }
.on-dark .rhythm-group.current i { background: var(--c-amber); }
@keyframes breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }
.skeleton { display: block; background: var(--c-hairline); border-radius: 6px; }

/* ── 表单（D-08：提交时全部错误项就地标红并滚到第一个） ── */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-grid .span-2 { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field .label { font-size: 14px; font-weight: 500; color: var(--c-mist); }
.field .req { color: var(--c-error); }
.input, .field input, .field select, .field textarea {
  width: 100%; height: 52px; border: 1px solid var(--c-stroke); border-radius: var(--r-input);
  padding: 0 16px; font-size: 16px; font-family: inherit; background: var(--c-white); color: var(--c-ink);
  appearance: none; -webkit-appearance: none; outline: none;
}
.field select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%234E5A78' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select:invalid { color: var(--c-mist); }
.field textarea { height: 104px; padding: 14px 16px; line-height: 26px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border: 1.5px solid var(--c-cobalt); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea, .input.is-invalid { border: 1.5px solid var(--c-error); }
.field-error { font-size: 13px; line-height: 20px; color: var(--c-error); }
.field-hint { font-size: 13px; line-height: 20px; color: var(--c-mist); }
.field-hint:empty { display: none; }
/* 格式出错时只留红字：灰色说明与红色错误常是同一句（如“需带国家区号…”），不重复显示 */
.field.is-invalid .field-hint { display: none; }
/* 描述框字数（lead-form.js，maxlength 2000） */
.field-count { align-self: flex-end; font-size: 12px; line-height: 18px; color: var(--c-mist); font-variant-numeric: tabular-nums; }
.field-count.is-full { color: var(--c-error); }
.form[aria-busy="true"] input, .form[aria-busy="true"] select, .form[aria-busy="true"] textarea { background: var(--c-ivory); color: var(--c-mist); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.form-foot .small { max-width: 420px; }
.form-alert { font-size: 14px; line-height: 22px; color: var(--c-error); }
.form-alert:empty { display: none; }
/* 线索表单隐私说明（Q-077）：提交按钮上方一行，链到隐私政策 */
.form-privacy { margin-top: 20px; }
.form-privacy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid .span-2 { grid-column: auto; }
  .form-foot .btn { width: 100%; }
}

/* ── 提交成功卡 / 查询码 ── */
.success-card { display: flex; flex-direction: column; gap: 20px; }
.success-card .kicker { font-size: 13px; font-weight: 600; color: var(--c-dot-green); }
.code-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: var(--r-panel); background: var(--c-mint); }
.code-box .code-label { font-size: 13px; color: var(--c-mist); }
.code-box .code { font-size: 32px; line-height: 40px; font-weight: 600; letter-spacing: .18em; font-variant-numeric: tabular-nums; color: var(--c-ink); }
.notice-line { font-size: 14px; line-height: 22px; color: var(--c-mist); }

/* ── Toast ── */
.toast { position: fixed; left: 50%; bottom: 40px; z-index: 2000; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 14px 22px; border-radius: 24px; background: var(--c-ink); color: var(--c-white); font-size: 15px; line-height: 22px; text-align: center; }

/* ── 弹层（遮罩 + 白面 r20，按钮右对齐） ── */
.modal { position: fixed; inset: 0; z-index: 1500; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--overlay); }
.modal-panel { position: relative; width: 100%; max-width: 440px; background: var(--c-white); border-radius: var(--r-panel); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.modal-panel h3 { font-size: 24px; line-height: 32px; font-weight: 600; }
.modal-close { position: absolute; top: 16px; right: 16px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 12px; }
.qr-img { width: 200px; height: 200px; border-radius: 12px; background: var(--c-white); padding: 8px; }
.qr-img svg, .qr-img img { width: 100%; height: 100%; display: block; }

/* ── 下载区与商店按钮（download.js） ── */
.store-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.store-slot { display: flex; flex-direction: column; gap: 12px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; height: var(--h-btn); padding: 0 28px; border-radius: calc(var(--h-btn) / 2); background: var(--c-ink); color: var(--c-white); text-decoration: none; font-size: 16px; font-weight: 500; letter-spacing: .04em; border: 0; cursor: pointer; }
.store-btn:hover { background: var(--c-cobalt); color: var(--c-white); }
.store-btn svg { width: 22px; height: 22px; flex: none; }
.on-dark .store-btn { background: var(--c-white); color: var(--c-ink); }
.store-qr { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: var(--r-panel); background: var(--c-white); color: var(--c-ink); }
.store-qr .qr-img { width: 120px; height: 120px; padding: 0; }
.store-qr p { font-size: 14px; line-height: 22px; color: var(--c-mist); }
.store-qr strong { display: block; font-size: 15px; color: var(--c-ink); font-weight: 600; }
.download-qr { display: flex; gap: 20px; align-items: center; }
.download-qr .qr-img { width: 132px; height: 132px; padding: 0; }
.download-qr strong { display: block; font-size: 16px; font-weight: 600; }
.download-qr span { font-size: 14px; color: var(--c-mist); }
.on-dark .download-qr span { color: var(--c-on-dark-mist); }
.dl-mobile-only, .dl-desktop-only { }
html.dl-mobile .dl-desktop-only, html:not(.dl-mobile) .dl-mobile-only { display: none !important; }

/* ── 微信内引导层 ── */
.wechat-guide { position: fixed; inset: 0; z-index: 1800; background: var(--overlay); display: flex; flex-direction: column; align-items: flex-end; padding: 16px 20px; cursor: pointer; }
.wechat-guide-arrow { width: 72px; height: 72px; color: var(--c-white); margin-right: 8px; }
.wechat-guide-panel { align-self: stretch; margin-top: 12px; background: var(--c-white); border-radius: var(--r-panel); padding: 24px; display: flex; flex-direction: column; gap: 12px; cursor: default; }
.wechat-guide-panel h3 { font-size: 20px; line-height: 30px; font-weight: 600; }
.wechat-bar { background: var(--c-mint); color: var(--c-ink); font-size: 14px; line-height: 22px; padding: 12px var(--gutter); }

/* ── 移动端统一 ── */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: minmax(0, 1fr); row-gap: 16px; margin-bottom: 40px; }
  .h-display { font-size: 52px; line-height: 60px; }
  .h1 { font-size: 40px; line-height: 52px; }
  .h2 { font-size: 30px; line-height: 40px; }
  .photo-hero { min-height: 0; }
  .photo-hero::before { background: rgba(3, 14, 58, .72); }
  .photo-hero-body { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 72px; }
  .photo-hero .sub { font-size: 26px; line-height: 38px; }
  .photo-hero .lead { font-size: 16px; line-height: 28px; margin-top: 20px; }
  .panel, .hero-card { padding: 28px 24px; border-radius: var(--r-panel); }
  .cta-band h2 { font-size: 28px; line-height: 38px; }
}
@media (max-width: 480px) {
  .btn-row .btn { flex: 1 1 0; padding: 0 16px; }
  .photo-hero .btn-row .btn { flex: 1 1 0; }
}
