:root {
  --ink: #142025;
  --muted: #5b6870;
  --paper: #f7f3ea;
  --white: #ffffff;
  --line: #d9dfdc;
  --teal: #0e625b;
  --mint: #d7eee6;
  --gold: #e2b044;
  --coral: #d85d50;
  --blue: #315f9f;
  --plum: #71518c;
  --shadow: 0 18px 48px rgba(20, 32, 37, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

img,
video,
canvas {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(20, 32, 37, 0.1);
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.top-nav a,
.lead,
.section-title p,
.two-column p,
.dark-section p,
.media-card p,
.reflection p {
  color: var(--muted);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.top-nav a {
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
  font-size: 14px;
}

.top-nav a:hover {
  color: var(--ink);
  background: #e9eee9;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  min-height: calc(100vh - 72px);
  background: #efe7db;
}

.hero-image {
  min-height: 520px;
  overflow: hidden;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: clamp(34px, 6vw, 78px);
}

.eyebrow {
  margin: 0;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  max-width: 760px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.lead,
.section-title p,
.two-column p,
.dark-section p,
.reflection p {
  font-size: 17px;
  line-height: 1.78;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-stats div {
  min-height: 88px;
  border: 1px solid rgba(20, 32, 37, 0.11);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--teal);
  font-size: 34px;
  line-height: 1;
}

.hero-stats span {
  margin-top: 8px;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 16px;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.button svg,
.media-card svg,
.principles svg,
.deliverable svg {
  width: 19px;
  height: 19px;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.band {
  padding: clamp(48px, 7vw, 92px) clamp(18px, 4vw, 56px);
}

.section-title {
  max-width: 900px;
  margin-bottom: 30px;
}

.overview {
  background: var(--white);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.principles article,
.media-card,
.chart-box,
.quote-panel,
.deliverable {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.principles article {
  padding: 22px;
}

.principles svg {
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  color: var(--blue);
}

.principles p,
.quote-panel li,
.media-card p {
  color: var(--muted);
  line-height: 1.7;
}

.source-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.source-card a {
  align-self: flex-start;
  margin-top: auto;
  border-bottom: 2px solid rgba(49, 95, 159, 0.28);
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.source-card a:hover {
  border-color: var(--blue);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: #f4eadb;
}

.quote-panel {
  border-left: 7px solid var(--gold);
  padding: 24px;
  box-shadow: var(--shadow);
}

.quote-panel ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.dark-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  color: var(--white);
  background: var(--teal);
}

.dark-section .eyebrow {
  color: var(--gold);
}

.dark-section p {
  color: rgba(255, 255, 255, 0.78);
}

.risk-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

.risk-tab {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  cursor: pointer;
}

.risk-tab.active,
.risk-tab:hover {
  color: var(--ink);
  background: var(--gold);
}

.risk-detail {
  grid-column: 1 / -1;
  min-height: 168px;
  border-radius: 8px;
  padding: 22px;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
}

.risk-detail p {
  margin: 10px 0 0;
  color: var(--muted);
}

.media-section {
  background: #eef4f0;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.media-card {
  padding: 20px;
}

.media-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  color: var(--plum);
}

.media-card audio,
.media-card video {
  width: 100%;
}

.video-embed {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f1b1f;
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-print-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 24px;
  color: var(--white);
  text-align: center;
  font-weight: 800;
}

.video-card {
  grid-column: span 2;
}

.chart-section {
  background: var(--white);
}

.chart-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.chart-controls {
  display: grid;
  gap: 10px;
}

.mode-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #f9faf7;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.mode-button.active,
.mode-button:hover {
  color: var(--white);
  background: var(--blue);
}

.chart-box {
  padding: 18px;
  box-shadow: var(--shadow);
}

canvas {
  display: block;
}

.caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.form-section {
  background: #f6efe4;
}

.survey-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.survey-form label {
  display: grid;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.survey-form span {
  font-weight: 750;
}

select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.survey-form .button-row {
  grid-column: 1 / -1;
}

.result-panel {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.response-count {
  border-radius: 8px;
  padding: 18px;
  color: var(--white);
  background: var(--blue);
}

.response-count strong,
.response-count span {
  display: block;
}

.response-count strong {
  font-size: 42px;
}

.result-bars {
  display: grid;
  gap: 10px;
}

.result-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 46px;
  gap: 10px;
  align-items: center;
}

.bar-track {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #e1e7e4;
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.reflection {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  background: var(--white);
}

.deliverables {
  display: grid;
  gap: 12px;
}

.deliverable {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  text-decoration: none;
}

.deliverable:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 24px rgba(20, 32, 37, 0.08);
}

.deliverable svg {
  color: var(--teal);
}

.references {
  background: #f4eadb;
}

.references ol {
  display: grid;
  gap: 13px;
  max-width: 1060px;
  padding-left: 28px;
}

.references li {
  line-height: 1.7;
}

.references a {
  color: var(--blue);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: #142025;
}

@media (max-width: 980px) {
  .hero,
  .two-column,
  .dark-section,
  .chart-layout,
  .reflection,
  .result-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-image {
    min-height: 360px;
  }

  .principles,
  .media-grid,
  .survey-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .top-nav {
    justify-content: flex-start;
    width: 100%;
  }

  h1 {
    max-width: 310px;
    font-size: 32px;
    line-height: 1.14;
    word-break: break-all;
  }

  .hero-copy {
    max-width: 100vw;
    padding: 32px;
    overflow: hidden;
  }

  .lead {
    max-width: 310px;
    font-size: 16px;
  }

  .hero-stats,
  .principles,
  .media-grid,
  .survey-form,
  .risk-tabs {
    grid-template-columns: 1fr;
  }

  .video-card,
  .risk-detail,
  .survey-form .button-row {
    grid-column: auto;
  }

  .result-row {
    grid-template-columns: 1fr;
  }
}

@media print {
  .site-header,
  .button-row,
  audio,
  video {
    display: none !important;
  }

  body {
    background: white;
  }

  .hero,
  .band {
    break-inside: avoid;
  }
}
