/* cara-bayar.html · How to pay (page-local; the kit owns everything else, the hero follows harga.css) */

/* ---------- (01) hero */
.cb-top { padding: calc(var(--nav-h) + clamp(48px, 7vh, 88px)) 0 clamp(40px, 5vh, 72px); }
.cb-top .idx { margin-bottom: 26px; }
.cb-h1 { font-size: calc(clamp(38px, 3.6vw, 66px) * var(--ts, 1)); line-height: 1.02; letter-spacing: -.042em; max-width: 21em; }
.cb-lede { margin-top: 22px; max-width: 46em; color: #2F2D29; }
.cb-lede a, .cb-contacts .body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cb-note { margin-top: 18px; max-width: 46em; padding-left: 14px; border-left: 2px solid var(--accent); font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.cb-line { height: 2px; margin: clamp(32px, 4.4vh, 52px) 0 0; }

/* ---------- (02) steps: text on the left, screenshots on the right */
.cb-steps { list-style: none; margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--ink); }
.cb-step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gap); align-items: start; padding: clamp(40px, 4.6vw, 72px) 0 clamp(48px, 5vw, 80px); border-bottom: 1px solid var(--hair); }
.cb-step__text { padding-right: clamp(0px, 2vw, 32px); }
.cb-step__n { display: flex; align-items: center; gap: 12px; color: var(--accent); margin-bottom: 18px; }
.cb-step__n .num { color: var(--muted); }
.cb-step__h { margin-bottom: 18px; max-width: 16em; }
.cb-step .body { max-width: 31em; }
.cb-step__more { margin-top: 22px; }
.cb-step__more .link { font-size: 15px; }
.cb-step__fine { margin-top: 18px; font-size: 15px; }
.cb-step__media { padding-top: 34px; }
.cb-step .frame__cap { font-size: 12.5px; }
a.frame__media { display: block; cursor: zoom-in; }
a.frame__media:focus-visible { outline-offset: 16px; }
.cb-second { width: 62%; margin: 64px 0 0 auto; }
.cb-next { margin-top: 64px; }

/* the card page and 3-D Secure side by side, at one height (columns follow the two aspect ratios) */
.cb-pair { display: grid; grid-template-columns: 1.453fr .595fr; column-gap: 16px; align-items: start; }
.cb-pair__cap { grid-column: 1 / -1; }

/* the three ways to pay inside step 04 */
.cb-ways { border-top: 1px solid var(--hair); max-width: 31em; }
.cb-ways > div { padding: 14px 0 16px; border-bottom: 1px solid var(--hair); }
.cb-ways dt { font-weight: 500; letter-spacing: -.012em; margin-bottom: 4px; }
.cb-ways dd { font-size: clamp(15px, 1.05vw, 16.5px); line-height: 1.5; color: #2F2D29; }

/* ---------- (03) methods and facts */
.cb-methods .row__d p { font-size: clamp(16px, 1.15vw, 19px); line-height: 1.55; max-width: 34em; }
.cb-facts { margin-top: clamp(48px, 5vw, 72px); }
.cb-facts dd { color: #2F2D29; max-width: 46em; }

/* ---------- help */
.cb-contacts { margin-top: 8px; }

/* ---------- tablets: screenshots go under the text */
@media (max-width: 1000px) {
  .cb-step { grid-template-columns: minmax(0, 1fr); }
  .cb-step__text { padding-right: 0; }
  .cb-step__media { padding-top: 48px; }
  .cb-second { width: 72%; }
}

/* ---------- phones */
@media (max-width: 760px) {
  .cb-top { padding-top: calc(var(--nav-h) + 40px); }
  .cb-h1 { font-size: calc(clamp(32px, 8.6vw, 42px) * var(--ts, 1)); line-height: 1.02; }
  .cb-lede { margin-top: 20px; font-size: 17px; }
  .cb-line { margin-top: 28px; }
  .cb-steps { margin-top: 32px; }
  .cb-step { display: block; padding: 32px 0 40px; }
  .cb-step__h { font-size: 24px; }
  .cb-step__media { padding-top: 64px; }
  .cb-second { width: 86%; margin-top: 48px; }
  .cb-next { margin-top: 48px; }
  .cb-pair { column-gap: 10px; }
}
