:root {
  --bg: #def2fb;
  --text: #28282d;
  --yellow: #ffc52f;
  --yellow-light: #ffd942;
  --yellow-dark: #f6ab28;
  --cyan: #24c9de;
  --cyan-deep: #1497d9;
  --blue: #2488e8;
  --blue-deep: #2472d8;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.maintenance-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.hero-copy {
  position: absolute;
  top: 17.2vh;
  left: 50%;
  width: min(1120px, 88vw);
  transform: translateX(-50%);
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 2.55vw, 2.75rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-copy p {
  margin: 12px 0 0;
  font-size: clamp(1.1rem, 1.78vw, 1.7rem);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.status-message {
  position: absolute;
  top: 60.7vh;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  margin: 0;
  text-align: center;
  font-size: clamp(1.25rem, 1.9vw, 1.85rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.015em;
}

/* Bottom plug illustration */
.cable-scene {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 24.5vh;
  min-height: 160px;
}

.cable,
.plug {
  position: absolute;
  top: 34%;
}

.cable {
  height: 70px;
}

.cable-left {
  left: 0;
  width: calc(50% - 150px);
}

.cable-right {
  right: 0;
  width: calc(50% - 150px);
}

.cable-run,
.cable-tail,
.cable-drop,
.cable-rise {
  position: absolute;
  display: block;
}

.cable-left .cable-run {
  left: 0;
  top: 0;
  width: calc(100% - 72px);
  height: 18px;
  background: linear-gradient(90deg, var(--yellow-dark) 0 87%, var(--yellow) 87% 100%);
}

.cable-left .cable-drop {
  right: 54px;
  top: 0;
  width: 32px;
  height: 56px;
  border-top: 18px solid var(--yellow);
  border-right: 18px solid var(--yellow);
  border-bottom: 18px solid var(--yellow);
  border-radius: 0 24px 24px 0;
}

.cable-left .cable-tail {
  right: 0;
  top: 38px;
  width: 72px;
  height: 18px;
  background: var(--yellow);
}

.cable-right .cable-tail {
  left: 0;
  top: 38px;
  width: 76px;
  height: 18px;
  background: var(--cyan);
}

.cable-right .cable-rise {
  left: 58px;
  top: 0;
  width: 32px;
  height: 56px;
  border-top: 18px solid var(--cyan);
  border-left: 18px solid var(--cyan);
  border-bottom: 18px solid var(--cyan);
  border-radius: 24px 0 0 24px;
}

.cable-right .cable-run {
  left: 76px;
  top: 0;
  width: calc(100% - 76px);
  height: 18px;
  background: linear-gradient(90deg, var(--cyan) 0 18%, var(--blue) 18% 24%, var(--cyan) 24% 100%);
}

.plug {
  width: 150px;
  height: 92px;
}

.plug-left {
  left: calc(50% - 190px);
}

.plug-right {
  right: calc(50% - 190px);
  transform: scaleX(-1);
}

.plug-wire-neck {
  position: absolute;
  left: 0;
  top: 38px;
  width: 36px;
  height: 20px;
  border-radius: 12px 0 0 12px;
}

.plug-body {
  position: absolute;
  left: 30px;
  top: 18px;
  width: 78px;
  height: 60px;
  border-radius: 12px 4px 4px 12px;
}

.plug-body::before,
.plug-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
  opacity: 0.55;
}

.plug-body::before {
  top: 15px;
  box-shadow: 0 10px 0 currentColor, 0 20px 0 currentColor;
}

.plug-ring {
  position: absolute;
  left: 105px;
  top: 8px;
  width: 12px;
  height: 80px;
  border-radius: 2px;
}

.plug-pin {
  position: absolute;
  left: 114px;
  width: 46px;
  height: 14px;
  border-radius: 0 12px 12px 0;
}

.plug-pin-top {
  top: 29px;
}

.plug-pin-bottom {
  top: 52px;
}

.plug-shine {
  position: absolute;
  left: 20px;
  top: 25px;
  width: 18px;
  height: 8px;
  border-radius: 10px;
  opacity: 0.7;
}

/* yellow plug */
.plug-left .plug-wire-neck,
.plug-left .plug-body,
.plug-left .plug-ring,
.plug-left .plug-pin {
  background: var(--yellow);
}

.plug-left .plug-body {
  color: #f0a927;
  background: linear-gradient(180deg, var(--yellow-light), var(--yellow));
  box-shadow: inset 0 -5px 0 rgba(238, 164, 38, 0.28);
}

.plug-left .plug-body::before {
  background: #f0ab26;
  box-shadow: 0 10px 0 #f0ab26, 0 20px 0 #f0ab26;
}

.plug-left .plug-ring {
  background: var(--yellow-dark);
  box-shadow: inset 3px 0 0 rgba(255,255,255,.24);
}

.plug-left .plug-shine {
  background: rgba(255,255,255,.25);
}

/* blue plug */
.plug-right .plug-wire-neck {
  background: var(--blue);
}

.plug-right .plug-body {
  color: #167ec8;
  background: linear-gradient(180deg, #2a9de9, var(--blue));
  box-shadow: inset 0 -5px 0 rgba(8, 108, 203, 0.3);
}

.plug-right .plug-body::before {
  background: #22c5dc;
  box-shadow: 0 10px 0 #22c5dc, 0 20px 0 #22c5dc;
}

.plug-right .plug-ring {
  background: var(--cyan);
  box-shadow: inset 3px 0 0 rgba(255,255,255,.25);
}

.plug-right .plug-pin {
  background: var(--blue-deep);
}

.plug-right .plug-shine {
  background: rgba(255,255,255,.22);
}

.spark {
  position: absolute;
  width: 18px;
  height: 18px;
}

.plug-left .spark {
  background: var(--yellow-light);
}

.plug-right .spark {
  background: var(--cyan);
}
.plug-art {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
}

.plug-art img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
.spark-a {
  right: -4px;
  top: -22px;
  clip-path: polygon(0 0, 100% 0, 100% 28%, 70% 68%, 0 100%);
}

.spark-b {
  right: -4px;
  bottom: -18px;
  clip-path: polygon(0 0, 70% 25%, 100% 60%, 100% 100%, 0 100%);
}

.spark-c {
  right: -5px;
  top: -21px;
  clip-path: polygon(0 0, 100% 0, 100% 28%, 70% 68%, 0 100%);
}

.spark-d {
  right: -5px;
  bottom: -18px;
  clip-path: polygon(0 0, 70% 25%, 100% 60%, 100% 100%, 0 100%);
}

@media (max-width: 900px) {
  .hero-copy {
    top: 14vh;
  }

  .hero-copy p {
    margin-top: 10px;
  }

  .status-message {
    top: 54vh;
  }

  .cable-scene {
    height: 27vh;
  }

  .plug-left {
    left: calc(50% - 168px);
    transform: scale(.84);
    transform-origin: right center;
  }

  .plug-right {
    right: calc(50% - 168px);
    transform: scaleX(-1) scale(.84);
    transform-origin: left center;
  }

  .cable-left,
  .cable-right {
    width: calc(50% - 126px);
  }
}

@media (max-width: 560px) {
  .hero-copy {
    top: 12vh;
    width: 90vw;
  }

  .hero-copy h1 {
    font-size: 1.8rem;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .status-message {
    top: 52vh;
    font-size: 1.15rem;
  }

  .cable-scene {
    height: 26vh;
    min-height: 140px;
  }

  .plug-left {
    left: calc(50% - 128px);
    transform: scale(.62);
    transform-origin: right center;
  }

  .plug-right {
    right: calc(50% - 128px);
    transform: scaleX(-1) scale(.62);
    transform-origin: left center;
  }

  .cable-left,
  .cable-right {
    width: calc(50% - 96px);
  }

  .cable-left .cable-drop,
  .cable-right .cable-rise {
    display: none;
  }

  .cable-left .cable-run,
  .cable-left .cable-tail,
  .cable-right .cable-run,
  .cable-right .cable-tail {
    top: 24px;
    height: 14px;
  }

  .cable-left .cable-run {
    width: 100%;
  }

  .cable-left .cable-tail {
    right: -18px;
  }

  .cable-right .cable-run {
    left: 0;
    width: 100%;
  }

  .cable-right .cable-tail {
    left: -18px;
  }
}
