/* =====================================================================
   PARTNERS — partner program page (/partners/).
   Scoped under body.pp-page. Builds on global tokens from index-inline.css
   (--global-gradient, rem = px/16 of the 1920 design, /375 on mobile).
   Icons come from the <symbol id="pp-i-*"> sprite at the top of the page;
   their paths have no fill, so color is set here via fill.
   ===================================================================== */

.pp-page {
    --pp-text: #0b0b0b;
    --pp-muted: rgba(0, 0, 0, 0.7);
    --pp-border: #ececec;
    --pp-card-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.04);
    --pp-grad-soft: linear-gradient(93deg, #EEF27B 0%, #92E0C2 50%, #4FCFEA 100%);
}

.pp-page svg use {
    fill: inherit;
}

/* ---------- Shared section / titles ---------- */
.pp-section {
    scroll-margin-top: 7rem;
}

/* Section rhythm: .main is a flex column with an 11.75rem gap — tighten it */
.pp-page .main {
    grid-row-gap: 9.5rem;
    row-gap: 9.5rem;
}

.pp-title {
    margin: 0 auto 4.5rem;
    text-align: center;
}

.pp-title + .pp-subtitle {
    margin-top: -3rem;
}

.pp-subtitle {
    margin: 0 auto 4.5rem;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 500;
    color: var(--pp-muted);
}

.pp-btn-black {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18.4375rem;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    background: #000;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .3s ease;
}

@media (hover: hover) {
    .pp-btn-black:hover {
        background: #2a2a2a;
    }
}

.pp-link-btn {
    padding: 1.125rem 1.5rem;
    color: var(--pp-text);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
}

@media (hover: hover) {
    .pp-link-btn:hover {
        text-decoration: underline;
    }
}

/* ---------- Hero ---------- */
.pp-hero {
    position: relative;
    isolation: isolate;
    padding-top: 2rem;
}

.pp-hero__bg {
    position: absolute;
    z-index: -1;
    inset: -6rem 0 -12rem;
    pointer-events: none;
    background:
        radial-gradient(40% 45% at 12% 75%, rgba(232, 242, 160, 0.55), transparent 70%),
        radial-gradient(35% 40% at 85% 70%, rgba(140, 222, 240, 0.45), transparent 70%),
        radial-gradient(30% 30% at 55% 25%, rgba(200, 240, 220, 0.35), transparent 70%);
}

.pp-hero__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9375rem 1.5rem;
    margin-bottom: 1.75rem;
    border: 1px solid #dcdcdc;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.pp-badge svg {
    width: 1.375rem;
    height: 1.375rem;
    fill: #222;
}

.pp-hero__title {
    margin: 0 0 1.5rem;
}

.pp-hero__desc {
    max-width: 49rem;
    margin: 0 0 2.75rem;
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 500;
    color: #333;
}

.pp-hero__buttons {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.pp-hero__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 79.625rem;
    margin: 5.375rem auto 0;
    padding: 0;
    list-style: none;
}

.pp-hero-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3.5rem 2rem 3rem;
    border: 1px solid #e3e3e3;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(6px);
    text-align: center;
}

.pp-hero-step__icon {
    width: 6.75rem;
    height: 6.75rem;
    margin-bottom: 1.75rem;
    fill: url(#pp-grad-soft);
}

.pp-hero-step__num {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.55);
}

.pp-hero-step__title {
    max-width: 18rem;
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 600;
}

/* ---------- Niches ---------- */
.pp-niches {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.625rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pp-niche {
    display: flex;
    flex-direction: column;
    padding: 2.125rem 2.125rem 1.75rem;
    border: 1px solid var(--pp-border);
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: var(--pp-card-shadow);
}

.pp-niche__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.125rem;
    height: 4.125rem;
    margin-bottom: 3rem;
    border-radius: 0.75rem;
}

.pp-niche__icon svg {
    width: 2rem;
    height: 2rem;
    fill: #fff;
}

.pp-niche__icon--pink { background: #ff397e; }
.pp-niche__icon--teal { background: var(--card-item-two, #2e989d); }
.pp-niche__icon--green { background: var(--card-item-three, #85c205); }
.pp-niche__icon--yellow { background: var(--card-item-four, #fdb724); }

.pp-niche b {
    margin-bottom: 1rem;
    max-width: 14rem;
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 500;
}

.pp-niche span:last-child {
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 500;
    color: #444;
}

.pp-niches-all {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding: 1.5rem 2.125rem;
    border: 1px dashed #cfcfcf;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
}

.pp-niches-all__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.125rem;
    height: 4.125rem;
    border-radius: 0.75rem;
    background: #000;
}

.pp-niches-all__icon svg {
    width: 2.25rem;
    height: 2.25rem;
    fill: url(#pp-grad);
}

.pp-niches-all__title {
    max-width: 19rem;
    margin-right: 3rem;
    font-size: 1.75rem;
    line-height: 1.05;
    font-weight: 500;
}

.pp-niches-all__text {
    max-width: 16rem;
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 500;
    color: #444;
}

/* ---------- Why join ---------- */
.pp-why {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pp-why__item {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    min-height: 10.3125rem;
    padding: 2rem 3.75rem;
    border: 1px solid var(--pp-border);
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: var(--pp-card-shadow);
}

.pp-why__icon {
    flex: none;
    width: 3rem;
    height: 3rem;
    fill: #000;
}

.pp-why__item span {
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 500;
    color: #444;
}

.pp-why__item b {
    display: block;
    margin-bottom: 0.625rem;
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 500;
    color: var(--pp-text);
}

.pp-discount {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 15.1875rem;
    margin-top: 1.625rem;
    padding: 2.5rem 6rem 2.5rem 52.75rem;
    overflow: hidden;
    border-radius: 1.5rem;
    background:
        radial-gradient(60% 120% at 10% 20%, rgba(130, 180, 110, 0.7), transparent 60%),
        radial-gradient(50% 110% at 45% 60%, rgba(60, 140, 120, 0.85), transparent 70%),
        #000;
    color: #fff;
}

.pp-discount__big {
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%) scaleX(0.9);
    transform-origin: left center;
    font-size: 21rem;
    line-height: 0.8;
    font-weight: 500;
    letter-spacing: -0.06em;
    white-space: nowrap;
    background: linear-gradient(90deg, rgba(225, 245, 190, 0.95) 0%, rgba(160, 220, 190, 0.85) 45%, rgba(150, 200, 200, 0.75) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    pointer-events: none;
    user-select: none;
}

.pp-discount__text {
    position: relative;
    width: 100%;
}

.pp-discount__title {
    margin: 0 0 1.5rem;
    max-width: 28rem;
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 600;
}

.pp-discount__note {
    margin: 0;
    max-width: 19rem;
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 500;
}

/* ---------- How it works ---------- */
.pp-how {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 87rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.pp-how__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
    text-align: center;
}

.pp-how__item + .pp-how__item::before {
    content: '';
    position: absolute;
    top: 3.0625rem;
    right: calc(50% + 6.25rem);
    width: 14.875rem;
    height: 1px;
    background: #e2e2e2;
}

.pp-how__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6.125rem;
    height: 6.125rem;
    margin-bottom: 2.75rem;
    border-radius: 1rem;
    background: #000;
}

.pp-how__icon svg {
    width: 3rem;
    height: 3rem;
    fill: url(#pp-grad);
}

.pp-how__num {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.pp-how__item b {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 600;
}

.pp-how__text {
    max-width: 21.5rem;
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 500;
    color: #555;
}

/* ---------- Reward terms ---------- */
.pp-terms {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 79.625rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.pp-term {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr 19.5rem;
    align-items: center;
    column-gap: 2rem;
    min-height: 11.25rem;
    padding: 2rem 4.5rem 2rem 6.25rem;
    border-radius: 2rem;
    background: #f6f6f6;
}

.pp-term__icon {
    position: absolute;
    left: 3.5rem;
    top: 2.75rem;
    width: 1.875rem;
    height: 1.875rem;
    fill: #9d9d9d;
}

.pp-term__value {
    font-size: 5.5rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.pp-term__label {
    font-size: 1.75rem;
    line-height: 1.05;
    font-weight: 600;
}

.pp-term__label--top {
    align-self: start;
    margin-top: 0.75rem;
}

.pp-term__text {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 500;
    color: #333;
}

.pp-term--accent {
    background: var(--pp-grad-soft);
}

.pp-term--accent .pp-term__icon {
    fill: #333;
}

/* ---------- Reward tiers ---------- */
.pp-tiers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 79.625rem;
    margin: 0 auto 1rem;
    padding: 0;
    list-style: none;
}

.pp-tier {
    display: flex;
    flex-direction: column;
    padding: 2.25rem 2rem 2rem;
    border-radius: 2rem;
    background: #f6f6f6;
}

.pp-tier__name {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
}

.pp-tier__percent {
    font-size: 5.5rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.pp-tier--accent .pp-tier__percent {
    font-size: 2.5rem;
    line-height: 2.2;
}

.pp-tier__range {
    margin: 0.75rem 0 1.25rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.pp-tier__text {
    margin-top: auto;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 500;
    color: #333;
}

.pp-tier--accent {
    background: #000;
    color: #fff;
}

.pp-tier--accent .pp-tier__name,
.pp-tier--accent .pp-tier__text {
    color: rgba(255, 255, 255, 0.75);
}

.pp-tier--accent .pp-tier__percent {
    background: var(--global-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Partner tools ---------- */
.pp-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    max-width: 88.625rem;
    margin: 0 auto;
}

.pp-tool {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem 3.375rem;
    border: 1px solid var(--pp-border);
    border-radius: 2rem;
    background: #fff;
    box-shadow: var(--pp-card-shadow);
}

.pp-tool--stats {
    grid-column: 2;
    grid-row: 1 / span 2;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
}

.pp-tool__text h3 {
    margin: 0 0 1.5rem;
    max-width: 18rem;
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 500;
}

.pp-tool__text p {
    margin: 0;
    max-width: 24rem;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 500;
    color: #444;
}

.pp-tool__qr {
    flex: none;
    width: 9rem;
    height: 9rem;
    fill: #a9a9a9;
}

.pp-copy-visual {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: none;
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    border: 1px solid #e4e4e4;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.06);
    font-size: 1.375rem;
    letter-spacing: 0.03em;
    color: #666;
}

.pp-copy-visual i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #f1f1f1;
}

.pp-copy-visual svg {
    width: 1rem;
    height: 1rem;
    fill: #1f2a3a;
}

.pp-stats-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.pp-stats-visual__circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
    height: 8rem;
    border: 1px solid #e2e2e2;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0.375rem 0 0 -1px #f1f1f1, 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
}

.pp-stats-visual__circle svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: #1f2a3a;
}

.pp-stats-visual__rows {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pp-stats-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 9.375rem;
    padding: 0.625rem 0.75rem;
    border: 1px solid #cfeef0;
    border-radius: 0.375rem;
    background: #fff;
    box-shadow: 0 0.5rem 1.25rem rgba(41, 198, 255, 0.12);
}

.pp-stats-row i {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
}

.pp-stats-row i svg {
    width: 1rem;
    height: 1rem;
    fill: #fff;
}

.pp-stats-row i.is-violet { background: #8a2be2; }
.pp-stats-row i.is-green { background: #22c55e; }
.pp-stats-row i.is-blue { background: #2a9fd8; }

.pp-stats-row em {
    flex: 1;
    height: 0.75rem;
    border-radius: 1rem;
    background: linear-gradient(#e6e6e6, #e6e6e6) top / 100% 0.375rem no-repeat,
                linear-gradient(#efefef, #efefef) bottom left / 55% 0.25rem no-repeat;
}

/* ---------- Partner tools: personal page card ---------- */
.pp-tool--page {
    grid-column: 1 / -1;
}

.pp-tool--page .pp-tool__text h3 {
    max-width: none;
}

.pp-tool--page .pp-tool__text p {
    max-width: 36rem;
}

.pp-page-visual {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    width: 22rem;
    padding: 1.75rem 2rem 2rem;
    border-radius: 1.5rem;
    background:
        radial-gradient(70% 60% at 20% 0%, rgba(150, 190, 90, 0.6), transparent 70%),
        radial-gradient(70% 60% at 100% 10%, rgba(40, 130, 130, 0.8), transparent 70%),
        #0b0b0b;
    color: #fff;
    text-align: center;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.15);
}

.pp-page-visual__top {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.pp-page-visual__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0.75rem 0;
    border: 3px solid transparent;
    border-radius: 50%;
    background: linear-gradient(#222, #222) padding-box, var(--global-gradient) border-box;
}

.pp-page-visual__avatar svg {
    width: 2.25rem;
    height: 2.25rem;
    fill: rgba(255, 255, 255, 0.8);
}

.pp-page-visual__name {
    font-size: 1.25rem;
    font-weight: 700;
}

.pp-page-visual__perks {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.pp-page-visual__perks b {
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    font-size: 1rem;
}

.pp-page-visual__btn {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.625rem;
    background: var(--global-gradient);
    color: #000;
    font-size: 1rem;
    font-weight: 600;
}

/* ---------- Where to share ---------- */
.pp-where {
    display: grid;
    grid-template-columns: 1fr 39.875rem;
    gap: 4rem;
    max-width: 79.625rem;
    margin: 0 auto;
}

.pp-where__title {
    margin: 0;
    text-align: left;
}

.pp-where__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pp-where__item {
    display: flex;
    align-items: center;
    gap: 2.75rem;
    padding: 2.25rem 0;
    border-bottom: 1px solid #e6e6e6;
}

.pp-where__item:first-child {
    padding-top: 0;
}

.pp-where__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.pp-where__icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 0.625rem;
    background: #000;
}

.pp-where__icon svg {
    width: 1.75rem;
    height: 1.75rem;
    fill: url(#pp-grad);
}

.pp-where__item > span:last-child {
    max-width: 23rem;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 500;
    color: #444;
}

.pp-where__item b {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 500;
    color: var(--pp-text);
}

/* ---------- Payout banner ---------- */
.pp-payout {
    position: relative;
    display: flex;
    min-height: 33.875rem;
    overflow: hidden;
    border-radius: 2.5rem;
    background:
        radial-gradient(35% 60% at 38% 95%, rgba(150, 190, 90, 0.75), transparent 70%),
        radial-gradient(50% 70% at 95% 10%, rgba(40, 110, 110, 0.9), transparent 70%),
        radial-gradient(40% 70% at 70% 60%, rgba(60, 120, 90, 0.6), transparent 70%),
        #000;
    color: #fff;
}

.pp-payout__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 32rem;
    padding: 3.75rem 0 3.5rem 4.375rem;
}

.pp-payout__title {
    margin: 0 0 1.75rem;
    max-width: 22rem;
    font-size: 4rem;
    text-align: left;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pp-payout__lead {
    width: 100%;
    margin: 0 0 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 1rem;
    font-weight: 500;
}

.pp-payout__label {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.pp-payout__terms {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.pp-payout__term {
    display: flex;
    gap: 0.75rem;
}

.pp-payout__term svg {
    flex: none;
    width: 1.25rem;
    height: 1.25rem;
    fill: url(#pp-grad);
}

.pp-payout__term p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 500;
}

.pp-payout__term:first-child p {
    max-width: 8.5rem;
}

.pp-payout__term:last-child p {
    white-space: nowrap;
}

.pp-payout__term b {
    display: block;
    margin-top: 0.25rem;
    font-weight: 500;
}

.pp-payout__btn {
    min-width: 25rem;
    text-align: center;
}

.pp-payout__cards {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 52%;
    pointer-events: none;
}

.pp-card {
    position: absolute;
    width: 40rem;
    height: 25rem;
    padding: 3rem 3.5rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(220, 240, 230, 0.35) 50%, rgba(180, 220, 200, 0.45));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.25);
    color: rgba(255, 255, 255, 0.9);
}

.pp-card__label {
    display: block;
    font-size: 2.25rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.pp-card--1 {
    left: 7rem;
    top: 11rem;
    transform: rotate(16deg);
}

.pp-card--2 {
    left: 18rem;
    top: 5rem;
    transform: rotate(30deg);
    opacity: 0.75;
}

.pp-card--3 {
    left: 29rem;
    top: 2rem;
    transform: rotate(42deg);
    opacity: 0.55;
}

.pp-card__sum {
    display: block;
    margin-top: 1rem;
    font-size: 4.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
}

.pp-card__num {
    position: absolute;
    left: 3.5rem;
    bottom: 2.5rem;
    font-size: 2rem;
    letter-spacing: 0.06em;
}

.pp-card__logo {
    position: absolute;
    right: 3rem;
    bottom: 6rem;
    display: flex;
}

.pp-card__logo i {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 50%;
    background: #eb001b;
}

.pp-card__logo i + i {
    margin-left: -1.75rem;
    background: rgba(247, 158, 27, 0.9);
}

/* =====================================================================
   Mobile (rem = px/16 of a 375 layout)
   ===================================================================== */
@media (max-width: 479px) {
    .pp-page .main {
        grid-row-gap: 5rem;
        row-gap: 5rem;
    }

    .pp-title {
        margin-bottom: 2rem;
        font-size: 2rem;
    }

    .pp-title br,
    .pp-subtitle br {
        display: none;
    }

    .pp-title + .pp-subtitle {
        margin-top: -1rem;
    }

    .pp-subtitle {
        margin-bottom: 2rem;
        font-size: 1rem;
    }

    /* hero */
    .pp-hero {
        padding-top: 1rem;
    }

    .pp-badge {
        margin-bottom: 1.25rem;
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .pp-hero__title {
        font-size: 2.25rem;
    }

    .pp-hero__desc {
        margin-bottom: 1.75rem;
        font-size: 1rem;
    }

    .pp-hero__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        width: 100%;
    }

    .pp-hero__buttons .main-btn {
        text-align: center;
    }

    .pp-hero__steps {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-top: 2.5rem;
    }

    .pp-hero-step {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        column-gap: 1rem;
        align-items: center;
        padding: 1rem 1.25rem;
        border-radius: 1.25rem;
        text-align: left;
    }

    .pp-hero-step__icon {
        grid-row: 1 / span 2;
        width: 3.5rem;
        height: 3.5rem;
        margin: 0;
    }

    .pp-hero-step__num {
        margin: 0;
        font-size: 0.875rem;
    }

    .pp-hero-step__title {
        max-width: none;
        font-size: 1.125rem;
    }

    /* niches */
    .pp-niches {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .pp-niche {
        padding: 1rem;
        border-radius: 1rem;
    }

    .pp-niche__icon {
        width: 2.75rem;
        height: 2.75rem;
        margin-bottom: 1.25rem;
    }

    .pp-niche__icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }

    .pp-niche b {
        margin-bottom: 0.5rem;
        font-size: 1.0625rem;
    }

    .pp-niche span:last-child {
        font-size: 0.8125rem;
    }

    .pp-niches-all {
        grid-template-columns: auto 1fr;
        gap: 0.75rem 1rem;
        margin-top: 0.75rem;
        padding: 1.25rem;
        border-radius: 1rem;
    }

    .pp-niches-all__icon {
        width: 2.75rem;
        height: 2.75rem;
    }

    .pp-niches-all__icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }

    .pp-niches-all__title {
        margin: 0;
        font-size: 1.125rem;
        line-height: 1.2;
    }

    .pp-niches-all__text {
        grid-column: 1 / -1;
        max-width: none;
        font-size: 0.875rem;
    }

    .pp-btn-black {
        grid-column: 1 / -1;
        min-width: 0;
        font-size: 1rem;
    }

    /* why */
    .pp-why {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .pp-why__item {
        align-items: flex-start;
        gap: 1rem;
        min-height: 0;
        padding: 1.25rem;
        border-radius: 1rem;
    }

    .pp-why__icon {
        width: 2rem;
        height: 2rem;
    }

    .pp-why__item span {
        font-size: 0.875rem;
    }

    .pp-why__item b {
        margin-bottom: 0.375rem;
        font-size: 1.125rem;
    }

    .pp-discount {
        min-height: 13rem;
        margin-top: 0.75rem;
        padding: 1.5rem 1.25rem;
        align-items: flex-end;
        border-radius: 1rem;
    }

    .pp-discount__big {
        left: -0.5rem;
        top: 0.25rem;
        transform: scaleX(0.72);
        font-size: 9rem;
    }

    .pp-discount__title {
        margin-bottom: 0.5rem;
        font-size: 1.375rem;
    }

    .pp-discount__note {
        font-size: 0.875rem;
    }

    /* how */
    .pp-how {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pp-how__item + .pp-how__item::before {
        display: none;
    }

    .pp-how__icon {
        width: 4rem;
        height: 4rem;
        margin-bottom: 1rem;
    }

    .pp-how__icon svg {
        width: 2rem;
        height: 2rem;
    }

    .pp-how__item b {
        margin-bottom: 0.5rem;
        font-size: 1.25rem;
    }

    .pp-how__text {
        font-size: 0.9375rem;
    }

    /* tiers */
    .pp-tiers {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .pp-tier {
        padding: 1.25rem 1rem;
        border-radius: 1.25rem;
    }

    .pp-tier__name {
        margin-bottom: 0.5rem;
        font-size: 0.8125rem;
    }

    .pp-tier__percent {
        font-size: 2.75rem;
    }

    .pp-tier--accent .pp-tier__percent {
        font-size: 1.25rem;
        line-height: 2.2;
    }

    .pp-tier__range {
        margin: 0.375rem 0 0.75rem;
        font-size: 0.9375rem;
    }

    .pp-tier__text {
        font-size: 0.8125rem;
    }

    .pp-tool--page {
        flex-direction: column;
        align-items: stretch;
    }

    .pp-page-visual {
        width: 100%;
        padding: 1.25rem;
    }

    /* terms */
    .pp-terms {
        gap: 0.75rem;
    }

    .pp-term {
        grid-template-columns: auto 1fr;
        row-gap: 0.75rem;
        column-gap: 0.75rem;
        min-height: 0;
        padding: 1.25rem 1.25rem 1.25rem 3rem;
        border-radius: 1.25rem;
    }

    .pp-term__icon {
        left: 1rem;
        top: 1.375rem;
        width: 1.375rem;
        height: 1.375rem;
    }

    .pp-term__value {
        font-size: 2.75rem;
    }

    .pp-term--accent .pp-term__value {
        font-size: 1.875rem;
    }

    .pp-term__label {
        font-size: 1rem;
    }

    .pp-term__label--top {
        margin-top: 0;
    }

    .pp-term__text {
        grid-column: 1 / -1;
        font-size: 0.875rem;
    }

    /* tools */
    .pp-tools {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .pp-tool--stats {
        grid-column: auto;
        grid-row: auto;
    }

    .pp-tool {
        padding: 1.5rem 1.25rem;
        border-radius: 1.25rem;
        gap: 1rem;
    }

    .pp-tool__text h3 {
        margin-bottom: 0.625rem;
        font-size: 1.25rem;
    }

    .pp-tool__text p {
        font-size: 0.875rem;
    }

    .pp-tool__qr {
        width: 4.5rem;
        height: 4.5rem;
    }

    .pp-tool--copy {
        flex-direction: column;
        align-items: flex-start;
    }

    .pp-copy-visual {
        font-size: 1rem;
    }

    .pp-stats-visual {
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .pp-stats-visual__circle {
        width: 5rem;
        height: 5rem;
    }

    .pp-stats-visual__circle svg {
        width: 1.75rem;
        height: 1.75rem;
    }

    /* where */
    .pp-where {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pp-where__title {
        font-size: 2rem;
        text-align: center;
    }

    .pp-where__item {
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem 0;
    }

    .pp-where__icon {
        width: 2.75rem;
        height: 2.75rem;
    }

    .pp-where__icon svg {
        width: 1.375rem;
        height: 1.375rem;
    }

    .pp-where__item b {
        margin-bottom: 0.375rem;
        font-size: 1.125rem;
    }

    .pp-where__item > span:last-child {
        font-size: 0.875rem;
    }

    /* payout */
    .pp-payout {
        flex-direction: column;
        min-height: 0;
        border-radius: 1.5rem;
    }

    .pp-payout__content {
        width: 100%;
        padding: 2rem 1.25rem 1.5rem;
    }

    .pp-payout__title {
        margin-bottom: 1rem;
        font-size: 2.25rem;
    }

    .pp-payout__lead {
        font-size: 0.9375rem;
    }

    .pp-payout__terms {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.75rem;
    }

    .pp-payout__term p,
    .pp-payout__term:first-child p {
        font-size: 0.9375rem;
        max-width: none;
        white-space: normal;
    }

    .pp-payout__term b {
        display: inline;
    }

    .pp-payout__btn {
        min-width: 0;
        width: 100%;
    }

    .pp-payout__cards {
        position: relative;
        width: 100%;
        height: 12rem;
    }

    .pp-card {
        width: 17rem;
        height: 10.5rem;
        padding: 1.25rem 1.5rem;
        border-radius: 1.25rem;
    }

    .pp-card__label {
        font-size: 1rem;
    }

    .pp-card__sum {
        margin-top: 0.375rem;
        font-size: 1.875rem;
    }

    .pp-card__num {
        left: 1.5rem;
        bottom: 1rem;
        font-size: 0.875rem;
    }

    .pp-card__logo {
        right: 1.25rem;
        bottom: 2.5rem;
    }

    .pp-card__logo i {
        width: 1.875rem;
        height: 1.875rem;
    }

    .pp-card__logo i + i {
        margin-left: -0.75rem;
    }

    .pp-card--1 { left: 2rem; top: 2rem; transform: rotate(-8deg); }
    .pp-card--2 { left: 5rem; top: 0.5rem; transform: rotate(4deg); }
    .pp-card--3 { left: 8rem; top: -0.5rem; transform: rotate(14deg); }
}
