/* 第一版导航移植：保持三点品牌、左右布局、蓝色下划线和无色毛玻璃。 */
.header.legacy-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: 68px;
  display: flex;
  flex-wrap: nowrap;
  align-content: normal;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(16px, 4vw, 52px);
  color: #0f1f45;
  background: rgba(255,255,255,.28);
  border-bottom: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  box-shadow: 0 1px 12px rgba(36,55,45,.035);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  transition: background-color .25s ease, border-color .25s ease;
}
.legacy-header.is-scrolled {
  background: rgba(255,255,255,.36);
}
.legacy-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: inherit;
  letter-spacing: .02em;
  flex-shrink: 0;
}
.legacy-header .brand-dots { display: inline-flex; gap: 3px; }
.legacy-header .brand-dots i { width: 5px; height: 5px; border-radius: 50%; background: #2f6fd0; opacity: .85; display: block; }
.legacy-header .brand-dots i:nth-child(2) { opacity: .6; }
.legacy-header .brand-dots i:nth-child(3) { opacity: .34; }
.legacy-header .brand-name { font-size: 17px; color: inherit; }
.legacy-header .site-nav {
  display: flex;
  width: auto;
  order: initial;
  margin: 0;
  align-items: center;
  justify-content: initial;
  gap: clamp(14px, 2.4vw, 32px);
  font-size: 15px;
}
.legacy-header .site-nav a {
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  color: #54688f;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.legacy-header .site-nav a::after { content: none; }
.legacy-header .site-nav a:hover, .legacy-header .site-nav a:focus-visible { color: #1f57ab; }
.legacy-header .site-nav a.is-current { color: #0f1f45; border-bottom-color: #2f6fd0; }
.legacy-header .nav-toggle { display: none; }
.workshop-actions { display: flex; gap: 12px; align-items: center; }
.preview-tune { box-shadow: none; }
.settings { top: 82px; }
.guide-list { display: grid; gap: 18px; padding: 0; list-style: none; counter-reset: guide-step; }
.guide-list li { padding: 18px; background: #f4f7fa; border-radius: 12px; counter-increment: guide-step; }
.guide-list h3 { font-size: 17px; margin: 0 0 7px; font-weight: 600; }
.guide-list h3::before { content: "0" counter(guide-step) " "; color: #2f6fd0; }
.guide-list p { font-size: 13px; margin: 0; }
@media(max-width:900px) {
  .header.legacy-header { height: 60px; }
  .legacy-header .site-nav { font-size: 14px; }
  .legacy-header .brand-name { font-size: 16px; }
}
@media(max-width:600px) {
  .legacy-header .nav-toggle { display: block; color: inherit; border: 1px solid currentColor; border-radius: 8px; font: inherit; background: transparent; padding: 6px 14px; }
  .legacy-header .site-nav { display: none; }
  .legacy-header .site-nav.expanded { display: grid; grid-template-columns: 1fr 1fr; position: absolute; top: 100%; left: 0; right: 0; padding: 12px 18px; background: #142448; gap: 4px 12px; width: 100%; }
  .legacy-header .site-nav.expanded a { color: #fff; font-size: 15px; padding: 10px; }
  .legacy-header .site-nav.expanded a.is-current { border-bottom-color: #86b0f0; }
  .workshop-heading { flex-wrap: wrap; }
  .settings { top: 72px; }
}
@media(prefers-reduced-motion:reduce) {
  .header.legacy-header, .legacy-header .site-nav a { transition: none; }
}

.brand-logo { display: block; width: 40px; height: 40px; flex: 0 0 40px; object-fit: contain; }

/* 首页文字沿用第一版的字距与字号，在浅色背景上保持清晰。 */
.intro-copy .eyebrow { font-size: 14px; letter-spacing: .16em; }
.intro-copy h1 { font-size: clamp(38px, 5.2vw, 68px); letter-spacing: .01em; }
.intro-copy .intro-description { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; }
@media (max-width: 700px) { .intro-copy h1 { font-size: clamp(32px, 9vw, 46px); } }

/* 现状幕上文下图，两组数字并排，每组说明在数字上方。 */
.case-anchor { top: 64%; }
.situation-copy { position: absolute; top: max(80px, 8vh); left: 7%; width: 86%; z-index: 6; visibility: hidden; opacity: 0; }
.situation-copy .eyebrow { font-size: 14px; letter-spacing: .16em; margin-bottom: 6px; }
.situation-copy h2 { font-size: clamp(26px, 2.7vw, 42px); font-weight: 700; letter-spacing: .01em; line-height: 1.3; margin-bottom: 10px; }
.situation-data { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 5vw, 90px); }
.situation-data p { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0 0 6px; }
.situation-data p:last-child { justify-self: end; width: max-content; }
.situation-data strong { font-size: clamp(26px, 2.8vw, 40px); font-weight: 600; line-height: 1.2; color: #436653; white-space: nowrap; }
.situation-data span { font-size: 16px; line-height: 1.5; color: #54646d; }
.situation-note { font-size: 16px; line-height: 1.7; margin-bottom: 6px; color: #54646d; }
.situation-source { font-size: 10px; line-height: 1.6; color: #54646d; text-decoration: underline; text-underline-offset: 3px; }
.situation-data .data-label { margin: 0; min-height: 0; }
.data-label .compact-label-break { display: none; }
.situation-data .data-value-row { display: flex; align-items: flex-end; gap: 8px; width: auto; min-height: 0; flex-shrink: 0; }
.situation-data .data-value-row strong { flex-shrink: 0; }
.situation-data .data-caption { flex: none; max-width: none; white-space: nowrap; margin: 0 0 2px; font-size: 13px; line-height: 1.4; }
.situation-footer { position: absolute; left: 7%; right: 16%; bottom: 24px; z-index: 6; padding-top: 6px; background: #fffefbf0; color: #54646d; font-size: 10px; line-height: 1.6; opacity: 0; visibility: hidden; }
.situation-footer p { margin: 2px 0 0; font-size: inherit; line-height: inherit; }
@media (max-width: 1050px) {
  .situation-data { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .situation-data .data-label { flex: none; min-height: 3em; font-size: 14px; }
  .situation-data p:last-child { min-width: 140px; padding-bottom: 18px; }
  .situation-data .data-value-row { position: relative; gap: 6px; }
  .situation-data .data-caption { position: absolute; left: 0; bottom: -18px; margin: 0; font-size: 10px; }
  .data-label .compact-label-break { display: initial; }
  .situation-note { font-size: 14px; }
}
@media (max-width: 700px) {
  .situation-copy { top: 76px; }
  .situation-copy .eyebrow { font-size: 11px; }
  .situation-copy h2 { font-size: clamp(24px, 5.8vw, 32px); margin-bottom: 8px; }
  .situation-data { gap: 18px; }
  .situation-data p { min-width: 0; }
  .situation-data strong { font-size: 26px; }
  .situation-data .data-label { font-size: 13px; }
  .situation-note { font-size: 13px; }
  .situation-source { font-size: 9px; }
  .situation-footer { right: 19%; bottom: max(16px, calc(660px - 100svh + 16px)); font-size: 9px; }
}
.simple-motion .situation-copy { position: relative; inset: auto; width: 100%; visibility: visible; opacity: 1; margin: 35px 0 15px; order: 1; }
.simple-motion .situation-copy { grid-column: 1 / -1; order: 0; }
.simple-motion .map-shell { order: 1; }
.simple-motion .featured-case { order: 2; }

.simple-motion .situation-footer { position: relative; inset: auto; grid-column: 1 / -1; order: 3; margin-top: 20px; padding-top: 0; opacity: 1; visibility: visible; }
