@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@700;800&display=swap");

:root {
  --orange: #ff9818;
  --orange-soft: #fff0da;
  --blue: #479fd3;
  --blue-dark: #1678b0;
  --blue-soft: #edf8fd;
  --ink: #183b4f;
  --muted: #71828b;
  --line: #9badb6;
  --paper: #fffdf9;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 38%, rgba(71, 159, 211, 0.055), transparent 30%),
    var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(24px, 4vh, 42px) 24px 20px;
}

.brand {
  position: relative;
  z-index: 2;
  width: clamp(150px, 16vw, 205px);
  margin-bottom: clamp(8px, 1.5vh, 18px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.construction {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 760px);
  text-align: center;
}

.illustration {
  width: min(100%, clamp(300px, 43vh, 430px));
  margin: -4px auto clamp(4px, 1vh, 12px);
}

.illustration svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.cloud {
  fill: none;
  stroke: #cbd7dc;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.cloud--left {
  animation: cloud-drift-left 7s ease-in-out infinite;
}

.cloud--right {
  animation: cloud-drift-right 8s ease-in-out infinite;
}

.crane {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.crane__cable-frame {
  stroke: var(--orange);
}

.crane__jib {
  fill: rgba(255, 152, 24, 0.08);
  stroke: var(--orange);
}

.crane__tower {
  fill: rgba(71, 159, 211, 0.1);
  stroke: var(--blue-dark);
}

.crane__cabin {
  fill: #fff;
  stroke: var(--ink);
}

.crane__window {
  fill: var(--blue-soft);
  stroke: var(--blue);
}

.browser__body {
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 4;
}

.browser__top,
.browser__address,
.browser__menu {
  fill: none;
  stroke: var(--line);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.browser__dot {
  stroke: none;
}

.browser__dot--orange {
  fill: var(--orange);
}

.browser__dot--blue {
  fill: var(--blue);
}

.browser__screen {
  fill: var(--blue-soft);
  stroke: var(--blue);
  stroke-width: 3;
}

.screen-content {
  fill: none;
  stroke: #9ac8df;
  stroke-linecap: round;
  stroke-width: 5;
}

.screen-content__button {
  fill: rgba(255, 152, 24, 0.16);
  stroke: var(--orange);
  stroke-width: 3;
}

.build-progress {
  fill: none;
  stroke: #e5ecef;
  stroke-linecap: round;
  stroke-width: 8;
}

.build-progress__fill {
  stroke: var(--blue);
  animation: progress-build 3s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: left;
}

.lift-system {
  animation: trolley-travel 7s ease-in-out infinite;
}

.trolley {
  fill: var(--orange-soft);
  stroke: var(--orange);
  stroke-width: 4;
}

.moving-cable,
.hook,
.sign-rope {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.moving-cable {
  animation: cable-stretch 3.5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center top;
}

.load {
  animation: load-rise 3.5s ease-in-out infinite;
}

.swinging-sign {
  animation: sign-swing 3.5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center top;
}

.sign-board rect {
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 4;
}

.sign-leaf {
  fill: var(--orange);
  stroke: none;
}

.sign-leaf-line {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-width: 3;
}

.sign-mark {
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-width: 5;
}

.ground {
  fill: none;
  stroke: #c7d4d9;
  stroke-linecap: round;
  stroke-width: 4;
}

.spark {
  fill: none;
  stroke: var(--orange);
  stroke-linecap: round;
  stroke-width: 4;
  animation: spark-pulse 1.8s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.spark--two {
  stroke: var(--blue);
  animation-delay: -0.8s;
}

.copy {
  position: relative;
  z-index: 2;
}

.kicker {
  margin: 0 0 7px;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: clamp(35px, 5vw, 53px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.08;
  text-transform: uppercase;
}

h1 span {
  color: var(--orange);
}

.description {
  max-width: 580px;
  margin: 13px auto 17px;
  color: var(--muted);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.65;
}

.working-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 30px;
  padding: 6px 13px;
  border: 1px solid rgba(71, 159, 211, 0.2);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(237, 248, 253, 0.65);
  font-size: 11px;
  font-weight: 700;
}

.loading-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.loading-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
  animation: dot-bounce 1.2s ease-in-out infinite;
}

.loading-dots i:nth-child(2) {
  animation-delay: 0.15s;
}

.loading-dots i:nth-child(3) {
  animation-delay: 0.3s;
}

footer {
  margin-top: clamp(22px, 3vh, 34px);
  color: #a0adb3;
  font-size: 10px;
  letter-spacing: 0.03em;
}

@keyframes trolley-travel {
  0%,
  100% {
    transform: translateX(-35px);
  }
  50% {
    transform: translateX(35px);
  }
}

@keyframes cable-stretch {
  0%,
  100% {
    transform: scaleY(0.88);
  }
  50% {
    transform: scaleY(1.08);
  }
}

@keyframes load-rise {
  0%,
  100% {
    transform: translateY(-7px);
  }
  50% {
    transform: translateY(7px);
  }
}

@keyframes sign-swing {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

@keyframes progress-build {
  0%,
  100% {
    transform: scaleX(0.28);
  }
  55% {
    transform: scaleX(1);
  }
}

@keyframes dot-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes spark-pulse {
  0%,
  100% {
    transform: scale(0.7) rotate(0deg);
    opacity: 0.25;
  }
  50% {
    transform: scale(1) rotate(90deg);
    opacity: 1;
  }
}

@keyframes cloud-drift-left {
  0%,
  100% {
    transform: translateX(-7px);
  }
  50% {
    transform: translateX(7px);
  }
}

@keyframes cloud-drift-right {
  0%,
  100% {
    transform: translateX(8px);
  }
  50% {
    transform: translateX(-8px);
  }
}

@media (max-height: 760px) and (min-width: 600px) {
  .page {
    padding-top: 18px;
  }

  .brand {
    width: 145px;
    margin-bottom: 0;
  }

  .illustration {
    width: min(100%, 330px);
  }

  .description {
    margin-block: 9px 12px;
  }

  footer {
    margin-top: 14px;
  }
}

@media (max-width: 560px) {
  .page {
    padding: 22px 18px 16px;
  }

  .brand {
    width: 150px;
    margin-bottom: 2px;
  }

  .illustration {
    width: min(100%, 350px);
  }

  .kicker {
    font-size: 9px;
  }

  h1 {
    font-size: clamp(32px, 10.6vw, 44px);
  }

  h1 span {
    display: block;
  }

  .description {
    max-width: 350px;
    margin-top: 11px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
