:root {
  color-scheme: light;
  --ink: #101415;
  --muted: #586460;
  --line: #dce7e1;
  --paper: #fbfdfb;
  --surface: #ffffff;
  --emerald: #0e5b47;
  --deep: #073d32;
  --mint: #cfe3da;
  --aqua: #1abc9c;
  --rose: #b42318;
  --amber: #a15c00;
  --shadow: 0 18px 60px rgba(12, 45, 37, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(207, 227, 218, 0.55), rgba(251, 253, 251, 0) 360px),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand img {
  width: 36px;
  height: 36px;
}

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

.nav a,
.text-link {
  border-radius: 6px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 650;
  padding: 9px 12px;
}

.nav a:hover,
.text-link:hover {
  background: rgba(14, 91, 71, 0.08);
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 36px;
  min-height: clamp(390px, 58vh, 560px);
  padding: 42px 0 38px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--emerald);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 760px;
  font-size: clamp(56px, 9vw, 116px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.status-panel {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border: 1px solid rgba(14, 91, 71, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 10%, rgba(26, 188, 156, 0.18), transparent 32%),
    linear-gradient(145deg, #ffffff, #eef7f2);
  box-shadow: var(--shadow);
  padding: 28px;
}

.status-orbit {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin-bottom: 34px;
  border: 1px solid rgba(14, 91, 71, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.status-orbit span {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--aqua);
  box-shadow: 0 0 0 12px rgba(26, 188, 156, 0.12);
}

.status-panel.is-down .status-orbit span {
  background: var(--rose);
  box-shadow: 0 0 0 12px rgba(180, 35, 24, 0.12);
}

.status-label,
.metric-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-headline {
  margin-bottom: 6px;
  color: var(--deep);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.08;
}

.status-panel.is-down .status-headline {
  color: var(--rose);
}

.status-meta {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 56px;
}

.metric {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 22px;
}

.metric strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

.metric span:last-child {
  color: var(--muted);
  font-size: 14px;
}

.section-shell {
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 120px 130px minmax(160px, 240px);
  align-items: center;
  gap: 18px;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
  box-shadow: 0 8px 28px rgba(12, 45, 37, 0.05);
}

.service-main {
  min-width: 0;
}

.service-name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 800;
}

.status-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--aqua);
}

.service-card.is-down .status-dot {
  background: var(--rose);
}

.service-url {
  overflow: hidden;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-stat {
  display: grid;
  gap: 2px;
}

.service-stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.service-stat strong {
  color: var(--ink);
  font-size: 20px;
}

.sparkline {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 40px;
}

.sparkline span {
  width: 100%;
  min-width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--aqua), var(--emerald));
  opacity: 0.88;
}

.service-card.is-down .sparkline span:last-child {
  background: var(--rose);
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 16px 18px;
}

.timeline-marker {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--aqua);
}

.timeline-title {
  margin-bottom: 2px;
  font-weight: 760;
}

.timeline-subtitle,
.timeline-time {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 14px;
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: #eef5f1;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 860px) {
  .site-header,
  .section-heading,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .service-card {
    grid-template-columns: 1fr 1fr;
  }

  .sparkline {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 54px;
  }

  .status-panel,
  .metric,
  .service-card,
  .timeline-item {
    padding: 18px;
  }

  .service-card,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-time {
    justify-self: start;
  }
}
