/* Delivery-only rules that preserve the reference static-site design. */
main p:empty {
  display: none;
}

.footer-grid p,
.footer-grid a {
  overflow-wrap: anywhere;
}

.not-found {
  min-height: 58vh;
  display: grid;
  align-items: center;
  padding: 90px 0;
  background: var(--blue-950);
  color: var(--white);
}

.not-found-inner {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
}

.not-found-code {
  color: var(--accent);
  font: 800 clamp(78px, 12vw, 170px)/.8 var(--font-display);
  letter-spacing: -.04em;
}

.not-found h1 {
  max-width: 720px;
  margin: 0 0 20px;
  font: 800 clamp(38px, 5vw, 68px)/1 var(--font-display);
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.not-found p {
  max-width: 620px;
  margin: 0 0 30px;
  color: #b9c7d8;
  font-size: 17px;
}

@media (max-width: 980px) {
  .not-found-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 620px) {
  .not-found {
    min-height: 64vh;
    padding: 70px 0;
  }
}
