/* ==========================================================================
   Pricing page — internal layout for the single wide tier card,
   the "pays for itself" panel, and small supporting notes.
   Uses design-system tokens throughout; loaded after styles.css.
   ========================================================================== */

/* Founding-price explainer under the price block */
.tier-card__founding {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--charcoal);
    border-top: 1.5px dashed var(--cream-dark);
    margin-top: 1.1rem;
    padding-top: 0.9rem;
    max-width: 34em;
}

/* Multi-shop discount line */
.tier-card__multishop {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--forest-light);
    margin: 0.5rem 0 0;
}

/* ----- Tier card: intro + price on the left, payback sums on the right ----- */
.tier-card__top {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.75rem, 3.5vw, 3rem);
    align-items: center;
}

/* Price block gets a little more presence on the one-package card */
.tier-card__price {
    margin-top: 0.5rem;
}

.tier-card__amount {
    font-size: clamp(3.6rem, 3vw + 2rem, 4.4rem);
}

.tier-card__setup {
    margin-bottom: 0;
}

/* ----- "Pays for itself" panel — receipt-adjacent: dashed rules, mono figures.
        The Gift Aid line is the only gold on the page. ----- */
.payback {
    background: var(--cream);
    border: 1px solid var(--sage-mist);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.4rem 1.1rem;
}

.payback__title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--forest-light);
    margin-bottom: 0.5rem;
}

.payback__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 0.6rem 0;
}

.payback__row + .payback__row {
    border-top: 1.5px dashed var(--cream-dark);
}

.payback__row span:last-child {
    flex-shrink: 0;
    font-weight: 500;
}

.payback__row--gift {
    color: var(--gold-deep);
    font-weight: 500;
}

.payback__note {
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--text-secondary);
    border-top: 1.5px dashed var(--cream-dark);
    padding-top: 0.7rem;
    margin: 0;
}

/* ----- Divider between the price block and the lists ----- */
.tier-card__rule {
    border: 0;
    border-top: 1.5px dashed var(--cream-dark);
    margin: clamp(1.5rem, 3vw, 2.25rem) 0;
}

/* ----- Hardware and software lists, side by side ----- */
.tier-card__lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem clamp(1.75rem, 4vw, 3.5rem);
}

.tier-card__lists .tier-card__hardware,
.tier-card__lists .tier-card__features {
    margin-bottom: 0;
}

/* Mono column headings (h3 for heading order; mirrors the system's h4 style) */
.tier-card__lists h3 {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 0.5rem;
}

/* Single column per list with receipt rules between rows */
.tier-card__lists .tier-card__hardware ul,
.tier-card__lists .tier-card__features ul {
    display: block;
}

.tier-card__lists li {
    padding: 0.45rem 0;
}

.tier-card__lists li + li {
    border-top: 1.5px dashed var(--cream-dark);
}

/* Photo slot under the lists (currently commented out in the template) */
.tier-card__photo {
    margin-top: 1.75rem;
}

/* Full-width mono note under the two lists — the "with every package" line */
.tier-card__support-note {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    text-align: center;
    border-top: 1.5px dashed var(--cream-dark);
    margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0;
    padding-top: 1rem;
}

/* Small print under the card CTA */
.tier-card__cta-note {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
    margin-top: 0.9rem;
}

/* ----- Responsive ----- */
@media (max-width: 880px) {
    .tier-card__top {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .tier-card__lists {
        grid-template-columns: 1fr;
    }
}
