/* Affiliate system page */

.as-hero {
  padding: 4.5rem 0 0;
  text-align: center;
  background: linear-gradient(1deg, #eff6ff 0%, #fefefe 100%);
}

.as-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.375rem);
  max-width: 52rem;
  margin-inline: auto;
  line-height: 1.3;
}

.as-hero p {
  font-size: 1.125rem;
  max-width: 40rem;
  margin: 1rem auto 1.5rem;
}

.as-hero__visual {
  margin-top: 2rem;
}

.as-hero__image--mobile {
  display: none;
}

.svg-underline {
  position: relative;
  display: inline;
  background: none;
  color: inherit;
}

.svg-underline svg {
  position: absolute;
  left: 0;
  bottom: -0.35em;
  width: 100%;
  height: 0.45em;
  pointer-events: none;
}

.svg-underline path {
  fill: var(--green);
}

.as-intro {
  padding: 4rem 0 2rem;
  text-align: center;
  background: var(--white);
}

.as-intro h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  max-width: 44rem;
  margin-inline: auto 1rem;
}

.as-intro p {
  max-width: 48rem;
  margin: 1rem auto 0;
  font-size: 1.125rem;
  font-style: italic;
}

.as-testimonial-banner img {
  margin-inline: auto;
}

.as-testimonial-banner__desktop {
  display: block;
}

.as-testimonial-banner__mobile {
  display: none;
}

.as-dashboard {
  padding: 4rem 0 0;
  text-align: center;
  color: var(--white);
  background: #2563eb;
}

.as-dashboard h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  max-width: 44rem;
  margin-inline: auto 1rem;
  color: var(--white);
}

.as-dashboard p {
  max-width: 40rem;
  margin: 1rem auto 0;
  font-size: 1.0625rem;
}

.as-dashboard__image--mobile {
  display: none;
}

.as-dashboard img {
  margin: 2rem auto 0;
  max-width: 54rem;
}

.as-features-intro {
  padding: 4rem 0 1rem;
  text-align: center;
  background: var(--white);
}

.as-features-intro h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
}

.as-features {
  padding: 1rem 0 3rem;
  background: var(--white);
}

.as-features__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.as-feature-card {
  text-align: center;
}

.as-feature-card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-inline: auto;
}

.as-feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  margin: 1rem 0 0.5rem;
}

.as-feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}

.as-entrepreneurs {
  padding: 5rem 0;
  text-align: center;
  background: #eff6ff;
}

.as-entrepreneurs h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  max-width: 48rem;
  margin-inline: auto;
}

.as-cta p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

@media (max-width: 899px) {
  .as-hero {
    padding-top: 3rem;
  }

  .as-hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }

  .as-hero__image--desktop {
    display: none;
  }

  .as-hero__image--mobile {
    display: block;
    margin-inline: auto;
    max-width: 100%;
    height: auto;
  }

  .as-testimonial-banner__desktop {
    display: none;
  }

  .as-testimonial-banner__mobile {
    display: block;
    max-width: 28rem;
    margin-inline: auto;
  }

  .as-dashboard__image--desktop {
    display: none;
  }

  .as-dashboard__image--mobile {
    display: block;
    margin-inline: auto;
    max-width: 100%;
    height: auto;
  }
}
