.error-404 { display: flex; align-items: center; justify-content: center; min-height: 60vh; padding: 40px 20px; text-align: center; }
.error-404__inner { max-width: 500px; }
.error-404__code { font-size: 80px; font-weight: 700; color: #222; margin: 0 0 16px; line-height: 1; }
.error-404__message { font-size: 16px; color: #757575; margin: 0 0 24px; line-height: 1.6; }
.error-404__home { display: inline-block; padding: 12px 32px; background: #1e73be; color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 4px; transition: background 0.2s; }
.error-404__home:hover, .error-404__home:focus { background: #155a96; }
/* Mobile-first by design: base rules above already fit the smallest screens;
   this file intentionally scales typography up from 768px rather than down,
   and does not mix directions with max-width rules for the same selectors. */
@media (min-width: 768px) {
  .error-404__code { font-size: 120px; }
  .error-404__message { font-size: 18px; }
}
