:root {
  color-scheme: dark;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  --background: #020914;
  --foreground: #f4f2eb;
  --muted: #aaaeb5;
  --accent: #58b5ef;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
}

.environment-bar {
  display: grid;
  place-items: center;
  min-height: 3.25rem;
  background: var(--accent);
  color: #020914;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-shell {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100vh - 3.25rem);
  min-height: calc(100svh - 3.25rem);
  padding: clamp(3rem, 5vw, 5rem) clamp(1.75rem, 5vw, 5rem) clamp(1.75rem, 3vw, 3rem);
}

main {
  align-self: center;
  width: 100%;
  padding-bottom: 2rem;
}

.wordmark {
  margin: 0;
  font-size: clamp(4.75rem, 9.5vw, 9rem);
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.horizon {
  width: 100%;
  height: 1px;
  margin: clamp(2.4rem, 4vw, 4rem) 0 clamp(2.5rem, 4vw, 4rem);
  background: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 5.4vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.message {
  margin: clamp(1.8rem, 3vw, 3rem) 0 0;
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

footer {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

@media (max-width: 640px) {
  .environment-bar {
    min-height: 2.85rem;
    font-size: 0.65rem;
  }

  .page-shell {
    min-height: calc(100svh - 2.85rem);
    padding: 2.75rem 1.75rem 1.65rem;
  }

  .wordmark {
    font-size: clamp(4rem, 20vw, 5.25rem);
  }

  h1 {
    font-size: clamp(3.15rem, 15vw, 4rem);
  }

  .message {
    max-width: 15ch;
    font-size: 1.3rem;
  }
}
