/* ============================================================
   SPONSOR / PARTNER PAGE  (task-252)
   v6 — editorial rewrite. Shared primitives (hero, stats, feats,
   logo wall, CTA band) live in css/sections/partner-brand.css.
   This file only carries page-specific blocks: tiers, steps,
   wall labels, contact name.
   ============================================================ */

.partner-page { background: var(--rr-paper); color: var(--rr-ink); }

/* ── Logo-wall section labels ── */
.ppx-wall-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--rr-muted);
    text-align: center;
    margin: 0 0 1.25rem;
}
.ppx-wall-label::before, .ppx-wall-label::after {
    content: "";
    width: clamp(20px, 6vw, 40px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rr-line));
}
.ppx-wall-label::after { background: linear-gradient(90deg, var(--rr-line), transparent); }
.ppx-wall-label--spaced { margin-top: clamp(2rem, 4vw, 3rem); }

/* ── Sponsorship tiers ── */
.ppx-tiers {
    display: grid;
    gap: clamp(1rem, 2.2vw, 1.5rem);
    align-items: stretch;
}
.ppx-tiers--1 { grid-template-columns: minmax(0, 460px); justify-content: center; }
.ppx-tiers--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0 auto; }
.ppx-tiers--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ppx-tiers--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ppx-tier {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(1.6rem, 2.5vw, 2.1rem) clamp(1.3rem, 2vw, 1.7rem);
    background: var(--rr-paper);
    border: 1px solid var(--rr-line);
    border-radius: var(--rr-radius);
    box-shadow: var(--rr-shadow);
    transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}
.ppx-tier:hover { transform: translateY(-5px); box-shadow: var(--rr-shadow-lg); }
.ppx-tier--featured {
    border-color: transparent;
    box-shadow: 0 0 0 2px var(--rr-accent), var(--rr-shadow-lg);
}
.ppx-tier--featured::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 4px;
    border-radius: var(--rr-radius) var(--rr-radius) 0 0;
    background: var(--rr-grad-accent);
}
@media (prefers-reduced-motion: reduce) { .ppx-tier { transition: none; } .ppx-tier:hover { transform: none; } }
.ppx-tier__flag {
    position: absolute;
    top: 0; right: 1.25rem;
    transform: translateY(-50%);
    background: var(--rr-accent);
    color: #fff;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .3rem .7rem;
    border-radius: var(--radius-full);
}
.ppx-tier__head { text-align: center; padding-bottom: 1.1rem; border-bottom: 1px solid var(--rr-line); }
.ppx-tier__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem; height: 2.75rem;
    border-radius: var(--radius-default);
    background: var(--rr-accent-soft);
    color: var(--rr-accent);
    font-size: 1.25rem;
    margin-bottom: .85rem;
}
.ppx-tier__name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--rr-ink);
    margin: 0 0 .65rem;
}
.ppx-tier__price { display: flex; align-items: baseline; justify-content: center; gap: .3rem; margin: 0; }
.ppx-tier__amount { font-family: var(--font-heading); font-size: 2.1rem; font-weight: 700; color: var(--rr-ink); }
.ppx-tier--featured .ppx-tier__amount { color: var(--rr-accent); }
.ppx-tier__per { font-size: .82rem; color: var(--rr-muted); }
.ppx-tier__suggested { font-size: .78rem; color: var(--rr-muted); margin: .5rem 0 0; }

.ppx-tier__body { flex: 1; padding: 1.2rem 0; }
.ppx-tier__benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.ppx-tier__benefits li { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; color: var(--rr-ink-soft); line-height: 1.45; }
.ppx-tier__benefits li i { color: var(--rr-accent); font-size: 1rem; margin-top: .1rem; flex-shrink: 0; }
.ppx-tier__summary { font-size: .9rem; color: var(--rr-ink-soft); line-height: 1.6; margin: 0; }
.ppx-tier__cta { width: 100%; justify-content: center; }
.ppx-tier:not(.ppx-tier--featured) .ppx-tier__cta {
    background: transparent;
    color: var(--rr-accent);
    border-color: var(--rr-line);
}
.ppx-tier:not(.ppx-tier--featured) .ppx-tier__cta:hover {
    background: var(--rr-accent-soft);
    border-color: var(--rr-accent);
    color: var(--rr-accent-deep);
}

/* ── How-it-works steps ── */
.ppx-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: clamp(1rem, 2.5vw, 2rem);
    counter-reset: step;
}
.ppx-step { padding-top: 1.25rem; border-top: 2px solid var(--rr-accent); }
.ppx-step h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--rr-ink);
    margin: .5rem 0 .5rem;
}
.ppx-step p { font-size: .92rem; line-height: 1.6; color: var(--rr-ink-soft); margin: 0; }

/* ── Contact name ── */
.ppx-contact-name { text-align: center; color: var(--rr-muted); font-size: .88rem; margin: 1.25rem 0 0; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .ppx-tiers--3, .ppx-tiers--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .ppx-tiers--2, .ppx-tiers--3, .ppx-tiers--4 { grid-template-columns: 1fr; }
}
