:root {
  --navy: #0b1f4d;
  --navy-dark: #07152f;
  --red: #ed1c24;
  --text: #14213d;
  --muted: #667085;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  overflow: hidden;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(237, 28, 36, 0.10), transparent 28%),
    radial-gradient(circle at 85% 80%, rgba(11, 31, 77, 0.16), transparent 32%),
    linear-gradient(135deg, #f7f9fc 0%, #ffffff 50%, #f1f5fb 100%);
}

.background-grid {
  position: fixed;
  inset: 0;
  opacity: .35;
  background-image:
    linear-gradient(rgba(11,31,77,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,31,77,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.orb-one {
  width: 320px;
  height: 320px;
  top: -150px;
  left: -100px;
  background: rgba(237, 28, 36, .08);
}

.orb-two {
  width: 380px;
  height: 380px;
  right: -170px;
  bottom: -180px;
  background: rgba(11, 31, 77, .08);
}

.maintenance {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  position: relative;
  z-index: 2;
}

.card {
  width: min(720px, 100%);
  padding: 54px 60px 42px;
  text-align: center;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(11,31,77,.09);
  border-radius: 28px;
  box-shadow:
    0 30px 80px rgba(11,31,77,.13),
    0 8px 25px rgba(11,31,77,.06);
  backdrop-filter: blur(14px);
  animation: cardIn .8s ease-out both;
}

.logo-wrap {
  width: min(560px, 100%);
  margin: 0 auto 30px;
}

.logo-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 185px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(11,31,77,.08));
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  margin-bottom: 22px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(11,31,77,.07);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(237,28,36,.45);
  animation: pulse 1.8s infinite;
}

h1 {
  color: var(--navy);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -.035em;
  margin-bottom: 18px;
}

.lead {
  max-width: 590px;
  margin: 0 auto;
  color: #344054;
  font-size: 18px;
  line-height: 1.65;
}

.message {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.progress {
  width: 100%;
  height: 5px;
  margin: 34px auto 28px;
  overflow: hidden;
  border-radius: 99px;
  background: #e9edf4;
}

.progress-bar {
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--navy), var(--red));
  animation: loading 2.2s ease-in-out infinite;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #98a2b3;
  font-size: 12px;
  font-weight: 600;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 9px rgba(237,28,36,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(237,28,36,0);
  }
}

@keyframes loading {
  0% { transform: translateX(-130%); }
  50% { transform: translateX(120%); }
  100% { transform: translateX(280%); }
}

@media (max-width: 600px) {
  body {
    overflow: auto;
  }

  .maintenance {
    padding: 18px;
  }

  .card {
    padding: 34px 22px 28px;
    border-radius: 22px;
  }

  .logo-wrap {
    margin-bottom: 22px;
  }

  .logo-wrap img {
    max-height: 130px;
  }

  h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 16px;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
}
