/* Services: payment flow and capabilities. */

.flow { display: grid; gap: 28px; counter-reset: f; position: relative; }
.flow-step { position: relative; padding-left: 64px; }
.flow-num { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--sun); color: #0B1636; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.3rem; z-index: 1; }
.flow-step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: -28px; width: 2px; background: var(--accent); transform-origin: top; }
.flow-step:last-child::before { display: none; }
.flow-step h3 { font-size: 1.45rem; margin: .35rem 0 .9rem; }
.artefact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; max-width: 26rem; }
.artefact p { margin: 0; }
.artefact-sms { border-radius: 22px 22px 22px 6px; background: var(--brand); color: #fff; border-color: var(--brand); }
.flow-note { margin: 12px 0 0; font-weight: 700; max-width: 26rem; font-size: .98rem; }

@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .flow-step { padding: 64px 0 0; }
  .flow-num { top: 0; }
  .flow-step::before { left: 44px; right: -36px; top: 21px; bottom: auto; width: auto; height: 2px; transform-origin: left; }
  .flow-step:last-child::before { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .flow .flow-step::before { transition: transform .9s ease-out; }
  .flow:not(.in) .flow-step::before { transform: scale(0); }
  .flow.in .flow-step:nth-child(2)::before { transition-delay: .9s; }
}

/* capabilities list */
.caps { border-top: 2px solid var(--ink); }
.cap { display: grid; gap: 8px 40px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.cap h4 { margin: 0; font-family: var(--display); font-size: 1.45rem; line-height: 1.15; letter-spacing: 0; }
.cap p { margin: 0; max-width: 40em; }
.seen { margin-top: 8px !important; font-weight: 700; font-size: .95rem; }
.seen a { margin-right: .5em; }
@media (min-width: 900px) { .cap { grid-template-columns: 1fr 1.5fr; } }
