:root {
  color-scheme: light dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: #f5f7fb;
  color: #18202a;
}

main {
  width: min(100%, 760px);
  padding: clamp(2rem, 5vw, 4rem);
  background: #ffffff;
  border: 1px solid #d8dee8;
  border-radius: 1rem;
  box-shadow: 0 1rem 3rem rgba(24, 32, 42, 0.08);
}

h1 {
  margin-top: 0;
  font-size: clamp(2.25rem, 8vw, 4.5rem);
  line-height: 1.05;
}

p {
  max-width: 60ch;
  font-size: 1.125rem;
}

a {
  color: #005ea8;
}

a:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 4px;
}

.status {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: #e7f6ec;
  color: #145c2e;
  font-weight: 700;
}

footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #d8dee8;
  font-size: 0.95rem;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #11161d;
    color: #f2f5f8;
  }

  main {
    background: #18202a;
    border-color: #374151;
    box-shadow: none;
  }

  a {
    color: #7fc8ff;
  }

  .status {
    background: #173c25;
    color: #b9f6ca;
  }

  footer {
    border-color: #374151;
  }
}
