:root {
  color-scheme: dark;
  font-family: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  background:
    radial-gradient(circle at 18% 12%, rgba(76, 122, 155, 0.32), transparent 28rem),
    radial-gradient(circle at 78% 18%, rgba(162, 128, 70, 0.18), transparent 24rem),
    linear-gradient(135deg, #071018 0%, #0d1822 48%, #05080d 100%);
  color: #f4f7fb;
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
}

body::before {
  animation: drift 18s ease-in-out infinite alternate;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.06) 45%, transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 120px);
  content: "";
  inset: -20%;
  position: fixed;
  transform: rotate(-8deg);
}

.maintenance-shell {
  align-items: center;
  display: grid;
  min-height: calc(100vh - 64px);
  padding: 28px;
  place-items: center;
  position: relative;
  z-index: 1;
}

.maintenance-card {
  max-width: 820px;
  text-align: center;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  display: inline-flex;
  height: 112px;
  justify-content: center;
  margin-bottom: 28px;
  width: 112px;
}

.brand-mark span {
  color: #f5d591;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow {
  color: #f0c46a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
  margin: 0 0 22px;
}

.message {
  color: #d9e4ef;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
  margin: 0 auto 12px;
  max-width: 780px;
}

.message.compact {
  color: #aebdca;
  font-size: 18px;
}

footer {
  bottom: 22px;
  color: #7f93a6;
  font-size: 14px;
  left: 0;
  position: fixed;
  text-align: center;
  width: 100%;
  z-index: 1;
}

@keyframes drift {
  from {
    transform: translate3d(-2%, -1%, 0) rotate(-8deg);
  }
  to {
    transform: translate3d(2%, 1%, 0) rotate(-8deg);
  }
}

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

  .brand-mark {
    height: 92px;
    width: 92px;
  }

  footer {
    position: static;
    padding: 0 18px 22px;
  }
}
