:root {
  color: #e8eef7;
  background: #08111f;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 15% 10%, rgba(45, 212, 191, 0.16), transparent 34rem),
    #08111f;
}

.status-card {
  width: min(100%, 640px);
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.eyebrow {
  margin: 0 0 16px;
  color: #5eead4;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.summary {
  margin: 20px 0 36px;
  color: #a9b7ca;
  line-height: 1.7;
}

h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.checks {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
}

.checks div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 18px;
}

.checks div + div {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.checks dt {
  color: #94a3b8;
}

.checks dd {
  margin: 0;
  font-weight: 700;
}

.dot {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  margin-right: 0.5rem;
  border-radius: 999px;
}

.dot-ok,
.api-status[data-state="ok"] {
  color: #5eead4;
}

.dot-ok {
  background: #2dd4bf;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12);
}

.api-status[data-state="checking"] {
  color: #fbbf24;
}

.api-status[data-state="error"] {
  color: #fda4af;
}

.actions {
  margin: 28px 0 0;
}

a {
  color: #7dd3fc;
  text-underline-offset: 0.22em;
}

a:focus-visible {
  outline: 3px solid #5eead4;
  outline-offset: 4px;
  border-radius: 2px;
}
