:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #dff3ff;
  color: #183857;
}

* { box-sizing: border-box; }

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

body {
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 14%, rgba(255, 255, 255, 0.98) 0, rgba(255, 255, 255, 0) 28%),
    linear-gradient(180deg, #c9ebff 0%, #e8f7ff 52%, #f8fcff 100%);
}

.sky { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }

.sun-glow {
  position: absolute;
  top: 5%;
  left: 50%;
  width: min(62vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  filter: blur(80px);
  transform: translateX(-50%);
}

.cloud {
  position: absolute;
  width: 24rem;
  height: 7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 28px 45px rgba(75, 145, 188, 0.09),
    inset 0 -12px 28px rgba(146, 205, 236, 0.13);
  filter: blur(0.4px);
  opacity: 0.78;
}

.cloud i {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: inherit;
}

.cloud i:nth-child(1) { width: 9.5rem; height: 9.5rem; left: 3rem; bottom: 1.4rem; }
.cloud i:nth-child(2) { width: 12rem; height: 12rem; left: 8rem; bottom: 0.4rem; }
.cloud i:nth-child(3) { width: 7.5rem; height: 7.5rem; right: 1.8rem; bottom: 1.1rem; }

.cloud-a {
  top: 12%;
  left: -9rem;
  transform: scale(0.78);
  animation: drift-right 34s ease-in-out infinite alternate;
}

.cloud-b {
  top: 18%;
  right: -8rem;
  transform: scale(0.58);
  opacity: 0.6;
  animation: drift-left 40s ease-in-out infinite alternate;
}

.cloud-c {
  bottom: 6%;
  left: -4rem;
  width: 34rem;
  transform: scale(1.12);
  opacity: 0.7;
  animation: float-low 17s ease-in-out infinite;
}

.cloud-d {
  right: -5rem;
  bottom: 1%;
  width: 31rem;
  transform: scale(1.2);
  opacity: 0.8;
  animation: float-low 21s ease-in-out infinite reverse;
}

.haze {
  position: absolute;
  bottom: -12%;
  width: 70vw;
  height: 35vh;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  filter: blur(70px);
}

.haze-a { left: -12%; }
.haze-b { right: -16%; }

main {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100svh;
  place-content: center;
  justify-items: center;
  padding: 2rem;
  transform: translateY(-2vh);
  animation: arrive 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.wordmark {
  display: flex;
  align-items: baseline;
  color: #163d62;
  font-size: clamp(3.6rem, 10vw, 8.8rem);
  font-weight: 720;
  letter-spacing: -0.075em;
  line-height: 0.92;
  text-shadow: 0 20px 50px rgba(38, 105, 151, 0.12);
}

.dots {
  display: inline-flex;
  gap: 0.09em;
  margin-left: 0.13em;
  transform: translateY(-0.02em);
}

.dots i {
  display: block;
  width: 0.095em;
  height: 0.095em;
  border-radius: 50%;
  background: #55aee2;
  animation: breathe 2.4s ease-in-out infinite;
}

.dots i:nth-child(2) { animation-delay: 0.22s; }
.dots i:nth-child(3) { animation-delay: 0.44s; }

main p {
  margin: 1.7rem 0 0;
  color: rgba(25, 68, 101, 0.58);
  font-size: clamp(0.72rem, 1.3vw, 0.88rem);
  font-weight: 650;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

@keyframes arrive {
  from { opacity: 0; transform: translateY(1vh); filter: blur(8px); }
  to { opacity: 1; transform: translateY(-2vh); filter: blur(0); }
}

@keyframes breathe {
  0%, 65%, 100% { opacity: 0.32; transform: translateY(0); }
  32% { opacity: 1; transform: translateY(-0.07em); }
}

@keyframes drift-right {
  from { translate: 0 0; }
  to { translate: 12vw 2vh; }
}

@keyframes drift-left {
  from { translate: 0 0; }
  to { translate: -14vw 3vh; }
}

@keyframes float-low {
  0%, 100% { translate: 0 0; }
  50% { translate: 4vw -2.4vh; }
}

@media (max-width: 640px) {
  .wordmark { font-size: clamp(3.15rem, 17vw, 5.2rem); }
  main p { margin-top: 1.35rem; letter-spacing: 0.26em; }
  .cloud-a { top: 10%; left: -15rem; }
  .cloud-b { top: 22%; right: -14rem; }
  .cloud-c { left: -18rem; bottom: 3%; }
  .cloud-d { right: -17rem; bottom: -2%; }
}

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