.large-p {
  font-size: 24px;
}

/* Buttons with a lot of text can overflow and mess up formatting on small
   screens, this stops that unless the word itself is too large. */

.btn {
  white-space: pre-line;
}

.landing-page ul {
  list-style: none;
  padding-inline-start: 0;
}

#featured-logos {
  max-width: 600px;
}
.landing-top h1:first-child {
  margin-top: 0;
}

.landing-page .landing-page-happy {
  font-size: 1.1rem;
  margin-top: 0;
}

figcaption.caption {
  margin: 10px 0 0;
  font-weight: 600;
  text-align: center;
  color: var(--quaternary-color);
}

.as-seen-in {
  background-color: var(--gray-75);
  color: var(--gray-15);
  padding-inline: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.as-seen-in .big-heading {
  color: var(--gray-15);
  margin-top: 0;
}

.landing-page .big-heading {
  height: 100%;
  margin-bottom: 40px;
  line-height: 1.1;
  font-weight: 700;
}

.logo-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: center;
  margin: 10px 0;
}

.logo-row svg {
  height: 40px;
}

.faq-question {
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
}

@media (min-width: 370px) {
  .logo-row svg {
    margin: 5px 15px;
  }
}

@media (min-width: 480px) {
  .logo-row svg {
    height: 25px;
    margin: 5px;
  }
}

@media (min-width: 550px) {
  .logo-row {
    justify-content: space-between;
  }

  .logo-row svg {
    height: 40px;
  }
}

.landing-top p {
  font-size: 1.2rem;
  margin: 0.6rem 0;
}

/* testimonials */

.testimonials-row {
  --image-size: min(320px, 350px);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
}

.testimonials p,
.testimonials strong {
  font-size: 1.1rem;
  margin: 0;
}
.testimonial-meta p:last-child {
  margin-top: 15px;
}

.testimonial-card {
  display: flex;
  width: min(100%, 1170px);
  margin-top: 10px;
  margin-bottom: 50px;
  background-color: var(--primary-background);
  -webkit-box-shadow: 0 3px 13px 1px rgba(0, 0, 0, 0.09);
  box-shadow: 0 3px 13px 1px rgba(0, 0, 0, 0.09);
  color: var(--quaternary-color);
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 30px;
}

.testimonial-meta h3 {
  font-size: 1.3rem;
  font-weight: normal;
  margin-bottom: 0;
  color: var(--quaternary-color);
}

.testimonial-meta p,
.testimonial-meta strong {
  font-size: 1.2rem;
}

.testimonial-card-header,
.testimonial-image {
  height: var(--image-size);
  width: var(--image-size);
  /* Override the default max-width (100%) set by Tailwind */
  max-width: var(--image-size);
}

.testimonials-footer {
  display: flex;
  flex-direction: column;
  padding: 25px;
  text-align: justify;
  justify-content: center;
}

.testimony blockquote {
  padding: 0;
  border: 0;
}

.landing-top,
.as-seen-in,
.certification-section,
.benefits,
.testimonials {
  padding: 4vw 15px;
}

.certification-section,
.faq-section {
  padding-inline: 4vw;
}

.map-ui .btn {
  min-height: 80px;
}

@media (min-width: 500px) {
  .landing-top p {
    font-size: 1.25rem;
  }
}

@media (max-width: 992px) {
  .testimonial-card {
    flex-direction: column;
    width: var(--image-size);
  }
}

@media (min-width: 992px) {
  .testimonial-meta {
    padding: 0 0 30px;
  }
  .testimonial-meta p,
  .testimonial-meta strong {
    font-size: 1.3rem;
  }
  .testimonials-footer {
    padding: 40px;
  }
}

.landing-top .mega-heading {
  font-size: 2.2rem;
  margin: 0px 0px 2rem;
  font-weight: 700;
  line-height: 2rem;
}

.landing-top .btn-cta-big {
  max-width: fit-content;
  padding: 12px 20px;
}

.two-button-cta {
  display: grid;
  gap: 10px;
  max-width: 500px;
}

@media (max-width: 1200px) {
  .two-button-cta {
    margin: 0 auto;
  }
}

.google-btn {
  align-items: center;
  background: #fff;
  border: 3px solid #ffffff;
  color: #000;
  display: inline-flex;
  font-family: var(--font-family-sans-serif);
  font-size: 1rem;
  min-height: 48px;
  padding: 10px 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.google-btn:hover,
.google-btn:focus {
  background: #000;
  border-color: #ffffff;
  color: #fff;
}

.light-palette .google-btn {
  background: #000;
  border-color: #000000;
  color: #fff;
}

.light-palette .google-btn:hover,
.light-palette .google-btn:focus {
  background: #ffffff;
  border-color: #000000;
  color: #000000;
  text-decoration: none;
}

.google-btn svg {
  display: block;
  height: 18px;
  width: 18px;
  margin: 0 10px;
}
.google-btn-icon {
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  min-width: 20px;
  padding-inline-end: 4px;
  position: relative;
}

.more-ways-btn {
  align-items: center;
  background-image: linear-gradient(#fecc4c, #ffac33);
  border: 3px solid #feac32;
  color: #0a0a23;
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  text-decoration: none;
  font-size: 1.1rem;
}
.more-ways-btn:hover,
.more-ways-btn:focus {
  background-color: #fecc4c;
  background-image: none;
  border-color: #f1a02a;
  color: #0a0a23;
  text-decoration: none;
}

.cta-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary-color);
  text-transform: lowercase;
  font-size: 0.95rem;
  margin-block: 12px;
  width: 100%;
}

.cta-divider-line {
  height: 1px;
  background: none;
  border-top: 1px dashed var(--gray-45);
  flex: 1 1 auto;
}

@media (min-width: 500px) {
  .landing-top .mega-heading {
    font-size: 3rem;
    line-height: 2.5rem;
  }
  .landing-top .btn-cta-big {
    padding: 12px 40px;
  }
}

.logo-row-title {
  font-weight: normal;
}

.landing-page {
  overflow-x: hidden;
}

.landing-benefits {
  display: grid;
  grid-template-columns: 1fr; /* Default: 1 column */
  gap: 30px; /* Adjust the space between the grid items */
}

/* When the screen is larger than 700px */
@media screen and (min-width: 700px) {
  .landing-benefits {
    grid-template-columns: 1fr 1fr; /* Two columns */
  }
}

.landing-top figure,
.landing-top figure img {
  margin-top: 50px;
  height: 442px;
  width: 750px;
}

.landing-benefits svg path {
  fill: var(--gray-15);
}

.benefits-container {
  background: var(--gray-75);
}

.benefits-container h2,
.benefits-container h3 {
  color: var(--gray-10);
}

.benefits-container p {
  color: var(--gray-15);
}

/* AB testing styles */
.landing-top-two-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.landing-top-two-column p {
  font-size: 1.3rem;
  font-weight: normal;
  line-height: 1.5;
}

@media (min-width: 1200px) {
  .landing-top-two-column {
    flex-direction: row;
    align-items: center;
    width: min(100%, 1300px);
    margin-inline: auto;
  }

  .landing-top-two-column .landing-top-left {
    flex: 0 0 50%;
    max-width: 50%;
    z-index: 1;
    padding-left: 0px;
    padding-right: 15px;
    margin-left: -15px;
  }

  .landing-top-two-column .landing-top-right {
    flex: 0 1 auto;
    min-width: 0;
    overflow: visible;
  }

  .certification-section,
  .faq-section {
    width: min(100%, 1300px);
    margin-inline: auto;
  }
}

.landing-top .landing-top-two-column figure,
.landing-top .landing-top-two-column figure img {
  margin-left: -120px;
  margin-top: 0px;
  height: 550px;
  width: 850px;
  max-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%);
  mask-image: linear-gradient(to right, transparent 0%, black 20%);
}

.landing-top .ultra-heading {
  font-size: 4rem;
}

.landing-top-right figcaption {
  display: none;
}

.landing-top .brands-container p {
  color: var(--quaternary-color);
  font-weight: normal;
  text-align: center;
}

/* Landing Catalog Styles */
.landing-catalog-container {
  background-color: var(--primary-background);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.landing-catalog-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  width: 100%;
  gap: 2rem;
}

.landing-catalog .catalog-item.catalog-item-see-all {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  text-align: center;
  fill: var(--secondary-color);
  flex-direction: row;
  gap: 10px;
}
