/* LandDU 404 page, design v3 (15 Oct). Loaded only on a 404 (includes/pages/404.php). The homepage look: the city photo under a navy scrim
   (the same ground as log in), heavy white Inter Tight, the soft blue pill button. No white card floating on a pale page. */
body.error404 { background: #0a0e24; }
body.error404 #content, body.error404 .site-content { overflow-x: clip;
	background: #0a0e24; }
/* The photo sits behind the 404 block only, full bleed, and fades to navy at its foot so nothing cuts off above the footer. */
body.error404 .ld-404 { position: relative; isolation: isolate; }
body.error404 .ld-404::before {
	content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw;
	background: linear-gradient(180deg, rgba(8,12,34,.55) 0%, rgba(8,12,34,.82) 60%, #0a0e24 100%), var(--ld-city1,url(../../img/city-1.jpg)) center 45% / cover no-repeat, #0a0e24;
}
body.error404 .site-content-grid { display: block; }
body.error404 #primary { width: 100%; max-width: none; padding: 0; margin: 0; }
body.error404 .site-main { padding: 0; margin: 0; }

body.error404 .ld-404 {
	box-sizing: border-box; width: 100%; max-width: 560px; min-height: min(62vh, 560px); margin: 0 auto; padding: 56px 20px 64px;
	display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 10px; color: #fff;
}
body.error404 .ld-404__num {
	display: inline-flex; align-items: center; height: 28px; padding: 0 12px; margin-bottom: 6px; border-radius: 999px;
	background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); font: 700 13px/1 var(--ld-text); letter-spacing: .08em; color: rgba(255,255,255,.9);
}
body.error404 .ld-404__title { margin: 0; font: 800 32px/1.08 var(--ld-heading); letter-spacing: -.03em; color: #fff; text-shadow: none; overflow-wrap: anywhere; }
body.error404 .ld-404__desc { margin: 0 0 12px; max-width: 400px; font: 400 16px/1.5 var(--ld-text); color: rgba(255,255,255,.84); overflow-wrap: anywhere; }
body.error404 .ld-404 a.ld-404__btn {
	display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; background: #cfdcff; color: #0a1130;
	font: 700 15px/1 var(--ld-text); text-decoration: none; transition: background-color 160ms, transform 120ms;
}
body.error404 .ld-404 a.ld-404__btn:hover { background: #bccfff; color: #0a1130; }
body.error404 .ld-404 a.ld-404__btn:active { transform: scale(.97); }
body.error404 .ld-404 a.ld-404__btn:focus-visible { outline: 2px solid #cfdcff; outline-offset: 3px; }

@media (min-width: 768px) {
	body.error404 .ld-404 { padding: 96px 24px 112px; }
	body.error404 .ld-404__title { font-size: 48px; }
	body.error404 .ld-404__desc { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { body.error404 .ld-404 a.ld-404__btn { transition: none; } }
