:root {
  color-scheme: dark;
  --ground: #000000;
  --panel: #0f151b;
  --panel-hover: #151d24;
  --ink: #f7f7f4;
  --muted: #a1a7ad;
  --line: #343b42;
  --available: #3dcc78;
  --action: #f66b25;
  --display: "Archivo Gage", "Arial Black", "Helvetica Neue", Helvetica, sans-serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ground);
}

body {
  min-height: 100svh;
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.1rem, 3vw, 2rem) clamp(3rem, 8vw, 6rem);
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  width: min(100%, 74rem);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.status-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
}

.status-mark span {
  width: 0.72rem;
  height: 0.72rem;
  background: var(--action);
  box-shadow: 0.3rem 0.3rem 0 var(--ink);
  transform: translate(-0.15rem, -0.15rem);
}

.wordmark {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1;
  text-decoration: none;
}

.status-main {
  width: min(100%, 52rem);
  margin: clamp(5rem, 14vh, 9rem) auto 0;
}

.summary {
  text-align: center;
}

.summary h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 3.2rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1;
}

.summary p {
  margin: clamp(2.5rem, 7vw, 5rem) 0 0;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 650;
}

.service-card {
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 0.55rem;
  background: var(--panel);
}

.service-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 1.25rem 0.95rem;
}

.service-head h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1;
}

.service-head a {
  color: var(--available);
  font-size: 0.78rem;
  font-weight: 750;
  text-underline-offset: 0.18em;
}

.retry {
  display: block;
  margin: 0 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--available);
  color: #06110b;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.retry:hover {
  background: #62dd92;
}

.service-card > p {
  margin: 0;
  padding: 1rem 1.25rem 1.15rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.service-card > p a {
  color: var(--ink);
  font-weight: 750;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 4px;
}

@media (max-width: 34rem) {
  .status-main {
    margin-top: clamp(4.5rem, 13vh, 7rem);
  }

  .summary h1 {
    max-width: 9ch;
    margin-inline: auto;
  }

  .summary p {
    max-width: 19rem;
    margin-inline: auto;
  }

  .service-head,
  .service-card > p {
    padding-inline: 1rem;
  }

  .retry {
    margin-inline: 1rem;
  }
}

@media (prefers-contrast: more) {
  .service-card {
    border-color: var(--line);
  }

  .service-card > p {
    color: var(--ink);
  }
}
