/*
 * Conservative visual polish.
 * Keeps the original layout and content while tightening hierarchy and rhythm.
 */

h2 {
  font-size: clamp(2rem, 3.8vw, 3.75rem);
}

.ecosystem .section-heading {
  max-width: 860px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ecosystem .section-heading h2 {
  max-width: 820px;
  font-size: clamp(2rem, 3.8vw, 3.75rem);
}

.testimonials .testimonial-grid {
  gap: 20px;
}

.testimonials .testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.82));
}

.testimonials .testimonial-card img {
  width: 84px;
  height: 84px;
  border-radius: 24px;
}

.testimonials .testimonial-card p {
  flex: 1;
  color: #516073;
  font-size: 1.04rem;
  line-height: 1.62;
}

.testimonials .testimonial-card strong {
  margin-top: 20px;
}

.testimonials .client-logos {
  padding: 32px 40px;
  background: rgba(255, 255, 255, 0.9);
}

@media (min-width: 721px) {
  .section:not(.hero) {
    padding-block: 76px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 42px;
  }

  .section:not(.hero) {
    padding-block: 58px;
  }

  .testimonials .testimonial-card {
    padding: 26px;
  }

  .testimonials .client-logos {
    padding: 20px 14px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy .eyebrow {
    order: 1;
  }

  .hero-copy h1 {
    order: 2;
  }

  .hero-copy .hero-lead {
    margin-bottom: 0;
    order: 3;
  }

  .hero-copy .hero-actions {
    margin-top: 20px;
    order: 4;
  }

  .hero-visual {
    margin-top: 32px;
    order: 5;
    width: 100%;
  }

  .hero-copy .mini-proof {
    gap: 10px;
    margin-top: 22px;
    order: 6;
  }

  .mini-proof-two {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    width: 100%;
  }

  .mini-proof-two span {
    align-items: center;
    background: hsla(0, 0%, 100%, 0.72);
    border: 1px solid var(--line);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    min-height: 58px;
    padding: 10px 12px;
    text-align: center;
  }

  .mini-proof-two span + span {
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 420px) {
  .mini-proof-two span {
    font-size: 0.84rem;
  }
}
