:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #f7f7f4;
  background: #101311;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 15%, rgb(118 236 174 / 12%), transparent 35rem),
    #101311;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem;
}

.card {
  width: min(100%, 38rem);
  padding: clamp(2.25rem, 7vw, 5rem);
  border: 1px solid #2d332f;
  border-radius: 1.5rem;
  background: rgb(24 28 25 / 88%);
  box-shadow: 0 2rem 5rem rgb(0 0 0 / 28%);
  text-align: center;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 0.65rem);
  gap: 0.25rem;
  width: fit-content;
  margin: 0 auto 1.75rem;
}

.brand-mark span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 0.12rem;
  background: #76ecae;
}

.brand-mark span:nth-child(4),
.brand-mark span:nth-child(6) {
  background: transparent;
}

.brand-mark span:last-child {
  grid-column: 3;
}

.eyebrow,
.error-code {
  margin: 0 0 0.75rem;
  color: #76ecae;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.error-code {
  margin-bottom: 2rem;
  font-size: clamp(4rem, 14vw, 7rem);
  line-height: 0.8;
  letter-spacing: -0.07em;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 9vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.intro {
  max-width: 29rem;
  margin: 1.5rem auto 0;
  color: #b6beb8;
  font-size: 1.05rem;
  line-height: 1.7;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  padding: 0.7rem 1rem;
  border: 1px solid #343b36;
  border-radius: 999px;
  color: #dce2dd;
  font-size: 0.85rem;
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #76ecae;
  box-shadow: 0 0 0.75rem #76ecae;
}

.button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.85rem 1.25rem;
  border-radius: 0.7rem;
  color: #101311;
  background: #76ecae;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: #97f4c2;
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid #f7f7f4;
  outline-offset: 4px;
}

@media (max-width: 30rem) {
  .page-shell {
    padding: 1rem;
  }

  .card {
    padding-inline: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
