:root {
  --bg: #f3f3f3;
  --card: #ffffff;
  --silver: #e6e6e6;
  --silver-2: #d2d2d2;
  --silver-3: #9a9a9a;
  --text: #111111;
  --muted: #5e5e5e;
  --soft: #8c8c8c;
  --line: rgba(0, 0, 0, .075);
  --black: #050505;
  --green: #16a34a;
  --green-soft: rgba(22, 163, 74, .11);
  --radius: 16px;
  --radius-xl: 24px;
  --shadow: none;
  --shadow-soft: none;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --max: 1100px;
  --display: 'Bebas Neue', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.statusHeader {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 243, 243, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.headerInner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
}

.brand strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .9px;
  color: var(--black);
}

.brand span {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  font-weight: 700;
  color: var(--soft);
}

.headerNav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.headerNav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  transition: all .25s var(--ease);
  white-space: nowrap;
}

.headerNav a:hover {
  color: var(--black);
  border-color: var(--line);
  background: var(--card);
}

.headerNav .reportBtn {
  background: var(--black);
  color: #ffffff;
  border-color: var(--black);
}

.headerNav .reportBtn:hover {
  color: #ffffff;
  background: #1a1a1a;
}

/* Hero */
.hero {
  padding: 58px 0 20px;
}

.statusPill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--black);
  font-size: 11px;
  font-weight: 900;
}

.liveDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(22, 163, 74, .28);
  animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, .28);
  }

  70% {
    box-shadow: 0 0 0 9px rgba(22, 163, 74, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

.heroPanel {
  min-height: 260px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid var(--line);
}

.heroCopy h1 {
  font-family: var(--display);
  font-size: 54px;
  line-height: .9;
  letter-spacing: 1px;
  color: var(--black);
  margin-bottom: 12px;
}

.heroCopy p {
  max-width: 620px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* Hero Signal */
.heroSignal {
  width: 100%;
  max-width: 260px;
  justify-self: start;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
}

.signalLabel {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--soft);
}

.heroSignal strong {
  display: block;
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 900;
  color: var(--black);
}

.signalBars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 34px;
}

.signalBars i {
  width: 7px;
  border-radius: 999px;
  background: var(--green);
  animation: signalWave 1.2s ease-in-out infinite;
}

.signalBars i:nth-child(1) {
  height: 14px;
  animation-delay: 0s;
}

.signalBars i:nth-child(2) {
  height: 24px;
  animation-delay: .12s;
}

.signalBars i:nth-child(3) {
  height: 32px;
  animation-delay: .24s;
}

.signalBars i:nth-child(4) {
  height: 20px;
  animation-delay: .36s;
}

.signalBars i:nth-child(5) {
  height: 28px;
  animation-delay: .48s;
}

@keyframes signalWave {
  0%, 100% {
    opacity: .38;
    transform: scaleY(.65);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Summary */
.summarySection {
  padding: 14px 0 20px;
}

.summaryGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.summaryCard {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}

.summaryCard span {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--soft);
}

.summaryCard strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: var(--black);
}

/* Sections */
.systemSection,
.incidentsSection {
  padding: 26px 0;
}

.sectionHead {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.kicker {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--soft);
}

.sectionHead h2 {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--black);
}

.sectionHead p {
  max-width: 520px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* Status Table */
.statusTable {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid var(--line);
}

.statusRow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.statusRow:last-child {
  border-bottom: 0;
}

.serviceInfo {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.serviceLogo {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.serviceLogo img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.serviceLogo img.logoBlack,
.logoBlack {
  filter: brightness(0) saturate(100%);
}

.serviceIcon svg {
  width: 18px;
  height: 18px;
  color: var(--black);
}

.serviceInfo strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: var(--black);
}

.serviceInfo span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--soft);
}

.statusBars {
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  gap: 3px;
  height: 24px;
  align-items: stretch;
}

.statusBars i {
  display: block;
  border-radius: 4px;
  background: var(--green);
  opacity: .72;
  transform-origin: bottom;
  animation: uptimeLive 2.4s ease-in-out infinite;
}

.statusBars i:nth-child(3n) {
  animation-delay: .18s;
}

.statusBars i:nth-child(4n) {
  animation-delay: .32s;
}

.statusBars i:nth-child(5n) {
  animation-delay: .46s;
}

.statusBars i.soft {
  opacity: .34;
}

@keyframes uptimeLive {
  0%, 100% {
    opacity: .58;
    transform: scaleY(.72);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.uptime {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.uptime strong {
  font-size: 12px;
  font-weight: 900;
  color: var(--black);
}

.uptime span {
  font-size: 10px;
  font-weight: 800;
  color: var(--soft);
}

/* Incident */
.incidentBox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid var(--line);
}

.incidentIcon {
  width: 13px;
  height: 13px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px var(--green-soft);
  flex-shrink: 0;
  animation: livePulse 1.8s infinite;
}

.incidentBox strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 900;
  color: var(--black);
}

.incidentBox p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* Footer */
.footer {
  padding: 34px 0 28px;
}

.footerInner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footerLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footerLinks a {
  color: var(--black);
  font-weight: 800;
}

/* Desktop */
@media (min-width: 768px) {
  .wrap {
    padding: 0 24px;
  }

  .hero {
    padding: 78px 0 24px;
  }

  .heroPanel {
    grid-template-columns: 1fr auto;
    min-height: 300px;
    padding: 36px;
  }

  .heroCopy h1 {
    font-size: 78px;
  }

  .heroSignal {
    justify-self: end;
  }

  .summaryGrid {
    grid-template-columns: repeat(4, 1fr);
  }

  .sectionHead {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .sectionHead p {
    text-align: right;
  }

  .statusRow {
    grid-template-columns: 270px 1fr 80px;
    align-items: center;
    padding: 18px;
  }

  .uptime {
    display: block;
    text-align: right;
  }

  .uptime span {
    display: block;
    margin-top: 3px;
  }

  .footerInner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .headerNav a:not(.reportBtn) {
    display: none;
  }

  .heroCopy h1 {
    font-size: 46px;
  }

  .summaryGrid {
    grid-template-columns: 1fr;
  }

  .statusBars {
    grid-template-columns: repeat(24, 1fr);
  }

  .statusBars i:nth-last-child(-n+6) {
    display: none;
  }
}