/* ===== Affiliate program page =====
   Second page of the same account book as /pricing: everything inherits
   the ledger identity from pricing_page.css; this file holds only what is
   specific to the program page — commission credits (money-blue, signed
   positive) and the three-step sequence. */

.ap-hero-cta {
    margin-top: 2.25rem;
    display: flex;
    justify-content: center;
}

/* Commission lines are CREDITS to the affiliate: money-blue, plus-signed —
   the mirror image of the pricing page's red fee debits. Selector matches
   .lp-line dd's specificity and wins by order (this sheet loads after). */
.lp-line dd.ap-credit {
    color: var(--lp-money);
}

.ap-line-ellipsis dt,
.ap-line-ellipsis dd {
    color: var(--color-muted-foreground);
    font-size: 0.85rem;
}

/* ---- steps: a real sequence (link → purchase → payout), so numbered
   markers carry information here ---- */
.ap-steps {
    padding: 4rem 1rem 3rem;
}

.ap-steps-list {
    list-style: none;
    counter-reset: ap-step;
    max-width: 640px;
    margin: 0 auto;
    padding: 0;
}

.ap-steps-list li {
    counter-increment: ap-step;
    position: relative;
    padding: 1.4rem 0 1.4rem 4rem;
    border-bottom: 1px solid var(--lp-wire, hsl(214, 28%, 88%));
}

.ap-steps-list li:first-child {
    border-top: 1px solid var(--lp-wire, hsl(214, 28%, 88%));
}

.ap-steps-list li::before {
    content: counter(ap-step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 1.55rem;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: hsl(211, 100%, 34%);
}

.ap-steps-list h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: hsl(216, 24%, 12%);
    margin-bottom: 0.4rem;
}

.ap-steps-list p {
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--color-muted-foreground);
    margin: 0;
}

/* ---- dark-band terms link ---- */
.ap-terms-link {
    color: hsl(211, 95%, 76%);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ap-terms-link:hover,
.ap-terms-link:focus-visible {
    color: hsl(211, 95%, 88%);
}

@media (max-width: 720px) {
    .ap-steps-list li {
        padding-left: 3rem;
    }
}
