/* Pricing uses the shared plans, seller stories and tools. Only its opening needs page-specific framing. */
.bd-page.o-pricing-page {
    position: relative;
    background: var(--bd-canvas);
}

.bd-page.o-pricing-page > .o-pricing {
    isolation: isolate;
    overflow: hidden;
}

/* Reuse the homepage's ribbon at the edge of the opening, leaving the plans easy to compare. */
.bd-page.o-pricing-page > .o-pricing::before {
    inset: 10px auto auto max(-280px, calc(50% - 1050px));
    width: 920px;
    height: 500px;
    z-index: -1;
    background: url('/images/Business%20Display/hero-ribbon.svg') center / contain no-repeat;
    opacity: .25;
    transform: rotate(-12deg);
    pointer-events: none;
}

.bd-page.o-pricing-page > .o-pricing::after {
    content: "";
    position: absolute;
    inset: 70px -280px auto auto;
    width: 650px;
    height: 420px;
    z-index: -1;
    pointer-events: none;
    background: url('/Images/Business%20Display/story-sweep.svg') center / contain no-repeat;
    opacity: .22;
    transform: rotate(160deg);
    -webkit-mask-image: radial-gradient(ellipse, #000 30%, transparent 70%);
    mask-image: radial-gradient(ellipse, #000 30%, transparent 70%);
}

html body .bd-page.o-pricing-page > .o-pricing > .o-section {
    padding-top: clamp(136px, 11vw, 172px);
    padding-bottom: var(--bd-space);
}

.bd-page.o-pricing-page > .o-pricing > .o-section > .o-container {
    padding-top: 0;
    border-top: 0;
}

.bd-page.o-pricing-page > .o-pricing .o-body-title {
    position: relative;
    max-width: 1040px;
    margin-bottom: 44px;
}

html body .bd-page.o-pricing-page > .o-pricing .o-body-title h1 {
    margin: 0 auto;
    color: var(--bd-ink);
    font-family: var(--header-font);
    font-size: clamp(48px, 5.7vw, 78px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.05em;
    text-wrap: balance;
}

.bd-page.o-pricing-page > .o-pricing .o-body-title-description {
    max-width: 680px;
    margin: 26px auto 0;
    color: var(--bd-copy);
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.65;
    text-wrap: pretty;
}

@media screen and (max-width: 700px) {
    html body .bd-page.o-pricing-page > .o-pricing > .o-section {
        padding-top: 118px;
    }

    .bd-page.o-pricing-page > .o-pricing::before {
        left: -330px;
        top: 30px;
        opacity: .18;
    }

    .bd-page.o-pricing-page > .o-pricing::after { display: none; }

    .bd-page.o-pricing-page > .o-pricing .o-body-title {
        margin-bottom: 36px;
    }

    html body .bd-page.o-pricing-page > .o-pricing .o-body-title h1 {
        font-size: clamp(40px, 11.5vw, 56px);
        line-height: 1.08;
    }

    .bd-page.o-pricing-page > .o-pricing .o-body-title-description {
        margin-top: 22px;
    }
}

@media (forced-colors: active) {
    .bd-page.o-pricing-page > .o-pricing::before {
        display: none;
    }
}
