@media only screen and (max-width:991px) {
  .container {
    padding: 0 15px;
  }

  .thank-you .container {
    padding: 0 15px;
  }

  .thank-you p.arrowright img {
    position: relative;
    right: 0;
    bottom: 0;
    left: 10px;
  }
 
}

@media only screen and (max-width:767px) {

  .thank-you .container {
    padding: 0 15px;
  }

  .thank-you .logo {
    margin-bottom: 10px;
  }

  .thank-you .thank-title {
    font-size: 24px;
    margin: 0;
  }

  .thank-you .thank-title img.heart {
    width: 35px;
  }

  .thank-you .thank-sub {
    font-size: 22px;
  }

  .thank-you p.arrowright img {
    right: 0;
  }

  .thank-you .letter .highlight {
    margin-right: 5px;
  }

  .thank-you .letter p {
    margin-bottom: 12px;
    font-size: 18px;
  }

  .thank-you .letter {
    margin: 20px auto;
    margin-top: 30px;
  }
}


@media only screen and (max-width:374px) {
  .thank-you .thank-title {
    font-size: 40px;
  }

  .thank-you .thank-sub {
    font-size: 31px;
  }

  .thank-you .letter {
    margin: 35px auto;
  }

  .thank-you .letter p {
    font-size: 16px;
    line-height: 30px;
  }

}



/* index file responsive */

@media only screen and (min-width: 991px) {
  .thank-you p.arrowright img {
    position: absolute;
  }
}

@media (min-width: 1441px) and (max-width: 1573px) {

  .logo {
    margin-bottom: 30px;
  }

  .headline p {
    font-size: 19px;
  }

  .headline h1 {
    font-size: 30px;
  }

  .headline p.sub {
    font-size: 15px;
  }

  .cw-logo {
    height: 12px;
  }

  .form-section p.limited {
    font-size: 15.5px;
  }

  p.counter {
    font-size: 19px;
  }
}

@media (min-width: 1201px) and (max-width: 1440px) {
  .logo {
    max-width: 220px;
  }

  .headline p {
    font-size: 19px;
  }

  .headline h1 {
    font-size: 30px;
    line-height: 45px;
    margin: 0;
  }

  .headline p.sub {
    font-size: 15px;
  }

  .cw-logo {
    height: 12px;
  }

  p.counter {
    font-size: 16px;
  }

  .form-section p.limited {
    font-size: 17px;
  }

  #waitlistForm input {
    font-size: 14px;
  }

  #waitlistForm button {
    font-size: 14px;
  }

  #waitlistForm button img {
    padding-left: 6px;
    height: 10px;
  }

  #error-message {
    bottom: 3px;
  }
}

@media (max-width: 1500px) {
  .hero::after {
    width: 100%;
    height: 100%;
    bottom: 0;
  }

}

@media (max-width: 1200px) {
  #waitlistForm {
    width: 100%;
    height: auto;
    flex-direction: row;
    padding: 6px;
  }

  #waitlistForm input {
    font-size: 16px;
    line-height: normal;
    height: 60px;
  }

  #waitlistForm button {
    width: 300px;
    height: 60px;
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 45px 0;
  }

  .logo {
    width: 160px;
  }

  .headline h1 {
    font-size: 26px;
    line-height: 34px;
  }

  .headline p.sub {
    font-size: 20px;
  }

  #waitlistForm {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    border-radius: 25px;
    height: auto;
    padding: 20px;
  }

  #waitlistForm input,
  #waitlistForm button {
    width: 100%;
    height: 55px;
    border-radius: 25px;
    font-size: 16px;
  }


}

@media (max-width: 768px) {
  .headline h1 {
    font-size: 22px;
    line-height: 30px;
  }

  .headline p {
    font-size: 18px;
  }

  .headline p.sub {
    font-size: 18px;
    margin-top: 20px;
  }

  .form-section p.limited,
  p.counter {
    font-size: 18px;
    line-height: 26px;
  }

  #waitlistForm {
    padding: 15px;
  }

  #waitlistForm input,
  #waitlistForm button {
    font-size: 15px;
    height: 50px;
  }
  .time-card{ padding:16px 8px 8px; }
  .time-card__num{ font-size:28px; }
  .countdown{
  position: relative;
  isolation: isolate;
  max-width: min(900px, 92vw);
  margin: 0 auto;
  padding-inline: 8px;
  overflow-x: clip; /* prevents the glow from causing page overflow */
}
.countdown::before{
  content:"";
  position:absolute;
  inset:-8% -12%; /* proportional so it scales on mobile */
  background: radial-gradient(60% 50% at 50% 60%,
              rgba(254, 51, 109, 0.12) 0%,
              rgba(254, 51, 109, 0) 70%);
  filter: blur(18px);
  z-index:-1;
  pointer-events:none;
}

/* Grid */
.countdown__grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 3vw, 18px);
}

/* Cards */
.time-card{
  display:flex;
  flex-direction:column;
  align-items:center;
}

/* Number box: fluid size so 4 boxes always fit */
.time-card__num{
  position:relative;
  background:#1f2534;
  border:1px solid #404652;
  border-radius:12px;
  width: clamp(64px, 20vw, 90px);
  height: clamp(56px, 16vw, 80px);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: clamp(22px, 7vw, 32px);
  line-height:24px;
  font-weight:700;
  letter-spacing:0;
  color:#fff;
  margin-bottom:8px;
  overflow:hidden;
}

/* Two divider lines behind the number */
.time-card__num::before,
.time-card__num::after{
  content:"";
  position:absolute;
  left:8px;
  right:8px;
  height:1px;
}
.time-card__num::before{ top:49%; background:rgba(0,0,0,.35); }
.time-card__num::after { top:51%; background:rgba(255,255,255,.15); }

/* Labels */
.time-card__label{
  font-size:10px;
  line-height:24px;
  letter-spacing:0;
  color:#fff;
  font-weight:400;
}
.time-card::before {
    content: "";
    position: absolute;
    inset: -70px -200px;
    background: radial-gradient(60% 50% at 50% 60%, rgba(254, 51, 109, 0.06) 0%, rgba(254, 51, 109, 0) 70%);
    filter: blur(40px);
    z-index: -1;
}
.countdown__title{
    margin-top: 20px;
    margin-bottom: 10px;
}
}

@media (max-width: 480px) {
  .hero
  {
    padding: 20px 0;
  }
  .logo {
    width: 140px;
    margin-bottom: 30px;
  }

  .headline h1 {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 10px;
  }
  .headline p
  {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 10px;
  }
  
  .headline p.sub {
    font-size: 16px;
    line-height: 24px;
    margin: 0px;
  }
  .video-wrapper
  {
    margin-top: 30px;
    margin-bottom: 10px;
  }
  .form-section p.limited
  {
    font-size: 15px;
  }
  #waitlistForm {
    padding: 10px;
  }

  #waitlistForm input,
  #waitlistForm button {
    font-size: 14px;
    height: 45px;
  }

  #waitlistForm button {
    padding: 10px 0;
  }

  #waitlistForm button img {
    width: 20px;
    vertical-align: middle;
  }

  p.counter {
    font-size: 16px;
    line-height: 22px;
  }

}