:root {
  color-scheme: dark;
  --night: #06171b;
  --deep: #0a2528;
  --paper: #eef0df;
  --muted: #b8c8bd;
  --moss: #8fae6c;
  --sun: #e7b66d;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(65, 128, 117, .24), transparent 31rem),
    radial-gradient(circle at 16% 85%, rgba(152, 116, 65, .12), transparent 28rem),
    var(--night);
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
}

.maintenance-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 4rem);
}

.atmosphere {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.atmosphere::after {
  content: "";
  position: absolute;
  right: -12rem;
  bottom: -20rem;
  width: min(52rem, 95vw);
  aspect-ratio: 1;
  border: 1px solid rgba(238, 240, 223, .1);
  border-radius: 50%;
  box-shadow: inset 0 0 8rem rgba(96, 148, 126, .08);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(184, 200, 189, .1);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.orbit-one { top: -18rem; right: -8rem; width: 45rem; height: 29rem; }
.orbit-two { bottom: -9rem; left: -15rem; width: 39rem; height: 24rem; }

.star {
  position: absolute;
  width: .25rem;
  height: .25rem;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 .8rem rgba(238, 240, 223, .75);
  animation: breathe 4s ease-in-out infinite;
}

.star-one { top: 17%; left: 13%; }
.star-two { top: 29%; right: 18%; animation-delay: -1.4s; }
.star-three { right: 8%; bottom: 27%; animation-delay: -2.7s; }

.maintenance-card {
  width: min(62rem, 100%);
  padding: clamp(1.5rem, 5vw, 4.5rem);
  border: 1px solid rgba(238, 240, 223, .15);
  background: linear-gradient(145deg, rgba(12, 42, 43, .78), rgba(6, 23, 27, .5));
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, .25);
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-family: Arial, sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.brand i, h1 i { color: var(--moss); font-weight: inherit; }

.globe {
  position: relative;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--moss);
  border-radius: 50%;
}

.globe::before, .globe::after {
  content: "";
  position: absolute;
  inset: 20% 3%;
  border-top: 1px solid var(--moss);
  border-bottom: 1px solid var(--moss);
  border-radius: 50%;
}

.globe::after { inset: 3% 31%; border: 0; border-left: 1px solid var(--moss); border-right: 1px solid var(--moss); }

.eyebrow {
  margin: clamp(4rem, 10vw, 8rem) 0 1rem;
  color: var(--sun);
  font-family: Arial, sans-serif;
  font-size: clamp(.68rem, 1.2vw, .78rem);
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.2rem, 10vw, 7.8rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .86;
}

.message {
  max-width: 36rem;
  margin: clamp(2rem, 5vw, 3.5rem) 0;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.horizon { position: relative; height: 3rem; margin-top: clamp(3rem, 8vw, 7rem); }
.horizon-line { position: absolute; top: 50%; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(143, 174, 108, .7), transparent); }
.traveler { position: absolute; top: calc(50% - .23rem); left: 67%; width: .46rem; height: .46rem; border-radius: 50%; background: var(--sun); box-shadow: 0 0 1.5rem var(--sun); }

.status {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: .5rem 0 0;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.status span { width: .45rem; height: .45rem; border-radius: 50%; background: var(--moss); animation: pulse 2s ease-out infinite; }

@keyframes breathe { 50% { opacity: .25; transform: scale(.7); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 .5rem rgba(143, 174, 108, 0); } 0% { box-shadow: 0 0 0 0 rgba(143, 174, 108, .45); } }

@media (max-width: 40rem) {
  .maintenance-shell { padding: 0; }
  .maintenance-card { min-height: 100svh; border: 0; }
  .eyebrow { margin-top: 28vh; }
}

@media (prefers-reduced-motion: reduce) {
  .star, .status span { animation: none; }
}
