:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #14213d;
  background: #f4f7fb;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(45, 108, 223, 0.10), transparent 34rem),
    #f4f7fb;
}

.status-card {
  width: min(100%, 620px);
  padding: clamp(28px, 6vw, 48px);
  border: 1px solid #dce3ee;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(20, 33, 61, 0.10);
}

.environment {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: #2257a8;
  background: #eaf2ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 {
  margin: 18px 0 6px;
  font-size: clamp(32px, 7vw, 48px);
  letter-spacing: -0.04em;
}

.intro {
  margin: 0;
  color: #5f6f89;
  line-height: 1.6;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
}

.overall {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 34px 0 22px;
  padding: 18px;
  border: 1px solid #e1e7f0;
  border-radius: 14px;
  background: #f9fbfe;
}

.status-dot {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px currentColor;
}

.status-label {
  color: #6b7890;
  font-size: 13px;
}

.status-value {
  margin-top: 2px;
  font-size: 18px;
  font-weight: 750;
}

.checks {
  overflow: hidden;
  border: 1px solid #e1e7f0;
  border-radius: 14px;
}

.check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.check + .check {
  border-top: 1px solid #e1e7f0;
}

.check h2 {
  margin: 0 0 4px;
  font-size: 16px;
}

.check p {
  margin: 0;
  color: #758198;
  font-size: 13px;
}

.badge {
  min-width: 84px;
  padding: 7px 10px;
  border-radius: 999px;
  text-align: center;
  font-size: 12px;
  font-weight: 750;
}

.healthy {
  color: #157347;
  background: #e8f7ef;
}

.unhealthy {
  color: #b42318;
  background: #ffebe9;
}

.pending {
  color: #8a5b00;
  background: #fff4d6;
}

.status-dot.healthy,
.status-dot.unhealthy,
.status-dot.pending {
  background: currentColor;
}

.status-dot.healthy {
  box-shadow: 0 0 0 5px rgba(21, 115, 71, 0.14);
}

.status-dot.unhealthy {
  box-shadow: 0 0 0 5px rgba(180, 35, 24, 0.14);
}

.status-dot.pending {
  box-shadow: 0 0 0 5px rgba(138, 91, 0, 0.14);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.footer-row p {
  margin: 0;
  color: #758198;
  font-size: 12px;
}

button {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  background: #245db7;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: #1c4d99;
}

button:focus-visible {
  outline: 3px solid rgba(36, 93, 183, 0.28);
  outline-offset: 3px;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

@media (max-width: 520px) {
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
