/* Customer stories listing ("/customer-stories") — measurements from the Framer desktop layout at 1440px. */

.stories-page { background: #f5f5f7; }

/* ---------- Hero ---------- */
.ls-hero { background: var(--white); padding: 200px 100px 100px; text-align: center; color: #000; }
.ls-hero h1 { max-width: 800px; margin-inline: auto; font-family: var(--font-gilroy); font-weight: 700; font-size: 72px; line-height: 90px; letter-spacing: 0; }
.ls-hl { display: inline-block; margin-right: .3em; padding: 0 19.5px; border-radius: 16px; background: #f15124; color: #fff; line-height: 85px; vertical-align: top; margin-top: 0; }
.ls-hero-lede { max-width: 800px; margin: 20px auto 0; font-family: var(--font-gilroy); font-weight: 500; font-size: 20px; line-height: 25px; color: #2e2e2e; }
.ls-proof { margin-top: 60px; display: flex; justify-content: center; align-items: center; gap: 24px; }
.ls-avatars { display: flex; }
.ls-avatars img { width: 32px; aspect-ratio: 1; border-radius: 50%; }
.ls-avatars img + img { margin-left: -5px; }
.ls-proof p { display: flex; align-items: center; gap: 12px; }
.ls-proof strong { font-family: var(--font-gilroy); font-weight: 700; font-size: 32px; line-height: 48px; letter-spacing: -1.28px; color: #f15124; }
.ls-proof span { font-family: var(--font-gilroy); font-weight: 600; font-size: 16px; line-height: 24px; letter-spacing: -0.48px; color: #757575; }

/* ---------- Video ---------- */
.ls-video { background: #fff6f6; padding: 75px; }
.ls-video video { display: block; width: min(1150px, 100%); height: auto; aspect-ratio: 1150 / 675; margin-inline: auto; border-radius: 24px; object-fit: cover; }

/* ---------- Client logos ---------- */
.ls-logos { background: var(--white); padding: 50px 0; text-align: center; }
.ls-logos h2 { font-family: "Happy Monkey", var(--font-gilroy); font-weight: 400; font-size: 20px; line-height: 24px; color: #000; }
.ls-logo-wrap { margin-top: 10px; padding: 40px var(--gutter); }
.ls-logo-grid { max-width: 1200px; margin-inline: auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid #c4c4c4; border-left: 1px solid #c4c4c4; }
.ls-logo-grid li { aspect-ratio: 1; display: grid; place-items: center; padding: 12px; background: #fff; border-right: 1px solid #c4c4c4; border-bottom: 1px solid #c4c4c4; }
.ls-logo-grid img { width: 140px; max-width: 100%; aspect-ratio: 2; }
.ls-logo-grid li:nth-child(1) img { width: 164px; aspect-ratio: 164 / 73; }
.ls-logo-grid li:nth-child(2) img { width: 184px; aspect-ratio: 184 / 35; }
.ls-logo-grid li:nth-child(3) img { width: 110px; aspect-ratio: 1; }
.ls-logo-grid li:nth-child(4) img { width: 137px; aspect-ratio: 137 / 46; }
.ls-logo-grid li:nth-child(5) img { width: 150px; aspect-ratio: 150 / 38; }
.ls-logo-grid li:nth-child(6) img { width: 87px; aspect-ratio: 87 / 63; }
.ls-logo-grid li:nth-child(7) img { width: 140px; aspect-ratio: 140 / 56; }
.ls-logo-grid li:nth-child(8) img { width: 120px; aspect-ratio: 120 / 63; }
.ls-logo-grid li:nth-child(9) img { width: 170px; aspect-ratio: 170 / 36; }
.ls-logo-grid li:nth-child(10) img { width: 92px; aspect-ratio: 1; }

/* ---------- Case study cards ---------- */
.ls-cases { background: var(--white); padding: 50px 75px 75px 100px; display: flex; flex-direction: column; align-items: center; gap: 75px; }
.ls-cases-head { display: flex; flex-direction: column; align-items: center; gap: 15px; text-align: center; }
.ls-cases-head h2 { font-family: var(--font-gilroy); font-weight: 700; font-size: 52px; line-height: 62.4px; letter-spacing: 0; color: #000; }
.ls-cases-head p { font-family: var(--font-gilroy); font-weight: 500; font-size: 20px; line-height: 24px; color: #3b3b3b; }
.ls-cases-head strong { font-weight: 600; color: #000; }
.ls-case-grid { width: 100%; max-width: 1200px; padding: 20px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.ls-case { display: flex; flex-direction: column; gap: 40px; padding: 10px; background: #fff; border-radius: 12px; box-shadow: inset 0 0 0 1px rgb(205, 207, 225), 0 2px 2px 0 rgb(237, 243, 255); }
.ls-case img { width: 100%; aspect-ratio: 363 / 251; border-radius: 8px; }
.ls-case-body { padding: 10px; display: flex; flex-direction: column; gap: 40px; flex: 1; justify-content: flex-end; }
.ls-case-body p { height: 61px; margin-bottom: 10px; display: flex; flex-direction: column; justify-content: center; font-family: var(--font-gilroy); font-weight: 500; font-size: 20px; line-height: 24px; color: #000; }
.ls-case-link { display: flex; align-items: center; justify-content: center; gap: 10px; height: 44px; border: 1px solid rgb(163, 163, 163); border-radius: 12px; font-family: var(--font-gilroy); font-weight: 500; font-size: 16px; line-height: 24px; color: #000; transition: background-color .2s ease, border-color .2s ease; }
.ls-case-link svg { width: 24px; height: 24px; color: rgb(74, 74, 74); transition: transform .2s ease; }
.ls-case-link:hover { background: #f5f5f7; border-color: #7a7a7a; }
.ls-case-link:hover svg { transform: translateX(3px); }

/* ---------- Testimonial tickers ---------- */
.ls-voice { background: #fff7f6; padding: 100px 75px; text-align: center; }
.ls-voice h2 { font-family: var(--font-gilroy); font-weight: 700; font-size: 52px; line-height: 48px; letter-spacing: 0; color: #000; }
.ls-voice-rows { margin-top: 69px; display: flex; flex-direction: column; gap: 24px; }
.ls-ticker { --marquee-gap: 24px; --marquee-speed: 75s; border-radius: 24px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%); }
.ls-ticker .marquee-track { align-items: flex-start; }
.ls-ticker--reverse .marquee-track { animation-direction: reverse; }
.voice-card { width: 400px; margin: 0; padding: 16px; display: flex; flex-direction: column; gap: 16px; background: #fff; border-radius: 16px; text-align: left; }
.voice-quote { max-height: 230px; padding: 24px; display: flex; flex-direction: column; gap: 15px; background: rgba(92, 92, 92, .05); border-radius: 12px; }
.voice-mark { width: 32px; height: 32px; color: rgb(179, 179, 179); }
.voice-quote p { width: 324px; max-width: none; font-family: var(--font-gilroy); font-weight: 500; font-size: 15px; line-height: 22.5px; letter-spacing: -0.15px; color: #000; }
.voice-card figcaption { padding: 24px; display: flex; align-items: center; gap: 15px; }
.voice-card figcaption img { width: 98px; flex: none; aspect-ratio: 1; border-radius: 50%; }
.voice-card figcaption > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.voice-card figcaption strong { font-family: var(--font-gilroy); font-weight: 600; font-size: 20px; line-height: 26px; letter-spacing: -0.2px; color: #000; }
.voice-card figcaption strong + span { font-family: var(--font-gilroy); font-weight: 400; font-size: 14px; line-height: 21px; letter-spacing: -0.14px; color: #717171; }

/* ---------- Closing CTA ---------- */
.ls-cta { background: var(--white); padding: 150px 75px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ls-cta h2 { max-width: 1200px; font-family: var(--font-gilroy); font-weight: 700; font-size: 52px; line-height: 62.4px; letter-spacing: 0; color: #000; }
.ls-cta p { margin-top: 26px; font-family: var(--font-gilroy); font-weight: 500; font-size: 20px; line-height: 24px; color: #3b3b3b; }
.ls-cta .btn { margin-top: 32px; min-height: 56px; padding: 16px; font-weight: 600; font-size: 16px; line-height: 24px; letter-spacing: -0.16px; }

/* ---------- Tablet + phone (Framer 810–1199, measured at 900) ---------- */
@media (max-width: 1199px) {
  .ls-hero { padding: 150px 75px 100px; }
  .ls-hero h1 { font-size: 56px; line-height: 75px; }
  .ls-hl { line-height: 75px; margin-top: 4px; padding: 0 14.5px; }
  .ls-hero-lede { max-width: 623px; }
  .ls-proof { margin-top: 40px; }
  /* Framer keeps the video at its 1150px desktop width here (it overflows the screen); ours fills the content width instead */
  .ls-video { padding: 75px 50px; }
  .ls-logos { padding: 50px 30px; }
  .ls-logo-wrap { margin-top: 28px; padding: 40px 0; }
  .ls-logo-grid { max-width: 700px; }
  .ls-logo-grid img { max-width: 80%; }
  .ls-cases { padding: 82px 50px; gap: 75px; }
  .ls-cases-head { width: 100%; }
  .ls-cases-head p { max-width: 88%; }
  .ls-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .ls-case img { height: 251px; aspect-ratio: auto; }
  .ls-voice { padding: 76px 30px; }
  .ls-voice-rows { margin-top: 70px; gap: 16px; }
  .ls-cta { padding: 100px 50px; }
  .ls-cta h2 { font-size: 36px; line-height: 43.2px; }
  .ls-cta p { font-size: 16px; line-height: 19.2px; }
  .ls-cta .btn { margin-top: 35px; min-height: 53px; font-size: 14px; line-height: 21px; letter-spacing: -0.14px; }
}

/* ---------- Phone (Framer <810, measured at 390) ---------- */
@media (max-width: 809px) {
  .ls-hero { padding: 140px 20px 50px; }
  .ls-hero h1 { font-size: 38px; line-height: 55px; }
  .ls-hl { line-height: 55px; margin-top: 6px; padding: 1.5px 10px; border-radius: 12px; }
  .ls-hero-lede { font-size: 14px; line-height: 20px; }
  .ls-proof { margin-top: 53px; }
  .ls-video { padding: 50px 20px 30px; }
  .ls-video video { border-radius: 16px; }
  .ls-logos { padding: 100px 0 50px; }
  .ls-logos h2 { font-size: 16px; line-height: 19.2px; }
  .ls-logo-wrap { margin-top: 43px; padding: 16px 0; }
  .ls-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
  .ls-logo-grid li:nth-child(10) { display: none; }
  .ls-logo-grid img { max-width: 78%; }
  .ls-cases { padding: 75px 25px; gap: 50px; }
  .ls-cases-head { gap: 20px; }
  .ls-cases-head h2 { font-size: 38px; line-height: 45.6px; }
  .ls-cases-head p { font-size: 14px; line-height: 18.2px; }
  .ls-case-grid { grid-template-columns: minmax(0, 1fr); max-width: 420px; gap: 24px; padding: 20px 0 0; }
  .ls-voice { padding: 100px 0; }
  .ls-voice h2 { font-size: 38px; line-height: 48px; padding-inline: 20px; }
  .ls-voice-rows { margin-top: 83px; gap: 24px; }
  .ls-ticker { border-radius: 0; -webkit-mask-image: none; mask-image: none; }
  .ls-cta { padding: 100px 20px; }
  .ls-cta h2 { font-size: 28px; line-height: 33.6px; letter-spacing: -0.56px; }
  .ls-cta p { max-width: 266px; font-size: 14px; line-height: 16.8px; }
  .ls-cta .btn { margin-top: 52px; min-height: 50px; font-size: 12px; line-height: 18px; letter-spacing: -0.12px; }
}
