/* ── 404 ─────────────────────────────────────────────────────────
   NotFoundView shipped with no stylesheet at all, so the page rendered as
   three bare elements pinned to the viewport edge with no padding, no rhythm
   and a default-blue underlined link. It is a real public page - every
   mistyped URL and every stale ad link lands here - so it gets the same
   centred column, display type and shared CTA button as the rest of the site.
   Markup stays exactly as it was; only the classes are new. */

.not-found-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  min-height: 58vh;
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
}

.not-found-page h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-color);
  margin: 0;
}

/* The canonical 3-stop brand mark, the same rule every section head wears. */
.not-found-page h1::after {
  content: '';
  display: block;
  width: 72px;
  height: 2px;
  margin: var(--space-lg) auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #0894FF 0%, #BD32D6 50%, #FFA304 100%);
  opacity: 0.9;
}

.not-found-page p {
  max-width: 42ch;
  margin: 0;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

.not-found-page__cta {
  margin-top: var(--space-sm);
}

@media (max-width: 767px) {
  .not-found-page {
    min-height: 52vh;
    padding: var(--space-2xl) var(--space-md);
  }

  .not-found-page p {
    font-size: 16px;
  }
}
