* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f6f6f7;
  color: #202223;
  line-height: 1.5;
  min-height: 100vh;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  background-color: #fff;
  border-bottom: 1px solid #e1e3e5;
  padding: 16px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #202223;
}

img.logo-icon {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-size: 18px;
  font-weight: 600;
}

.logo-text span {
  color: #6b7280;
  font-weight: 400;
  margin-left: 4px;
}

header a.home-link {
  color: #202223;
  text-decoration: none;
  font-size: 14px;
}

header a.home-link:hover {
  text-decoration: underline;
}

/* Main Content */
main {
  padding: 60px 0 80px;
  text-align: center;
}

/* Status Icon */
.status-icon {
  margin-bottom: 24px;
}

.status-icon svg {
  width: 80px;
  height: 80px;
}

.status-icon.operational svg {
  fill: #4ade80;
}

.status-icon.degraded svg {
  fill: #fbbf24;
}

.status-icon.outage svg {
  fill: #ef4444;
}

/* Status Title */
h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #202223;
}

.status-description {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 40px;
}

/* Legend */
.legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  font-size: 14px;
  color: #6b7280;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-item svg {
  width: 16px;
  height: 16px;
}

.legend-item.operational svg {
  fill: #4ade80;
}

.legend-item.degraded svg {
  fill: #fbbf24;
}

.legend-item.partial svg {
  fill: #fb923c;
}

.legend-item.outage svg {
  fill: #ef4444;
}

.legend-item.maintenance svg {
  fill: #6b7280;
}

/* Services Grid */
.services {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: left;
}

.service {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid #f1f1f1;
  font-size: 15px;
  font-weight: 500;
}

.service:last-child {
  border-bottom: none;
}

.service svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.service.operational svg {
  fill: #4ade80;
}

.service.degraded svg {
  fill: #fbbf24;
}

.service.partial svg {
  fill: #fb923c;
}

.service.outage svg {
  fill: #ef4444;
}

.service.maintenance svg {
  fill: #6b7280;
}

.service-name {
  flex: 1;
}

.service-status {
  font-size: 13px;
  font-weight: 400;
  color: #6b7280;
}

/* Footer */
.footer-note {
  margin-top: 40px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

.footer-note a {
  color: #202223;
  text-decoration: underline;
}

.footer-note a:hover {
  color: #000;
}

/* Responsive */
@media (max-width: 640px) {
  h1 {
    font-size: 28px;
  }

  .legend {
    gap: 16px;
  }

  .service {
    padding: 16px 20px;
  }

  main {
    padding: 40px 0 60px;
  }
}
