:root {
  color-scheme: dark;
  --page: #07111f;
  --page-deep: #040a12;
  --surface: rgba(12, 27, 45, 0.88);
  --surface-edge: rgba(255, 255, 255, 0.11);
  --text: #f4f7fb;
  --muted: #a8b6c7;
  --accent: #63c8c1;
  --accent-soft: rgba(99, 200, 193, 0.14);
  --accent-warm: #f3c47c;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--page-deep);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 16%, rgba(64, 160, 205, 0.18), transparent 32rem),
    radial-gradient(circle at 88% 78%, rgba(101, 230, 191, 0.13), transparent 30rem),
    linear-gradient(145deg, var(--page-deep), var(--page) 55%, #0a1726);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.page-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: clamp(1rem, 4vw, 3.5rem);
}

.maintenance-card {
  position: relative;
  width: min(100%, 72rem);
  overflow: hidden;
  border: 1px solid var(--surface-edge);
  border-radius: clamp(1.5rem, 3vw, 2.5rem);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.055), transparent 42%),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.maintenance-card::after {
  position: absolute;
  right: -10rem;
  bottom: -14rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, rgba(101, 230, 191, 0.12), transparent 68%);
}

.brand-row,
.card-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-row {
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--surface-edge);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  text-decoration: none;
}

.brand-symbol {
  display: block;
  width: clamp(2.35rem, 5vw, 2.85rem);
  height: auto;
}

.brand-name {
  color: #f7f9fc;
  font-family: "Century Gothic", "Avenir Next", Avenir, sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1;
  text-shadow: 0 0.35rem 1.3rem rgba(255, 255, 255, 0.08);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.3rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(101, 230, 191, 0.22);
  border-radius: 999px;
  color: #c7f8e9;
  background: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 680;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  overflow: hidden;
  border-radius: 50%;
  background: var(--accent);
  font-size: 0;
  line-height: 0;
  box-shadow: 0 0 0 0.3rem rgba(101, 230, 191, 0.12);
  animation: status-pulse 2.2s ease-in-out infinite;
}

.content-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(9rem, 0.55fr) minmax(0, 2fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
  padding: clamp(3.5rem, 9vw, 8.5rem) clamp(1.25rem, 7vw, 6rem);
}

.maintenance-indicator {
  position: relative;
  width: min(100%, 12rem);
  justify-self: center;
  filter: drop-shadow(0 0 2rem rgba(99, 200, 193, 0.16));
}

.maintenance-indicator svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.indicator-track,
.indicator-progress {
  fill: none;
  stroke-width: 5;
}

.indicator-track {
  stroke: rgba(255, 255, 255, 0.09);
}

.indicator-progress {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 210 90;
  transform-origin: 60px 60px;
  animation: progress-orbit 8s linear infinite;
}

.indicator-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 42%;
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0.5rem 1.25rem rgba(36, 158, 185, 0.2));
}

.message {
  max-width: 48rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  font-weight: 690;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.supporting-copy {
  max-width: 38rem;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.75;
}

.card-footer {
  min-height: 4.5rem;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--surface-edge);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-accent {
  width: 3.5rem;
  height: 1px;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, var(--accent));
  font-size: 0;
  line-height: 0;
}

@keyframes progress-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes status-pulse {
  50% {
    opacity: 0.62;
    transform: scale(0.88);
  }
}

@media (max-width: 700px) {
  .brand-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-top: 3.25rem;
    padding-bottom: 3.5rem;
  }

  .maintenance-indicator {
    width: 7.75rem;
    justify-self: start;
  }

  h1 {
    font-size: clamp(2.3rem, 12vw, 4rem);
    line-height: 1.02;
  }
}

@media (max-width: 420px) {
  .page-shell {
    padding: 0.7rem;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  .indicator-progress,
  .status-dot {
    animation: none;
  }
}
