:root {
  --bg: #08111d;
  --bg-2: #0d1c2e;
  --panel: rgba(8, 17, 29, 0.82);
  --line: rgba(152, 208, 255, 0.14);
  --text: #eef7ff;
  --muted: #91a9c2;
  --green: #71e2ae;
  --blue: #69bbff;
  --amber: #ffca6b;
  --red: #ff7979;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(105, 187, 255, 0.18), transparent 25%),
    radial-gradient(circle at 80% 80%, rgba(113, 226, 174, 0.18), transparent 20%),
    linear-gradient(140deg, var(--bg), var(--bg-2));
}

.orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.28;
  pointer-events: none;
}

.orb-a {
  width: 15rem;
  height: 15rem;
  top: 5%;
  right: 6%;
  background: var(--blue);
}

.orb-b {
  width: 13rem;
  height: 13rem;
  bottom: 8%;
  left: 8%;
  background: var(--green);
}

.wrap {
  width: min(1160px, calc(100% - 24px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.hero,
.top-grid,
.bottom-grid {
  display: grid;
  gap: 16px;
}

.hero {
  grid-template-columns: 1.6fr 0.8fr;
  align-items: end;
  margin-bottom: 16px;
}

.kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--green);
  font-size: 12px;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.subtitle,
.muted {
  color: var(--muted);
}

.subtitle {
  max-width: 42rem;
  line-height: 1.6;
}

.hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.status-chip {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
}

.top-grid {
  grid-template-columns: 1.35fr 1fr 1fr;
}

.bottom-grid {
  grid-template-columns: 1fr 2fr;
  margin-top: 16px;
}

.panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.big {
  min-height: 260px;
}

.span-2 {
  min-height: 260px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.metric-xl {
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.mini-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.bar {
  width: 100%;
  height: 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #baffdf);
}

.bar.alt span {
  background: linear-gradient(90deg, var(--blue), #9bd8ff);
}

.stat-pair {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-pair:last-child {
  border-bottom: 0;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.service-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.badge {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.up {
  color: #082115;
  background: var(--green);
}

.down {
  color: #fff;
  background: var(--red);
}

.unknown {
  color: #241d0d;
  background: var(--amber);
}

@media (max-width: 900px) {
  .hero,
  .top-grid,
  .bottom-grid,
  .services,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-side {
    align-items: flex-start;
  }
}
