:root{--error-navy:#123f59;--error-ink:#173f58;--error-muted:#607b8a;--error-green:#79b72d;--error-lime:#a8cd58;--error-line:#d7e5e9;--error-soft:#f3f8f8}
.error-stage{position:relative;display:grid;min-height:720px;place-items:center;overflow:hidden;padding:clamp(52px,8vw,110px) 24px;background:linear-gradient(145deg,#f8fbfb 0%,#eef6f5 55%,#f4f8ed 100%)}
.error-shell{position:relative;z-index:2;display:grid;grid-template-columns:minmax(260px,.75fr) minmax(420px,1.25fr);align-items:center;width:min(1120px,100%);overflow:hidden;border:1px solid rgba(18,63,89,.12);border-radius:34px;background:rgba(255,255,255,.92);box-shadow:0 32px 90px rgba(18,63,89,.13);backdrop-filter:blur(12px)}
.error-visual{position:relative;display:grid;min-height:500px;place-items:center;overflow:hidden;background:var(--error-navy);color:#fff}
.error-code{position:relative;z-index:2;font:800 clamp(76px,11vw,152px)/1 Manrope,system-ui,sans-serif;letter-spacing:-.075em;text-shadow:0 18px 45px rgba(0,0,0,.18)}
.error-visual svg{position:absolute;inset:auto -8% 24%;width:116%;fill:none;stroke:var(--error-lime);stroke-width:5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 10px rgba(168,205,88,.4))}
.error-pulse{position:absolute;width:230px;height:230px;border:1px solid rgba(168,205,88,.34);border-radius:50%;animation:errorPulse 2.4s ease-out infinite}.error-pulse:after{content:"";position:absolute;inset:30px;border:1px solid rgba(255,255,255,.18);border-radius:inherit}.error-pulse--paused{animation-duration:3.4s}
.error-copy{padding:clamp(36px,6vw,78px)}.error-copy h1{max-width:720px;margin:14px 0 20px;color:var(--error-ink);font:750 clamp(38px,5vw,66px)/1.04 Manrope,system-ui,sans-serif;letter-spacing:-.045em}.error-copy .lead,.error-copy>p:not(.eyebrow):not(.error-eyebrow){max-width:650px;margin:0;color:var(--error-muted);font:400 clamp(17px,2vw,20px)/1.7 system-ui,sans-serif}
.error-copy .actions,.error-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.error-copy .btn,.error-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 21px;border:1px solid var(--error-green);border-radius:12px;background:var(--error-green);color:#fff;text-decoration:none;font:750 15px/1.2 Manrope,system-ui,sans-serif;transition:.2s ease}.error-copy .btn:hover,.error-btn:hover{transform:translateY(-2px);background:#689f25}.error-copy .btn--ghost,.error-btn--ghost{background:#fff;color:var(--error-ink);border-color:var(--error-line)}
.error-help{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:28px;padding-top:22px;border-top:1px solid var(--error-line)}.error-help a{color:var(--error-ink);font-weight:700;text-decoration:none}.error-help a:hover{color:var(--error-green);text-decoration:underline;text-underline-offset:4px}
.error-orbit{position:absolute;border:1px solid rgba(121,183,45,.18);border-radius:50%}.error-orbit--one{width:480px;height:480px;top:-210px;right:-110px}.error-orbit--two{width:330px;height:330px;bottom:-165px;left:-80px}.error-eyebrow{margin:0;color:var(--error-green)!important;font:800 13px/1.2 Manrope,system-ui,sans-serif!important;letter-spacing:.12em;text-transform:uppercase}
.standalone-error{margin:0;background:var(--error-soft);color:var(--error-ink);font-family:system-ui,sans-serif}.standalone-error .error-stage{min-height:calc(100vh - 154px)}.error-header{display:flex;align-items:center;justify-content:space-between;min-height:82px;padding:0 max(24px,calc((100vw - 1200px)/2));background:#fff;border-bottom:1px solid var(--error-line)}.error-header img{display:block;width:155px;height:62px;object-fit:contain}.error-header>a:last-child{color:var(--error-ink);font-weight:750;text-decoration:none}.error-footer{padding:18px 24px;background:var(--error-navy);color:#dce8ed;text-align:center;font-size:14px}.error-skip{position:fixed;z-index:20;top:8px;left:8px;transform:translateY(-150%);padding:10px;background:#fff;color:#000}.error-skip:focus{transform:none}
@keyframes errorPulse{0%{transform:scale(.68);opacity:0}30%{opacity:1}100%{transform:scale(1.55);opacity:0}}
@media(max-width:820px){.error-stage{min-height:0;padding:38px 18px}.error-shell{grid-template-columns:1fr;border-radius:25px}.error-visual{min-height:230px}.error-code{font-size:88px}.error-visual svg{bottom:16%;height:86px}.error-pulse{width:150px;height:150px}.error-copy{padding:34px 26px 40px}.error-copy h1{font-size:clamp(35px,10vw,50px)}.standalone-error .error-stage{min-height:calc(100vh - 136px)}}
@media(max-width:520px){.error-header{min-height:70px;padding:0 18px}.error-header img{width:125px;height:52px}.error-header>a:last-child{font-size:14px}.error-help{display:grid}.error-copy .actions,.error-actions{display:grid}.error-copy .btn,.error-btn{width:100%;box-sizing:border-box}}
@media(prefers-reduced-motion:reduce){.error-pulse{animation:none;opacity:.35}}
