/* ==========================================================================
   DESIGN TOKENS — Color Palette, Spacing & Typography
   ==========================================================================

   COLOR PALETTE
   --bg-light       : Page background, light sections (#f7fff9)
   --bg-mint        : Soft mint tint for cards and highlighted areas (#c9f0db)
   --bg-dark        : Primary dark background — nav, footer, dark sections (#0b3d2e)
   --bg-dark-2      : Deeper dark variant for layered dark-on-dark contrast (#052d22)
   --accent         : Teal accent for buttons and interactive highlights (#2dd4bf)
   --accent-2       : Green accent, secondary CTA and hover states (#16ab6d)
   --text-dark      : Primary body text color (#0f2c25)
   --text-muted     : Secondary/supporting text (#5c7a6e)
   --card           : Card surface background (#e9fff4)
   --border         : Subtle border for cards and dividers (rgba)
   --shadow         : Default card/section drop shadow

   SPACING & LAYOUT
   --page-shell          : Max content width (980px)
   --split-summary-col   : Width of summary column in split layouts (360px)
   --services-visual-col : Width of visual column in services grid (398px)

   TYPOGRAPHY SCALE
   --type-micro   : 12px — badges, labels, fine print
   --type-support : 14px — captions, helper text, nav items
   --type-body    : 15px — default body copy
   Headings and body both use the InterVariable / Inter stack.

   ========================================================================== */

:root {
  --bg-light: #f7fff9;
  --bg-mint: #c9f0db;
  --bg-dark: #0b3d2e;
  --bg-dark-2: #052d22;
  --accent: #2dd4bf;
  --accent-2: #16ab6d;
  --text-dark: #0f2c25;
  --text-muted: #5c7a6e;
  --card: #e9fff4;
  --border: rgba(11, 61, 46, 0.1);
  --shadow: 0 20px 50px rgba(9, 35, 28, 0.15);
  --page-shell: 980px;
  --split-summary-col: 360px;
  --services-visual-col: 398px;
  --type-micro: 12px;
  --type-support: 14px;
  --type-body: 15px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'InterVariable', 'Inter', 'DM Sans', sans-serif;
  background: #ffffff;
  color: var(--text-dark);
  overflow-x: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'InterVariable', 'Inter', sans-serif;
}

.page {
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  content-visibility: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.hero {
  position: relative;
  --hero-top: 120px;
  max-width: var(--page-shell);
  margin: 0 auto;
  padding: 60px 24px 36px;
  text-align: center;
  border-radius: 28px;
}

/* Gradient layer — fades to transparent well past the hero copy so the mint
   tint covers nav + hero + hero-adjacent content. */
.hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: calc(-1 * var(--hero-top));
  transform: translateX(-50%);
  width: 100vw;
  height: calc(100% + var(--hero-top));
  background: linear-gradient(180deg, #7bd3ae 0%, #cfeee0 45%, #f7fff9 70%, rgba(255, 255, 255, 0) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 95%);
          mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 95%);
  z-index: -1;
}

/* Column-line layer — fades out BEFORE the hero title so the main copy sits
   on a clean mint area, not on a striped background. Column fade runs from
   the top of the page to ~220px down (i.e. covers the nav pill area only). */
.hero::after {
  content: '';
  position: absolute;
  left: 50%;
  top: calc(-1 * var(--hero-top));
  transform: translateX(-50%);
  width: 100vw;
  height: calc(100% + var(--hero-top));
  background: linear-gradient(90deg, rgba(22, 171, 109, 0.18) 1px, transparent 1px);
  background-size: 72px 100%;
  background-repeat: repeat-x;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 120px, transparent 220px);
          mask-image: linear-gradient(180deg, #000 0%, #000 120px, transparent 220px);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}

.hero-copy {
  text-align: center;
  display: grid;
  justify-items: center;
}

.hero-copy h1 {
  max-width: 520px;
  font-size: clamp(2.2rem, 3.1vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 18px auto 12px;
  font-weight: 600;
}

.hero-copy h1 em {
  color: #16ab6d;
  font-style: italic;
  display: block;
  margin-top: 2px;
}

.hero-copy p {
  font-size: 0.97rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  max-width: 430px;
  line-height: 1.45;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: var(--type-micro);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.btn {
  border-radius: 10px;
  padding: 11px 18px;
  font-family: 'InterVariable', 'Inter', sans-serif;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform var(--motion-duration-fast) var(--motion-ease-standard),
    box-shadow var(--motion-duration-fast) ease,
    background-color var(--motion-duration-fast) ease,
    border-color var(--motion-duration-fast) ease,
    color var(--motion-duration-fast) ease;
}

.btn-dark {
  background: var(--bg-dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(6, 32, 25, 0.35);
}

.btn-light {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--bg-dark);
}

.btn-ghost {
  background: transparent;
  border: none;
  color: #304f44;
  padding: 10px 6px;
  border-radius: 0;
  box-shadow: none;
}

.hero-actions .btn-dark {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 0.74rem;
  line-height: 1;
  border-radius: 7px;
  background: #181818;
  border-color: #181818;
  color: #ffffff;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-actions .btn-ghost {
  min-height: 34px;
  font-size: 0.74rem;
  line-height: 1;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #171717;
}

.hero-action-icon {
  display: block;
  flex: 0 0 auto;
}

.btn-dark .hero-action-icon {
  width: 12px;
  height: 12px;
}

.btn-ghost .hero-action-icon {
  width: 14px;
  height: 14px;
}

.hero-action-label {
  display: inline-block;
}

.trusted-row {
  width: 100%;
  max-width: var(--page-shell);
  margin-top: 28px;
  font-size: var(--type-micro);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-align: center;
}

.trusted-logos {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin-top: 14px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  padding: 8px 0;
}

.trusted-logos::before,
.trusted-logos::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.trusted-logos::before {
  left: 0;
  background: linear-gradient(90deg, #f7fff9 0%, rgba(247, 255, 249, 0) 100%);
}

.trusted-logos::after {
  right: 0;
  background: linear-gradient(270deg, #f7fff9 0%, rgba(247, 255, 249, 0) 100%);
}

.trusted-logos-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: trusted-marquee 20s linear infinite;
}

.trusted-logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
}

.trusted-logos img {
  height: 25px;
  width: auto;
  opacity: 0.76;
}

@keyframes trusted-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 17px));
  }
}

.cert-strip {
  margin-top: 36px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 8px;
}

.cert-strip-title {
  font-family: 'InterVariable', 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
  margin: 0;
  flex: 0 0 auto;
}

.cert-strip-badges {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
  justify-content: center;
}

.cert-strip-badge {
  height: 84px;
  width: auto;
  object-fit: contain;
  display: block;
}

.cert-strip-dot {
  color: #C9C9C9;
  font-size: 1rem;
  line-height: 1;
  user-select: none;
}

.cert-row.single {
  padding-left: 0;
  padding-right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 42px auto 0;
  background: #ffffff;
  border: none;
}

.cert-row.single img {
  width: min(1328px, 100%);
  height: clamp(88px, 11vw, 168px);
  object-fit: cover;
  object-position: center;
  opacity: 1;
}

.cert-separator {
  height: 1px;
  background: #d4d4d4;
  width: 100vw;
  margin: 28px 0 0;
  margin-left: calc(50% - 50vw);
}

section {
  padding: 48px 24px;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.hero {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-title-split {
  max-width: var(--page-shell);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, var(--split-summary-col));
  gap: 30px;
  align-items: start;
  text-align: left;
}

.section-title-split .section-heading-copy {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.section-title-split .section-heading-copy .pill {
  margin-bottom: 0;
}

.section-title-split h2 {
  margin: 0;
  max-width: 480px;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.section-title-split h2 span {
  color: #10b36a;
}

.section-title-split p {
  align-self: start;
  justify-self: end;
  width: min(100%, var(--split-summary-col));
  max-width: var(--split-summary-col);
  font-size: 0.98rem;
  line-height: 1.62;
  margin-top: 0;
}

.section-title-split-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section-title h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  margin: 14px 0;
}

.section-title h2 span {
  color: #16ab6d;
}

.accent-warm {
  color: #16ab6d;
}

.section-title p {
  color: var(--text-muted);
}

.services-shell {
  max-width: var(--page-shell);
  margin: 0 auto;
}

.services-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, var(--services-visual-col));
  gap: 24px;
  align-items: start;
  margin-bottom: 12px;
}

.services-heading .pill {
  margin-bottom: 16px;
}

.services-heading h2 {
  max-width: 300px;
  font-size: clamp(2.05rem, 2.55vw, 2.5rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.services-heading h2 span {
  color: #10b36a;
}

.services-summary {
  justify-self: end;
  width: min(100%, var(--services-visual-col));
  max-width: var(--services-visual-col);
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.58;
  margin-top: 0;
}

.services-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, var(--services-visual-col));
  column-gap: 24px;
  row-gap: 8px;
  align-items: start;
}

.services-carousel {
  grid-column: 1 / -1;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.services-carousel:active {
  cursor: grabbing;
}

.services-slides {
  display: flex;
  width: 100%;
  transition: none;
  will-change: transform;
}

.services-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, var(--services-visual-col));
  column-gap: 24px;
  align-items: start;
  position: relative;
  isolation: isolate;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  padding-inline: 24px;
}

.services-feature-copy {
  padding-top: 0;
  position: relative;
  z-index: 1;
  background: #ffffff;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
}

.services-feature-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(11, 61, 46, 0.08);
  font-size: var(--type-micro);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 44, 37, 0.58);
}

.services-feature-copy h3 {
  max-width: 220px;
  margin-bottom: 10px;
  font-size: 1.24rem;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.services-feature-list {
  display: grid;
  gap: 9px;
  margin-bottom: 14px;
}

.services-feature-list li {
  position: relative;
  padding-left: 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.48;
}

.services-feature-list li::before {
  content: '';
  position: absolute;
  top: 0.24rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b36a;
  box-shadow: 0 0 0 2px rgba(16, 179, 106, 0.12);
}

.services-feature-link {
  display: inline-flex;
  align-items: center;
  color: var(--text-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.services-feature-visual-wrap {
  display: grid;
  justify-items: end;
  grid-column: 2;
  width: 100%;
  overflow: hidden;
}

.services-feature-visual {
  position: relative;
  width: 100%;
  max-width: var(--services-visual-col);
  min-height: 274px;
  border-radius: 10px;
  overflow: hidden;
  background: #0f1412;
  box-shadow: 0 12px 28px rgba(25, 34, 30, 0.1);
  transition:
    transform var(--motion-duration-md) var(--motion-ease-standard),
    box-shadow var(--motion-duration-md) ease;
}

.services-feature-visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(25, 34, 30, 0.14);
}

.services-visual-glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.08) 100%);
}

.services-visual-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: cover;
}

.services-visual-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 500;
}

.services-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 8px;
  grid-column: 2;
}

.services-dot {
  width: 7px;
  height: 7px;
  border: none;
  border-radius: 999px;
  background: rgba(11, 61, 46, 0.18);
  cursor: pointer;
}

.services-dot.active {
  width: 18px;
  background: var(--bg-dark);
}

.dark-section {
  background: linear-gradient(180deg, #0b3d2e 0%, #052d22 100%);
  color: #fff;
}

.dark-section .section-title p,
.dark-section .section-title .pill {
  color: rgba(255, 255, 255, 0.7);
}

.dark-section .pill {
  background: rgba(255, 255, 255, 0.15);
}

.feature-grid {
  max-width: var(--page-shell);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  --rect-ratio: 756 / 406;
  --square-ratio: 540 / 406;
  --pair-gap: 8px;
  --pair-total: 1296;
  --row-height: clamp(182px, 20vw, 260px);
  gap: var(--pair-gap);
  align-items: stretch;
  justify-content: center;
}

.dark-section .section-title-split {
  max-width: var(--page-shell);
  margin-bottom: 16px;
  gap: 24px;
}

.dark-section .section-title-split h2 {
  max-width: 340px;
  font-size: clamp(2rem, 2.7vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.dark-section .section-title-split h2 span {
  color: #10b36a;
}

.dark-section .section-title-split p {
  margin-top: 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

.feature-card:nth-child(1) {
  flex: 0 0 calc((100% - var(--pair-gap)) * 756 / var(--pair-total));
}

.feature-card:nth-child(2) {
  flex: 0 0 calc((100% - var(--pair-gap)) * 540 / var(--pair-total));
}

.feature-card:nth-child(3) {
  flex: 0 0 calc((100% - var(--pair-gap)) * 540 / var(--pair-total));
}

.feature-card:nth-child(4) {
  flex: 0 0 calc((100% - var(--pair-gap)) * 756 / var(--pair-total));
}

.feature-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px 16px;
  display: grid;
  gap: 8px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  height: var(--row-height);
  min-height: var(--row-height);
  transition:
    transform var(--motion-duration-md) var(--motion-ease-standard),
    box-shadow var(--motion-duration-md) ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--motion-shadow-lift);
}

.feature-card > *:not(.card-image) {
  position: relative;
  z-index: 1;
}

.feature-card > div {
  align-self: end;
  text-align: left;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
}

.feature-card.dark::after,
.feature-card.photo::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65));
}


.feature-card.light {
  background: #dff5ea;
  color: var(--text-dark);
}

.feature-card.dark {
  background: #0e3c2d;
  color: #fff;
}

.feature-card.photo {
  background: #16221c;
  color: #fff;
}

.feature-card .card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  z-index: 0;
  pointer-events: none;
}


.feature-card .card-image.soft {
  background: #dff5ea;
  border: 1px solid rgba(11, 61, 46, 0.15);
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  border-radius: 8px;
  z-index: 0;
}

.chip-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-content: start;
  padding: 10px 10px 0;
}

.chip-tags span {
  background: rgba(11, 61, 46, 0.08);
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
  line-height: 1.5;
}

.feature-card.light p {
  color: var(--text-muted);
}

.feature-card h3 {
  font-size: 0.98rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.feature-card:nth-child(2) h3,
.feature-card:nth-child(3) h3 {
  color: #ffffff;
}

.feature-card:nth-child(2) p,
.feature-card:nth-child(3) p {
  max-width: 220px;
  color: rgba(255, 255, 255, 0.82);
}

.results {
  background: #fff;
}

.results .section-title-split {
  margin-bottom: 14px;
  max-width: var(--page-shell);
  gap: 18px;
}

.results .section-title-split h2 {
  max-width: 300px;
  font-size: clamp(1.55rem, 2.1vw, 2.2rem);
  line-height: 0.98;
}

.results .section-title-split h2 span,
.testimonials .section-title-split h2 span,
.engagement .section-title-split h2 span {
  display: block;
}

.carousel {
  max-width: var(--page-shell);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.carousel:active {
  cursor: grabbing;
}

.slides {
  display: flex;
  transition: none;
  will-change: transform;
}

.slide {
  min-width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
}

.results-card {
  position: relative;
  max-width: 884px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  min-height: 372px;
  height: 372px;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  background: #0c3b2e url('../assets/case-study-card-bg.webp') center / cover no-repeat;
  transition:
    transform var(--motion-duration-md) var(--motion-ease-standard),
    box-shadow var(--motion-duration-md) ease;
}

.results-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(10, 36, 28, 0.18);
}

.results-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 24px 32px 38px;
  box-sizing: border-box;
}

.results-copy h3 {
  max-width: 392px;
  font-size: clamp(1.25rem, 1.7vw, 1.72rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 14px;
}

.results-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'InterVariable', 'Inter', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 22px;
}

.results-meta-dot {
  color: rgba(255, 255, 255, 0.4);
}

.results-visual {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
}

.results-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.results-copy p {
  max-width: 334px;
  font-size: 0.86rem;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 20px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #10b36a;
  margin-bottom: 10px;
  font-weight: 600;
}

.results-cta {
  margin-top: auto;
  margin-bottom: 0;
  padding: 9px 12px;
  font-size: 0.7rem;
  border-radius: 3px;
  box-shadow: none;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #161616;
  border: 1px solid #161616;
  color: #ffffff;
}

.results-cta {
  padding: 11px 18px;
  font-size: 0.78rem;
  border-radius: 6px;
}

.results-cta::before {
  display: none;
}

.results-metrics {
  display: none;
}

.slider-dots {
  margin: 8px auto 0;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(11, 61, 46, 0.18);
  border: none;
  cursor: pointer;
}

.dot.active {
  width: 18px;
  background: var(--bg-dark);
}

.testimonials {
  background: linear-gradient(180deg, #0c3d2e 0%, #06301f 100%);
  color: #fff;
  padding-top: 68px;
  padding-bottom: 68px;
}

.testimonials .section-title {
  margin-bottom: 34px;
  max-width: var(--page-shell);
}

.testimonials .section-title .pill {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
}

.testimonials .section-title h2 {
  color: #ffffff;
  max-width: 250px;
  font-size: clamp(2rem, 2.4vw, 2.45rem);
  line-height: 0.98;
}

.testimonials .section-title h2 span {
  color: #10b36a;
}

/* Keep the green "Fintech Leaders" line from wrapping in the split heading */
.testimonials .section-title-split h2 {
  max-width: none;
}

.testimonials .section-title-split h2 span {
  white-space: nowrap;
}

.testimonials .section-title p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: none;
  margin-top: 0;
}

.trust-grid {
  max-width: var(--page-shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-card {
  background: transparent;
  padding: 12px 18px 10px;
  border-radius: 0;
  min-height: 156px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 18px;
}

.trust-card + .trust-card {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-card p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  line-height: 1.55;
  max-width: 350px;
}

.person {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.person span {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  margin-top: 2px;
}

.person strong {
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
}

.testimonial-logo {
  width: auto;
  height: 21px;
  max-width: 118px;
  object-fit: contain;
  opacity: 0.92;
}

.logo-row {
  display: none;
}

.engagement-grid {
  max-width: var(--page-shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 16px;
  border: 1px solid #d9e0db;
  border-radius: 18px;
  background: #ffffff;
  transition:
    opacity 320ms var(--motion-ease-standard),
    transform 400ms var(--motion-ease-enter),
    filter 320ms ease;
}

.engagement-grid.growth-packages-active {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #d7ddd9;
}

.engagement .section-title-split {
  margin-bottom: 12px;
  max-width: var(--page-shell);
  gap: 34px;
}

.engagement .section-title-split h2 {
  max-width: 470px;
  font-size: clamp(2.3rem, 3vw, 3.3rem);
  line-height: 0.98;
}

.engagement .section-title-split p {
  font-family: 'InterVariable', 'Inter', 'DM Sans', sans-serif;
}

.engagement-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 28px;
  max-width: var(--page-shell);
}

.engagement-filter {
  position: relative;
  border: 1px solid #e0e6e2;
  background: #f6f7f5;
  color: #687c73;
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background var(--motion-duration-fast) ease,
    color var(--motion-duration-fast) ease,
    border-color var(--motion-duration-fast) ease,
    transform var(--motion-duration-fast) var(--motion-ease-standard),
    box-shadow var(--motion-duration-fast) ease;
}

.engagement-filter:hover {
  transform: translateY(-1px);
}

.engagement-filter.active {
  background: #232323;
  color: #ffffff;
  border-color: #232323;
  box-shadow: 0 10px 20px rgba(14, 25, 21, 0.12);
}

.engagement-filter:disabled {
  cursor: default;
  pointer-events: none;
}

.engagement-grid.is-transition-out {
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(0.98);
  filter: blur(2px);
}

.engagement-grid.is-transition-in {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.engagement-grid.growth-packages-active + .engagement-note {
  margin-top: 26px;
  font-size: 0.92rem;
  color: #4f5f58;
}

.engagement-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 18px 14px;
  border: none;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 8px;
  align-content: start;
}

.engagement-image {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  background: #d9d9d9;
}

.engagement-card:nth-child(1) {
  background: #ffffff;
}

.engagement-card:nth-child(3),
.engagement-card:nth-child(4) {
  background: #ffffff;
}

.engagement-card.featured {
  background: linear-gradient(225deg, #1a8f5e 0%, #0c4a34 50%, #082e20 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(10, 40, 30, 0.18);
}

.engagement-card h3 {
  font-size: 1.08rem;
  line-height: 1.16;
}

.engagement-card p {
  font-size: 0.88rem;
  line-height: 1.56;
  color: #536b61;
}

.engagement-card.featured ul {
  color: rgba(255, 255, 255, 0.7);
}

.engagement-card.featured p,
.engagement-card.featured .engagement-includes {
  color: rgba(255, 255, 255, 0.72);
}

.engagement-card ul {
  color: var(--text-muted);
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
  line-height: 1.5;
}

.engagement-includes {
  font-size: 0.84rem;
  font-weight: 700;
  color: #233f36;
}

.engagement-card li {
  position: relative;
  padding-left: 18px;
}

.engagement-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.29rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #10b36a;
  box-shadow: 0 0 0 3px rgba(16, 179, 106, 0.12);
}

.engagement-card .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 10px 16px;
  margin-top: auto;
  min-height: 0;
  border-radius: 6px;
  font-size: 0.86rem;
  box-shadow: none;
  align-self: end;
}

.engagement-card.featured .btn {
  background: #fff;
  color: var(--bg-dark);
}

.engagement-best-fit,
.engagement-outcome {
  font-size: 0.84rem;
  line-height: 1.56;
}

.engagement-best-fit {
  color: #223c33;
}

.engagement-best-fit span {
  color: #10b36a;
  font-weight: 700;
}

.engagement-outcome {
  color: #4e6259;
}

.engagement-outcome strong {
  color: #152e27;
  font-weight: 700;
}

.engagement-card.featured .engagement-best-fit,
.engagement-card.featured .engagement-outcome,
.engagement-card.featured .engagement-outcome strong {
  color: rgba(255, 255, 255, 0.88);
}

.engagement-card.featured .engagement-best-fit span {
  color: #16d287;
}

.engagement-grid.growth-packages-active .engagement-card {
  min-height: 0;
  border-radius: 0;
  padding: 20px 20px 22px;
  gap: 14px;
  border-right: none;
}

.engagement-grid.growth-packages-active .engagement-card:last-child {
  border-right: none;
}

.engagement-grid.growth-packages-active .engagement-card.featured {
  border-right: none;
  border-left: none;
  border-radius: 20px;
  margin: -1px 0;
  position: relative;
  z-index: 1;
  box-shadow: none;
}

.engagement-grid.growth-packages-active .engagement-image {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  background: #d5d5d5;
}

.engagement-grid.growth-packages-active .engagement-card h3 {
  font-size: 1.16rem;
  line-height: 1.14;
}

.engagement-grid.growth-packages-active .engagement-card p {
  font-size: 0.9rem;
  line-height: 1.56;
}

.engagement-grid.growth-packages-active .engagement-card ul {
  gap: 9px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.engagement-grid.growth-packages-active .engagement-includes {
  margin-top: 4px;
  font-size: 0.88rem;
}

.engagement-grid.growth-packages-active .engagement-card li {
  padding-left: 26px;
}

.engagement-grid.growth-packages-active .engagement-card li::before {
  width: 10px;
  height: 10px;
  top: 0.28rem;
  box-shadow: 0 0 0 4px rgba(16, 179, 106, 0.16);
}

.engagement-grid.growth-packages-active .engagement-card .btn {
  min-height: 42px;
  border-radius: 8px;
  font-size: 0.88rem;
}

@media (min-width: 901px) {
  .engagement-grid.growth-packages-active {
    align-items: stretch;
  }

  .engagement-grid.growth-packages-active .engagement-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .engagement-grid.growth-packages-active .engagement-card .btn {
    margin-top: auto;
  }
}

.engagement-note {
  text-align: center;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

[data-animate] {
  opacity: var(--motion-opacity-start, 0);
  transform: translate3d(0, var(--motion-y-start, 18px), 0);
  transition:
    opacity var(--motion-duration, var(--motion-duration-md)) var(--motion-ease-standard) var(--motion-delay, 0ms),
    transform var(--motion-duration, var(--motion-duration-md)) var(--motion-ease-standard) var(--motion-delay, 0ms);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

[data-animate].in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero[data-animate],
.hero-copy[data-animate],
.site-header[data-animate] {
  --motion-opacity-start: 1;
  --motion-y-start: 0px;
}

.services-feature[data-animate],
.split-testimonial-shell[data-animate] {
  --motion-y-start: 0px;
}

.hero-copy > *,
.hero-actions > *,
.trusted-row > * {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity var(--motion-duration-md) var(--motion-ease-standard),
    transform var(--motion-duration-md) var(--motion-ease-standard);
}

.hero-copy.in-view > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-copy.in-view .hero-actions > *,
.hero-copy.in-view .trusted-row > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-copy.in-view > *:nth-child(1) {
  transition-delay: 30ms;
}

.hero-copy.in-view > *:nth-child(2) {
  transition-delay: 90ms;
}

.hero-copy.in-view > *:nth-child(3) {
  transition-delay: 150ms;
}

.hero-copy .hero-actions > *:first-child {
  transition-delay: 190ms;
}

.hero-copy .hero-actions > *:last-child {
  transition-delay: 230ms;
}

.hero-copy .trusted-row > * {
  transition-delay: 260ms;
}

@media (max-width: 1100px) {
  :root {
    --page-shell: calc(100vw - 48px);
    --split-summary-col: 320px;
    --services-visual-col: 360px;
  }

  section {
    padding: 48px 24px;
  }

  .section-title-split {
    grid-template-columns: minmax(0, 1fr) minmax(260px, var(--split-summary-col));
    gap: 24px;
  }

  .section-title-split h2,
  .engagement .section-title-split h2,
  .dark-section .section-title-split h2,
  .results .section-title-split h2,
  .testimonials .section-title h2 {
    max-width: 100%;
  }

  .services-head,
  .services-feature,
  .services-slide {
    grid-template-columns: minmax(0, 1fr) minmax(280px, var(--services-visual-col));
    gap: 20px;
  }

  .services-feature-copy h3,
  .services-summary {
    max-width: 100%;
  }

  .services-feature-visual {
    min-height: 248px;
  }

  .results-card {
    max-width: 844px;
    min-height: 352px;
    height: 352px;
  }

  .results-copy h3,
  .results-copy p {
    max-width: 100%;
  }

  .engagement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .engagement-grid.growth-packages-active {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .engagement-grid.growth-packages-active .engagement-card {
    min-height: 0;
    border-right: none;
    border-bottom: 1px solid #d7ddd9;
  }

  .engagement-grid.growth-packages-active .engagement-card:last-child {
    border-bottom: none;
  }

  .engagement-grid.growth-packages-active .engagement-card.featured {
    margin: 0;
    border-radius: 0;
  }
}

@media (max-width: 900px) {
  section {
    padding: 42px 20px;
  }

  .section-title-split {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .section-title-split .section-heading-copy {
    justify-items: center;
  }

  .section-title-split p {
    justify-self: center;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
  }

  .services-head,
  .services-feature,
  .services-slide {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-shell,
  .feature-grid,
  .trust-grid,
  .engagement-grid {
    max-width: 100%;
  }

  .services-feature-visual-wrap,
  .services-dots {
    grid-column: auto;
  }

  .services-summary {
    justify-self: start;
    width: 100%;
    max-width: 100%;
  }

  .services-feature-copy h3 {
    max-width: 100%;
  }

  .services-feature-visual {
    min-height: 260px;
  }

  .testimonials {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .results-card {
    grid-template-columns: 1fr;
  }

  .results .section-title-split {
    margin-bottom: 30px;
  }

  .results-copy h3,
  .results-copy p {
    max-width: 100%;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    border-left: none;
    border-right: none;
  }

  .trust-card {
    min-height: 0;
    padding: 20px 0;
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .trust-card:last-child {
    border-bottom: none;
  }

  .trust-card + .trust-card {
    border-left: none;
  }

  .person strong {
    font-size: 1.2rem;
  }

  .testimonial-logo {
    height: 34px;
    max-width: 170px;
  }

  .engagement-filters {
    flex-wrap: wrap;
    justify-content: center;
  }

  .feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feature-card {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 1.45 / 1;
    padding: 16px;
  }

  .feature-card h3 {
    font-size: 1.1rem;
  }

  .feature-card p {
    font-size: 0.9rem;
    line-height: 1.52;
  }

  .results-card {
    max-width: 100%;
    min-height: 332px;
    height: 332px;
  }

  .results-copy {
    width: min(100%, 398px);
    padding: 30px 0 22px 24px;
  }

  .trust-grid {
    gap: 0;
  }

  .trust-card {
    padding: 18px 0;
    gap: 18px;
  }

  .trust-card p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .engagement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .engagement-card {
    padding: 14px 14px 12px;
  }

  .engagement-image {
    width: 100%;
    height: 92px;
  }

  .engagement-card h3 {
    font-size: 0.98rem;
  }

  .engagement-card p,
  .engagement-card ul {
    font-size: 0.86rem;
  }

  .cert-strip {
    gap: 24px;
    max-width: 720px;
    margin-top: 28px;
  }

  .cert-strip-title {
    font-size: 1.05rem;
  }

  .cert-strip-badge {
    height: 64px;
  }

  .cert-strip-badges {
    gap: 12px;
  }
}

@media (max-width: 600px) {
  section {
    padding: 36px 16px;
  }

  .hero {
    --hero-top: 84px;
    max-width: 100%;
    border-radius: 0;
    padding: 44px 16px 28px;
  }

  .hero-copy h1 {
    max-width: 290px;
    font-size: clamp(2rem, 10vw, 2.45rem);
    line-height: 1.04;
    margin: 16px auto 12px;
  }

  .hero-copy p {
    max-width: 300px;
    font-size: 0.94rem;
    margin-bottom: 18px;
  }

  .pill {
    padding: 5px 10px;
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .hero-actions {
    gap: 10px;
    margin-bottom: 18px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.88rem;
  }

  .hero-actions .btn-dark,
  .hero-actions .btn-ghost {
    min-height: 36px;
    font-size: 0.84rem;
  }

  .trusted-row {
    margin-top: 24px;
    font-size: 12px;
  }

  .trusted-logos {
    max-width: 100%;
    margin-top: 12px;
    padding: 6px 0;
  }

  .trusted-logos::before,
  .trusted-logos::after {
    width: 30px;
  }

  .trusted-logos-track {
    gap: 26px;
  }

  .trusted-logo-item {
    min-width: 88px;
  }

  .trusted-logos img {
    height: 18px;
  }

  .cert-row.single {
    margin-top: 28px;
  }

  .cert-row.single img {
    width: 100%;
    height: 74px;
    object-fit: contain;
  }

  .cert-separator {
    margin-top: 20px;
  }

  .services-head {
    gap: 14px;
    margin-bottom: 16px;
  }

  .services-heading h2,
  .results .section-title-split h2,
  .engagement .section-title-split h2,
  .dark-section .section-title-split h2,
  .testimonials .section-title-split h2 {
    max-width: 100%;
    font-size: clamp(1.9rem, 8vw, 2.2rem);
    line-height: 1.02;
  }

  .services-summary,
  .section-title-split p {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .services-summary {
    max-width: 100%;
  }

  .services-slide {
    min-height: 540px;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 18px;
  }

  .services-feature-copy {
    padding-top: 0;
    align-self: start;
  }

  .services-feature-pill {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .services-feature-copy h3 {
    font-size: 1.55rem;
    line-height: 1.06;
    margin-bottom: 12px;
  }

  .services-feature-list {
    gap: 8px;
    margin-bottom: 16px;
  }

  .services-feature-list li {
    font-size: 0.9rem;
    line-height: 1.48;
  }

  .services-feature-visual {
    max-width: 100%;
    height: 214px;
    min-height: 214px;
    max-height: 214px;
    border-radius: 16px;
  }

  .services-feature-visual-wrap {
    width: 100%;
    align-self: end;
  }

  .services-visual-icon {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .services-visual-label {
    font-size: 0.92rem;
  }

  .services-dots {
    margin-top: 10px;
  }

  .feature-grid {
    gap: 8px;
  }

  .feature-card {
    aspect-ratio: auto;
    min-height: 220px;
    border-radius: 14px;
    padding: 14px;
  }

  .feature-card .card-image,
  .feature-card .card-image.soft {
    border-radius: 14px;
  }

  .chip-tags {
    gap: 6px;
    justify-content: flex-start;
  }

  .chip-tags span {
    font-size: 11px;
    padding: 5px 8px;
  }

  .results .section-title-split {
    margin-bottom: 22px;
  }

  /* Inset each card from the swipe track's edges so consecutive slides don't
     touch — same idea as .services-slide's own padding-inline. */
  .slide {
    padding: 0 12px;
  }

  /* Mobile: let the case-study carousel fill the section content box (16px
     gutters) instead of the --page-shell cap that leaves an extra 8px auto
     margin (24px gutters). Matches the first section's card spacing/sizing.
     Desktop is unaffected — the base .carousel max-width stays. */
  .results .carousel {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .results-copy h3 {
    font-size: 1.0rem;
    line-height: 1.2;
  }

  .results-copy p {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .results-cta {
    margin-top: auto;
    padding: 8px 12px;
    font-size: 0.7rem;
    width: max-content;
    min-width: 0;
    justify-content: center;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .eyebrow {
    font-size: 0.68rem;
  }

  .results-card {
    min-height: 380px;
    height: auto;
    flex-direction: row;
    border: 1px solid #d9e0db;
  }

  .results-card::before {
    display: none;
  }

  .results-card::after {
    display: none;
  }

  .results-copy {
    width: 58%;
    padding: 20px 0 18px 16px;
    min-height: 100%;
    z-index: 2;
  }

  .results-metrics {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
  }

  .results-metric {
    background: #f3f4f3;
    border: 1px solid #e4e7e5;
    border-radius: 10px;
    padding: 8px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 105px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  }

  .results-metric:first-child,
  .results-metric:last-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: -1px;
  }

  .results-metric:nth-child(2) {
    margin-right: 10px;
  }

  .results-metric-value {
    font-family: 'InterVariable', 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
  }

  .results-metric-label {
    font-family: 'Inter Variable', sans-serif;
    font-size: 0.65rem;
    color: #6b7c74;
    text-align: center;
    line-height: 1.3;
  }

  .slider-dots {
    margin-top: 12px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  .dot.active {
    width: 20px;
  }

  .testimonials {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .testimonials .section-title {
    margin-bottom: 28px;
  }

  .trust-card {
    padding: 16px 0;
    gap: 14px;
  }

  .trust-card p {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .person {
    gap: 10px;
    align-items: center;
  }

  .person strong {
    font-size: 0.9rem;
  }

  .person span {
    font-size: 0.8rem;
  }

  .testimonial-logo {
    height: 22px;
    max-width: 110px;
  }

  .engagement .section-title-split {
    margin-bottom: 18px;
  }

  .engagement-filters {
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 16px;
  }

  .engagement-filter {
    padding: 7px 11px;
    font-size: 0.68rem;
    line-height: 1;
    border-radius: 7px;
    white-space: nowrap;
  }

  .engagement-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 0;
  }

  .engagement-grid.growth-packages-active {
    padding: 0;
  }

  .engagement-grid.growth-packages-active .engagement-card {
    padding: 18px 16px 20px;
    min-height: 298px;
  }

  .engagement-grid.growth-packages-active .engagement-image {
    width: 56px;
    height: 56px;
  }

  .engagement-grid.growth-packages-active + .engagement-note {
    margin-top: 18px;
    font-size: 0.88rem;
  }

  .engagement-card {
    padding: 18px 16px 20px;
    border-radius: 14px;
    min-height: 298px;
    gap: 12px;
  }

  .engagement-image {
    width: 56px;
    height: 56px;
    border-radius: 10px;
  }

  .engagement-card h3 {
    font-size: 0.96rem;
    line-height: 1.18;
  }

  .engagement-card p,
  .engagement-card ul {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .engagement-card ul {
    gap: 8px;
  }

  .engagement-includes,
  .engagement-best-fit,
  .engagement-outcome {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .engagement-card .btn {
    padding: 10px 14px;
    font-size: 0.84rem;
    border-radius: 6px;
    margin-top: auto;
  }

  .engagement-note {
    margin-top: 14px;
    font-size: 0.84rem;
  }

  .cert-strip {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .cert-strip-title {
    font-size: 1rem;
  }

  .cert-strip-badge {
    height: 52px;
  }

  .cert-strip-badges {
    gap: 10px;
    flex-wrap: nowrap;
  }

}

/* ==========================================================================
   PAYMENTS KNOWLEDGE HUB (Home) — dark section, 3 article cards
   ========================================================================== */
.knowledge-hub {
  background: #0a0a0a;
  color: #fff;
  padding-top: 64px;
  padding-bottom: 64px;
}

.knowledge-hub .section-title-split {
  max-width: var(--page-shell);
  margin: 0 auto 30px;
  gap: 24px;
}

.knowledge-hub .section-title-split h2 {
  color: #fff;
  max-width: 340px;
  font-size: clamp(2rem, 2.7vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.knowledge-hub .section-title-split h2 span {
  color: #10b36a;
  display: block;
}

.knowledge-hub .section-title-split p {
  color: rgba(255, 255, 255, 0.72);
}

.knowledge-grid {
  max-width: var(--page-shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.knowledge-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  color: inherit;
  transition:
    transform var(--motion-duration-md) var(--motion-ease-standard),
    border-color var(--motion-duration-md) ease,
    box-shadow var(--motion-duration-md) ease;
}

.knowledge-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 179, 106, 0.5);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.28);
}

.knowledge-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.knowledge-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.knowledge-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 18px 20px;
  flex: 1;
}

/* Resource tag pills (palette mirrored from resources.css — not loaded on Home) */
.knowledge-hub .resource-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: 'InterVariable', 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  width: max-content;
}
.knowledge-hub .resource-tag-case-study { background: #d5f3e3; color: #16ab6d; }
.knowledge-hub .resource-tag-insights   { background: #ebdef9; color: #7b48be; }
.knowledge-hub .resource-tag-blog        { background: #fde1d0; color: #f77a40; }
.knowledge-hub .resource-tag-guide       { background: #d6e6fb; color: #2a8fde; }

.knowledge-card-title {
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}

.knowledge-card-meta {
  font-family: 'InterVariable', 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.knowledge-card-read {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #10b36a;
}

.knowledge-card-read-arrow,
.knowledge-cta-arrow {
  font-size: 1.05em;
  line-height: 1;
  transition: transform var(--motion-duration-sm, 160ms) ease;
}

.knowledge-card:hover .knowledge-card-read-arrow {
  transform: translateX(3px);
}

.knowledge-actions {
  max-width: var(--page-shell);
  margin: 30px auto 0;
  display: flex;
  justify-content: center;
}

.knowledge-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   FREQUENTLY ASKED QUESTIONS (Home) — shared with Services sub-page UI element
   ========================================================================== */
.faq-section {
  background: #151515;
  color: #fff;
  padding: 72px 24px 64px;
}

.faq-header {
  max-width: var(--page-shell);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.faq-header-title h2 {
  font-family: 'InterVariable', 'Inter', sans-serif;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin: 0;
}

.faq-header-title h2 span {
  display: block;
}

.faq-header-title h2 em {
  font-style: normal;
  color: var(--accent-2);
  display: block;
}

.faq-header > p {
  font-family: 'InterVariable', 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  padding-top: 8px;
}

.faq-list {
  max-width: var(--page-shell);
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
}

.faq-item.is-active {
  background: rgba(255, 255, 255, 0.05);
}

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'InterVariable', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.5;
  letter-spacing: -0.015em;
}

.faq-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
}

.faq-icon svg {
  width: 28px;
  height: 28px;
}

.faq-icon-vertical {
  transition: opacity var(--motion-duration-panel) var(--motion-ease-standard);
}

.faq-item.is-active .faq-icon-vertical {
  opacity: 0;
}

.faq-panel {
  height: 0;
  overflow: hidden;
  transition: height var(--motion-duration-panel) var(--motion-ease-standard);
}

.faq-panel-inner {
  padding: 0 18px 16px;
}

.faq-panel-inner p {
  margin: 0;
  max-width: 840px;
  font-family: 'InterVariable', 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
}

/* Light theme variant — same UI element on a white background (Home) */
.faq-section-light {
  background: #ffffff;
}

.faq-section-light .faq-header-title h2 {
  color: #161616;
}

.faq-section-light .faq-header > p {
  color: #51615a;
}

.faq-section-light .faq-item {
  border-color: #e6e6e6;
}

.faq-section-light .faq-item.is-active {
  background: #f6f8f7;
}

.faq-section-light .faq-toggle {
  color: #161616;
}

.faq-section-light .faq-icon {
  color: #51615a;
}

.faq-section-light .faq-panel-inner p {
  color: #51615a;
}

/* ── Knowledge Hub + FAQ + Case-study responsive ───────────────────────── */
@media (max-width: 900px) {
  .knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-header {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
  }
  /* Equalise card height across slides: titles wrap to 2 or 3 lines
     depending on the case study, so a content-driven height (min-height:0)
     made some cards taller than others. A shared min-height plus flex-grow
     on the copy block absorbs the difference — the visual stays a fixed
     height and the copy's own padding grows to fill the rest. */
  .results-card {
    height: auto;
    min-height: 440px;
    flex-direction: column;
    border: none;
  }
  .results-copy {
    width: 100%;
    padding: 30px 26px 24px;
    flex: 1 1 auto;
  }
  .results-visual {
    width: 100%;
    padding: 0 26px 28px;
    min-height: 200px;
    flex: 0 0 auto;
  }
  .results-visual img {
    max-height: 240px;
  }
}

@media (max-width: 640px) {
  .knowledge-grid {
    grid-template-columns: 1fr;
  }
  .knowledge-hub {
    padding-top: 44px;
    padding-bottom: 48px;
  }
  .faq-section {
    padding: 44px 18px 48px;
  }
}

/* Testimonials green background — higher specificity than .shared-testimonials */
.testimonials.shared-testimonials {
  background: linear-gradient(180deg, #0c3d2e 0%, #06301f 100%);
}
