/**
 * Homepage proof chapter — mobile first.
 */
.home-cases {
  background: var(--cloud);
  color: var(--charcoal);
}
.home-cases-head {
  max-width: 720px;
  margin-bottom: 28px;
}
.home-cases-head .eyebrow { color: #9a6900; }
.home-cases-head h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(2rem, 9vw, 3.6rem);
  letter-spacing: -0.035em;
}
.home-cases-head p {
  margin: 0;
  color: #536174;
  line-height: 1.7;
}
.home-cases-grid {
  display: grid;
  gap: 14px;
}
.case-card--home-featured {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 480px;
}
.case-card--home-featured .case-visual {
  height: 100%;
  min-height: 0;
  max-height: none;
}
.case-card--home-featured .case-card-body {
  padding: 16px 16px 12px;
  flex: 2 1 0;
  min-height: 0;
}
.case-card--home-featured h3 {
  font-size: clamp(1.15rem, 5vw, 1.55rem);
  margin-bottom: 6px;
}
.case-card--home-featured .case-engine-tags--chips {
  display: flex;
  margin: 8px 0;
}
.home-cases-all {
  display: inline-flex;
  margin-top: 22px;
  color: #007da9;
  font-weight: 700;
}
.trust-strip {
  padding: 24px 0;
  border-block: 1px solid rgba(103, 217, 255, 0.17);
  background: var(--navy);
  color: var(--cloud);
}
.trust-strip .container {
  display: grid;
  gap: 16px;
}
.trust-strip p {
  margin: 0;
  color: var(--text-3);
  font-size: 0.72rem;
  font-weight: 600;
}
.trust-strip ul {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}
.trust-strip ul::-webkit-scrollbar { display: none; }
.trust-strip li {
  flex: 0 0 auto;
  color: #d7e1ec;
  font: 700 0.9rem var(--font-display);
  white-space: nowrap;
  opacity: 0.82;
}
.trust-strip__logos {
  align-items: center;
  gap: 18px;
}
.trust-strip__logos li {
  opacity: 1;
}
.trust-strip__logo {
  display: grid;
  place-items: center;
  min-width: 96px;
  height: 52px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(247, 250, 252, 0.94);
  text-decoration: none;
}
.trust-strip__logo img {
  display: block;
  width: auto;
  max-width: 120px;
  max-height: 36px;
  object-fit: contain;
  opacity: 0.92;
}
.trust-strip__logo:hover img,
.trust-strip__logo:focus-visible img {
  opacity: 1;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#reviews .section-head--center {
  margin-inline: auto;
  text-align: center;
}
#reviews .eyebrow--center {
  justify-content: center;
}
#reviews .eyebrow--center::after {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}
.reviews-carousel {
  margin-top: 4px;
}
.reviews-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  direction: ltr;
  padding: 4px 0 8px;
}
.reviews-track::-webkit-scrollbar {
  display: none;
}
.reviews-page {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  gap: 14px;
  direction: rtl;
  min-width: 0;
  box-sizing: border-box;
}
.reviews-track .review-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 22px 20px 20px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: var(--charcoal);
  box-shadow: 0 14px 36px -26px rgba(11, 31, 58, 0.55);
  text-align: right;
}
.reviews-track .review-card:not(.is-featured) {
  border-inline-start: 3px solid var(--cyan);
}
.reviews-track .review-card.is-featured {
  min-height: 280px;
  padding: 26px 24px 22px;
  background:
    radial-gradient(circle at 12% 88%, transparent 0 18%, rgba(0, 167, 225, 0.08) 19% 20%, transparent 21% 34%, rgba(0, 167, 225, 0.07) 35% 36%, transparent 37%),
    linear-gradient(155deg, #0a2744 0%, var(--navy) 55%, #07182c 100%);
  color: var(--cloud);
  box-shadow: 0 22px 48px -28px rgba(7, 24, 44, 0.75);
}
.reviews-track .review-card.is-featured::after {
  content: "";
  position: absolute;
  left: -40px;
  right: auto;
  bottom: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(0, 167, 225, 0.22);
  box-shadow: 0 0 0 18px rgba(0, 167, 225, 0.08), 0 0 0 36px rgba(0, 167, 225, 0.05);
  pointer-events: none;
}
.quote-mark {
  display: block;
  height: 28px;
  margin-bottom: 4px;
  color: var(--cyan);
  font: 700 2.6rem/0.85 var(--font-display);
  opacity: 0.95;
}
.reviews-track .review-card.is-featured .quote-mark {
  font-size: 3.1rem;
  height: 34px;
}
.reviews-track .review-card p {
  margin: 6px 0 18px;
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1 1 auto;
}
.reviews-track .review-card.is-featured p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.94);
}
.reviews-track .review-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.reviews-track .review-card:not(.is-featured) footer {
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.review-avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--review-accent, var(--cyan)) 18%, #fff);
  color: var(--review-accent, var(--cyan));
  font: 700 0.85rem var(--font-display);
  letter-spacing: 0;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--review-accent, var(--cyan)) 35%, transparent);
}
.reviews-track .review-card.is-featured .review-avatar {
  background: rgba(0, 167, 225, 0.16);
  color: #9edfff;
  box-shadow: inset 0 0 0 2px rgba(0, 167, 225, 0.35);
}
.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.review-meta strong {
  font-size: 0.95rem;
  line-height: 1.25;
}
.review-meta span {
  color: #68788a;
  font-size: 0.78rem;
  line-height: 1.35;
}
.reviews-track .review-card.is-featured .review-meta span {
  color: rgba(215, 225, 236, 0.78);
}
.reviews-carousel .carousel-nav--dots-only {
  margin-top: 20px;
  gap: 10px;
}
.reviews-carousel .carousel-nav--dots-only > button {
  width: 36px;
  height: 36px;
  opacity: 0.55;
}
.reviews-carousel .carousel-nav--dots-only > button:hover {
  opacity: 1;
}
.reviews-source {
  margin: 16px 0 0;
  text-align: center;
}
.reviews-source a {
  color: #007da9;
  font-weight: 700;
  text-decoration: none;
}
.reviews-source a:hover {
  text-decoration: underline;
}

@media (min-width: 760px) {
  .home-cases-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
  .case-card--home-featured {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    min-height: 520px;
  }
  .case-card--home-featured .case-card-body {
    order: 0;
    justify-content: flex-start;
    padding: 18px 18px 12px;
    flex: 2 1 0;
  }
  .case-card--home-featured .case-card-visual-link {
    order: 0;
    flex: 3 1 0;
    margin-top: 0;
  }
  .case-card--home-featured .case-visual {
    height: 100%;
    min-height: 0;
    max-height: none;
  }
  .case-card--home-featured .case-visual img {
    max-height: none;
  }
  .case-card--home-featured .case-engine-tags--chips {
    display: flex;
  }
  .case-card--home {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 520px;
  }
  .case-card--home .case-visual {
    height: 100%;
    min-height: 0;
    max-height: none;
  }
  .case-card--home .case-visual img {
    max-height: none;
  }
  .case-card--home .case-card-body {
    flex: 2 1 0;
    padding: 16px 16px 12px;
  }
  .trust-strip .container {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
  .trust-strip ul { justify-content: space-between; }
}

@media (min-width: 900px) {
  .reviews-page {
    direction: ltr;
    grid-template-columns: 1.2fr 0.9fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    min-height: 400px;
  }
  .reviews-page .review-card {
    direction: rtl;
  }
  .reviews-page .review-card.is-featured {
    grid-column: 1;
    grid-row: 1 / -1;
    min-height: 0;
    padding: 32px 28px 26px;
  }
  .reviews-page .review-card:not(.is-featured) {
    grid-column: 2;
    min-height: 0;
  }
  .reviews-page .review-card.is-featured p {
    font-size: 1.12rem;
  }
  .reviews-carousel .carousel-nav--dots-only > button {
    display: none;
  }
}

@media (min-width: 1040px) {
  .home-cases-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
  .case-card--home-featured {
    grid-column: auto;
    grid-row: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 560px;
  }
  .case-card--home-featured .case-card-body {
    order: 0;
    flex: 2 1 0;
    padding: 16px 16px 10px;
  }
  .case-card--home-featured .case-card-visual-link {
    order: 0;
    flex: 3 1 0;
    margin-top: 0;
  }
  .case-card--home-featured .case-visual,
  .case-card--home .case-visual {
    height: 100%;
    min-height: 0;
    max-height: none;
  }
  .case-card--home-featured .case-visual img,
  .case-card--home .case-visual img {
    max-height: none;
  }
  .case-card--home-featured .case-engine-tags--chips {
    display: flex;
  }
  .case-card--home {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 560px;
  }
  .case-card--home .case-card-body {
    padding: 14px 14px 10px;
    flex: 2 1 0;
  }
  .case-card--home-featured h3 {
    font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  }
}
