/* how-it-works.css — page layout only. Base tokens come from style.css. */

/* Hero: give the promise more air than the default page-hero */
.hiw-hero p{font-size:19px;line-height:1.75;max-width:660px}

/* Steps: larger type, wider columns, calmer connector */
.steps{margin-bottom:0}
.step{padding:0 26px}
.step .circle{width:72px;height:72px;font-size:26px;margin-bottom:26px}
.step:not(:last-child)::after{top:36px}
.step h4{font-size:18px;margin-bottom:12px;line-height:1.35}
.step p{font-size:15px;line-height:1.78}

/* Payment milestones: the trust anchor of this page */
.flow-pay{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:76px 0 88px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm)}
.flow-pay-item{position:relative;padding:34px 28px;text-align:center}
.flow-pay-item:not(:last-child)::after{content:'';position:absolute;right:0;top:28px;bottom:28px;width:1px;background:var(--line)}
.fp-num{display:block;font-family:var(--font-title);font-size:40px;font-weight:600;color:var(--accent);line-height:1.1;margin-bottom:10px}
.fp-label{display:block;font-size:13px;color:var(--ink-soft);letter-spacing:.02em}

/* Four guarantee cards: stronger hierarchy, readable body */
.grid-2.hiw-cards{gap:28px}
.hiw-cards .card{padding:34px}
.hiw-cards .card h3{font-size:21px;margin-bottom:12px}
.hiw-cards .card p{font-size:15px;line-height:1.8}

/* 1200px+: let the steps breathe */
@media(min-width:1200px){
  .step{padding:0 34px}
  .flow-pay-item{padding:40px 32px}
  .fp-num{font-size:44px}
}

/* Tablet: two columns */
@media(max-width:1024px){
  .flow-pay{grid-template-columns:1fr;margin:56px 0 72px}
  .flow-pay-item:not(:last-child)::after{right:28px;left:28px;top:auto;bottom:0;width:auto;height:1px}
}

/* Mobile: single column flow, 44px touch targets */
@media(max-width:768px){
  .hiw-hero p{font-size:17px}
  .step{padding:0 6px}
  .step .circle{width:64px;height:64px;font-size:23px;margin-bottom:18px}
  .step:not(:last-child)::after{display:none}
  .step h4{font-size:17px}
  .step p{font-size:14px}
  .flow-pay{margin:48px 0 64px}
  .flow-pay-item{padding:28px 20px}
  .fp-num{font-size:36px}
  .hiw-cards .card{padding:28px}
}
