/* NXT Payments page: extras on top of px.css (prefix pay-). */

/* Hero: sub and lead, then the three pillars. */
.pay-sub { margin-bottom: 16px !important; }
.pay-lead { max-width: 56ch; margin: 0 auto 32px !important; font-size: 16px; line-height: 1.7; color: var(--nxt-gray); }
.pay-three { padding-top: 96px; }
.pay-three h2 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 10px; }
.pay-three p { font-size: 15px; line-height: 1.65; color: var(--nxt-graphite); margin: 0 !important; }

/* Outcomes: four large statements on hairlines beside the photo. */
.pay-outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
.pay-outcomes li { padding-top: 20px; border-top: 1px solid var(--border-default); }
.pay-outcomes p { margin: 0 !important; font-size: 15px; line-height: 1.6; color: var(--nxt-graphite); }
.pay-outcomes .pay-outcome-title { margin-bottom: 10px !important; font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; line-height: 1.2; letter-spacing: -0.025em; color: var(--nxt-midnight); }

/* Capability lists inside the hairline grid. */
.pay-grid li { position: relative; padding-left: 18px; margin-bottom: 8px; }
.pay-grid li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--nxt-cobalt); }

/* Challenge / solution: hairline rows, no box. */
.pay-compare { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.55; }
.pay-compare th { text-align: left; padding: 0 24px 14px 0; font-size: 14px; font-weight: 500; color: var(--nxt-gray); }
.pay-compare th + th { color: var(--nxt-cobalt); }
.pay-compare td { width: 50%; padding: 22px 24px 22px 0; vertical-align: top; border-top: 1px solid var(--border-subtle); color: var(--nxt-graphite); }
.pay-compare td + td { color: var(--nxt-midnight); font-weight: 500; }
.pay-compare tbody tr:last-child td { border-bottom: 1px solid var(--border-subtle); }

/* Closing band: lockup, copy and button beside the skyline. */
.pay-band-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.pay-band-title { margin-bottom: 28px; }
.pay-band-title img { height: 44px; width: auto; }
.pay-band-copy { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; color: rgba(255, 255, 255, 0.86); margin-bottom: 32px !important; }
.pay-band-actions { justify-content: flex-start; }
.pay-btn-white { background: #fff; color: var(--nxt-midnight); }
.pay-btn-white:hover { background: var(--nxt-ink-50); color: var(--nxt-midnight); }
.pay-band-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 1020px) {
  .pay-outcomes { grid-template-columns: 1fr; gap: 28px; }
  .pay-band-grid { gap: 40px; }
}
@media (max-width: 720px) {
  .pay-three { padding-top: 64px; }
  .pay-band-grid { grid-template-columns: 1fr; }
  .pay-compare, .pay-compare thead, .pay-compare tbody, .pay-compare tr, .pay-compare td { display: block; width: 100%; }
  .pay-compare thead { display: none; }
  .pay-compare tr { padding: 18px 0; border-top: 1px solid var(--border-subtle); }
  .pay-compare tbody tr:last-child { border-bottom: 1px solid var(--border-subtle); }
  .pay-compare td, .pay-compare tbody tr:last-child td { padding: 0; border: 0; }
  .pay-compare td + td { margin-top: 12px; }
  .pay-compare td::before { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 500; color: var(--nxt-gray); }
  .pay-compare td:first-child::before { content: "Challenge"; }
  .pay-compare td + td::before { content: "Solution via NXT Payments"; color: var(--nxt-cobalt); }
}
