:root {
  color-scheme: light;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #17211a;
  background: #f3f8f4;
  --green: #0c831f;
  --green-dark: #075d16;
  --card: #ffffff;
  --muted: #5f6f63;
  --border: #dce8de;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #e6f6e9, #f7faf7 44rem);
}
.topbar,
main,
footer {
  width: min(100% - 2rem, 64rem);
  margin-inline: auto;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #102915;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 800;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.7rem;
  color: white;
  background: var(--green);
  transform: rotate(-4deg);
}
.language {
  display: flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
}
.language button {
  border: 0;
  border-radius: 0.5rem;
  padding: 0.45rem 0.65rem;
  background: transparent;
  color: var(--green-dark);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.language button:hover,
.language button:focus-visible {
  background: #e4f4e7;
  outline: none;
}
main {
  padding-block: clamp(2.5rem, 8vw, 6rem);
}
.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.status-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid #b6dabc;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1.5rem 4rem rgba(16, 65, 24, 0.1);
}
.status-banner::after {
  content: "";
  position: absolute;
  right: -5rem;
  bottom: -7rem;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: #dff3e3;
}
.status-dot {
  display: block;
  width: 0.9rem;
  height: 0.9rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 0.45rem #d8f1dc;
}
.status-banner[data-state="degraded"] .status-dot {
  background: #d97706;
  box-shadow: 0 0 0 0.45rem #fef0c7;
}
.status-banner[data-state="major_outage"] .status-dot,
.status-banner[data-state="unreachable"] .status-dot {
  background: #dc2626;
  box-shadow: 0 0 0 0.45rem #fee2e2;
}
.status-banner[data-state="maintenance"] .status-dot {
  background: #2563eb;
  box-shadow: 0 0 0 0.45rem #dbeafe;
}
h1 {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  margin: 0;
  font-size: clamp(2rem, 7vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.incident {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 1.3rem 0 0;
  font-size: 1.05rem;
  line-height: 1.6;
}
.timestamp {
  position: relative;
  z-index: 1;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-top: 1rem;
}
.service-card {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.84);
}
.service-card p {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.service-card strong {
  font-size: 1.1rem;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem 2.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}
footer a {
  color: var(--green-dark);
}
@media (min-width: 42rem) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .status-dot {
    animation: pulse 2.4s ease-in-out infinite;
  }
  @keyframes pulse {
    50% {
      transform: scale(0.82);
      opacity: 0.75;
    }
  }
}
