/* Customer Stories listing page */
.csp-main {
  background: #fff;
  color: #000;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .csp-main {
    padding: 0 clamp(32px, 11vw, 320px);
  }
}

.csp-header {
  padding: 112px 0 0;
  max-width: 1040px;
}
@media (min-width: 768px) {
  .csp-header {
    padding: 144px 0 0;
  }
}

.csp-eyebrow {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #000;
  font-weight: 600;
}

.csp-h1 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 72px);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.csp-intro {
  margin: 36px 0 0;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.5;
  color: #575758;
  text-wrap: pretty;
}
@media (min-width: 768px) {
  .csp-intro {
    font-size: 21px;
  }
}

.csp-stories {
  display: flex;
  flex-direction: column;
  gap: 112px;
  padding: 112px 0 0;
}

.csp-story {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}

.csp-story-media {
  display: block;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
}

.csp-story-media:focus-visible {
  outline: 2px solid rgba(234, 88, 88, 0.55);
  outline-offset: 4px;
}

.csp-story-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1.35;
  border-radius: 16px;
  overflow: hidden;
  background: #f4f4f5;
}

.csp-story-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.csp-story-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  mix-blend-mode: overlay;
  background-repeat: repeat;
  background-size: 80px 80px;
  background-image: url("/assets/img/noise.webp");
}

.csp-story-logo {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 46%;
  height: 28px;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

.csp-story-logo--tall {
  height: 62px;
}

.csp-story-logo--normal {
  mix-blend-mode: normal;
}

.csp-story-logo--multiply {
  mix-blend-mode: multiply;
}

@media (min-width: 768px) {
  .csp-story-logo {
    top: 32px;
    left: 32px;
  }
}

.csp-story-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 6px;
}

.csp-story-title {
  margin: 0;
  font-size: clamp(24px, 2.1vw, 28px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.csp-story-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 40px;
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  width: 100%;
}

.csp-story-meta dt {
  font-size: 16px;
  color: #575758;
}

.csp-story-meta dd {
  margin: 6px 0 0;
  font-size: 17px;
  font-weight: 600;
}

.csp-story-text {
  margin: 28px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: #575758;
  text-wrap: pretty;
}

.csp-story-stat {
  margin: 32px 0 0;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.csp-story-stat-label {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.4;
  color: #575758;
}

.csp-story-cta {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background 160ms ease;
}

.csp-story-cta:hover {
  background: #1c1c1e;
  color: #fff;
}

@media (min-width: 768px) {
  .csp-story-cta {
    font-size: 18px;
    padding: 15px 26px;
  }
}

.csp-trusted {
  padding: 136px 0 0;
}

.csp-trusted-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  color: #575758;
}

.csp-trusted-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  column-gap: 32px;
  row-gap: 48px;
  margin-top: 56px;
}

.csp-trusted-logo {
  height: 44px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.csp-bottom-cta {
  margin: 80px -24px 0;
  padding: 64px 24px 0;
  background: #000;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .csp-bottom-cta {
    margin-left: calc(-1 * clamp(32px, 11vw, 320px));
    margin-right: calc(-1 * clamp(32px, 11vw, 320px));
  }
}

.csp-bottom-cta-title {
  margin: 0 auto;
  max-width: 960px;
  font-size: 34px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .csp-bottom-cta-title {
    font-size: 48px;
  }
}

@media (min-width: 1024px) {
  .csp-bottom-cta-title {
    font-size: 64px;
  }
}

.csp-bottom-cta-sub {
  margin: 24px auto 0;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.csp-bottom-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

@media (min-width: 768px) {
  .csp-bottom-cta-btn {
    font-size: 18px;
    padding: 15px 26px;
  }
}

.csp-bottom-cta-btn:hover {
  opacity: 0.88;
  color: #000;
}

.csp-bottom-cta-cards {
  margin-top: 48px;
}

.csp-bottom-cta-cards img {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: block;
}

@media (min-width: 900px) {
  .csp-bottom-cta-cards img {
    max-width: 840px;
  }
}

@media (max-width: 900px) {
  .csp-story {
    grid-template-columns: 1fr;
  }

  .csp-trusted-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .csp-trusted-logos {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .csp-trusted-logo {
    height: 56px;
  }
}

@media (max-width: 640px) {
  .csp-trusted-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .csp-trusted-logo {
    height: 28px;
  }

  .csp-stories {
    gap: 72px;
    padding-top: 72px;
  }

}
