:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #0a1211;
  color: #f4f7f5;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100svh;
  background: #0a1211;
}

.scene {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background-position: center;
  background-size: cover;
}

.scene::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 12, 11, 0.88) 0%, rgba(5, 12, 11, 0.58) 45%, rgba(5, 12, 11, 0.12) 80%);
  content: "";
}

.scene::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(5, 12, 11, 0.78));
  content: "";
}

.access {
  background-image: url("/__system-assets/access-gate.webp");
}

.missing {
  background-image: url("/__system-assets/missing-path.webp");
}

.mystery {
  background-image: url("/__system-assets/mystery-land.webp");
}

.content {
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 7rem) 0;
}

.code {
  margin: 0 0 0.75rem;
  color: #a9c6be;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 14ch;
  margin: 0;
  font-family: Rockwell, "Roboto Slab", Georgia, serif;
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

p {
  max-width: 44ch;
  margin: 1.25rem 0 0;
  color: #d6e0dd;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.6;
}

a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  margin-top: 1.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 4px;
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

a:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

@media (max-width: 600px) {
  .scene {
    background-position: 62% center;
  }

  .scene::before {
    background: linear-gradient(0deg, rgba(5, 12, 11, 0.9) 0%, rgba(5, 12, 11, 0.42) 72%, rgba(5, 12, 11, 0.18) 100%);
  }

  .content {
    padding-bottom: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
