.status-page {
  background: #f7f9fc;
}

.status-header {
  padding: 58px 0 36px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.status-header h1 {
  margin: 10px 0 12px;
  font-size: 3.5rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.status-header .lead {
  max-width: 780px;
  margin: 0;
}

.status-live-section {
  padding: 36px 0 18px;
}

.status-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #cbd5e1;
}

.status-overview > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-overview span:not(.status-dot) {
  display: block;
  margin-bottom: 3px;
  color: #64748b;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-overview strong {
  display: block;
  color: #0f172a;
  font-size: 1.35rem;
}

.status-overview p {
  margin: 0;
  color: #64748b;
  font-size: .86rem;
}

.status-dot,
.legend-dot {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 50%;
  background: #94a3b8;
  box-shadow: 0 0 0 6px rgba(148, 163, 184, .16);
}

[data-status="operational"] .status-dot,
.legend-dot.operational {
  background: #16a34a;
  box-shadow: 0 0 0 6px rgba(22, 163, 74, .14);
}

[data-status="degraded"] .status-dot,
.legend-dot.degraded {
  background: #d97706;
  box-shadow: 0 0 0 6px rgba(217, 119, 6, .14);
}

[data-status="outage"] .status-dot,
.legend-dot.outage {
  background: #dc2626;
  box-shadow: 0 0 0 6px rgba(220, 38, 38, .14);
}

.legend-dot.unknown {
  background: #64748b;
}

.status-components {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.status-component {
  min-width: 0;
  min-height: 142px;
  padding: 20px;
  border: 1px solid #dbe4f0;
  border-top: 3px solid #94a3b8;
  border-radius: 8px;
  background: #fff;
}

.status-component[data-status="operational"] {
  border-top-color: #16a34a;
}

.status-component[data-status="degraded"] {
  border-top-color: #d97706;
}

.status-component[data-status="outage"] {
  border-top-color: #dc2626;
}

.status-component > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.status-component strong {
  color: #0f172a;
  font-size: .98rem;
  line-height: 1.3;
}

.status-component p {
  margin: 18px 0 0;
  color: #64748b;
  font-size: .84rem;
  line-height: 1.52;
}

.status-chip {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
}

[data-status="operational"] .status-chip {
  background: #dcfce7;
  color: #166534;
}

[data-status="degraded"] .status-chip {
  background: #fef3c7;
  color: #92400e;
}

[data-status="outage"] .status-chip {
  background: #fee2e2;
  color: #991b1b;
}

.status-incident {
  display: grid;
  grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
  gap: 30px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
}

.status-incident span {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-incident strong {
  color: #0f172a;
}

.status-incident p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.status-legend .legend-dot {
  margin-bottom: 18px;
}

.status-noscript {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  background: #fffbeb;
  color: #78350f;
}

@media (max-width: 960px) {
  .status-components {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .status-header {
    padding: 42px 0 28px;
  }

  .status-header h1 {
    font-size: 2.35rem;
  }

  .status-overview,
  .status-incident {
    align-items: flex-start;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .status-components {
    grid-template-columns: 1fr;
  }

  .status-component {
    min-height: 128px;
  }
}
