:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef7f5;
  --text: #111827;
  --muted: #667085;
  --border: #d9e3e8;
  --teal: #18b991;
  --teal-dark: #0f8b75;
  --indigo: #5b6ee1;
  --coral: #f97066;
  --amber: #f5a524;
  --shadow: 0 18px 44px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(24, 185, 145, 0.18), transparent 34rem),
    radial-gradient(circle at 88% 10%, rgba(91, 110, 225, 0.14), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.metric a {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.page {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--indigo));
  color: #ffffff;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.hero-copy,
.status-panel,
.section,
.notice {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(217, 227, 232, 0.85);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(28px, 5vw, 52px);
}

.hero-copy,
.status-panel,
.section,
.notice,
.metric {
  min-width: 0;
}

.eyebrow {
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0;
}

h1 {
  max-width: 100%;
  font-size: clamp(42px, 7vw, 76px);
  letter-spacing: 0;
}

h1,
.lead,
.metric strong,
.metric span,
.section p,
.section li,
.notice,
.footer {
  overflow-wrap: anywhere;
  word-break: break-word;
}

h1,
.metric strong {
  line-break: anywhere;
}

.lead {
  max-width: 60ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 650;
}

.status-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}

.metric {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.metric:last-child {
  border-bottom: 0;
}

.metric strong {
  font-size: 28px;
}

.metric span {
  color: var(--muted);
  font-weight: 650;
}

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

.section {
  padding: 28px;
}

.section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
}

.section p,
.section li {
  color: var(--muted);
  font-weight: 620;
}

.section ul {
  margin: 16px 0 0;
  padding-left: 1.2rem;
}

.section li + li {
  margin-top: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--teal-dark);
  font-weight: 800;
}

.tag.warning {
  background: #fff7e6;
  color: #b76b00;
}

.tag.critical {
  background: #fff0ef;
  color: #c24138;
}

.mobile-only {
  display: none;
}

.notice {
  margin-top: 20px;
  padding: 24px 28px;
  border-color: rgba(249, 112, 102, 0.24);
  background: #fffaf9;
}

.notice strong {
  color: #b42318;
}

.footer {
  margin-top: 34px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .page {
    width: min(430px, 100%);
    margin-left: 0;
    margin-right: auto;
    padding: 28px 16px 56px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .status-panel,
  .section,
  .notice {
    border-radius: 18px;
    max-width: calc(100vw - 28px);
    width: auto;
  }

  h1 {
    font-size: clamp(31px, 5vw, 38px);
    line-height: 1.12;
  }

  .mobile-only {
    display: block;
  }
}

@media (max-width: 480px) {
  .page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-copy,
  .status-panel,
  .section,
  .notice {
    padding: 24px 24px;
  }

  .lead {
    font-size: 16px;
  }

  .metric strong {
    font-size: 23px;
  }

}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #101418;
    --surface: #171d22;
    --surface-soft: #183a35;
    --text: #f8fafc;
    --muted: #b6c2cc;
    --border: #2b3740;
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  }

  .hero-copy,
  .status-panel,
  .section {
    background: rgba(23, 29, 34, 0.92);
  }

  .notice {
    background: rgba(70, 28, 24, 0.7);
  }
}
