html {
    scroll-behavior: initial;
    overflow-x: hidden;
}

body {
    width: 100%;
    position: relative;
    min-height: 100%;
    overflow-x: hidden;
}

.zilch-pro {
    --pro-green: #00cf83;
    --pro-dark: #002e25;
    --pro-mint: #e6fdf4;
}

.pro-hero {
    position: relative;
    background: var(--pro-mint);
    text-align: center;
}

.pro-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.pro-hero h1 {
    position: absolute;
    inset: auto 0 5%;
    margin: 0;
    color: var(--pro-mint);
    font-size: clamp(2.2rem, 7vw, 6.5rem);
    font-weight: 400;
    line-height: 1;
}

.pro-intro, .pro-apr, .pro-benefits, .pro-faq {
    text-align: center;
}

.pro-intro, .pro-apr {
    padding: 30px;
}

.pro-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 1lh;
}

.pro-price span {
    border: 1px solid #000;
    border-radius: 4px;
    padding: 2px 5px;
}

.pro-apr {
    max-width: 1240px;
    margin: 0 auto;
}

.pro-apr h2 {
    color: inherit;
    font-size: 22px;
    line-height: normal;
}

.pro-apr a {
    text-decoration: underline;
}

.pro-apr a, .pro-apr .pro-keep-together {
    white-space: nowrap;
}

.pro-benefits, .pro-trustpilot {
    width: min(1032px, calc(100% - 48px));
    margin-inline: auto;
}

.pro-benefits {
    margin-bottom: 30px;
}

.pro-benefits > h2 {
    padding-top: 20px;
    color: var(--pro-green);
    font-size: clamp(1.75rem, 3vw, 2.625rem);
    margin-bottom: 36px;
}

.pro-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.pro-benefit {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    background: var(--pro-mint);
    overflow-wrap: anywhere;
}

.pro-benefit-art {
    display: block;
    width: 100%;
    height: auto;
    color: inherit;
}

.pro-benefit-copy {
    position: absolute;
    inset: 0 0 auto;
    padding: 32px 20px;
}

.pro-benefit h3 {
    color: var(--pro-green);
    font-size: clamp(1.625rem, 3vw, 2.625rem);
    line-height: 1.04;
    margin: 0 0 14px;
}

.pro-benefit p {
    max-width: 380px;
    margin: 0 auto;
    line-height: 1.25;
}

.pro-benefit--rewards, .pro-benefit--pay-over-time, .pro-benefit--tastecard {
    min-height: 360px;
    justify-content: space-between;
    padding: 32px;
}

.pro-benefit--rewards, .pro-benefit--card, .pro-benefit--tastecard {
    background: var(--pro-dark);
    color: white;
}

.pro-benefit--rewards, .pro-benefit--pay-over-time {
    text-align: left;
    align-items: flex-start;
}

.pro-benefit--rewards .pro-benefit-copy, .pro-benefit--pay-over-time .pro-benefit-copy,
.pro-benefit--tastecard .pro-benefit-copy {
    position: static;
    padding: 0;
}

.pro-benefit--rewards h3 { max-width: 330px; }
.pro-benefit--rewards p { color: var(--pro-green); }
.pro-benefit--pay-over-time { background: var(--pro-green); color: var(--pro-dark); }
.pro-benefit--pay-over-time h3 { color: inherit; }
.pro-benefit--card h3, .pro-benefit--trainpal h3 { color: white; }
.pro-benefit--trainpal { color: white; background: #978d7e; }

.pro-trainpal-logo {
    position: absolute;
    inset: auto 0 6.5%;
    width: 34%;
    height: auto;
    margin-inline: auto;
}

.pro-benefit--art-unavailable .pro-trainpal-logo { display: none; }

.pro-benefit--trainpal h3 { font-size: clamp(1.4rem, 2.25vw, 2rem); }
.pro-benefit--snooze .pro-benefit-copy { inset: auto 0 0; }
.pro-benefit--support { background: #cde9f4; }
.pro-benefit--support h3 { max-width: 390px; margin-inline: auto; }
.pro-benefit--tastecard .pro-benefit-art { order: 1; margin-top: 30px; }

.pro-reward-checks {
    display: flex;
    gap: 8px;
    margin-bottom: 36px;
}

.pro-reward-checks span {
    display: grid;
    place-items: center;
    width: 56px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--pro-green);
    color: var(--pro-dark);
    font-size: 32px;
}

.pro-benefit--pay-over-time .pro-reward-checks span {
    background: var(--pro-dark);
    color: var(--pro-green);
}

.pro-benefit--pay-over-time .pro-reward-checks span + span { opacity: .25; }
.pro-spotify-logo { display: block; width: auto; height: 35px; margin: 0 auto 16px; }

.pro-trustpilot {
    margin-block: 70px;
}

.pro-trustpilot h2 {
    color: inherit;
    font-size: inherit;
    line-height: normal;
    margin-bottom: 10px;
}

.pro-quotes {
    display: grid;
    margin-bottom: 12px;
    color: var(--zilch-green);
    font-size: 42px;
}

.pro-quotes p {
    grid-area: 1 / 1;
    margin: 0;
}

.pro-quotes p + p { visibility: hidden; opacity: 0; }

.pro-faq {
    padding: 60px 24px;
}

.pro-faq > h2 {
    font-size: 30px;
    margin-bottom: 1rem;
}

.pro-faq > p {
    margin-bottom: 1rem;
}

.pro-faq > a {
    font-weight: 700;
    text-decoration: underline;
}

.pro-faq-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
    max-width: 1240px;
    margin: 40px auto 0;
    text-align: left;
}

.pro-faq details {
    background: var(--pro-mint);
    border-radius: 18px;
    padding: 24px;
}

.pro-faq summary { list-style: none; cursor: pointer; }
.pro-faq summary::-webkit-details-marker { display: none; }
.pro-faq summary::before {
    content: '+';
    display: block;
    color: var(--zilch-green);
    font-size: 20px;
    margin-bottom: 8px;
}
.pro-faq details[open] summary::before { content: '−'; }
.pro-faq details p { margin: 16px 0 0; }

@media (max-width: 970px) {
    .pro-desktop-break { display: none; }
    .pro-benefit-grid, .pro-faq-list { grid-template-columns: 1fr; }
    .pro-benefit-grid { width: min(100%, 600px); margin-inline: auto; }

    .pro-benefit--overlay {
        aspect-ratio: 508 / 573;
    }

    .pro-benefit--overlay .pro-benefit-art {
        position: absolute;
        inset: 0;
        height: 100%;
        object-fit: cover;
    }

    .pro-benefit--overlay .pro-benefit-copy {
        position: relative;
        inset: auto;
        width: 100%;
        padding: 30px 16px;
    }

    .pro-benefit--art-unavailable .pro-benefit-art {
        position: static;
        flex: 1;
        min-height: 3em;
        height: 0;
        padding-inline: 16px;
    }

    .pro-benefit--art-unavailable:not(.pro-benefit--snooze) .pro-benefit-art { order: 1; }
    .pro-benefit--snooze { justify-content: flex-end; }
    .pro-benefit--snooze .pro-benefit-art { object-position: top; }
    .pro-benefit--support { aspect-ratio: 1; }
    .pro-benefit--support .pro-benefit-art { object-position: bottom; }

    .pro-benefit--rewards, .pro-benefit--pay-over-time, .pro-benefit--tastecard { min-height: 0; }
}

@media (max-width: 500px) {
    .pro-benefits, .pro-trustpilot { width: calc(100% - 32px); }
    .pro-benefit--overlay h3 { margin-bottom: 8px; }
    .pro-spotify-logo { margin-bottom: 8px; }
    .pro-benefit--snooze,
    .pro-benefit--card,
    .pro-benefit--trainpal,
    .pro-benefit--spotify { aspect-ratio: 3 / 4; }
    .pro-quotes { font-size: 1.7rem; }
    .pro-reward-checks span { width: 42px; font-size: 24px; }
    .pro-benefit--rewards, .pro-benefit--pay-over-time, .pro-benefit--tastecard { padding: 24px; }
}

@media (max-width: 360px) {
    .pro-benefit--snooze,
    .pro-benefit--card,
    .pro-benefit--trainpal,
    .pro-benefit--spotify { aspect-ratio: 5 / 8; }
}
