:root {
  /* Primitive palette */
  --p-forest: #2d7988;
  --p-forest-soft: #3b8d9c;
  --p-paper: #ffffff;
  --p-paper-deep: #f3f8fa;
  --p-ink: #333333;
  --p-lime: #47bed5;
  --p-mist: #ffffff;
  /* Semantic tokens */
  --surface: var(--p-paper);
  --surface-alt: var(--p-paper-deep);
  --surface-dark: var(--p-forest);
  --text: var(--p-ink);
  --text-dark: var(--p-mist);
  --muted: #666666;
  --muted-dark: #d9edf1;
  --accent: var(--p-lime);
  --line: #dfe8eb;
  --line-dark: #69a3af;
  /* Component tokens */
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-display: "Songti SC", "Noto Serif CJK SC", "STSong", "SimSun", serif;
  --font-number: "DIN Alternate", "Arial Narrow", "PingFang SC", sans-serif;
  --container: 1280px;
  --header-height: 88px;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { min-height: 100dvh; overflow-x: hidden; background: var(--surface); color: var(--text); font: 16px/1.7 var(--font-body); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--p-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.container { width: calc(100% - 80px); max-width: var(--container); margin-inline: auto; }
.section { padding-block: 60px; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; background: var(--accent); color: var(--p-ink); transform: translateY(-160%); transition: transform 180ms ease-out; }
.skip-link:focus { transform: translateY(0); }

/* Header */
:root { --header-height: 88px; }
.site-header {
  position: absolute; top: 0; left: 0; width: 100%; z-index: 1000;
  border-bottom: 1px solid rgba(83, 150, 192, 0.2);
  background: rgba(255, 255, 255, 0);
  transition: background-color 280ms ease-out, border-color 280ms ease-out, box-shadow 280ms ease-out;
}
.site-header.is-scrolled {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #e4ecf0;
  box-shadow: 0 2px 12px rgba(45, 121, 136, 0.06);
}
.site-header.is-scrolled .header-navlist > li > a { color: #333333; }
.header-main {
  display: flex; align-items: center; justify-content: space-between;
  width: 90%; max-width: 1610px; margin-inline: auto; height: var(--header-height);
  gap: 48px;
}
.header-logo img { height: 48px; width: auto; display: block; }
.header-navlist {
  display: flex; align-items: center; justify-content: flex-end;
  margin: 0; padding: 0; list-style: none; flex: 1;
}
.header-navlist > li { position: relative; margin-inline: 12px; }
.header-navlist > li > a {
  display: block; padding: 0 27px;
  color: #ffffff; font-size: 16px; line-height: var(--header-height); font-weight: 400;
  position: relative; text-decoration: none;
  transition: color 200ms ease-out;
}
.header-navlist > li > a::after {
  content: ""; display: block; width: 0; height: 2px;
  background: #47bed5; position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%); transition: width 420ms ease-out;
}
.header-navlist > li:hover > a::after,
.header-navlist > li.active > a::after { width: 100%; }
.header-dropdown {
  position: absolute; top: 120%; left: 50%; transform: translateX(-50%);
  min-width: 260px;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(180%) blur(8px);
  box-shadow: 0 14px 40px rgba(45, 121, 136, 0.18);
  border-top: 2px solid #47bed5;
  padding: 20px 24px; z-index: 1001;
  opacity: 0; visibility: hidden;
  transition: opacity 260ms ease-out, top 260ms ease-out, visibility 260ms;
}
.header-navlist > li:hover .header-dropdown {
  opacity: 1; visibility: visible; top: 100%;
}
.header-dropdown dl { margin: 0; padding: 0; }
.header-dropdown dd { margin: 0; padding: 0; border-bottom: 1px solid #eef3f5; }
.header-dropdown dd:last-child { border-bottom: none; }
.header-dropdown dd a {
  display: block; padding: 12px 4px 12px 18px;
  color: #333333; font-size: 14px; line-height: 1.5; text-decoration: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Ccircle cx='4' cy='4' r='3' fill='%2347bed5'/%3E%3C/svg%3E") no-repeat left center;
  transition: color 180ms ease-out, padding-left 180ms ease-out;
}
.header-dropdown dd a:hover { color: #47bed5; padding-left: 24px; }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

/* Shared type and controls */
.section-label { font-family: var(--font-number); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-family: var(--font-display); font-size: clamp(42px, 3vw, 68px); font-weight: 600; line-height: 1.18; letter-spacing: -0.045em; }
.section-intro { max-width: 32ch; color: var(--muted); font-size: 17px; line-height: 1.85; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 24px; border: 1px solid transparent; font-size: 14px; font-weight: 600; transition: transform 180ms ease-out, background-color 180ms ease-out; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-accent { background: var(--accent); color: #ffffff; }
.button-accent:hover { background: var(--p-forest); }
.text-link { min-height: 48px; display: inline-flex; align-items: center; gap: 12px; padding: 0; background: none; border: 0; border-bottom: 1px solid currentColor; font-size: 14px; transition: gap 180ms ease-out, color 180ms ease-out; }
.text-link:hover { gap: 20px; color: var(--accent); }

/* Hero */
.hero { min-height: 100dvh; background: var(--surface-dark); color: var(--text-dark); }
.hero-grid { min-height: calc(100dvh - 202px); padding-top: var(--header-height); display: grid; grid-template-columns: 53% 47%; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 72px max(40px, calc((100vw - 1440px) / 2)); padding-right: clamp(40px, 6vw, 104px); }
.hero-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; font-family: var(--font-number); font-size: 11px; letter-spacing: 0.2em; }
.hero-kicker span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { max-width: 780px; font-family: var(--font-display); font-size: clamp(50px, 4vw, 80px); font-weight: 600; line-height: 1.13; letter-spacing: -0.055em; }
.hero h1 > span { display: block; margin-bottom: 18px; font-family: var(--font-body); font-size: clamp(21px, 2vw, 30px); font-weight: 400; letter-spacing: 0.08em; }
.hero-lead { margin-top: 32px; color: var(--muted-dark); font-size: clamp(16px, 1.3vw, 20px); line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.hero-coordinate { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 56px; color: var(--muted-dark); font-size: 14px; }
.hero-coordinate span { display: inline-flex; align-items: center; gap: 10px; }
.hero-coordinate span::before { content: ""; width: 14px; height: 1px; background: var(--accent); }
.hero-visual { position: relative; min-height: 560px; overflow: hidden; }
.hero-image-wrap { position: absolute; inset: -5% 0; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.78) contrast(1.03); }
.hero-visual-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(45, 121, 136, 0.08), rgba(20, 62, 72, 0.5)), linear-gradient(90deg, rgba(45, 121, 136, 0.36), transparent 45%); pointer-events: none; }
.hero-project-code { position: absolute; right: 40px; bottom: 88px; left: 40px; display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, 0.55); padding-bottom: 18px; }
.hero-project-code > span { font-family: var(--font-number); font-size: 12px; letter-spacing: 0.24em; }
.hero-project-code strong { display: flex; align-items: flex-end; gap: 8px; font-family: var(--font-number); font-size: clamp(72px, 8vw, 128px); font-weight: 400; line-height: 0.8;  }
.hero-project-code small { padding-bottom: 5px; font-size: 12px; letter-spacing: 0.12em; }
.hero-visual figcaption { position: absolute; right: 40px; bottom: 30px; left: 40px; display: flex; justify-content: space-between; gap: 16px; font-size: 11px; color: var(--p-mist); }
.hero-visual figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1536px; margin-inline: auto; border-top: 1px solid var(--line-dark); }
.hero-stats > div { min-height: 202px; padding: 28px 40px; border-right: 1px solid var(--line-dark); }
.hero-stats > div:last-child { border-right: 0; }
.hero-stats dt { margin-bottom: 8px; color: var(--muted-dark); font-size: 14px; letter-spacing: 0.08em; }
.hero-stats dd { min-height: 70px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.hero-stats dd strong { font-family: var(--font-number); font-size: clamp(44px, 4.1vw, 64px); font-weight: 400; line-height: 1.1;  }
.hero-stats dd sup { color: var(--accent); font-size: clamp(20px, 2.2vw, 13px); line-height: 1; }
.hero-stats dd > span { color: var(--muted-dark); font-size: 13px; }
.hero-stats dd.stat-text { align-items: center; font-family: var(--font-display); font-size: 22px; line-height: 1.45; }
.hero-stats p { margin-top: 8px; color: var(--muted-dark); font-size: 12px; }

/* Background and challenges */
.section-heading { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.section-heading > .section-label { grid-column: 1 / 4; padding-top: 16px; }
.section-heading > h2 { grid-column: 4 / 9; }
.section-heading > .section-intro { grid-column: 10 / 13; padding-top: 12px; }
.challenge-primary { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: 60px; }
.challenge-title { grid-column: 1 / 6; display: grid; grid-template-columns: 48px 1fr; gap: 24px; align-items: start; }
.challenge-number { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; font-family: var(--font-number); font-size: 12px; }
.challenge-title h3, .terrain-facts h3 { font-family: var(--font-display); font-size: clamp(30px, 2.5vw, 44px); font-weight: 600; line-height: 1.3; letter-spacing: -0.035em; }
.fact-list { grid-column: 7 / 13; }
.fact-list > div { display: grid; grid-template-columns: 112px 1fr; gap: 24px; padding-block: 24px; border-top: 1px solid var(--line); }
.fact-list > div:last-child { border-bottom: 1px solid var(--line); }
.fact-list dt { font-size: 14px; font-weight: 650; }
.fact-list dd { color: var(--muted); line-height: 1.8; }
.challenge-secondary { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; margin-top: 60px; }
.landscape-figure { grid-column: 1 / 8; }
.landscape-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(0.78); }
.landscape-figure figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; color: var(--muted); font-size: 11px; }
.landscape-figure figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.terrain-facts { grid-column: 9 / 13; }
.terrain-facts .challenge-number { margin-bottom: 24px; }
.terrain-facts h3 { margin-bottom: 32px; }
.fact-list.compact > div { grid-template-columns: 88px 1fr; gap: 16px; }

/* Solution */
.solution-section { background: var(--surface-alt); }
.solution-heading { display: grid; grid-template-columns: 2fr 1fr; gap: 80px; align-items: end; }
.solution-heading .section-label { margin-bottom: 28px; }
.solution-heading > p { max-width: 34ch; padding-bottom: 8px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.solution-flow { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 104px; border-top: 1px solid var(--text); }
.solution-item { position: relative; padding: 48px 40px 16px 0; }
.solution-item + .solution-item { padding-left: 40px; border-left: 1px solid var(--line); }
.solution-item::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--text); }
.solution-item + .solution-item::before { left: 40px; }
.solution-icon { width: 64px; height: 64px; margin-bottom: 30px; }
.solution-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.solution-step { margin-bottom: 8px; color: var(--muted); font-size: 12px; letter-spacing: 0.12em; }
.solution-item h3 { margin-bottom: 20px; font-family: var(--font-display); font-size: 34px; font-weight: 600; }
.solution-item > p:last-child { max-width: 30ch; color: var(--muted); line-height: 1.85; }

/* Evidence */
.evidence-section { background: var(--surface-dark); color: var(--text-dark); }
.evidence-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.evidence-heading .section-label { margin-bottom: 28px; }
.proof-metric { display: flex; align-items: flex-end; justify-content: flex-end; gap: 32px; }
.proof-metric > strong { font-family: var(--font-number); font-size: clamp(88px, 10vw, 152px); font-weight: 400; line-height: 0.8; letter-spacing: -0.08em; }
.proof-metric sup { color: var(--accent); font-size: 0.35em; }
.proof-metric p { padding-bottom: 4px; font-size: 18px; line-height: 1.55; }
.proof-metric p span { color: var(--muted-dark); font-size: 12px; }
.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 60px; border-top: 1px solid var(--line-dark); }
.evidence-item { padding: 32px 36px 24px 0; }
.evidence-item + .evidence-item { padding-left: 36px; border-left: 1px solid var(--line-dark); }
.evidence-item-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; color: var(--muted-dark); font-family: var(--font-number); font-size: 20px; }
.evidence-item-top svg { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.evidence-item h3 { margin-bottom: 32px; font-family: var(--font-display); font-size: 30px; font-weight: 600; }
.evidence-item dl > div { padding-block: 20px; border-top: 1px solid var(--line-dark); }
.evidence-item dt { margin-bottom: 8px; color: var(--accent); font-size: 18px;  font-weight: 700}
.evidence-item dd { color: var(--muted-dark); font-size: 16px; line-height: 1.8; }
.monitor-line { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 80px; padding-block: 32px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.monitor-status { display: flex; align-items: center; gap: 16px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(71, 190, 213, 0.18); }
.monitor-status p { color: var(--muted-dark); font-size: 12px; }
.monitor-status strong { display: block; color: var(--text-dark); font-size: 18px; font-weight: 500; }
.monitor-line ol { display: flex; gap: 36px; }
.monitor-line li { display: flex; align-items: center; gap: 10px; }
.monitor-line li strong { font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.monitor-line li span { color: var(--muted-dark); font-size: 12px; }

/* Benefits */
.benefits-heading { margin-bottom: 60px; }
.benefits-interface { display: grid; grid-template-columns: 4fr 8fr; border-top: 1px solid var(--text); border-bottom: 1px solid var(--text); }
.benefit-tabs { display: flex; flex-direction: column; }
.benefit-tabs button { flex: 1; min-height: 104px; display: grid; grid-template-columns: 88px 1fr 24px; gap: 16px; align-items: center; padding: 24px; background: transparent; border: 0; border-bottom: 1px solid var(--line); text-align: left; transition: background-color 200ms ease-out, color 200ms ease-out; }
.benefit-tabs button:last-child { border-bottom: 0; }
.benefit-tabs button > span { font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.benefit-tabs button small { color: var(--muted); font-size: 12px; }
.benefit-tabs button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform 180ms ease-out; }
.benefit-tabs button:hover svg { transform: translateX(4px); }
.benefit-tabs button[aria-selected="true"] { background: var(--surface-dark); color: var(--text-dark); }
.benefit-tabs button[aria-selected="true"] small { color: var(--muted-dark); }
.benefit-panel { position: relative; display: flex; align-items: flex-end; overflow: hidden; padding: 64px; background: var(--surface-alt); }
.benefit-glyph { position: absolute; top: -88px; right: 8px; color: #dceef2; font-family: var(--font-display); font-size: 320px; line-height: 1; pointer-events: none; user-select: none; }
.benefit-panel-content { position: relative; max-width: 600px; }
.benefit-panel-content > p { margin-bottom: 20px; color: var(--muted); font-size: 12px; letter-spacing: 0.16em; }
.benefit-panel-content h3 { max-width: 30ch; font-family: var(--font-display); font-size: clamp(32px, 2.5vw, 50px); font-weight: 600; line-height: 1.35; letter-spacing: -0.035em; }
.benefit-panel-content ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 48px; }
.benefit-panel-content li { position: relative; padding-top: 18px; border-top: 1px solid var(--text); color: var(--muted); font-size: 16px; line-height: 1.8; }

/* Resources */
.resources-section, .faq-section { padding-top: 32px; }

.resources-heading { display: grid; grid-template-columns: 3fr 6fr 3fr; gap: 24px; align-items: end; margin-bottom: 64px; }
.resources-heading h2 { font-size: clamp(38px, 3vw, 58px); }
.resources-heading > p:last-child { padding-bottom: 10px; color: var(--muted); text-align: right; }
.resource-list { border-bottom: 1px solid var(--text); }
.resource-row { width: 100%;  display: grid; grid-template-columns: 2fr 8fr 2fr; gap: 24px; align-items: center; padding: 24px; background: transparent; border: 0; border-top: 1px solid var(--text); text-align: left; transition: background-color 220ms ease-out, color 220ms ease-out; }
.resource-type { font-size: 13px; font-weight: 650; }
.resource-title {  line-height: 1.5; }
.resource-arrow { justify-self: end; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 50%; }
.resource-more {  font-size: 15px; line-height: 1.4; white-space: nowrap;  }

.resource-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform 180ms ease-out; }
.resource-row:hover { background: var(--surface-dark); color: var(--text-dark); }
.resource-row:hover .resource-arrow svg { transform: translate(3px, -3px); }

/* Closing and footer */
.closing-section { padding-block: 112px; background: var(--surface-dark); color: var(--text-dark); }
.closing-grid { display: grid; grid-template-columns: 8fr 4fr; gap: 80px; align-items: end; }
.closing-grid .section-label { margin-bottom: 28px; }
.closing-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.closing-actions > p { margin-bottom: 8px; color: var(--muted-dark); line-height: 1.85; }
.site-footer { background: #2d7988 url("./footer-bg.jpg") no-repeat center top; background-size: cover; color: #ffffff; }
.footer-container { width: 90%; max-width: 1610px; margin-inline: auto; }
.footer-primary { padding: 75px 0 50px; }
.footer-layout { display: flex; justify-content: space-between; gap: 48px; }
.footer-nav { flex: 1 1 870px; min-width: 0; }
.footer-nav-columns { display: flex; justify-content: space-between; gap: 16px; }
.footer-nav-columns > li { flex: 1 1 0; }
.footer-nav-title { color: #ffffff; font-size: 16px; font-weight: 700; line-height: 1.5; }
.footer-subnav { display: grid; margin-top: 20px; }
.footer-subnav a { color: rgba(255, 255, 255, 0.8); font-size: 14px; line-height: 30px; transition: color 180ms ease-out; }
.footer-subnav a:hover, .footer-nav-title:hover { color: #ffffff; }
.footer-contact { flex: 0 1 450px; display: flex; justify-content: space-between; gap: 32px; }
.footer-contact-list { display: grid; align-content: start; gap: 15px; }
.footer-contact-label { padding-left: 26px; color: rgba(255, 255, 255, 0.8); background-repeat: no-repeat; background-position: left center; font-size: 14px; line-height: 25px; }
.footer-address .footer-contact-label { background-image: url("./icon-address.png"); }
.footer-phone .footer-contact-label { background-image: url("./icon-phone.png"); }
.footer-email .footer-contact-label { background-image: url("./icon-email.png"); }
.footer-contact-value { margin-top: 5px; color: #ffffff; font-size: 14px; line-height: 1.5; }
.footer-contact-value a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-contact .footer-phone-number { color: #ffea02; font-size: 30px; font-weight: 700; line-height: 1.25; }
.footer-qr { flex: 0 0 164px; align-self: flex-start; padding: 10px; border: 1px solid #639ca7; }
.footer-qr img { width: 100%; height: auto; }
.footer-copyright { padding: 30px 0; background: url("./footer-bottom.jpg") no-repeat center / cover; border-top: 1px solid #88bfcf; color: #ffffff; font-size: 16px; line-height: 1.6; text-align: center; }

/* Dialog, whitepaper and consultation tools */
.site-dialog { width: calc(100% - 40px); max-width: 780px; max-height: 88dvh; margin: auto; padding: 0; overflow: auto; background: var(--surface); color: var(--text); border: 0; box-shadow: 0 24px 80px rgba(45, 121, 136, 0.22); }
.site-dialog::backdrop { background: rgba(24, 55, 63, 0.76); }
.site-dialog[open] { animation: dialog-enter 240ms var(--ease-out); }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(18px) scale(0.97); } to { opacity: 1; transform: none; } }
.dialog-shell { position: relative; padding: 56px; }
.dialog-close { position: absolute; z-index: 2; top: 20px; right: 20px; width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line); border-radius: 50%; transition: background-color 180ms ease-out; }
.dialog-close:hover { background: var(--surface-alt); }
.dialog-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.dialog-kicker { margin-bottom: 16px; color: var(--muted); font-family: var(--font-number); font-size: 11px; letter-spacing: 0.16em; }
.dialog-content h2 { max-width: 14ch; font-size: clamp(32px, 5vw, 48px); }
.dialog-lead { max-width: 60ch; margin-top: 20px; color: var(--muted); }
.dialog-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-block: 32px; padding-block: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dialog-facts strong { display: block; font-family: var(--font-number); font-size: 28px; font-weight: 500; }
.dialog-facts span { color: var(--muted); font-size: 12px; }
.dialog-section { margin-top: 28px; }
.dialog-section h3 { margin-bottom: 12px; font-size: 16px; }
.dialog-section p, .dialog-section li { color: var(--muted); font-size: 16px; line-height: 1.8; }
.dialog-section ul { display: grid; gap: 8px; }
.dialog-section li { position: relative; padding-left: 18px; }
.dialog-section li::before { content: ""; position: absolute; top: 12px; left: 0; width: 6px; height: 1px; background: currentColor; }
/* 富文本编辑器产出的通用 HTML（非结构化 class）在弹窗内的兼容排版 */
.dialog-content > p:not(.dialog-lead):not(.dialog-kicker) { margin-top: 12px; color: var(--muted); line-height: 1.8; }
.dialog-content > h3 { margin-top: 24px; margin-bottom: 10px; font-size: 16px; }
.dialog-content > ul, .dialog-content > ol { display: grid; gap: 8px; margin-top: 12px; }
.dialog-content > ul > li, .dialog-content > ol > li { position: relative; padding-left: 18px; color: var(--muted); line-height: 1.8; }
.dialog-content > ul > li::before, .dialog-content > ol > li::before { content: ""; position: absolute; top: 12px; left: 0; width: 6px; height: 1px; background: currentColor; }
.dialog-content strong { color: var(--text); }
.dialog-content img { margin-block: 12px; max-width: 100%; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.dialog-actions .text-link:hover { color: var(--text); }
.consult-form { display: grid; gap: 20px; margin-top: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; gap: 8px; }
.form-field label { font-size: 13px; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: var(--p-mist); color: var(--text); border: 1px solid var(--line); border-radius: 0; }
.form-field textarea { min-height: 112px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--text); }
.privacy-note { color: var(--muted); font-size: 12px; }
.consult-result { margin-top: 24px; }
.consult-result pre { max-height: 240px; overflow: auto; padding: 20px; white-space: pre-wrap; word-break: break-word; background: var(--surface-alt); color: var(--text); font: 13px/1.8 var(--font-body); }
.toast { position: fixed; z-index: 60; right: 24px; bottom: 24px; max-width: calc(100% - 48px); padding: 14px 20px; background: var(--accent); color: #ffffff; font-size: 14px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 180ms ease-out, transform 180ms ease-out; }
.toast.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  :root { --header-height: 72px; }
  .header-navlist { gap: 4px; }
  .header-navlist > li > a { padding: 0 10px; font-size: 15px; }
  .header-dropdown { min-width: 220px; }
  .hero-grid { grid-template-columns: 56% 44%; }
  .hero-copy { padding-left: 40px; }
  .hero-stats > div { padding-inline: 24px; }
  .section-heading > .section-label { grid-column: 1 / 4; }
  .section-heading > h2 { grid-column: 4 / 10; }
  .section-heading > .section-intro { grid-column: 4 / 10; margin-top: 16px; }
  .challenge-title { grid-column: 1 / 6; grid-template-columns: 1fr; }
  .fact-list { grid-column: 6 / 13; }
  .terrain-facts { grid-column: 8 / 13; }
  .landscape-figure { grid-column: 1 / 7; }
  .solution-heading { gap: 40px; }
  .solution-item { padding-right: 24px; }
  .solution-item + .solution-item { padding-left: 24px; }
  .solution-item + .solution-item::before { left: 24px; }
  .evidence-item { padding-right: 24px; }
  .evidence-item + .evidence-item { padding-left: 24px; }
  .benefit-tabs button { grid-template-columns: 76px 1fr 20px; padding-inline: 16px; }
  .benefit-panel { padding: 48px; }
  .monitor-line { align-items: flex-start; }
  .monitor-line ol { gap: 20px; }
  .monitor-line li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .footer-layout { gap: 32px; }
  .footer-nav-columns { gap: 12px; }
  .footer-contact { flex: 0 0 360px; gap: 24px; }
  .footer-qr { flex-basis: 120px; padding: 8px; }
  .footer-copyright { padding: 25px 0; font-size: 14px; }
}

@media (max-width: 900px) {
  .footer-nav { display: none; }
  .footer-layout { display: block; }
  .footer-contact { width: 100%; max-width: 560px; margin-inline: auto; }
  .footer-primary { padding: 50px 0 40px; }
}

@media (max-width: 767px) {
  :root { --header-height: 60px; }
  .container { width: calc(100% - 40px); }
  .section { padding-block: 88px; }
  .header-main { gap: 16px; width: calc(100% - 40px); }
  .header-logo img { height: 36px; }
  .header-navlist { display: none; }
  .menu-toggle { display: none; }
  h2 { font-size: 40px; }
  .hero-grid { min-height: auto; display: flex; flex-direction: column; padding-top: var(--header-height); }
  .hero-copy { min-height: 590px; padding: 72px 20px 48px; }
  .hero-kicker { margin-bottom: 28px; font-size: 10px; }
  .hero h1 { font-size: clamp(41px, 11.5vw, 52px); line-height: 1.18; }
  .hero h1 > span { margin-bottom: 16px; font-size: 20px; }
  .hero-lead { margin-top: 24px; font-size: 16px; }
  .hero-lead br { display: none; }
  .hero-actions { gap: 20px; margin-top: 32px; }
  .hero-coordinate { margin-top: 36px; gap: 8px 16px; }
  .hero-visual { min-height: 420px; }
  .hero-project-code { right: 20px; bottom: 72px; left: 20px; }
  .hero-project-code strong { font-size: 88px; }
  .hero-visual figcaption { right: 20px; bottom: 24px; left: 20px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div { min-height: 172px; padding: 22px 20px; border-bottom: 1px solid var(--line-dark); }
  .hero-stats > div:nth-child(2) { border-right: 0; }
  .hero-stats dd { min-height: 58px; }
  .hero-stats dd strong { font-size: 43px; }
  .hero-stats dd.stat-text { font-size: 17px; }
  .section-heading { display: block; }
  .section-heading > .section-label { padding-top: 0; margin-bottom: 24px; }
  .section-heading > .section-intro { margin-top: 24px; padding-top: 0; }
  .section-intro { font-size: 16px; }
  .challenge-primary, .challenge-secondary { display: flex; flex-direction: column; gap: 40px; margin-top: 64px; }
  .challenge-title { display: grid; grid-template-columns: 42px 1fr; gap: 16px; }
  .challenge-title h3, .terrain-facts h3 { font-size: 32px; }
  .fact-list > div, .fact-list.compact > div { grid-template-columns: 80px 1fr; gap: 16px; padding-block: 20px; }
  .fact-list dd { font-size: 14px; }
  .challenge-secondary { margin-top: 72px; }
  .landscape-figure, .terrain-facts { width: 100%; }
  .terrain-facts .challenge-number { margin-bottom: 16px; }
  .terrain-facts h3 { margin-bottom: 24px; }
  .solution-heading { display: block; }
  .solution-heading h2, .closing-grid h2 { font-size: 34px; }
  .solution-heading > p { margin-top: 28px; font-size: 16px; }
  .solution-flow { display: block; margin-top: 64px; }
  .solution-item, .solution-item + .solution-item { padding: 36px 0 44px; border-left: 0; border-bottom: 1px solid var(--line); }
  .solution-item + .solution-item::before { left: 0; }
  .solution-icon { margin-bottom: 32px; }
  .solution-item h3 { font-size: 30px; }
  .evidence-heading { display: block; }
  .proof-metric { justify-content: flex-start; margin-top: 64px; }
  .proof-metric > strong { font-size: 100px; }
  .evidence-grid { display: block; margin-top: 72px; }
  .evidence-item, .evidence-item + .evidence-item { padding: 28px 0 40px; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .evidence-item-top { margin-bottom: 32px; }
  .monitor-line { display: block; margin-top: 56px; }
  .monitor-line ol { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; gap: 12px; }
  .monitor-line li strong { font-size: 25px; }
  .benefits-heading { margin-bottom: 56px; }
  .benefits-interface { display: block; }
  .benefit-tabs { display: grid; grid-template-columns: repeat(2, 1fr); }
  .benefit-tabs button { min-height: 92px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 16px; border-right: 1px solid var(--line); }
  .benefit-tabs button:nth-child(2) { border-right: 0; }
  .benefit-tabs button:nth-child(3) { border-bottom: 0; }
  .benefit-tabs button > span { font-size: 22px; }
  .benefit-tabs button small { font-size: 11px; }
  .benefit-tabs button svg { display: none; }
  .benefit-panel { min-height: 440px; padding: 36px 24px; }
  .benefit-glyph { top: -24px; right: -8px; font-size: 210px; }
  .benefit-panel-content h3 { font-size: 34px; }
  .benefit-panel-content ul { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
  .resources-section { padding-top: 8px; }
  .resources-heading { display: block; margin-bottom: 40px; }
  .resources-heading .section-label { margin-bottom: 20px; }
  .resources-heading > p:last-child { margin-top: 16px; padding: 0; text-align: left; }
  .resource-row { min-height: 148px; grid-template-columns: 1fr 44px; gap: 12px; padding: 24px 8px; }
  .resource-type { grid-column: 1; }
  .resource-title { grid-column: 1; font-size: 22px; }
  .resource-arrow { grid-column: 2; grid-row: 1 / 3; width: 42px; height: 42px; }
  .resource-more { grid-column: 2; grid-row: 1 / 3; width: auto; justify-self: end; font-size: 14px; white-space: normal; text-align: right; }

  .closing-section { padding-block: 80px; }
  .closing-grid { display: block; }
  .closing-actions { margin-top: 40px; }
  .footer-container { width: calc(100% - 40px); }
  .footer-primary { padding: 40px 0 24px; }
  .footer-contact { gap: 24px; }
  .footer-contact-list { gap: 14px; }
  .footer-qr { flex-basis: 120px; padding: 8px; }
  .footer-copyright { padding: 20px 0; font-size: 12px; line-height: 1.8; }
  .dialog-shell { padding: 64px 24px 32px; }
  .dialog-facts { grid-template-columns: 1fr; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .toast { right: 20px; bottom: 20px; }
}

@media (max-width: 380px) {
  .footer-contact { gap: 16px; }
  .footer-contact-label, .footer-contact-value { font-size: 12px; }
  .footer-contact .footer-phone-number { font-size: 24px; }
  .footer-qr { flex-basis: 96px; padding: 6px; }
  .footer-copyright { font-size: 11px; }
  .hero h1 { font-size: 39px; }
  .hero-stats dd strong { font-size: 37px; }
  .hero-stats dd.stat-text { font-size: 15px; }
  .hero-stats > div { padding-inline: 16px; }
  .fact-list > div, .fact-list.compact > div { grid-template-columns: 1fr; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-image-wrap { transform: none !important; }
}
