:root {
  --brand: #097ba8;
  --brand-bright: #0895cd;
  --brand-soft: #e7f5fa;
  --brand-mist: #f3fafc;
  --ink: #07384b;
  --muted: #5b7480;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--brand-mist);
}

body {
  margin: 0;
  background: var(--brand-mist);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.maintenance-page {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(24px, 4vw, 58px) clamp(24px, 6vw, 96px) 28px;
  isolation: isolate;
}

.maintenance-page::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(9, 123, 168, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 123, 168, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 78% 45%, #ffffff 0, #f8fdff 28%, transparent 58%);
  background-size: 64px 64px, 64px 64px, auto;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.ambient {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  filter: blur(8px);
  pointer-events: none;
}

.ambient-one {
  top: -22vw;
  right: -13vw;
  width: 52vw;
  height: 52vw;
  background: rgba(8, 149, 205, 0.08);
}

.ambient-two {
  bottom: -34vw;
  left: -28vw;
  width: 60vw;
  height: 60vw;
  border: 12vw solid rgba(9, 123, 168, 0.05);
}

.site-header,
.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.wordmark-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: var(--brand);
  color: var(--white);
  font-size: 21px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(9, 123, 168, 0.2);
}

.status-pill {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 10px 15px;
  border: 1px solid rgba(9, 123, 168, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 0 5px rgba(8, 149, 205, 0.1);
  animation: status-pulse 2.4s ease-in-out infinite;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: clamp(48px, 8vw, 140px);
  align-items: center;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: clamp(76px, 10vh, 132px) 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(54px, 7vw, 104px);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.93;
}

h1 span {
  display: block;
  color: var(--brand);
}

.intro {
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.65;
}

.signal {
  position: relative;
  width: min(36vw, 490px);
  min-width: 340px;
  aspect-ratio: 1;
  justify-self: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 30%, rgba(231, 245, 250, 0.76) 30.2% 55%, rgba(8, 149, 205, 0.08) 55.2% 70%, transparent 70.2%);
}

.signal::before,
.signal::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.signal::before {
  inset: 6%;
  border: 1px solid rgba(9, 123, 168, 0.12);
  box-shadow: inset 0 0 80px rgba(8, 149, 205, 0.05);
}

.signal::after {
  inset: 21%;
  border: 1px dashed rgba(9, 123, 168, 0.24);
}

.signal-orbit {
  position: absolute;
  border-radius: 50%;
}

.orbit-outer {
  inset: 6%;
  animation: orbit-spin 18s linear infinite;
}

.orbit-inner {
  inset: 21%;
  border-top: 2px solid var(--brand-bright);
  border-right: 2px solid transparent;
  transform: rotate(-28deg);
  animation: orbit-spin-reverse 12s linear infinite;
}

.orbit-node {
  position: absolute;
  display: block;
  width: 14px;
  height: 14px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 6px 20px rgba(9, 123, 168, 0.35);
}

.node-one {
  top: 8%;
  right: 21%;
}

.node-two {
  bottom: 13%;
  left: 17%;
  width: 11px;
  height: 11px;
  background: var(--brand);
}

.signal-core {
  position: absolute;
  inset: 31%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(9, 123, 168, 0.12);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(9, 123, 168, 0.14);
}

.core-label {
  color: var(--brand);
  font-size: clamp(24px, 2.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.055em;
}

.core-line {
  width: 30px;
  height: 2px;
  margin: 11px 0 9px;
  background: var(--brand-bright);
}

.core-caption {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer {
  justify-content: flex-start;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

@keyframes orbit-spin-reverse {
  from {
    transform: rotate(-28deg);
  }
  to {
    transform: rotate(-388deg);
  }
}

@keyframes status-pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(8, 149, 205, 0.04);
    opacity: 0.74;
  }
}

@media (max-width: 900px) {
  .maintenance-page {
    padding-inline: clamp(22px, 6vw, 52px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 74px 0 66px;
  }

  .hero-copy {
    text-align: center;
  }

  .signal {
    width: min(68vw, 370px);
    min-width: 250px;
  }
}

@media (max-width: 560px) {
  .maintenance-page {
    padding-block: 20px 24px;
  }

  .status-pill {
    padding: 9px 11px;
    font-size: 9px;
    letter-spacing: 0.035em;
  }

  .wordmark {
    gap: 9px;
    font-size: 17px;
  }

  .wordmark-mark {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .hero {
    padding: 60px 0 54px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 70px);
  }

  .intro {
    margin-top: 24px;
    font-size: 16px;
  }

  .site-footer {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .status-dot,
  .orbit-outer,
  .orbit-inner {
    animation: none;
  }
}
