/* The 404 page. See src/components/NotFoundScreen.tsx. */
.nf { min-height: 100vh; min-height: 100dvh; box-sizing: border-box; display: flex; flex-direction: column; padding: clamp(20px, 4vw, 40px); background: #1C1C1E; color: #F5F5F7; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", var(--font-inter, "Inter"), system-ui, sans-serif; }
body:has(.nf) { margin: 0; background: #1C1C1E; }
.nf *, .nf *::before, .nf *::after { box-sizing: border-box; }
.nf a:focus-visible { outline: 3px solid #64B0FF; outline-offset: 3px; border-radius: 6px; }
.nf-brand { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; color: #F5F5F7; font-weight: 700; font-size: 1.0625rem; text-decoration: none; }
.nf-brand img { width: 32px; height: 32px; display: block; }
.nf-layout { flex: 1; display: grid; align-items: center; gap: clamp(32px, 6vw, 88px); grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); width: 100%; max-width: 1180px; margin: 0 auto; padding-block: clamp(24px, 4vw, 48px); }
.nf-scene { direction: ltr; display: flex; flex-direction: column; align-items: center; }
.nf-display { width: 100%; aspect-ratio: 16 / 9.4; padding: 1.1%; background: #000; border: 1px solid #3A3A3C; border-radius: 14px; box-shadow: 0 0 110px rgba(10, 132, 255, 0.34), 0 0 34px rgba(191, 90, 242, 0.14); }
.nf-browser { position: relative; height: 100%; overflow: hidden; display: flex; flex-direction: column; background: #F5F5F7; border-radius: 8px; container-type: inline-size; }
.nf-bar { display: flex; align-items: center; gap: 1.1cqw; height: 8.4cqw; padding-inline: 2.2cqw; background: #E5E5EA; }
.nf-bar i { width: 1.5cqw; height: 1.5cqw; border-radius: 50%; background: #AEAEB2; }
.nf-url { margin-inline: auto; width: 48%; padding: 1cqw 0; border-radius: 1.5cqw; background: #fff; color: #656c7a; font-size: 1.9cqw; line-height: 1.2; text-align: center; }
.nf-page { flex: 1; display: grid; place-items: center; }
.nf-code { font-size: 25cqw; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: #3462F1; background: linear-gradient(100deg, #3B82F7, #3462F1 42%, #7B55F3 78%, #A648F1); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nf-cursor { position: absolute; top: 0; left: 0; width: 5.5cqw; height: auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35)); transform: translate(calc(var(--end-x) * 1cqw), calc(var(--end-y) * 1cqw)); --end-x: 66; --end-y: 34; animation: nf-cursor 11s cubic-bezier(0.45, 0, 0.55, 1) 2 both; }
.nf-stand { width: 11%; height: clamp(14px, 2.4vw, 28px); background: linear-gradient(#3A3A3C, #2C2C2E); }
.nf-foot { width: 30%; height: 5px; border-radius: 3px 3px 0 0; background: #3A3A3C; }
.nf-ipad { width: min(46%, 300px); aspect-ratio: 4 / 2.85; margin-top: clamp(18px, 3vw, 34px); padding: 7px; background: #000; border: 1px solid #3A3A3C; border-radius: 14px; }
.nf-pad { position: relative; height: 100%; overflow: hidden; background: #2C2C2E; border-radius: 8px; container-type: inline-size; }
.nf-touch { position: absolute; top: 0; left: 0; width: 13cqw; height: 13cqw; margin: -6.5cqw 0 0 -6.5cqw; border-radius: 50%; background: rgba(100, 176, 255, 0.34); border: 1px solid rgba(100, 176, 255, 0.8); transform: translate(calc(var(--end-x) * 1cqw), calc(var(--end-y) * 1cqw)); --end-x: 66; --end-y: 35; animation: nf-touch 11s cubic-bezier(0.45, 0, 0.55, 1) 2 both; }
@keyframes nf-cursor {
  0% { transform: translate(14cqw, 14cqw); }
  24% { transform: translate(74cqw, 16cqw); }
  48% { transform: translate(20cqw, 38cqw); }
  72% { transform: translate(82cqw, 42cqw); }
  100% { transform: translate(66cqw, 34cqw); }
}
@keyframes nf-touch {
  0% { transform: translate(14cqw, 14cqw); }
  24% { transform: translate(74cqw, 17cqw); }
  48% { transform: translate(20cqw, 41cqw); }
  72% { transform: translate(82cqw, 47cqw); }
  100% { transform: translate(66cqw, 35cqw); }
}
.nf-copy h1 { margin: 0 0 0.6em; font-size: clamp(1.875rem, 3.8vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.nf-copy p { margin: 0 0 1.75rem; max-width: 44ch; font-size: 1.0625rem; line-height: 1.55; color: #C7C7CC; }
.nf-home { display: inline-block; padding: 0.8em 1.4em; border-radius: 999px; background: #0066CC; color: #fff; font-size: 1.0625rem; font-weight: 700; text-decoration: none; transition: background-color 350ms cubic-bezier(0.22, 1, 0.36, 1); }
.nf-home:hover { background: #0A84FF; color: #fff; }
.nf-links { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.nf-links a { color: #64B0FF; font-size: 1rem; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.nf-links a:hover { color: #F5F5F7; }
@media (max-width: 860px) {
  .nf-layout { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .nf-scene { max-width: 520px; width: 100%; margin-inline: auto; }
  .nf-brand { align-self: center; }
  .nf-copy { text-align: center; }
  .nf-copy p { margin-inline: auto; }
  .nf-links { justify-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .nf-cursor, .nf-touch { animation: none; }
  .nf-home { transition: none; }
}
