:root {
  --blue-950: #08204a;
  --blue-800: #123d82;
  --blue-650: #1f5fbf;
  --blue-100: #eaf2ff;
  --red-650: #d92635;
  --red-100: #fff0f2;
  --white: #ffffff;
  --ink: #172033;
  --muted: #5c687a;
  --line: #d9e3f2;
  --shadow: 0 18px 48px rgba(8, 32, 74, 0.14);
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(234, 242, 255, 0.95), rgba(255, 255, 255, 0.85) 34%),
    repeating-linear-gradient(90deg, rgba(18, 61, 130, 0.05) 0 1px, transparent 1px 72px);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 227, 242, 0.9);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

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

.brand strong {
  color: var(--blue-950);
  font-size: 16px;
  line-height: 1.2;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--blue-800);
  box-shadow: 0 10px 26px rgba(18, 61, 130, 0.24);
}

.brand-mark span {
  width: 18px;
  height: 22px;
  border: 3px solid var(--white);
  border-top: 0;
  border-radius: 3px 3px 8px 8px;
}

.brand-mark::before {
  content: "";
  position: absolute;
  top: 8px;
  width: 18px;
  height: 14px;
  border: 3px solid var(--white);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

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

.top-nav a {
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--blue-800);
  font-size: 14px;
  font-weight: 700;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  background: var(--blue-100);
  outline: none;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  max-width: 1180px;
  min-height: calc(100vh - 77px);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 96px) clamp(20px, 4vw, 48px) 40px;
}

.hero-copy {
  max-width: 760px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--red-650);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 690px;
  margin: 24px 0 0;
  color: #334156;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-link {
  color: var(--white);
  background: var(--red-650);
  box-shadow: 0 12px 28px rgba(217, 38, 53, 0.22);
}

.secondary-link {
  color: var(--blue-800);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.status-panel {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(217, 227, 242, 0.95);
  border-top: 6px solid var(--red-650);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.alert-badge {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--white);
  background: var(--red-650);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.status-panel h2 {
  margin: 20px 0 10px;
  color: var(--blue-950);
  font-size: 24px;
}

.status-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.safe-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}

.safe-list div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.safe-list dt {
  color: var(--blue-800);
  font-weight: 900;
}

.safe-list dd {
  margin: 0;
  color: var(--muted);
}

.slogan-band {
  padding: 22px clamp(20px, 4vw, 56px);
  color: var(--white);
  background: var(--blue-950);
}

.slogan-band p {
  max-width: 1180px;
  margin: 0 auto;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 92px) clamp(20px, 4vw, 48px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(31px, 4vw, 46px);
  line-height: 1.15;
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.risk-card {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(8, 32, 74, 0.07);
}

.risk-card:nth-child(2n) {
  background: #f9fbff;
}

.risk-card:hover {
  border-color: rgba(217, 38, 53, 0.34);
  transform: translateY(-2px);
  transition: transform 160ms ease, border-color 160ms ease;
}

.risk-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 34px;
  border-radius: 6px;
  color: var(--red-650);
  background: var(--red-100);
  font-weight: 900;
}

.risk-card h3 {
  margin: 28px 0 12px;
  color: var(--blue-950);
  font-size: 20px;
}

.risk-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.action-section {
  border-top: 1px solid rgba(217, 227, 242, 0.9);
}

.action-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 22px;
  align-items: start;
}

.action-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  counter-reset: action;
  list-style: none;
}

.action-list li {
  position: relative;
  min-height: 86px;
  padding: 18px 18px 18px 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  line-height: 1.72;
}

.action-list li::before {
  counter-increment: action;
  content: counter(action);
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-650);
  font-weight: 900;
}

.action-list strong {
  color: var(--blue-950);
}

.notice-box {
  padding: 28px;
  border: 1px solid rgba(217, 38, 53, 0.24);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--red-100), #ffffff 70%);
}

.notice-box h3 {
  margin: 0 0 12px;
  color: var(--red-650);
  font-size: 24px;
}

.notice-box p {
  margin: 0;
  color: #3a4658;
  line-height: 1.8;
}

.confirm-section {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto 56px;
  padding: 30px clamp(20px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue-100);
}

.confirm-section h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(25px, 3vw, 36px);
}

.confirm-section p:not(.kicker) {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.confirm-button {
  min-width: 180px;
  min-height: 52px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue-800);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(18, 61, 130, 0.22);
}

.confirm-button:hover,
.confirm-button:focus-visible {
  background: var(--blue-950);
  outline: 3px solid rgba(31, 95, 191, 0.2);
  outline-offset: 3px;
}

.confirm-button.is-confirmed {
  background: #10734a;
}

.site-footer {
  padding: 28px clamp(20px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.82);
  background: var(--blue-950);
  text-align: center;
}

.site-footer p {
  max-width: 960px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .hero,
  .action-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .risk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .risk-card {
    min-height: 220px;
  }
}

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

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

  .top-nav a {
    padding-left: 0;
  }

  h1 {
    font-size: 40px;
  }

  .hero-actions,
  .confirm-section {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-link,
  .secondary-link,
  .confirm-button {
    width: 100%;
  }

  .risk-grid {
    grid-template-columns: 1fr;
  }

  .safe-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .action-list li {
    padding-left: 18px;
    padding-top: 66px;
  }
}
