body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-image: radial-gradient(#dae0e8 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: Manrope, Inter, system-ui, sans-serif;
  color: #2c2c2c;
}

h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 strong {
  font-weight: 800;
}

h2 {
  font-size: 1.25rem;
  font-weight: 700;
}

header p,
.lead {
  color: #5b6472;
}

header a,
.lead a {
  color: #2c2c2c;
  text-decoration-color: #ff6503;
  text-underline-offset: 3px;
}

nav {
  font-weight: 500 !important;
  margin-bottom: 2.5rem !important;
}

nav .logo {
  padding: 1rem 0 !important;
}

nav .logo img {
  height: 1.75rem !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
}

nav .logo::after {
  content: "Status";
  margin-left: 0.85rem;
  padding-left: 0.85rem;
  border-left: 1px solid #dae0e8;
  color: #5b6472;
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.75rem;
}

nav ul a {
  color: #3a3a3a;
  padding: 1.6rem 1.1rem !important;
  font-size: 0.95rem;
}

nav ul a:hover {
  color: #ff6503;
}

article {
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

article.up,
article.down,
article.degraded {
  border-left-width: 3px !important;
}

article + article {
  margin-top: 0.75rem;
}

article h4 {
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-weight: 700;
  color: #2c2c2c;
}

article.graph {
  background-image: none !important;
  isolation: isolate;
}

article.graph::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-color: #22c55e;
  -webkit-mask: var(--background) right center / contain no-repeat;
  mask: var(--background) right center / contain no-repeat;
}

input[type="radio"]:checked + label {
  color: #2c2c2c;
  font-weight: 600;
}

footer,
footer a {
  color: #5b6472;
}

@media (max-width: 640px) {
  nav {
    padding: 0 !important;
  }

  nav .logo {
    margin-right: 0.5rem !important;
  }

  nav .logo img {
    height: 1.4rem !important;
  }

  nav .logo::after {
    display: none;
  }

  nav ul a {
    padding: 1.25rem 0.6rem !important;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 1.75rem;
  }
}
