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

:root {
  color-scheme: light;
  --ink: #102f55;
  --blue: #3477c7;
  --gold: #f3b63f;
  --paper: #fffdf9;
  --muted: #60748c;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 14%, rgb(243 182 63 / 15%), transparent 24rem),
    radial-gradient(circle at 88% 80%, rgb(52 119 199 / 12%), transparent 28rem),
    var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow:
    46px 24px 0 rgb(52 119 199 / 28%),
    104px 72px 0 rgb(243 182 63 / 38%),
    162px 8px 0 rgb(52 119 199 / 16%),
    225px 52px 0 rgb(243 182 63 / 22%);
}

body::before {
  top: 18%;
  left: 3%;
}

body::after {
  right: 15%;
  bottom: 18%;
  transform: rotate(165deg);
}

.coming-soon {
  width: min(100% - 40px, 760px);
  margin: auto;
  padding: 48px 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand {
  display: block;
  width: min(100%, 440px);
  height: auto;
  margin-bottom: clamp(32px, 6vh, 64px);
  mix-blend-mode: multiply;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: clamp(2.45rem, 8vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.intro {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.17rem);
  line-height: 1.7;
}

.mascot {
  position: relative;
  width: 108px;
  height: 112px;
  margin-top: 30px;
  overflow: hidden;
}

.mascot img {
  position: absolute;
  width: 101px;
  height: auto;
  left: 4px;
  top: 0;
  mix-blend-mode: multiply;
}

.progress {
  width: min(280px, 72vw);
  height: 3px;
  margin-top: 4px;
  border-radius: 999px;
  background: rgb(16 47 85 / 10%);
  overflow: hidden;
}

.progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  animation: building 2.8s ease-in-out infinite alternate;
}

footer {
  padding: 20px 24px 24px;
  color: rgb(16 47 85 / 52%);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-align: center;
}

@keyframes building {
  from {
    transform: translateX(-105%);
  }
  to {
    transform: translateX(245%);
  }
}

@media (max-width: 540px) {
  .coming-soon {
    width: min(100% - 32px, 760px);
    padding-top: 26px;
  }

  .brand {
    width: 310px;
    margin-bottom: 38px;
  }

  .intro {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .progress span {
    width: 68%;
    animation: none;
  }
}
