/* ============================================================
   /pricing — plan cards, scoped to body.page-pricing.
   Theme variables only (themes.css), so light / dark / high-contrast all
   follow the picker. ⚠️ The template's own .pricing-wrapper styles were NOT
   used: they hardcode light-theme colours (.price-duration #60697b).
   ============================================================ */

body.page-pricing .wsp-plans {
    margin-top: -4.5rem;           /* cards overlap the hero band, like the legal pages' first card */
}

/* ⚠️ The card paints its OWN surface and ink. A plain .card stays white in
   the dark theme while the inherited text turns light (measured 1.24:1), and
   high-contrast pairs a white surface with WHITE page text — so every colour
   inside a card is a --theme-surface* value, never --theme-text. */
body.page-pricing .wsp-plan {
    height: 100%;
    background: var(--theme-surface, #fff);
    color: var(--theme-surface-text, #343f52);
    border: 1px solid var(--theme-border, #e2e8f0);
    border-radius: 16px;
}

/* ⚠️ ALIGNMENT: the featured card must not move its own contents. A 2px border
   (the others have 1px) shifted everything 1px; the extra weight is a ring
   drawn OUTSIDE the box instead, and the tag below is taken out of the flow —
   in the flow it pushed "Pro" and its price a whole line below the other
   cards' (owner screenshot, 2026-11-23). */
body.page-pricing .wsp-plan.is-featured {
    position: relative;
    border-color: var(--theme-accent, #667eea);
    box-shadow: 0 0 0 1px var(--theme-accent, #667eea);
}

body.page-pricing .wsp-plan .card-body {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
}

body.page-pricing .wsp-plan-tag {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .02em;
    padding: .25rem .65rem;
    border-radius: 999px;
    /* dark ink on the soft accent: --theme-accent-soft is LIGHT in every theme
       (white on the accent measured 3.66:1 at this size — under AA) */
    background: var(--theme-accent-soft, #e0e7ff);
    color: #312e81;
}

body.page-pricing .wsp-plan-name {
    font-size: 1.35rem;
    margin: 0 0 .35rem;
    color: var(--theme-surface-text, #343f52);
}

body.page-pricing .wsp-plan-for {
    color: var(--theme-muted, #6c757d);
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

body.page-pricing .wsp-price {
    display: flex;
    align-items: baseline;
    gap: .35rem;
    margin: 0;
    color: var(--theme-surface-text, #343f52);
    line-height: 1;
}

body.page-pricing .wsp-price-amount {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

body.page-pricing .wsp-price-per {
    font-size: 1rem;
    color: var(--theme-muted, #6c757d);
}

body.page-pricing .wsp-price-alt {
    margin: .6rem 0 0;
    font-size: .95rem;
    color: var(--theme-muted, #6c757d);
    min-height: 1.5em;
}

body.page-pricing .wsp-price-alt strong {
    color: var(--theme-surface-text, #343f52);
}

body.page-pricing .wsp-plan-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 1.75rem;
    flex: 1 1 auto;
}

body.page-pricing .wsp-plan-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: .65rem;
    font-size: 1rem;
    color: var(--theme-surface-text, #343f52);
}

body.page-pricing .wsp-plan-list li .bi {
    position: absolute;
    left: 0;
    top: .05rem;
    font-size: 1.1rem;
    color: var(--theme-accent, #667eea);
}

/* One height for every plan button: the outline link (1px border) measured
   57px beside the dashed "Launching soon" (2px) at 60px. */
body.page-pricing .wsp-plan .btn {
    width: 100%;
    min-height: 3.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* "Launching soon" buttons: visibly inactive, still readable (not the
   browser's faded :disabled look, which drops below AA on dark). */
body.page-pricing .wsp-plan .btn.is-soon {
    pointer-events: none;
    background: transparent;
    border: 2px dashed var(--theme-border, #cbd5e1);
    color: var(--theme-surface-text, #343f52);
    box-shadow: none;
}

/* ⛔ Google Play: an app on Play that sells digital goods must use Play
   Billing. The Android app (html.wsp-twa) therefore never shows a buy
   control; purchases happen on the website only. */
html.wsp-twa body.page-pricing .wsp-buy {
    display: none !important;
}

/* The tax and billing line Paddle's review asks for ("Taxes may apply and
   will be calculated at checkout"): full body size, not fine print. */
body.page-pricing .wsp-price-terms {
    font-size: 1rem;
    max-width: 46rem;
    margin-left: auto;
    margin-right: auto;
}

body.page-pricing .wsp-steps {
    counter-reset: wsp-step;
    list-style: none;
    padding: 0;
}

body.page-pricing .wsp-steps li {
    counter-increment: wsp-step;
    position: relative;
    padding-left: 2.75rem;
    margin-bottom: 1rem;
}

body.page-pricing .wsp-steps li::before {
    content: counter(wsp-step);
    position: absolute;
    left: 0;
    top: -.1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: .95rem;
    background: var(--theme-accent, #667eea);
    color: var(--theme-button-text, #fff);
}

@media (max-width: 991.98px) {
    body.page-pricing .wsp-plans {
        margin-top: -3rem;
    }
}
