.profile-benefits-page {
    padding: 0 1rem 3rem;
}

.profile-benefits-page__header > p {
    max-width: 42rem;
    margin: 0 auto 1rem;
    color: #66758a;
    line-height: 1.5;
}

.profile-benefits-page__header .profile-benefits__page-title {
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
    line-height: 1;
}

.profile-benefits-public-layout {
    max-width: 74rem;
    margin: 0 auto;
}

.profile-benefits-page__content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #172033;
    box-shadow: none;
}

.benefits-current-offer {
    max-width: 74rem;
    margin: 0 auto 1.5rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 1rem;
    background: #fff;
    color: #172033;
    box-shadow: 0 14px 36px rgba(31, 55, 86, 0.1);
}

.profile-layout__content .benefits-current-offer {
    width: 100%;
    max-width: none;
    margin: 0 0 1.5rem;
}

.benefits-current-offer__header {
    max-width: 56rem;
}

.benefits-current-offer__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
    color: #1670cc;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.benefits-current-offer h2 {
    margin: 0 0 0.55rem;
    color: #172033;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 900;
    line-height: 1.2;
}

.benefits-current-offer__header p,
.benefits-current-offer__plan-copy p,
.benefits-current-offer__coupon-heading p,
.benefits-current-offer__coupon-note {
    margin: 0;
    color: #66758a;
    font-size: 1rem;
    line-height: 1.55;
}

.benefits-current-offer__plans {
    margin-top: 1.35rem;
    border-top: 1px solid #e4ebf3;
}

.benefits-current-offer__plan {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid #e4ebf3;
}

.benefits-current-offer__plan-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.25rem;
}

.benefits-current-offer__plan-heading h3,
.benefits-current-offer__coupon-heading h3 {
    margin: 0;
    color: #172033;
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.3;
}

.benefits-current-offer__discount {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: #e5f7ee;
    color: #16704a;
    font-size: 0.8rem;
    font-weight: 900;
    line-height: 1.2;
}

.benefits-current-offer__price {
    display: grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    justify-items: end;
    column-gap: 0.35rem;
    min-width: 8.5rem;
    text-align: right;
}

.benefits-current-offer__price del {
    grid-column: 1 / -1;
    color: #7f8da0;
    font-size: 0.95rem;
    font-weight: 700;
}

.benefits-current-offer__price strong {
    color: #172033;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.benefits-current-offer__price > span {
    color: #4e6076;
    font-size: 1rem;
    font-weight: 800;
}

.benefits-current-offer__price--locked {
    display: flex;
    min-width: 0;
}

.benefits-current-offer__upgrade-availability {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 0.8rem;
    border-radius: 0.75rem;
    background: #eef2f6;
    color: #66758a;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: left;
}

.benefits-current-offer__coupon {
    padding-top: 1.5rem;
}

.benefits-current-offer__coupon-heading {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.benefits-current-offer__coupon-badge {
    display: inline-flex;
    min-width: 4.5rem;
    min-height: 2.4rem;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #1670cc;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.03em;
}

.benefits-current-offer__coupon-rows {
    margin-top: 1rem;
    border-top: 1px solid #e4ebf3;
}

.benefits-current-offer__coupon-row {
    display: grid;
    grid-template-columns: minmax(8.5rem, 0.7fr) minmax(0, 2fr) auto;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #e4ebf3;
    font-size: 1rem;
}

.benefits-current-offer__coupon-row > strong {
    color: #172033;
    font-size: 1rem;
    font-weight: 900;
}

.benefits-current-offer__formula {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    color: #52647a;
    font-size: 0.95rem;
    line-height: 1.4;
}

.benefits-current-offer__formula i {
    color: #91a0b2;
    font-size: 0.8rem;
}

.benefits-current-offer__coupon-price {
    color: #1670cc;
    font-size: 1.25rem;
    font-weight: 900;
    white-space: nowrap;
}

.benefits-current-offer__coupon-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.benefits-current-offer__coupon-note i {
    margin-top: 0.25rem;
    color: #1670cc;
}

.benefits-current-offer__coupon-source {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.85rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e4ebf3;
}

.benefits-current-offer__coupon-source-icon {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border-radius: 0.8rem;
    background: #eaf3ff;
    color: #1670cc;
    font-size: 1.1rem;
}

.benefits-current-offer__coupon-source-content {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.benefits-current-offer__coupon-source-content > strong {
    color: #172033;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.35;
}

.benefits-current-offer__coupon-source-content > p {
    margin: 0;
    color: #66758a;
    font-size: 1rem;
    line-height: 1.55;
}

.benefits-current-offer__coupon-source-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.4rem;
}

.benefits-current-offer__coupon-source-links a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.75rem;
    background: #edf5fd;
    color: #1769ba;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.benefits-current-offer__coupon-source-links a:hover,
.benefits-current-offer__coupon-source-links a:focus-visible {
    background: #dfeeff;
    color: #0f5da9;
    transform: translateY(-1px);
}

.benefits-current-offer__coupon-source-links a:focus-visible {
    outline: 3px solid rgba(33, 135, 255, 0.25);
    outline-offset: 2px;
}

.benefits-current-offer__coupon-source-links .benefits-current-offer__coupon-source-link--primary {
    background: #1670cc;
    color: #fff;
}

.benefits-current-offer__coupon-source-links .benefits-current-offer__coupon-source-link--primary:hover,
.benefits-current-offer__coupon-source-links .benefits-current-offer__coupon-source-link--primary:focus-visible {
    background: #125fab;
    color: #fff;
}

.benefits-purchase-cta--top {
    max-width: 74rem;
    margin: 0 auto 1.5rem;
}

.profile-benefits-page__content .premium-benefits {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.profile-benefits-page__content .premium-benefits__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.profile-benefits-page__content .premium-benefits__item {
    align-items: center;
    gap: 0.9rem;
    margin: 0;
    min-height: 6.5rem;
    padding: 1rem;
    border: 0;
    border-radius: 0.85rem;
    background: #f5f8fc;
    box-shadow: none;
    transform: none;
    transition: background-color 160ms ease;
}

.profile-benefits-page__content .premium-benefits__item > div {
    min-width: 0;
}

@media (min-width: 1101px) {
    .profile-benefits-page__content .premium-benefits__item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

.profile-benefits-page__content .premium-benefits__item-desc {
    color: #34445a;
    font-weight: 500;
}

.profile-benefits-page__content .premium-benefits__item:hover {
    border: 0;
    background: #edf4fc;
    box-shadow: none;
    transform: none;
}

.profile-benefits-page__content .premium-benefits__icon {
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 2.75rem;
    border-radius: 0.8rem;
    box-shadow: none;
}

.profile-benefits-page__content .benefits-pricing {
    margin-top: 1.5rem;
    padding: 1.5rem 0 0;
    border: 0;
    border-top: 1px solid #e8edf3;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.profile-pro-coupon {
    margin-top: 1.5rem;
    padding: 1.35rem;
    border-radius: 1rem;
    background: #edf6ff;
    color: #172033;
    box-shadow: 0 12px 30px rgba(22, 112, 204, 0.09);
}

.profile-pro-coupon--used {
    background: #f4f7fa;
    box-shadow: none;
}

.profile-pro-coupon__heading {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.profile-pro-coupon__badge {
    display: inline-flex;
    min-width: 4rem;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #1670cc;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
}

.profile-pro-coupon h2 {
    margin: 0 0 0.25rem;
    color: #172033;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.25;
}

.profile-pro-coupon__heading p,
.profile-pro-coupon__rules {
    margin: 0;
    color: #5d6d82;
    font-size: 1rem;
    line-height: 1.55;
}

.profile-pro-coupon__code {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin: 1rem 0 0.85rem;
}

.profile-pro-coupon__copy {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border: 0;
    border-radius: 0.75rem;
    background: #fff;
    color: #135da8;
    font: inherit;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.profile-pro-coupon__copy:hover {
    background: #f7fbff;
    box-shadow: 0 6px 18px rgba(22, 112, 204, 0.12);
}

.profile-pro-coupon__copy:focus-visible {
    outline: 3px solid rgba(33, 135, 255, 0.28);
    outline-offset: 2px;
}

.profile-pro-coupon__copy.is-copied {
    background: #e5f7ee;
    color: #16704a;
}

.profile-pro-coupon__copy code {
    padding: 0;
    background: transparent;
    color: #135da8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 900;
    letter-spacing: 0.04em;
}

.profile-pro-coupon__copy.is-copied code {
    color: #16704a;
}

.profile-pro-coupon__copy-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
    font-weight: 800;
}

.profile-pro-coupon__status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #66758a;
    font-size: 0.95rem;
    font-weight: 800;
}

.profile-pro-coupon__status--available {
    color: #16704a;
}

.profile-benefits-page__content .benefits-pricing__intro {
    margin-bottom: 1rem;
    text-align: left;
}

.profile-benefits-page__content .benefits-pricing__plan {
    border: 0;
    border-radius: 0.8rem;
    background: #f4f7fb;
    box-shadow: none;
}

.profile-benefits-page__content .benefits-pricing__plan--accent {
    background: #eaf3ff;
}

.profile-benefits-page__content .benefits-payment-section {
    margin-top: 1.5rem;
}

.benefits-payment-section {
    width: 100%;
    padding: clamp(1.1rem, 2.5vw, 1.6rem);
    border-radius: 1rem;
    background: #f5f9fd;
    color: #172033;
}

.benefits-payment-section__intro {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    max-width: 760px;
    margin: 0 auto 1.15rem;
}

.benefits-payment-section__badge {
    display: inline-flex;
    min-width: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #1670cc;
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.benefits-payment-section h2 {
    margin: 0 0 0.35rem;
    color: #172033;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.2;
}

.benefits-payment-section p {
    margin: 0;
    color: #5d6d82;
    line-height: 1.45;
}

.benefits-payment-section__unavailable {
    max-width: 760px;
    margin: 0 auto;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    background: #fff1f1;
    color: #a22626;
    font-weight: 800;
    text-align: center;
}

.benefits-payment-section .purchase-form-modern {
    max-width: 760px;
    padding: 0;
}

body.dark .profile-benefits-page__header {
    background: transparent;
}

body.dark .profile-benefits-page__header > p {
    color: #aab7c8;
}

body.dark .profile-benefits-page__content {
    background: transparent;
    color: #eef4fc;
    box-shadow: none;
}

body.dark .benefits-current-offer {
    background: #222b36;
    color: #eef4fc;
    box-shadow: 0 14px 36px rgba(10, 18, 28, 0.2);
}

body.dark .benefits-current-offer h2,
body.dark .benefits-current-offer__plan-heading h3,
body.dark .benefits-current-offer__coupon-heading h3,
body.dark .benefits-current-offer__price strong,
body.dark .benefits-current-offer__coupon-row > strong {
    color: #f1f6fd;
}

body.dark .benefits-current-offer__header p,
body.dark .benefits-current-offer__plan-copy p,
body.dark .benefits-current-offer__coupon-heading p,
body.dark .benefits-current-offer__coupon-note,
body.dark .benefits-current-offer__formula,
body.dark .benefits-current-offer__price > span {
    color: #b8c6d8;
}

body.dark .benefits-current-offer__upgrade-availability {
    background: #29323d;
    color: #b8c6d8;
}

body.dark .benefits-current-offer__plans,
body.dark .benefits-current-offer__plan,
body.dark .benefits-current-offer__coupon-rows,
body.dark .benefits-current-offer__coupon-row {
    border-color: #3b4654;
}

body.dark .benefits-current-offer__discount {
    background: #294238;
    color: #a9e6c7;
}

body.dark .benefits-current-offer__price del,
body.dark .benefits-current-offer__formula i {
    color: #91a0b2;
}

body.dark .benefits-current-offer__coupon-price,
body.dark .benefits-current-offer__eyebrow,
body.dark .benefits-current-offer__coupon-note i {
    color: #7db8f1;
}

body.dark .benefits-current-offer__coupon-source {
    border-color: #3b4654;
}

body.dark .benefits-current-offer__coupon-source-icon {
    background: rgba(83, 159, 255, 0.14);
    color: #8bc3ff;
}

body.dark .benefits-current-offer__coupon-source-content > strong {
    color: #f1f6fd;
}

body.dark .benefits-current-offer__coupon-source-content > p {
    color: #b8c6d8;
}

body.dark .benefits-current-offer__coupon-source-links a {
    background: #2b3542;
    color: #9acaff;
}

body.dark .benefits-current-offer__coupon-source-links a:hover,
body.dark .benefits-current-offer__coupon-source-links a:focus-visible {
    background: #344253;
    color: #cbe4ff;
}

body.dark .benefits-current-offer__coupon-source-links .benefits-current-offer__coupon-source-link--primary {
    background: #2f7ec7;
    color: #fff;
}

body.dark .benefits-current-offer__coupon-source-links .benefits-current-offer__coupon-source-link--primary:hover,
body.dark .benefits-current-offer__coupon-source-links .benefits-current-offer__coupon-source-link--primary:focus-visible {
    background: #3b8bd3;
    color: #fff;
}

body.dark .profile-benefits-page__content .premium-benefits {
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.dark .profile-benefits-page__content .premium-benefits__item,
body.dark .profile-benefits-page__content .premium-benefits__item:hover {
    border: 0;
    background: #2b333e;
    box-shadow: none;
}

body.dark .profile-benefits-page__content .premium-benefits__item:hover {
    background: #313b48;
}

body.dark .profile-benefits-page__content .premium-benefits__item-desc {
    color: #c6d4eb;
    font-weight: 500;
}

body.dark .profile-benefits-page__content .benefits-pricing {
    border-top-color: #343e4b;
    background: transparent;
    box-shadow: none;
}

body.dark .profile-pro-coupon {
    background: #263e5a;
    color: #eef4fc;
    box-shadow: none;
}

body.dark .profile-pro-coupon--used {
    background: #29323d;
}

body.dark .profile-pro-coupon h2 {
    color: #f1f6fd;
}

body.dark .profile-pro-coupon__heading p,
body.dark .profile-pro-coupon__rules,
body.dark .profile-pro-coupon__status {
    color: #b8c6d8;
}

body.dark .profile-pro-coupon__copy {
    background: #222b36;
    color: #9acaff;
}

body.dark .profile-pro-coupon__copy:hover {
    background: #2d3946;
    box-shadow: none;
}

body.dark .profile-pro-coupon__copy.is-copied {
    background: #294238;
    color: #a9e6c7;
}

body.dark .profile-pro-coupon__copy code {
    background: transparent;
    color: #9acaff;
}

body.dark .profile-pro-coupon__copy.is-copied code {
    color: #a9e6c7;
}

body.dark .profile-pro-coupon__status--available {
    color: #a9e6c7;
}

body.dark .profile-benefits-page__content .benefits-pricing__plan {
    border: 0;
    background: #2b3542;
}

body.dark .profile-benefits-page__content .benefits-pricing__plan--accent {
    background: #263e5a;
}

body.dark .benefits-payment-section {
    background: #222b36;
    color: #eef4fc;
}

body.dark .benefits-payment-section__badge {
    background: #2f7ec7;
}

body.dark .benefits-payment-section h2 {
    color: #f1f6fd;
}

body.dark .benefits-payment-section p {
    color: #b8c6d8;
}

body.dark .benefits-payment-section__unavailable {
    background: rgba(255, 105, 105, 0.12);
    color: #ffaaaa;
}

@media (max-width: 899px) {
    .profile-benefits-page__content.account-page {
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 1100px) {
    .profile-benefits-page__content .premium-benefits__list {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 420px) {
    .profile-benefits-page__content .premium-benefits__item {
        min-height: 0;
        padding: 0.9rem;
    }

    .benefits-payment-section__intro {
        display: grid;
        gap: 0.7rem;
    }

    .profile-pro-coupon__heading {
        display: grid;
    }
}

@media (max-width: 760px) {
    .benefits-current-offer__plan {
        grid-template-columns: minmax(0, 1fr);
    }

    .benefits-current-offer__price {
        justify-content: start;
        justify-items: start;
        text-align: left;
    }

    .benefits-current-offer__coupon-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.45rem;
    }

    .benefits-current-offer__coupon-price {
        justify-self: start;
    }
}

@media (max-width: 520px) {
    .benefits-current-offer {
        padding: 1.1rem;
    }

    .benefits-current-offer__coupon-heading {
        display: grid;
    }

    .benefits-current-offer__coupon-source {
        grid-template-columns: 1fr;
    }

    .benefits-current-offer__coupon-source-links {
        align-items: stretch;
        flex-direction: column;
    }

    .benefits-current-offer__coupon-source-links a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
