/* ============================================================================
   RPACPC — 404 page
   Builds on css/styles.css tokens (.eyebrow, .hl, .btn, .section-head).
   ============================================================================ */

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.nf-hero { position: relative; overflow: hidden; padding: calc(80px * var(--pad)) 0 calc(96px * var(--pad)); }
.nf-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(820px 480px at 12% -12%, var(--primary-tint) 0%, transparent 60%),
    radial-gradient(620px 420px at 94% 8%, var(--green-tint) 0%, transparent 62%);
}
.nf-copy { position: relative; max-width: 720px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.nf-copy .eyebrow { justify-content: center; }

.nf-code {
  font-family: var(--f-display); font-weight: 700; line-height: .85; letter-spacing: -.06em; margin: 14px 0 6px;
  font-size: clamp(110px, 18vw, 200px);
  background: linear-gradient(120deg, var(--primary) 0%, #2A6FD0 50%, var(--green) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: nfRise .7s var(--ease) both;
}
.nf-title { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; line-height: 1.08; color: var(--ink); margin: 0 0 16px; animation: nfRise .7s .1s var(--ease) both; }
.nf-lead { font-size: 17px; line-height: 1.6; color: var(--body); max-width: 540px; margin: 0 auto; animation: nfRise .7s .2s var(--ease) both; }
.nf-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; animation: nfRise .7s .3s var(--ease) both; }
.nf-ghost { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.nf-ghost:hover { border-color: var(--primary); color: var(--primary); }
/* .nf-back {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .15s var(--ease);
}
.nf-back svg { width: 15px; height: 15px; }
.nf-back:hover { color: var(--primary); }
.nf-back[hidden] { display: none; } */

/* ── Popular destinations ─────────────────────────────────────────────────── */
.nf-popular { background: var(--surface); border-top: 1px solid var(--line); }
.nf-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.nf-link {
  display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line); color: inherit;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.nf-link:hover { transform: translateY(-3px); background: var(--surface); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); }
.nf-link-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-tint); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.nf-link-ico svg { width: 20px; height: 20px; }
.nf-link b { font-family: var(--f-display); font-size: 16.5px; font-weight: 600; color: var(--ink); }
.nf-link span { font-size: 13.5px; line-height: 1.5; color: var(--body); }

/* ── Motion ───────────────────────────────────────────────────────────────── */
@keyframes nfRise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .nf-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .nf-hero { padding: 48px 0 64px; }
  .nf-btns { width: 100%; }
  .nf-btns .btn { width: 100%; justify-content: center; }
  .nf-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .nf-code, .nf-title, .nf-lead, .nf-btns { animation: none; }
}
