.not-found-shell { width: min(620px, calc(100% - 38px)); min-height: 100vh; display: flex; align-items: center; flex-direction: column; justify-content: center; margin: 0 auto; padding: 38px 0; }
.not-found-shell > .brand { align-self: flex-start; margin-bottom: 25px; }
.not-found-card { width: 100%; padding: 33px; border: 1px solid rgba(144,174,225,.18); border-radius: 16px; background: linear-gradient(145deg, rgba(22,32,50,.89), rgba(12,19,31,.88)); box-shadow: 0 25px 80px rgba(0,0,0,.35); backdrop-filter: blur(18px); }
.not-found-card .eyebrow { font-size: 9px; }
.error-code { margin: 22px 0 4px; color: #e3eaf6; font-size: clamp(83px, 17vw, 126px); font-weight: 780; line-height: .95; letter-spacing: -.095em; }
.not-found-card h1 { margin: 10px 0 7px; color: #e5ecf8; font-size: 22px; letter-spacing: -.04em; }
.error-lead { margin: 0; color: #8996aa; font-size: 11px; line-height: 1.8; }
.requested-path { display: flex; flex-direction: column; gap: 5px; margin-top: 20px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: rgba(3,8,15,.3); }
.requested-path span { color: #6e7d95; font-size: 8px; font-weight: 750; letter-spacing: .13em; }
.requested-path code { overflow-wrap: anywhere; color: #a8c5f5; font-size: 10px; }
.error-reasons { margin-top: 23px; padding-top: 17px; border-top: 1px solid var(--line); }
.error-reasons strong { color: #c6d2e4; font-size: 10px; }
.error-reasons ul { margin: 8px 0 0; padding-left: 17px; color: #7f8da3; font-size: 10px; line-height: 1.9; }
.error-reasons code { color: #a6c5f6; }
.error-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.error-foot { display: flex; justify-content: space-between; margin-top: 27px; padding-top: 13px; border-top: 1px solid var(--line); color: #5f6d83; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.not-found-caption { margin: 20px 0 0; color: #5f6d82; font-size: 9px; }
@media (max-width: 520px) {
  .not-found-card { padding: 25px 20px; }
  .not-found-card h1 { font-size: 20px; }
  .error-actions { flex-direction: column; }
  .error-actions .button { width: 100%; }
}
