:root {
  color-scheme: light;
  --navy: #082a57;
  --blue: #15539a;
  --gold: #e6b431;
  --ink: #16304f;
  --muted: #5f7086;
  --surface: rgba(255, 255, 255, 0.94);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(230, 180, 49, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 88%, rgba(21, 83, 154, 0.2), transparent 32rem),
    linear-gradient(135deg, #f5f8fc 0%, #eaf1f8 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before,
body::after {
  position: fixed;
  z-index: 0;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(21, 83, 154, 0.1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

body::before {
  top: -9rem;
  right: -5rem;
}

body::after {
  bottom: -10rem;
  left: -7rem;
  border-color: rgba(230, 180, 49, 0.14);
}

.maintenance-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem 1.25rem;
}

.maintenance-card {
  width: min(100%, 42rem);
  padding: clamp(2.25rem, 7vw, 4.75rem) clamp(1.5rem, 7vw, 5rem);
  border: 1px solid rgba(8, 42, 87, 0.1);
  border-radius: 2rem;
  background: var(--surface);
  box-shadow: 0 1.5rem 4.5rem rgba(8, 42, 87, 0.14);
  text-align: center;
  backdrop-filter: blur(12px);
}

.brand-mark {
  display: flex;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.brand-mark img {
  display: block;
  width: min(100%, 18rem);
  height: auto;
  max-height: 13rem;
  object-fit: contain;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(230, 180, 49, 0.42);
  border-radius: 999px;
  background: rgba(230, 180, 49, 0.12);
  color: #7a5a08;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.status-pill span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(230, 180, 49, 0.18);
}

h1 {
  max-width: 30rem;
  margin: 0 auto;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.lead,
.return-note {
  max-width: 31rem;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.7;
}

.lead {
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.return-note {
  margin-top: 0;
  color: var(--blue);
  font-weight: 700;
}

.support-box {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(8, 42, 87, 0.055);
  color: var(--muted);
  font-size: 0.95rem;
}

.support-box p {
  margin: 0;
}

a {
  color: var(--blue);
  font-weight: 800;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy);
}

a:focus-visible {
  outline: 3px solid rgba(230, 180, 49, 0.75);
  outline-offset: 4px;
}

.footer-note {
  margin: 2rem 0 0;
  color: rgba(95, 112, 134, 0.8);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

@media (max-width: 520px) {
  .maintenance-shell {
    padding: 1rem;
  }

  .maintenance-card {
    border-radius: 1.5rem;
  }

  .brand-mark img {
    width: min(100%, 14rem);
    max-height: 10rem;
  }

  .status-pill {
    font-size: 0.68rem;
  }
}
