/* STUDY PAGES (in-depth-interviews.html and siblings): hero (the problem), what InquiSight does,
   one use case, then the homepage's testimonials, FAQ and contact. Reuses home/uc/how styles. */
main > section.sp-sec { height: auto !important; min-height: 0 !important; padding: clamp(96px, 15vh, 150px) 0 !important; background: #fff !important; }
main > section.sp-sec::before, main > section.sp-sec::after { content: none !important; display: none !important; }
.sp-sec .cmp__head h2 { max-width: 24ch; margin: 0; font-size: clamp(28px, 2.9vw, 42px); font-weight: 600; line-height: 1.05; letter-spacing: -0.04em; color: #09090b; text-wrap: balance; }
.sp-row-wrap { width: var(--uc-w); margin: clamp(40px, 6vh, 64px) auto 0; --uc-h: clamp(380px, 46vw, 500px); }

/* the use case: no boxes. Client line, three figures split by hairlines, the finding, a link */
main > section.sp-case-sec { background: #f5f6fd !important; }
.sp-case { width: min(100% - 48px, 880px); margin: 40px auto 0; text-align: center; }
.sp-case__who { margin: 0 0 28px; font-size: 14px; font-weight: 500; color: #3f51d1; }
.sp-case__stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-case__who { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sp-case__who img { display: block; height: 36px; width: auto; }
.sp-case__who span { font-size: 14px; font-weight: 500; color: #52525b; }
.sp-case__stats dd.sp-case__word { white-space: nowrap; }
.sp-case__stats.sp-case__stats--2 dd { font-size: clamp(40px, 4.2vw, 56px); }
.sp-case__stats div { justify-content: flex-end; }
.sp-case__stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; margin: 0 auto; }
.sp-case__stats div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 4px 16px; }
.sp-case__stats div + div { border-left: 1px solid rgba(63, 81, 209, .18); }
.sp-case__stats dd { margin: 0; font-size: clamp(44px, 5vw, 68px); font-weight: 500; line-height: 1; letter-spacing: -0.05em; color: #09090b; font-variant-numeric: tabular-nums; }
.sp-case__stats dd small { font-size: .4em; letter-spacing: -0.02em; color: #52525b; }
.sp-case__stats dt { font-size: 14px; color: #71717a; }
.sp-case__find { margin: 44px auto 0; max-width: 30ch; font-size: clamp(22px, 2.3vw, 30px); font-weight: 600; line-height: 1.25; letter-spacing: -0.03em; color: #09090b; text-wrap: balance; }
.sp-case__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 15px; font-weight: 500; color: #3342b3; text-decoration: none; }
.sp-case__link svg { width: 14px; height: 14px; transition: transform .25s ease; }
.sp-case__link:hover svg { transform: translateX(3px); }

/* case one-liners (industry pages): three columns split by hairlines, no boxes */
.sp-cases { list-style: none; margin: 56px auto 0; padding: 0; width: min(100% - 48px, 1080px); display: grid; grid-template-columns: repeat(3, 1fr); }
.sp-cases li { display: flex; flex-direction: column; padding: 4px 32px; border-left: 1px solid rgba(9,9,11,.08); }
.sp-cases li:first-child { border-left: 0; padding-left: 0; }
.sp-cases li:last-child { padding-right: 0; }
.sp-cases__tag { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: #3f51d1; }
.sp-cases__t { margin: 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; color: #09090b; text-wrap: pretty; }
.sp-cases__who { margin: 14px 0 0; font-size: 14px; color: #71717a; }
.sp-cases .sp-case__link { margin-top: auto; padding-top: 20px; font-size: 14px; }
/* on the investor page the one-liners follow the featured case, so they share its tint and sit closer */
main > section.sp-case-sec + section.sp-cases-sec { padding-top: 0 !important; background: #f5f6fd !important; }

/* logo strip below the use case */
main > section.sp-logos { height: auto !important; min-height: 0 !important; padding: 56px 0 !important; background: #fff !important; border-bottom: 1px solid rgba(9,9,11,.06); }
.sp-logos .sp-logos__strip { padding: 0; }
/* with no logos in it, the study hero is a calm block, not a full screen */
main > section.hero--c:not(:has(.hero-logos)) { min-height: 0 !important; padding-bottom: clamp(72px, 12vh, 120px) !important; }
main > section.hero--c:not(:has(.hero-logos)) .hero-mid { flex: none; min-height: 0; padding-top: 36px; }

@media (max-width: 899px) {
  .sp-row-wrap { --uc-h: auto; }
  .sp-case__stats { grid-template-columns: 1fr; gap: 20px; }
  .sp-case__stats div + div { border-left: 0; }
  .sp-cases { grid-template-columns: 1fr; gap: 0; }
  .sp-cases li { border-left: 0; padding: 24px 0; border-top: 1px solid rgba(9,9,11,.08); }
  .sp-cases li:first-child { border-top: 0; padding-top: 0; }
}
