/* Shared pieces for the NXT AP family sub-product pages
   (/nxt-ap-intelligence, /nxt-mailbox-manager). Builds on px.css and
   nxtap-accountspayable.css (ap-sec, ap-sh, ap-eyebrow, ap-vid, ap-compat,
   ap-close-grid). Navy / electric blue / white only. */

.np-hero-vid { align-self: center; }

/* Numbered capability rows: a short title and one plain line. */
.np-rows { list-style: none; margin: 0; padding: 0; counter-reset: np; border-top: 2px solid var(--nxt-midnight); }
.np-rows li { counter-increment: np; display: grid; grid-template-columns: 56px minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--border-subtle); }
.np-rows li::before { content: counter(np, decimal-leading-zero); font-size: 14px; font-weight: 500; color: var(--nxt-cobalt); letter-spacing: 0.04em; }
.np-rows b { font-size: 20px; font-weight: 500; color: var(--nxt-midnight); line-height: 1.3; }
.np-rows span { font-size: 16.5px; line-height: 1.55; color: #3D4470; }

/* Three role / pillar columns on white. */
.np-cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.np-cols li { display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 32px; border-radius: 20px; background: #F4F7FF; border: 1px solid #E1E8FA; }
.np-cols .np-k { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nxt-cobalt); }
.np-cols .np-t { font-size: 24px; font-weight: 500; line-height: 1.25; color: var(--nxt-midnight); }
.np-cols .np-d { font-size: 16px; line-height: 1.55; color: #3D4470; }

/* Navy flow panel: four steps from inbox (or data) to outcome. */
.np-flow { position: relative; overflow: hidden; border-radius: 24px; padding: 56px; color: #fff;
  background: radial-gradient(60% 80% at 85% 0%, rgba(47, 107, 255, 0.35), transparent 60%),
              radial-gradient(50% 70% at 0% 100%, rgba(47, 107, 255, 0.18), transparent 60%),
              linear-gradient(160deg, #10164D, #0A0F3D); }
.np-flow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: nf; }
.np-flow li { counter-increment: nf; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0 28px 0 0; }
.np-flow li + li { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.np-flow li::before { content: counter(nf, decimal-leading-zero); font-size: 13px; letter-spacing: 0.08em; color: #8FC2FF; }
.np-flow li, .np-flow b { color: #fff; }
.np-flow b { font-size: 22px; font-weight: 500; line-height: 1.25; }
.np-flow span { font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.78); }
.np-flow-note { margin: 36px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 15.5px; color: rgba(255, 255, 255, 0.78); }

/* Split: copy beside a quiet visual. */
.np-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.np-ask { border-radius: 24px; padding: 40px; background: linear-gradient(160deg, #F4F7FF, #E8EFFF); border: 1px solid #DCE5FB; }
.np-ask-q { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-radius: 999px; background: #fff; box-shadow: 0 14px 30px -22px rgba(16, 22, 77, 0.6); font-size: 17px; color: var(--nxt-midnight); }
.np-ask-q svg { flex: none; width: 22px; height: 22px; color: var(--nxt-cobalt); }
.np-ask-s { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.np-ask-s li { padding: 8px 14px; border-radius: 999px; border: 1px solid #C9D6F7; background: rgba(255, 255, 255, 0.6); font-size: 14.5px; color: #3D4470; }

@media (max-width: 960px) {
  .np-flow ol { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .np-flow li:nth-child(3) { padding-left: 0; border-left: 0; }
  .np-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 820px) {
  .np-rows li { grid-template-columns: 40px minmax(0, 1fr); gap: 6px 16px; padding: 22px 0; }
  .np-rows span { grid-column: 2; }
  .np-cols { grid-template-columns: minmax(0, 1fr); }
  .np-flow { padding: 36px 24px; }
  .np-flow ol { grid-template-columns: minmax(0, 1fr); }
  .np-flow li, .np-flow li + li { padding: 0 0 0 0; border-left: 0; }
  .np-flow li + li { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
  .np-ask { padding: 24px; }
}
