/* The standalone error and not found pages: one card floating over the brand gradient. */

.status-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 40px 20px; }
.status-card {
  zoom: var(--stage-zoom);
  position: relative; width: 100%; max-width: 580px; padding: 48px 44px 40px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--panel); box-shadow: var(--sh-float);
  animation: status-rise .45s var(--ease) both;
}
.status-logo { --logo-h: 20px; display: flex; justify-content: center; margin-bottom: 22px; }
.status-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 18px;
  border-radius: var(--r-l); background: var(--warn-soft); color: var(--warn);
}
.status-icon svg { width: 24px; height: 24px; }
.status-code {
  margin-bottom: 4px; font-size: clamp(96px, 18vw, 140px); font-weight: 700; line-height: 1; letter-spacing: -.05em;
  background: var(--text-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.status-card h1 { margin: 0 0 8px; font-size: var(--fs-2xl); }
.status-sub { max-width: 44ch; margin: 0 auto 28px; font-size: var(--fs-m); line-height: 1.7; color: var(--ink-3); }
.status-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.status-form { text-align: left; }
.region-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.region-option {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--r-l); background: var(--panel);
  font-size: var(--fs-m); font-weight: 500; color: var(--ink-2); cursor: pointer;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease);
}
.region-option:hover { border-color: var(--line-strong); color: var(--ink); }
.region-option input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--brand); }
.region-option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--ink); }
.region-option:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.status-foot { margin: 30px 0 0; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: var(--fs-xs); color: var(--ink-4); }
.status-foot a { color: var(--ink-3); }
.status-foot a:hover { color: var(--ink); }

@keyframes status-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 560px) {
  .status-card { padding: 36px 22px 30px; }
  .status-actions { flex-direction: column; }
  .status-actions .btn { width: 100%; }
  .region-pick { grid-template-columns: 1fr; }
}
