:root {
  --paper: #f6f5f2;
  --powder-blue: #9bb7f2;
  --ink: #172d52;
  --accent: #eaf3b2;
  --accent-hover: #dfeaa0;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
}

button,
input {
  font: inherit;
}

.coming-soon {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(2rem, 5vw, 5rem) clamp(2rem, 5vw, 5rem) clamp(6rem, 9vw, 7rem);
  background: var(--paper);
}

.cloud-frame {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("assets/cloud-frame-v3.png") center / cover no-repeat;
}

.hero {
  position: relative;
  top: clamp(0.75rem, 1.8vh, 1.15rem);
  width: min(100%, 69rem);
  margin-top: clamp(1rem, 4vh, 3rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 clamp(1.8rem, 3.4vh, 3rem);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.brand-logo-main {
  display: block;
  width: clamp(21rem, 50vw, 38rem);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 10px 18px rgb(104 138 206 / 12%));
}

h1 {
  margin: clamp(0.65rem, 1.6vh, 1.15rem) 0 0;
  font-size: clamp(2rem, 3.35vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.05;
  text-wrap: balance;
}

.intro {
  max-width: 43rem;
  margin: clamp(1rem, 2.2vh, 1.55rem) auto 0;
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.42;
  text-wrap: balance;
}

.signup {
  width: min(100%, 40rem);
  margin: clamp(2.2rem, 4vh, 3.25rem) auto 0;
}

.signup-row {
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) minmax(15rem, 0.9fr);
  gap: 0.8rem;
}

.signup input,
.signup button {
  min-height: 3.6rem;
  border-radius: 999px;
}

.signup input {
  appearance: none;
  min-width: 0;
  padding: 0.95rem 1.65rem;
  border: 1.5px solid var(--accent);
  outline: 0;
  color: var(--ink);
  background: rgb(255 255 255 / 8%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 55%), 0 8px 20px rgb(120 138 60 / 5%);
  font-size: 0.98rem;
  font-weight: 500;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.signup input::placeholder {
  color: var(--ink);
  opacity: 0.82;
}

.signup button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.9rem 1.7rem;
  border: 0;
  color: var(--ink);
  background: var(--accent);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 55%), 0 10px 24px rgb(120 138 60 / 12%);
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 500;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-arrow {
  font-size: 1.55rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 180ms ease;
}

.signup button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 62%), 0 13px 28px rgb(120 138 60 / 18%);
}

.signup button:hover .button-arrow {
  transform: translateX(3px);
}

.signup button:focus-visible,
.signup input:focus-visible {
  outline: 3px solid rgb(180 195 91 / 48%);
  outline-offset: 3px;
}

.signup button:disabled,
.signup input:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.form-message {
  min-height: 1.2rem;
  margin: 0.65rem 1rem 0;
  font-size: 0.74rem;
  font-weight: 600;
  text-align: center;
}

.form-message--success {
  color: #255b43;
}

.form-message--error {
  color: #7d2943;
}

.site-footer {
  position: absolute;
  right: clamp(1.25rem, 3vw, 2.5rem);
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  left: clamp(1.25rem, 3vw, 2.5rem);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  color: rgb(23 45 82 / 62%);
  font-size: clamp(0.68rem, 0.8vw, 0.78rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  text-align: center;
}

.footer-separator {
  opacity: 0.55;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  .coming-soon {
    padding: 2.5rem 1.25rem 5.5rem;
  }

  .cloud-frame {
    background-size: auto 100%;
  }

  .hero {
    top: 0.5rem;
    margin-top: 0;
  }

  .eyebrow {
    margin-bottom: 1.7rem;
  }

  .brand-logo-main {
    width: min(84vw, 21rem);
  }

  h1 {
    margin-top: 1.35rem;
    font-size: clamp(1.85rem, 8.5vw, 2.7rem);
  }

  .intro {
    max-width: 29rem;
    font-size: 1rem;
  }

  .signup {
    margin-top: 2rem;
  }

  .signup-row {
    grid-template-columns: 1fr;
  }

  .signup input,
  .signup button {
    min-height: 3.45rem;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 0.25rem 0.55rem;
  }
}

@media (max-height: 720px) and (min-width: 701px) {
  .coming-soon {
    padding-block: 1.5rem;
  }

  .hero {
    margin-top: 0;
    transform: scale(0.88);
  }
}

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