/* ---- 404 / not-found page ---- */

.nf-page {
  --nf-navy: #0b2147;
  --nf-sky: #3d7ea6;
  --nf-amber: #e8913a;
  --nf-ink: #1a2744;
  --nf-mute: #536274;
  --nf-shell: 1320px;
  --nf-gutter: clamp(20px, 5vw, 64px);
  color: var(--nf-ink);
}

.nf-body {
  padding-block: clamp(48px, 8vw, 96px);
  background:
    radial-gradient(42% 55% at 88% 12%, rgba(232, 145, 58, 0.08) 0%, transparent 58%),
    radial-gradient(40% 50% at 8% 80%, rgba(61, 126, 166, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%);
}

.nf-shell {
  width: 100%;
  max-width: min(640px, var(--nf-shell));
  margin-inline: auto;
  padding-inline: var(--nf-gutter);
  box-sizing: border-box;
  text-align: center;
}

.nf-code {
  margin: 0 0 8px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(64px, 12vw, 96px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: center !important;
  color: transparent;
  background: linear-gradient(135deg, var(--nf-navy) 35%, var(--nf-amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.nf-title {
  margin: 0 0 14px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--nf-navy);
  text-align: center !important;
}

.nf-lead {
  margin: 0 auto 28px;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--nf-mute);
  text-align: center !important;
}

.nf-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.nf-links {
  padding-top: 28px;
  border-top: 1px solid rgba(11, 33, 71, 0.1);
}

.nf-links__label {
  margin: 0 0 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nf-sky);
  text-align: center !important;
}

.nf-links__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nf-links__list a {
  font-size: 15px;
  font-weight: 600;
  color: var(--nf-navy) !important;
  text-decoration: none !important;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nf-links__list a:hover,
.nf-links__list a:focus-visible {
  color: var(--nf-amber) !important;
  border-bottom-color: rgba(232, 145, 58, 0.55);
  outline: none;
}
