:root {
  color: #2f2a28;
  background: #f7f4ee;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
}

.shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 40px;
  align-items: center;
  padding: 56px clamp(20px, 5vw, 80px) 36px;
  background: linear-gradient(110deg, rgba(157, 41, 51, 0.12), rgba(47, 125, 89, 0.1)), #f7f4ee;
}

.eyebrow {
  margin: 0 0 16px;
  color: #9d2933;
  font-size: 14px;
  font-weight: 700;
}

h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: #5b504b;
  font-size: 20px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  color: #fff;
  background: #9d2933;
  text-decoration: none;
  font-weight: 700;
}

.actions a + a {
  color: #2f2a28;
  background: #fff;
  border: 1px solid rgba(47, 42, 40, 0.14);
}

.signal {
  min-height: 420px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: center;
}

.node {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 42, 40, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #3f3834;
  font-size: 22px;
  font-weight: 800;
}

.node.primary {
  grid-row: span 2;
  min-height: 238px;
  color: #fff;
  background: #2f7d59;
}

.node.warm {
  color: #fff;
  background: #c9652d;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(47, 42, 40, 0.12);
}

.metrics article {
  min-height: 180px;
  padding: 28px clamp(18px, 3vw, 42px);
  background: #fff;
}

.metrics span {
  color: #9d2933;
  font-weight: 800;
}

.metrics strong {
  display: block;
  margin-top: 20px;
  font-size: 22px;
}

.metrics p {
  color: #645852;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .hero,
  .metrics {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 54px;
  }

  h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 18px;
    max-width: calc(100vw - 72px);
  }

  .signal {
    width: calc(100vw - 72px);
    max-width: calc(100vw - 72px);
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .node,
  .node.primary {
    width: 100%;
    max-width: calc(100vw - 72px);
    min-height: 104px;
  }
}

@media (max-width: 520px) {
  .lead,
  .signal,
  .node,
  .node.primary {
    max-width: 318px;
  }

  .signal {
    width: 318px;
  }
}
