:root {
  --blue-deep: #003c9f;
  --blue-main: #006fd6;
  --blue-soft: #e9f5ff;
  --green-main: #93c817;
  --green-dark: #5f8d08;
  --white: #ffffff;
  --ink: #09244a;
  --muted: #49637f;
  --shadow: 0 28px 70px rgba(0, 60, 159, 0.18);
  --radius: 28px;
  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 14% 18%, rgba(147, 200, 23, 0.22), transparent 28rem),
    radial-gradient(circle at 88% 24%, rgba(0, 111, 214, 0.2), transparent 32rem),
    linear-gradient(135deg, #f7fbff 0%, #ffffff 45%, #eef8ff 100%);
}

.maintenance-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 64px);
  overflow: hidden;
}

.hero {
  width: 100%;
  max-width: 1120px;
  min-height: min(720px, calc(100vh - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  position: relative;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  opacity: 0.7;
}

.hero::before {
  width: 22rem;
  height: 22rem;
  border: 18px solid rgba(147, 200, 23, 0.2);
  right: -8rem;
  top: -7rem;
}

.hero::after {
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(0, 60, 159, 0.12);
  left: -18rem;
  bottom: -20rem;
}

.hero__content {
  max-width: 620px;
  min-width: 0;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 20px;
  padding: 8px 14px;
  border: 1px solid rgba(147, 200, 23, 0.45);
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.82);
  font: 700 0.88rem/1 var(--font-display);
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 11ch;
  color: var(--blue-deep);
  font: 800 clamp(3rem, 8vw, 6.8rem)/0.88 var(--font-display);
  letter-spacing: 0;
}

.hero__text {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 14px 18px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(0, 60, 159, 0.1);
  font-weight: 600;
}

.status__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green-main);
  box-shadow: 0 0 0 8px rgba(147, 200, 23, 0.2);
}

.brand-panel {
  margin: 0;
  min-width: 0;
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(0, 60, 159, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(233, 245, 255, 0.88)),
    var(--white);
  box-shadow: var(--shadow);
  position: relative;
  isolation: isolate;
}

.brand-panel::before {
  content: "";
  position: absolute;
  inset: 20px;
  z-index: -1;
  border-radius: calc(var(--radius) - 8px);
  border: 2px solid rgba(147, 200, 23, 0.28);
}

.brand-panel__logo {
  width: min(100%, 480px, calc(100vw - 96px));
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 25px rgba(0, 60, 159, 0.14));
}

figcaption {
  margin-top: 22px;
  color: var(--blue-main);
  font: 700 1rem/1.2 var(--font-display);
}

@media (max-width: 820px) {
  .maintenance-page {
    place-items: start center;
    padding: 26px 18px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: calc(100vw - 36px);
    gap: 34px;
  }

  .hero__content,
  .brand-panel {
    max-width: calc(100vw - 36px);
  }

  h1 {
    max-width: 9ch;
  }

  .brand-panel {
    width: 100%;
    min-height: 300px;
    padding: 28px;
    border-radius: 22px;
    overflow: hidden;
  }

  .hero__text {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .status {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    border-radius: 18px;
    text-align: center;
  }

  .status span:last-child {
    min-width: 0;
  }
}

@media (max-width: 540px) {
  .maintenance-page {
    justify-items: start;
  }

  .hero,
  .hero__content,
  .brand-panel {
    max-width: min(100%, 354px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__content,
  .brand-panel {
    animation: rise-in 700ms ease both;
  }

  .brand-panel {
    animation-delay: 120ms;
  }

  .status__dot {
    animation: pulse 1.8s ease-in-out infinite;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 12px rgba(147, 200, 23, 0.1);
  }
}
