/* Affiliate program page. Shared classes come from site.css; only what is missing there lives here. Phone first. */

/* Band: three short promises and the button to the customer panel */
.afp-promises { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 700; color: var(--white); }
.afp-promises li { position: relative; padding-inline-start: 18px; }
.afp-promises li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.55em; width: 8px; height: 8px; background: var(--red); }
.afp-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
.afp-band__more { font-weight: 700; color: var(--white); text-underline-offset: 4px; }

/* Rates: large numbers, the highest one on red */
.afp-rates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.afp-rates li { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 20px 18px; background: var(--grey); border-block-start: 4px solid var(--ink); }
.afp-rates strong { font-size: clamp(40px, 11vw, 64px); line-height: 1; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.afp-rates span { font-size: 15px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.afp-rates .afp-rates__top { background: var(--ink); border-block-start-color: var(--red); }
.afp-rates .afp-rates__top strong { color: var(--red); }
.afp-rates .afp-rates__top span { color: var(--white); }
.afp-example { margin-top: 16px; }
[dir="rtl"] .afp-rates strong { letter-spacing: 0; }

/* Steps: three on white cards */
@media (min-width: 700px) {
  .afp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* What the panel shows, on the dark section */
.afp-panel { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line-dark); }
.afp-panel li { display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; background: var(--ink); }
.afp-panel strong { position: relative; padding-inline-start: 22px; font-size: 18px; font-weight: 800; color: var(--white); }
.afp-panel strong::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.4em; width: 10px; height: 10px; background: var(--red); }
.afp-panel span { padding-inline-start: 22px; font-size: 15px; line-height: 1.5; color: var(--soft-dark); }
@media (min-width: 700px) {
  .afp-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Program terms, folded under the questions */
.afp-terms { margin-top: 24px; font-size: 15px; }
.afp-terms > summary { cursor: pointer; font-weight: 800; color: var(--ink); }
.afp-terms ol { display: grid; gap: 8px; margin: 12px 0 0; padding-inline-start: 22px; line-height: 1.55; }
