/* Payment experience carousel, scoped to the technology page. */
.pay-flow { scroll-margin-top: 90px; }
.pay-flow-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 48px; }
.pay-flow-heading h2 { max-width: 22ch; font-size: clamp(28px, 3.4vw, 48px); font-weight: 400; line-height: 1.08; letter-spacing: -.045em; }
.pay-flow-heading > p { max-width: 48ch; font-size: clamp(17px, 1.65vw, 23px); line-height: 1.4; padding-top: 5px; }
.pay-flow-carousel { position: relative; border-radius: 36px; overflow: hidden; background: #f5f5f7; }
.pay-flow-slide { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.pay-flow-slide[hidden], .pay-flow-controls[hidden] { display: none; }
.pay-flow-enhanced .pay-flow-slides { display: flex; transition: transform 280ms cubic-bezier(.22, 1, .36, 1); }
.pay-flow-enhanced .pay-flow-slide { flex: 0 0 100%; min-width: 0; }
.pay-flow-instant .pay-flow-slides { transition: none; }
.pay-flow-controls { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .pay-flow-enhanced .pay-flow-slides { transition: none; } }

.pay-flow-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 64px clamp(28px, 3.6vw, 64px) 140px; min-width: 0; }
.pay-flow-copy h3 { font-size: clamp(25px, 2.4vw, 36px); font-weight: 400; line-height: 1.15; letter-spacing: -.035em; }
.pay-flow-copy p { margin-top: 24px; max-width: 48ch; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.pay-flow-copy .solid-btn { margin-top: 28px; }
.pay-flow-visual { aspect-ratio: 1; min-width: 0; }
.pay-flow-visual img { width: 100%; height: 100%; object-fit: contain; }
/* Crop the first source image’s baked-in white border and rounded corners. */
#pay-flow-slide-1 .pay-flow-visual { overflow: hidden; }
#pay-flow-slide-1 .pay-flow-visual img { transform: scale(1.1); }
.pay-flow-controls { position: absolute; left: clamp(28px, 3.6vw, 64px); bottom: 42px; display: flex; align-items: center; gap: 10px; }
.pay-flow-arrow { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background 160ms ease, border-color 160ms ease; }
.pay-flow-arrow svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pay-flow-arrow:disabled { opacity: .3; cursor: default; }
.pay-flow-dots { display: flex; align-items: center; margin-left: 12px; }
.pay-flow-dot { width: 28px; height: 44px; display: grid; place-items: center; border: 0; padding: 0; background: transparent; cursor: pointer; }
.pay-flow-dot span { width: 7px; height: 7px; border: 1px solid #b8bdc7; border-radius: 50%; }
.pay-flow-dot[aria-current] span { background: var(--accent); border-color: var(--accent); }
.pay-flow-carousel:focus-visible, .pay-flow button:focus-visible, .pay-flow a:focus-visible { outline: 3px solid var(--accent); outline-offset: -4px; }
.pay-flow-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .pay-flow-arrow:not(:disabled):hover { background: white; border-color: var(--accent); } }
@media (max-width: 900px) {
  .pay-flow-heading { gap: 28px; margin-bottom: 32px; }
  .pay-flow-carousel { border-radius: 26px; }
  .pay-flow-copy { padding: 32px 28px 116px; }
  .pay-flow-copy p { margin-top: 18px; font-size: 15px; }
  .pay-flow-controls { bottom: 24px; left: 28px; gap: 8px; }
  .pay-flow-arrow { width: 42px; height: 42px; }
  .pay-flow-dots { margin-left: 4px; }
  .pay-flow-dot { width: 24px; }
}
@media (max-width: 700px) {
  .pay-flow-heading { grid-template-columns: 1fr; gap: 16px; }
  .pay-flow-heading > p { padding: 0; }
  .pay-flow-slide { grid-template-columns: 1fr; }
  .pay-flow-copy { padding: 28px 24px; min-height: 250px; justify-content: flex-start; }
  .pay-flow-visual { width: 100%; }
  .pay-flow-controls { position: static; justify-content: center; padding: 16px 12px; background: #f5f5f7; }
  .pay-flow-carousel { border-radius: 22px; }
}

/* Data and analytics introduction following the payment experience. */
.data-intro { padding: clamp(96px, 12vw, 180px) 0; background: var(--bg); }
.data-intro-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(36px, 8vw, 140px);
  align-items: start;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.data-intro h2 {
  max-width: 16ch;
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.055em;
}
.data-intro p {
  max-width: 36ch;
  padding-top: 8px;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.28;
  letter-spacing: -.025em;
  color: var(--ink-2);
}
.data-intro p::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--accent);
}
.data-intro-action { display: inline-flex; margin-top: 30px; }
.data-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 32px);
  margin-top: clamp(64px, 8vw, 120px);
}
.data-feature {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--bg);
}
.data-feature-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}
.data-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.data-feature:first-child .data-feature-image img { object-position: center 42%; }
.data-feature:last-child .data-feature-image img { object-position: center 58%; }
.data-feature-copy { padding: clamp(26px, 3vw, 46px); }
.data-feature-label {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.data-feature h3 {
  margin-top: 20px;
  max-width: 17ch;
  font-size: clamp(27px, 3vw, 46px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.045em;
}
.data-feature p {
  margin-top: 18px;
  padding: 0;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--ink-2);
}
.data-feature p::before { display: none; }
@media (hover: hover) and (pointer: fine) {
  .data-feature:hover .data-feature-image img { transform: scale(1.025); }
}
@media (max-width: 700px) {
  .data-intro { padding: 88px 0; }
  .data-intro-copy { grid-template-columns: 1fr; gap: 36px; }
  .data-intro h2 { font-size: clamp(40px, 13vw, 60px); }
  .data-intro p { padding-top: 0; font-size: 20px; }
  .data-feature-grid { grid-template-columns: 1fr; margin-top: 56px; }
  .data-feature { border-radius: 22px; }
  .data-feature-copy { padding: 26px 24px 30px; }
}
