html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f5f5f5;
}
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}
.waitlist-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100dvh;
  background: #f5f5f5;
  display: grid;
  place-items: center;
  padding: 112px 24px 54px;
}
.waitlist-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(980px, 88vw);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.58s ease, transform 0.58s ease;
}
.waitlist-stage.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}
.waitlist-title {
  margin: 0 auto 58px;
  width: min(980px, 100%);
  font-size: clamp(46px, 5vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 400;
  color: #171717;
}
.feeling-options {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 4vw, 62px);
  flex-wrap: wrap;
}
.feeling-option {
  position: relative;
  border: 0;
  background: transparent;
  color: #171717;
  font: 300 clamp(18px, 1.65vw, 25px) / 1 Inter, Arial, sans-serif;
  letter-spacing: -0.02em;
  padding: 14px 16px;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.feeling-option:active {
  opacity: 0.6;
  transform: scale(0.97);
}
.feeling-option::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 100%;
  bottom: 7px;
  height: 1px;
  background: #171717;
  transition: right 0.75s cubic-bezier(0.22, 0.72, 0.22, 1);
}
.feeling-option:hover::after,
.feeling-option:focus-visible::after {
  right: 12px;
}
.choice-word {
  margin: 0;
  font-size: clamp(64px, 7vw, 112px);
  font-weight: 400;
  letter-spacing: -0.06em;
}
.email-title {
  margin: 0 0 52px;
  font-size: clamp(46px, 5vw, 78px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.055em;
}
.waitlist-form {
  width: min(680px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.email-input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.3);
  background: transparent;
  color: #171717;
  font-size: max(16px, clamp(22px, 2vw, 30px));
  font-family: Inter, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.025em;
  outline: none;
  padding: 14px 2px 16px;
  text-align: left;
  border-radius: 0;
  transition: border-color 0.35s ease;
}
.email-input:focus {
  border-bottom-color: rgba(23, 23, 23, 0.78);
}
.email-input::placeholder {
  color: rgba(23, 23, 23, 0.38);
}
.waitlist-note {
  margin: 24px 0 0;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: 0.005em;
  color: rgba(23, 23, 23, 0.64);
}
.join-action {
  margin-top: 34px;
  border: 0;
  background: transparent;
  color: #171717;
  font: 400 12px / 1 Inter, Arial, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 15px 24px;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.join-action:active {
  opacity: 0.6;
  transform: scale(0.97);
}
.join-action::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 100%;
  bottom: 8px;
  height: 1px;
  background: #171717;
  transition: right 0.8s cubic-bezier(0.22, 0.72, 0.22, 1);
}
.join-action:hover::after {
  right: 20px;
}
.success-copy {
  margin: 0 auto;
  width: min(900px, 90vw);
  font-size: clamp(46px, 5.4vw, 82px);
  line-height: 1.06;
  letter-spacing: -0.055em;
  font-weight: 400;
}
.success-copy--small {
  font-size: clamp(34px, 4.1vw, 62px);
}
.home-back {
  position: absolute;
  left: 50%;
  bottom: 58px;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.home-back.is-visible {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 767px) {
  .waitlist-page {
    padding: 84px 16px 36px;
  }
  .waitlist-stage {
    width: min(92vw, 720px);
  }
  .waitlist-title,
  .email-title {
    font-size: clamp(28px, 7vw, 42px);
    margin-bottom: 32px;
  }
  .feeling-options {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .feeling-option {
    width: 100%;
    max-width: 320px;
    padding: 12px 20px;
    background: rgba(23, 23, 23, 0.04);
    border-radius: 999px;
  }
  .feeling-option::after {
    display: none;
  }
  .choice-word {
    font-size: clamp(40px, 9vw, 64px);
  }
  .home-back {
    bottom: 28px;
  }
}
