body {
  display:  flex;
  justify-content: center;
  flex-direction: column;
  align-items:  center;
  background-color: black;
}

html * {
  line-height: 1.2;
}

img {
  max-width: 100%;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#hero {
  width: 100vw;
  height: 100vw;
  position: relative;
  overflow: hidden;
  background-color: #231B18;
}

@media screen and (orientation: landscape) {
  #hero {
    height: 100vh;
  }
}

.hero-logo {
  position: absolute;
  top: 24px;
  left: 24px;
}

.tile__image {
  position: absolute;
  height: 100%;
  width: 100%;
  opacity: 0;
  background-size: cover;
  color: white;
}
#hero-background, #hero-background-text {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
#hero-background-text {
  position: absolute;
  top: 0;
  left: 0;
  animation: slidein 1.2s 0.1s forwards ease-in-out;
}
@keyframes slidein {
  0% {
    transform: translateY(1vh);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
#hero-background {
  transition: opacity 0.8s;
  opacity: 0;
}
#hero-background.loaded {
  opacity: 1;
}
.tile__image:nth-child(1) {
  background-image: url('https://talkpillowtalk.s3.us-east-2.amazonaws.com/mobile/hero-bg-01.png');
}

@media screen and (orientation: landscape) {
  .tile__image:nth-child(1) {
    background-image: url('https://talkpillowtalk.s3.us-east-2.amazonaws.com/hero-bg-01.png');
  }
}

.tile__image:nth-child(2) {
  background-image: url('https://talkpillowtalk.s3.us-east-2.amazonaws.com/mobile/hero-bg-02.png');
}

@media screen and (orientation: landscape) {
  .tile__image:nth-child(2) {
    background-image: url('https://talkpillowtalk.s3.us-east-2.amazonaws.com/hero-bg-02.png');
  }
}

.tile__image:nth-child(3) {
  background-image: url('https://talkpillowtalk.s3.us-east-2.amazonaws.com/mobile/hero-bg-03.png');
}

@media screen and (orientation: landscape) {
  .tile__image:nth-child(3) {
    background-image: url('https://talkpillowtalk.s3.us-east-2.amazonaws.com/hero-bg-03.png');
  }
}

.tile__image:nth-child(4) {
  background-image: url('https://talkpillowtalk.s3.us-east-2.amazonaws.com/mobile/hero-bg-04.png');
}

@media screen and (orientation: landscape) {
  .tile__image:nth-child(4) {
    background-image: url('https://talkpillowtalk.s3.us-east-2.amazonaws.com/hero-bg-04.png');
  }
}

.tile__image:nth-child(5) {
  background-image: url('https://talkpillowtalk.s3.us-east-2.amazonaws.com/mobile/hero-bg-05.png');
}

@media screen and (orientation: landscape) {
  .tile__image:nth-child(5) {
    background-image: url('https://talkpillowtalk.s3.us-east-2.amazonaws.com/hero-bg-05.png');
  }
}

.bg-gray-1 {
  background-color: var(--color-gray-1);
}

.bg-gray-2 {
  background-color: var(--color-gray-2);
}

.bg-olive-gray {
  background-color: var(--color-olive-gray);
}

.bg-brown {
  background-color: var(--color-brown);
}

.bg-brown-2 {
  background-color: var(--color-brown-2);
}

.bg-green-acid {
  background-color: var(--color-green-acid);
}

.bg-green-pale {
  background-color: var(--color-green-pale);
}

.bg-green-olive {
  background-color: var(--color-green-olive);
}

.bg-green-olive-2 {
  background-color: var(--color-green-olive-2);
}

.bg-yellow {
  background-color: var(--color-yellow);
}

.bg-peach {
  background-color: var(--color-peach);
}

.bg-navy {
  background-color: var(--color-navy);
}

.bg-blue-1 {
  background-color: var(--color-blue-1);
}

.bg-blue-2 {
  background-color: var(--color-blue-2);
}

.bg-blue-3 {
  background-color: var(--color-blue-3);
}

.hero-apply-button {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
  bottom: 60px;
}
@media screen and (orientation: landscape) and (min-height: 768px) and (min-width: 768px){
  .hero-apply-button {
    bottom: 224px;
  }
}

.main-content {
  background-color: var(--color-blue-2);
  border-radius: 0px 0 24px 24px;
  text-align: center;
  transition: opacity 0.8s;
}

.main-content section {
  padding-top: 48px;
}

.why div {
  margin: 0 auto;
}

section.why {
  padding: 40px 16px 8px;
}

.why > div {
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0.7;
}

.why h2 {
  padding-bottom: 24px;
}

.product-showcase .content {
  padding: 12px 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.product-showcase .content > div > div {
  padding: 0 32px 0 16px;
}

.product-showcase .image {
  height: calc((100vw - 32px) / (396/379));
  width: 100%;
  background-size: cover;
  border-radius: 20px;
}

#screen-record {
  background-image: url("https://talkpillowtalk.s3.us-east-2.amazonaws.com/mobile/screen-record.png");
}
#screen-insights {
  background-image: url("https://talkpillowtalk.s3.us-east-2.amazonaws.com/mobile/screen-insights.png");
}
#screen-lp {
  background-image: url("https://talkpillowtalk.s3.us-east-2.amazonaws.com/mobile/screen-lp.png");
}

@media (min-width: 768px) {
  .product-showcase .image {
    height: calc(((100vw - 80px)/3) / (545/600));
    border-radius: 32px;
  }
  #screen-record {
    background-image: url("https://talkpillowtalk.s3.us-east-2.amazonaws.com/screen-record.png");
  }
  #screen-insights {
    background-image: url("https://talkpillowtalk.s3.us-east-2.amazonaws.com/screen-insights.png");
  }
  #screen-lp {
    background-image: url("https://talkpillowtalk.s3.us-east-2.amazonaws.com/screen-lp.png");
  }
  .main-content section {
    padding-top: 0px;
  }
  section.why {
    padding-top: 0px;
  }
  .why div {
    width: 80%;
    max-width: 1084px;
  }

  .product-showcase .content {
    padding: 16px 24px;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
  }

  .product-showcase .content > div {
    flex: 1;
  }
  .product-showcase .content > div > div {
    padding: 0 24px;
  }

  .product-showcase .content > div img {
    border-radius: 32px;
  }
}

.pill-button {
  border-radius: 50px;
  background: #E3FF92;
  padding: 12px 40px;
  color: black;
  display:inline-block;
  text-wrap: nowrap;
  font-size: 12px;
  font-weight: 400;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none;
  text-align: center;
}
.pill-button.peach {
  background-color: var(--color-peach-2);
}

@media screen and (min-width: 768px) {
  .product-showcase .content {
    padding: 40px 24px 24px;
  }
  a.pill-button {
    font-size: 18px;
  }
  .community-showcase {
    padding-bottom: 24px;
  }
}

.testimonials-ticker {
  max-width: 100vw;
  overflow: hidden;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonial-row {
  display: flex;
  width: 100%;
}

.testimonial-row p {
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  .testimonials-ticker {
    padding-top: 40px;
    padding-bottom: 64px;
    gap: 16px;
  }
  .testimonial-row p {
    font-size: 16px;
  }
}

.testimonial {
  margin-right: 8px;
  display: flex;
  text-align: left;
  min-width: 360px;
  padding: 16px;
  border-radius: 32px;
  gap: 12px;
}

.testimonial > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.testimonial img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
}

@media screen and (min-width: 768px) {
  .testimonial {
    margin-right: 16px;
    gap: 16px;
    border-radius: 48px;
    min-width: 648px;
    padding: 24px;
  }

  .testimonial > div {
    padding-top: 8px;
    gap: 8px;
  }

  .testimonial img {
    width: 108px;
    height: 108px;
  }
}

.testimonial.bg-blue-2, .testimonial.bg-blue-3, .testimonial.bg-navy {
  color: white;
}

.testimonials-ticker > .testimonial-row:hover {
  animation-play-state: paused;
}

.testimonial-row:nth-child(1) {
  animation: ticker-left-mobile 300s linear infinite;
}

.testimonial-row:nth-child(2) {
  animation: ticker-right-mobile 340s linear infinite;
}

.testimonial-row:nth-child(3) {
  display: none;
}
@media screen and (min-width: 768px) {
  .testimonial-row:nth-child(3) {
    display: flex;
    animation: ticker-left-bottom 900s linear infinite;
  }
  .testimonial-row:nth-child(1) {
    animation: ticker-left 400s linear infinite;
  }
  
  .testimonial-row:nth-child(2) {
    animation: ticker-right 440s linear infinite;
  }
}

/* mobile width 360px + gap 8px */
/* desktop width 640px + gap 16px */
/* 9 each in row */
/* 9 * (648 + 16) */
@keyframes ticker-left-mobile {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(-3312px);
  }
}

@keyframes ticker-right-mobile {
  0% {
    transform: translateX(-3312px);
  }
  100% {
    transform: translateX(0px);
  }
}

@keyframes ticker-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-5976px);
  }
}


/* 9 * (648 + 16) */
@keyframes ticker-left-bottom {
  0% {
    transform: translateX(-1660px);
  }
  100% {
    transform: translateX(-7636px);
  }
}

@keyframes ticker-right {
  0% {
    transform: translateX(-5976px);
  }
  100% {
    transform: translateX(0px);
  }
}

.guided-prompts {
  padding: 56px 8px 0;
}

.guided-prompts h3 {
  font-size: 16px;
  padding-top: 4px;
}

.guided-prompts p {
  display: none;
}

.guided-prompts .two-up {
  display: flex;
  gap: 8px;
}

.guided-prompts .two-up > div {
  flex: 1;
}

.guided-prompts .content {
  padding: 10px 0 24px;
}

.guided-prompts .content > div {
  text-align: left;
  padding-bottom: 64px;
}

.guided-prompts .content .text {
  padding: 0 16px;
}
#research-refresh {
  background-image: url("https://talkpillowtalk.s3.us-east-2.amazonaws.com/mobile/research-refresh.jpg");
  height: calc((100vw - 24px) / 2 / (202 / 177));
}
#research-sleep {
  background-image: url("https://talkpillowtalk.s3.us-east-2.amazonaws.com/mobile/research-sleep.jpg");
  height: calc((100vw - 24px) / 2 / (202 / 236));
}
#research-change {
  background-image: url("https://talkpillowtalk.s3.us-east-2.amazonaws.com/mobile/research-change.jpg");
  height: calc((100vw - 24px) / 2 / (202 / 232));
}
#research-creativity {
  background-image: url("https://talkpillowtalk.s3.us-east-2.amazonaws.com/mobile/research-creativity.jpg");
  height: calc((100vw - 24px) / 2 / (202 / 177));
}
#research-connections {
  background-image: url("https://talkpillowtalk.s3.us-east-2.amazonaws.com/mobile/research-connections.jpg");
  height: calc((100vw - 16px) / (412 / 268));
}

@media screen and (min-width: 768px) {
  .guided-prompts .content .text {
    padding: 0 32px 0 24px;
  }
  #research-refresh {
    background-image: url("https://talkpillowtalk.s3.us-east-2.amazonaws.com/research-refresh.jpg");
    height: calc((100vw - 64px) / 2 / (800 / 563));
  }
  #research-sleep {
    background-image: url("https://talkpillowtalk.s3.us-east-2.amazonaws.com/research-sleep.jpg");
    height: calc((100vw - 64px) / 2 / (829 / 744));
  }
  #research-change {
    background-image: url("https://talkpillowtalk.s3.us-east-2.amazonaws.com/research-change.jpg");
    height: calc((100vw - 64px) / 2 / (794 / 870));
  }
  #research-creativity {
    background-image: url("https://talkpillowtalk.s3.us-east-2.amazonaws.com/research-creativity.jpg");
    height: calc((100vw - 64px) / 2 / (816 / 611));
  }
  #research-connections {
    background-image: url("https://talkpillowtalk.s3.us-east-2.amazonaws.com/research-connections.jpg");
    height: calc((100vw - 48px) / (1647 / 1073));
  }
  .guided-prompts {
    padding: 24px 24px 176px;
  }
  .guided-prompts h2 {
    max-width: 1100px;
    margin: 0 auto;
  }

  .guided-prompts > div {
    text-align: left;
    padding-bottom: 72px;
  }

  .guided-prompts .two-up {
    gap: 16px;
  }

  .guided-prompts p {
    display: block;
    font-size: 16px;
  }

  .guided-prompts h3 {
    font-size: 28px;
    padding: 16px 0 8px 0;
  }
  .guided-prompts .content {
    padding: 40px 0 24px;
  }
  .guided-prompts .content > div {
    padding-bottom: 72px;
  }
}

footer {
  color: white;
  padding: 88px 24px 40px;
  width: 100%;
}

footer h1 {
  padding-bottom: 16px;
  margin: 0;
  line-height:1;
}

footer > p {
  font-weight: 100;
  font-size: 16px;
  padding-right: 16px;
  max-width: 656px;
  color: var(--color-gray-0);
}

footer a, footer button {
  color: var(--color-gray-0);
  padding: 2px 0;
  display: block;
}

footer svg {
  padding-top: 4px;
}

footer .content {
  padding: 48px 0;
}

footer .content .mobile-footer {
  display: flex;
  gap: 48px;
  flex-direction: column;
}
@media screen and (min-width: 425px) {
  footer .content .mobile-footer {
    flex-direction: row;
  }
}

footer .content .mobile-footer > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
}

footer .content .mobile-footer > div > div {
  justify-content: flex-start;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

footer .content .medium-footer {
  display: none;
}

@media screen and (min-width: 768px) {
  footer {
    padding: 104px 32px;
  }

  footer .content {
    padding: 88px 0;
  }

  footer .content .mobile-footer {
    display: none;
  }

  footer .content .medium-footer {
    display: flex;
    gap: 24px;
  }

  footer .content .medium-footer > div {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  footer .content .medium-footer > div h4 {
    font-size: 20px;
    padding-bottom: 4px;
  }

  footer .content .medium-footer > div .resource-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}

@media screen and (min-width: 1024px) {
  footer {
    padding: 160px 104px 104px;
  }
}

.hide-until-medium {
  display: none;
}

@media screen and (min-width: 768px) {
  .hide-until-medium {
    display: inherit;
  }
}

.hide-at-medium {
  display: block;
}

@media screen and (min-width: 768px) {
  .hide-at-medium {
    display: none;
  }
}

.full-content {
  position: relative;
  overflow: hidden;
}

.full-content .modal {
  position: absolute;
  min-height: 100%;
  background-color: white;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 2s;
  /* opacity: 0; */
  border-radius: 0px 0 24px 24px;
  padding: 16px;
}

.full-content .modal .header {
  padding: 8px;
}

.full-content .modal .header .logo {
  width: 25%;
}

.full-content .modal .header .logo svg {
  width: 140px;
  max-width: 100%;
}

.full-content .modal .header .exit {
  background-color: var(--color-gray-0);
  border-radius: 100px;
  width: 48px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 24px;
  right: 24px;
}

.full-content .modal h2 {
  padding: 0;
}

.full-content .modal .content h1 {
  padding: 112px 0 96px;
}

.full-content .modal .content > div {
  display: none;
}

.full-content .modal .content > div.show {
  display: block;
}

.full-content .modal .content #terms, .full-content .modal .content #privacy {
  padding: 8px;
}

.full-content .modal .content #terms h1, .full-content .modal .content #privacy h1 {
  font-size: 48px;
}

@media screen and (min-width: 430px) {
  .full-content .modal .content #terms h1, .full-content .modal .content #privacy h1 {
    font-size: 64px;
  }
}

@media screen and (min-width: 768px) {
  .full-content .modal .content #terms h1, .full-content .modal .content #privacy h1 {
    font-size: 104px;
  }
}

@media screen and (min-width: 1076px) {
  .full-content .modal .content #terms h1, .full-content .modal .content #privacy h1 {
    font-size: 160px;
    line-height: 1;
  }
}

.full-content .modal .content #terms h3, .full-content .modal .content #privacy h3 {
  padding: 20px 0;
}

.full-content .modal .content #terms p, .full-content .modal .content #privacy p {
  padding-bottom: 12px;
}

@media screen and (min-width: 768px) {
  .full-content .modal .content #terms, .full-content .modal .content #privacy {
    padding: 40px;
  }
}

@media screen and (min-width: 768px) {
  .full-content .modal .header .exit {
    width: 80px;
    height: 60px;
  }
  .full-content .modal .header .exit svg {
    height: 16px;
    width: 16px;
  }
}

.full-content .modal.hidden {
  display: none;
  opacity: 1;
}

.modal a {
  font-weight: 800;
  color: #FF8074;
}

.ripple {
  background-size: cover;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .ripple {
    border-radius: 32px;
  }
}

/* Sign up form modal */

.form-container {
  position: fixed;
  background-color: white;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
#form-content {
  flex-direction: column;
  display: flex;
  position: relative;
}
#form-content .submit-button-wrapper {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(180deg, transparent, white);
}
.modal-screen {
  overflow: scroll;
  height: 100%;
  width: 100%;
}

form .spacer {
  padding: 32px;
  width: 100%;
}
#form-content > div:first-child {
  flex: 1;
  background-image: url("https://talkpillowtalk.s3.us-east-2.amazonaws.com/mobile/form-image.jpg");
  background-size: cover;
  background-position: center;
}
#form-content > :nth-child(2) {
  flex-basis: min-content;
}
#form-content > div:nth-child(1) {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  color: white;
  padding: 72px 0;
  text-align: center;
}
.form-container .exit {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 24px;
  right: 24px;
  background-color: var(--color-gray);
  border-radius: 50px;
  height: 28px;
  width: 40px;
}

.form-container #form-success .exit {
  background-color: var(--color-green-dark-2);
}
.form-container #form-success .exit path{
  fill: white;
}

form {
  display: flex;
  flex-direction:column;
  gap: 20px;
  padding: 32px 24px 0;
  min-height: 50%;
}

form .pill-button {
  height: 54px;
  font-size: 16px;
}

.form-field {
  position: relative;
}

.radio-buttons {
  padding-bottom: 24px;
}
.radio-buttons p {
  padding: 16px 16px 8px;
}

.radio-buttons label {
  display: inline-block;
  width: 120px;
  padding: 6px;
  border: solid 1px #000;
  transition: all 0.3s;
  line-height: 26px;
  text-align: center;
  border-radius: 100px;
  margin: 8px 0px 0px 8px;
  cursor: pointer;
}

.radio-buttons input[type="radio"] {
  display: none;
}

.radio-buttons input[type="radio"]:checked + label {
  background-color: #464646;
  border-color: #464646;
  color: white;
}


/* Add focus styles for radio buttons */
.radio-buttons input[type="radio"]:focus + label {
  border: solid 3px #000;
}

/* Add hover styles for labels */
.radio-buttons label:hover {
  background-color: #e0e0e0;
}

.lz-label {
  position: absolute;
  left: 16px;
  top: 12px;
  font-size: 16px;
  font-weight: 200;
  color: #000;
  opacity: 0.4;
  transition: all 0.3s ease;
  pointer-events: none;
}

input[type="text"]:focus ~ .lz-label,
input[type="text"]:not(:placeholder-shown) ~ .lz-label,
input[type="email"]:focus ~ .lz-label,
input[type="email"]:not(:placeholder-shown) ~ .lz-label {
  display: block;
  color: black;
  top: -16px;
  font-size: 12px;
  opacity: 1;
}

label .optional {
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
}

input[type="text"]:focus ~ .lz-label .optional,
input[type="text"]:not(:placeholder-shown) ~ .lz-label .optional {
  opacity: 1;
}
textarea,
input {
  outline: none;
  border: 0;
  background-color: var(--color-gray);
  height: 48px;
  border-radius: 100px;
  width: 100%;
  padding: 0 16px;
  font-size: 16px;
}
#sign-up-modal {
  display: block;
  opacity: 1;
  transition: opacity 0.8s ease-in;
}
#sign-up-modal.hidden{
  display: none;
}
#pre-order-modal {
  display: block;
  opacity: 0;
  transform: scale3d(0.8,0.8,0.8);
  transition: all 0.2s ease-in;
}
#pre-order-modal.show {
  opacity: 1;
  transform: scale3d(1,1,1);
  transition: all 0.2s ease-in;
}

#pre-order-modal.hidden {
  display: none;
}
#pre-order-modal #form-content > div:first-child {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 64px;
  justify-content: center;
  padding: 0 16px;
}
#pre-order-modal #form-content > div:first-child > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#form-content > div:first-child svg {
  width: 100%;
  height: auto;
  padding: 0 8px;
}

#form-content .logo svg{
  display: none;
}
.modal-screen {
  transition: opacity 0.8s;
}
.modal-screen.hidden {
  opacity: 0;
  height: 0;
  padding: 0 !important;
}

#form-success {
  background-color: var(--color-green-dark-1);
  color: white;
  text-align: center;
  padding: 120px 24px 64px;
  display: flex;
  flex-direction: column;
  overflow: scroll;
  gap: 16px;
}

#form-success h2 {
  padding: 32px 0 16px;
}
#form-success p {
  padding-bottom:16px;
}

#form-success .pill-button {
  padding: 18px;
  font-size: 16px;
  width: 100%;
  margin: 0 auto;
}

#form-success form {
  min-height: auto;
  padding: 32px 0 16px;
}

#form-success .form-field input {
  color: white;
  background-color: var(--color-green-dark-2);
}
#form-success .lz-label {
  color: white;
}

#form-success form > div {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
}

.radio-buttons > div {
  display: flex;
  flex-wrap: nowrap;
}

/* Hide the last button on mobile */
.radio-buttons > div label:last-child {
  display: none;
}

#form-success > div {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

#form-success > div > div{
  padding: 0 24px;
}

#nav-apply-button {
  position: fixed;
  bottom: 8px;
  right: 50%;
  transform: translateX(50%);
  display: block;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

#nav-apply-button.hidden {
  display: none;
}

#nav-apply-button.show {
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}

@media screen and (min-width: 375px) {
  .radio-buttons label {
    width: 150px;
    padding: 10px;
  }
  label .optional {
    opacity: 1;
  }
}

@media screen and (min-width: 535px) {
  /* Hide the last button on mobile */
  .radio-buttons > div label:last-child {
    display: inline-block;
    #form-success > div > div{
      padding: 0 32px;
    }
    #form-success > div > div{
      padding: 0 32px;
    }
  }
}

@media screen and (min-width: 768px) and (orientation: landscape) {
  #nav-apply-button {
    bottom: unset;
    transform: none;
    top: 24px;
    right: 40px;
  }
  #form-success > div > div{
    padding: 0 32px;
  }
  #form-success form > div {
    flex-direction: row;
    width: 100%;
    gap: 8px;
  }
  #form-success .form-field {
    flex: 1;
  }
  #form-success form {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .form-container .exit svg {
    height: 12px;
    width: 12px;
  }
  .form-container {
    --spacing: 24px;
    margin: var(--spacing);
    width: calc(100% - (2 * var(--spacing)));
    height: calc(100vh - (2 * var(--spacing)));
    border-radius: 32px;
  }
  #form-content {
    display: flex;
    flex-direction: row;
    overflow: hidden;
  }
  .form-container .exit {
    height: 48px;
    width: 68px;
    top: calc(32px + var(--spacing));
    right: calc(32px + var(--spacing));
   }
   #form-content > div:first-child {
     flex: 1 1 auto;
     padding: 0 16px;
     justify-content: center;
     max-width: 50%;
     min-width: 324px;
     position: sticky;
     top: 0;
     background-image: url("https://talkpillowtalk.s3.us-east-2.amazonaws.com/form-image.jpg");
   }
   #form-content > div:first-child svg {
     width: 280px;
     height: 64px;
   }

   #form-content > div:nth-child(2) {
    flex: 1 2 min-content;
    overflow: scroll;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  #form-content .logo svg{
    display: block;
    margin: 60px auto 10px;
  }
  form {
    padding: 32px 32px 0;
  }
  #form-success {
    padding: 80px 24px;
  }
  #form-success p {
    font-size: 24px;
  }
  #form-success h2 {
    max-width: 770px;
    margin: 0 auto;
  }

  #form-content .submit-button-wrapper {
    position: sticky;
    padding: 24px 0;
  }
}


@media screen and (min-width: 1024px) and (orientation: landscape) {
  .form-container {
    --spacing: 40px;
  }
  .form-container .pill-button {
    padding: 20px;
    height: 60px;
  }
}
@media screen and (min-width: 1440px) and (orientation: landscape) {
  .form-container .logo svg{
    margin: 60px auto 64px; 
  }
  #form-content > div:first-child {
    width: 40%;
  }
  #form-content > div:nth-child(2) {
    width: 60%;
  }
  #form-content > div:first-child svg {
    width: 380px;
    height: 84px;
  }
  #pre-order-modal #form-content > div:first-child svg {
    width: 640px;
    height: auto;
  }
  #pre-order-modal #form-content > div:first-child p {
    font-size: 24px;
  }
  @media screen and (min-height: 750px) {
    .form-container .logo svg{
      margin: 120px auto 64px; 
    }
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
