.page {
  max-width: 54rem;
  margin: 0 auto;
  padding: 160px var(--gutter) 96px;
  display: grid;
  gap: 56px;
}

.page section {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.plain .masthead {
  background: linear-gradient(to bottom, var(--bg) 60%, transparent);
}

@media (max-width: 760px) {
  .page {
    padding-top: 120px;
  }
}

.lost .sky-404 {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 28px;
  padding: 120px var(--gutter) 64px;
  text-align: center;
}

.lost .sky-404 section {
  display: grid;
  gap: 14px;
  justify-items: center;
  max-width: 34rem;
}

.lost .sky-404 .other {
  margin-top: 28px;
  color: var(--muted);
}

.lost .sky-404 .other p {
  color: var(--muted);
}

.first-star {
  display: block;
  width: 120px;
  height: 120px;
  color: var(--fg);
}

.first-star svg {
  display: block;
  width: 100%;
  height: 100%;
}

.first-star .core {
  fill: currentColor;
}

.first-star .glow {
  fill: currentColor;
  opacity: 0.12;
}

.first-star .halo {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.35;
  transform-origin: 60px 60px;
  animation: breathe 5s ease-in-out infinite;
}

.first-star:hover .halo,
.first-star:focus-visible .halo {
  opacity: 0.8;
}

@keyframes breathe {
  50% {
    transform: scale(1.12);
    opacity: 0.15;
  }
}

@media (prefers-reduced-motion: reduce) {
  .first-star .halo {
    animation: none;
  }
}

.onward {
  display: grid;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.onward ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.onward .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 24px;
}

.onward .step {
  display: grid;
  gap: 6px;
  margin: 0;
}

.onward a {
  font-family: var(--serif);
  font-size: var(--fs-hot);
  line-height: 1.15;
  color: var(--fg);
  text-decoration: none;
}

.onward a:hover,
.onward a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}
