body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-width: 100vw;
  font-family: 'Aileron', 'Segoe UI', Arial, sans-serif;
  background: #f9f6fa;
  position: relative;
  color: #181818;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.thankyou-background {
  width: 100vw;
  height: 100vh;
  background: url('assets/Qualia_background.svg') no-repeat center center;
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
}

@media (max-width: 700px) {
  .thankyou-background {
    background-size: 100vw 100vh;
    background-position: center top;
  }
}

.hero-block {
  width: 100vw;
  min-height: 0;
  background: url('assets/Qualia_background.svg') no-repeat center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  flex: 1 0 auto;
  padding: 0;
}


body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.waitlist-footer {
  position: static;
  margin-top: auto;
  margin-bottom: 4vh;
}

@media (max-width: 700px) {
  .hero-block {
    height: 100vh;
    min-height: 100vh;
    background-size: cover;
    background-position: center top;
  }
}


.waitlist-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 4vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  z-index: 10;
}

.qualia-svg-text {
  display: block;
  max-width: 4000px;
  max-height: 90vh;
  width: 180vw;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .qualia-svg-text {
    max-width: 180vw;
    width: 180vw;
    max-height: 80vh;
  }
}
@media (max-width: 700px) {
  .qualia-svg-text {
    max-width: 180vw;
    width: 180vw;
    max-height: 70vh;
  }
}



.waitlist-form {
  display: flex;
  flex-direction: row;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.8rem;
}

.waitlist-form label {
  font-weight: 500;
  color: #333;
}

.waitlist-form input[type="email"] {
  box-sizing: border-box;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 600;
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.07);
  outline: none;
  min-width: 190px;
  transition: box-shadow 0.18s;
  vertical-align: middle;
}


@media (max-width: 700px) {
  .waitlist-form input[type="email"] {
    margin-left: 4vw;
  }
}

.waitlist-form input[type="email"]:focus {
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.14);
} 

.waitlist-btn {
  box-sizing: border-box;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.10);
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.01em;
  margin-left: 0.1rem;
  vertical-align: middle;
}


@media (max-width: 700px) {
  .waitlist-btn {
    margin-right: 4vw;
  }
}

.waitlist-btn:hover {
  background: #fff;
  color: #111;
  border: 1.2px solid #111;
} 

.alt-row {
  margin-top: 0.2rem;
  font-size: 1.13rem;
  color: #222;
  text-align: center;
  font-weight: 400;
}

.alt-link {
  color: #111;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.18s;
}
.alt-link:hover {
  color: #3e61e2;
  text-decoration: underline;
}

.survey-btn {
  display: inline-block;
}

/* Mobile fix: force input and button to match height and style */
@media (max-width: 700px) {
  .waitlist-form input[type="email"],
  .waitlist-btn {
    height: 2.6rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-sizing: border-box;
    padding-top: 0;
    padding-bottom: 0;
  }
}
  background: #111;
  color: #fff;
  padding: 0.52rem 1.1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.02rem;
  border: 1.2px solid #111;
  box-shadow: none;
  margin-top: 0.3rem;
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.survey-btn.black {
  background: #111;
  color: #fff;
  border: 1.2px solid #111;
}
.survey-btn.black:hover {
  background: #fff;
  color: #111;
}

/* For completeness if you want a white survey-btn in the future: */
.survey-btn.white {
  background: #fff;
  color: #111;
  border: 1.2px solid #111;
}
.survey-btn.white:hover {
  background: #111;
  color: #fff;
}
