.subscription-plan-page {
    --navy: #173c3a;
    --green: #176d58;
    --orange: #df7b32;
    --cream: #fbf6ed;
    --mint: #eef7f3;
    --muted: #5f7773;
    overflow: hidden;
    color: var(--navy);
    background: white;
}

.subscription-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

/* Announcement */

.subscription-announcement {
    color: white;
    background: var(--navy);
}

.announcement-inner {
    display: flex;
    justify-content: center;
    gap: 34px;
    padding: 11px 0;
    overflow-x: auto;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.announcement-inner span:not(:last-child)::after {
    margin-left: 34px;
    color: #6ca99a;
    content: "•";
}

/* Hero */

.subscription-hero {
    position: relative;
    padding: 72px 0 88px;
    background:
        radial-gradient(
            circle at 15% 18%,
            rgba(223, 123, 50, 0.12),
            transparent 24%
        ),
        linear-gradient(
            135deg,
            #fffaf4 0%,
            #f4faf7 55%,
            #edf6f2 100%
        );
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-decoration-one {
    top: -120px;
    right: -80px;
    width: 360px;
    height: 360px;
    border: 70px solid rgba(23, 109, 88, 0.06);
}

.hero-decoration-two {
    bottom: -100px;
    left: -100px;
    width: 260px;
    height: 260px;
    background: rgba(223, 123, 50, 0.07);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, 0.95fr);
    gap: 64px;
    align-items: center;
}

.back-link {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--green);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.plan-kicker,
.recommended-badge {
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plan-kicker {
    color: var(--green);
    background: #e7f3ee;
}

.recommended-badge {
    color: #a84f13;
    background: #fff0e4;
}

.hero-copy h1 {
    max-width: 680px;
    margin: 20px 0 22px;
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.hero-copy h1 span {
    display: block;
    color: var(--orange);
}

.hero-description {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.75;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 28px 0;
    color: #365d57;
    font-size: 14px;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.primary-plan-button,
.secondary-plan-button,
.card-join-button,
.enrollment-callout a,
.final-plan-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.primary-plan-button,
.card-join-button,
.enrollment-callout a {
    color: white;
    background: var(--orange);
    box-shadow:
        0 12px 26px rgba(223, 123, 50, 0.22);
}

.secondary-plan-button {
    border: 1px solid rgba(23, 60, 58, 0.2);
    color: var(--navy);
    background: rgba(255, 255, 255, 0.65);
}

.primary-plan-button:hover,
.secondary-plan-button:hover,
.card-join-button:hover,
.enrollment-callout a:hover,
.final-plan-cta a:hover {
    transform: translateY(-2px);
}

.existing-member-help {
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.existing-member-help a {
    color: var(--green);
    font-weight: 700;
}

/* Instructor hero and price card */

.hero-offer-area {
    position: relative;
    padding-top: 115px;
}

.instructor-hero-image {
    position: absolute;
    top: -30px;
    right: 10px;
    width: 300px;
    height: 300px;
    pointer-events: none;
}

.image-background {
    position: absolute;
    inset: 28px;
    border-radius: 50%;
    background:
        linear-gradient(
            145deg,
            #f9d8b8,
            #cae6dc
        );
}

.instructor-hero-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter:
        drop-shadow(
            0 18px 24px rgba(23, 60, 58, 0.16)
        );
}

.floating-note {
    position: absolute;
    z-index: 4;
    display: flex;
    flex-direction: column;
    padding: 10px 13px;
    border: 1px solid rgba(23, 60, 58, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 10px 24px rgba(23, 60, 58, 0.12);
}

.floating-note strong {
    font-size: 16px;
}

.floating-note span {
    color: var(--muted);
    font-size: 10px;
}

.note-left {
    top: 80px;
    left: -36px;
}

.note-right {
    right: -20px;
    bottom: 34px;
}

.plan-offer-card {
    position: relative;
    z-index: 3;
    margin-left: 28px;
    padding: 34px;
    border: 1px solid rgba(23, 60, 58, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 24px 70px rgba(23, 60, 58, 0.15);
}

.offer-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plan-offer-card h2 {
    max-width: 320px;
    margin: 0 0 20px;
    font-size: 26px;
    line-height: 1.2;
}

.main-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
}

.main-price del {
    color: #899a96;
    font-size: 18px;
}

.main-price strong {
    color: var(--orange);
    font-size: 44px;
    line-height: 1;
}

.main-price span {
    color: var(--muted);
    font-size: 13px;
}

.saving-label {
    display: inline-block;
    margin: 14px 0 20px;
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--green);
    background: #e9f7f1;
    font-size: 12px;
    font-weight: 800;
}

.price-breakdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.price-breakdown div {
    padding: 13px;
    border-radius: 12px;
    background: #f5f9f7;
}

.price-breakdown span,
.price-breakdown strong {
    display: block;
}

.price-breakdown span {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
}

.price-breakdown strong {
    font-size: 18px;
}

.card-join-button {
    width: 100%;
    text-align: center;
}

.payment-notes {
    display: grid;
    gap: 7px;
    margin: 18px 0 0;
    padding: 0;
    color: var(--muted);
    font-size: 11px;
    list-style: none;
}

.payment-notes li::before {
    margin-right: 7px;
    color: var(--green);
    content: "✓";
}

/* Highlights */

.plan-highlights {
    border-top: 1px solid #e4ece8;
    border-bottom: 1px solid #e4ece8;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.highlight-grid div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px;
}

.highlight-grid div:not(:last-child) {
    border-right: 1px solid #e4ece8;
}

.highlight-grid strong {
    color: var(--orange);
    font-size: 30px;
}

.highlight-grid span {
    color: var(--muted);
    font-size: 12px;
}

/* Common sections */

.subscription-section {
    padding: 88px 0;
}

.subscription-heading {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.subscription-heading > span,
.section-label {
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.subscription-heading h2,
.included-introduction h2,
.class-structure-section h2,
.dashboard-explanation h2,
.instructor-information h2,
.faq-introduction h2 {
    margin: 12px 0 16px;
    font-size: clamp(34px, 4.6vw, 52px);
    line-height: 1.08;
}

.subscription-heading p,
.section-description,
.included-introduction > p,
.dashboard-explanation > p,
.instructor-information > p,
.faq-introduction > p {
    color: var(--muted);
    line-height: 1.75;
}

/* Outcomes */

.outcomes-section {
    background: white;
}

.outcome-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.outcome-card {
    padding: 27px;
    border: 1px solid #dfe9e5;
    border-radius: 18px;
    background: #fbfdfc;
}

.outcome-number {
    color: var(--orange);
    font-size: 12px;
    font-weight: 900;
}

.outcome-card h3 {
    margin: 25px 0 10px;
    font-size: 20px;
}

.outcome-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

/* Included */

.included-section {
    background: var(--cream);
}

.included-grid,
.class-structure-grid,
.dashboard-grid,
.instructor-grid,
.faq-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);
    gap: 70px;
    align-items: center;
}

.language-box {
    display: flex;
    flex-direction: column;
    margin-top: 28px;
    padding: 20px;
    border-left: 4px solid var(--orange);
    border-radius: 10px;
    background: white;
}

.language-box span,
.language-box small {
    color: var(--muted);
}

.language-box strong {
    margin: 6px 0;
    color: var(--green);
    font-size: 19px;
}

.included-feature-box {
    padding: 30px;
    border-radius: 22px;
    background: white;
    box-shadow:
        0 14px 40px rgba(23, 60, 58, 0.08);
}

.included-feature-box ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 17px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.included-feature-box li {
    display: flex;
    gap: 10px;
    color: #405f5b;
    font-size: 14px;
    line-height: 1.5;
}

.included-feature-box li span {
    color: var(--green);
    font-weight: 900;
}

/* Roadmap */

.roadmap-section {
    color: white;
    background: var(--navy);
}

.light-heading h2 {
    color: white;
}

.light-heading p {
    color: rgba(255, 255, 255, 0.68);
}

.roadmap-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
}

.roadmap-card {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.roadmap-number {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 24px;
    border-radius: 50%;
    place-items: center;
    color: var(--navy);
    background: var(--orange);
    font-weight: 900;
}

.roadmap-card > span {
    color: #a7d5c8;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.roadmap-card h3 {
    margin: 10px 0;
    color: white;
    font-size: 21px;
}

.roadmap-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.7;
}

/* Class structure */

.class-structure-section {
    background: white;
}

.session-flow-list {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.flow-item {
    display: flex;
    gap: 18px;
    padding: 18px;
    border-radius: 13px;
    background: #f4f8f6;
}

.flow-item > span {
    display: grid;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    place-items: center;
    color: white;
    background: var(--green);
    font-weight: 800;
}

.flow-item strong {
    display: block;
    margin-bottom: 4px;
}

.flow-item p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.class-slot-card {
    padding: 35px;
    border-radius: 24px;
    color: white;
    background:
        linear-gradient(
            145deg,
            var(--green),
            var(--navy)
        );
    box-shadow:
        0 20px 50px rgba(23, 60, 58, 0.18);
}

.class-slot-card > span {
    color: #bfe0d7;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.class-slot-card h3 {
    margin: 10px 0 28px;
    font-size: 28px;
}

.slot-row {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.slot-row strong {
    color: #f7bd8f;
}

.slot-row p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.75);
}

.class-slot-card small {
    display: block;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.6);
}

/* Dashboard preview */

.dashboard-section {
    background: var(--mint);
}

.dashboard-preview {
    padding: 30px;
    border-radius: 30px;
    background:
        linear-gradient(
            140deg,
            #d9eee7,
            #f4d9bd
        );
}

.dashboard-window {
    overflow: hidden;
    border-radius: 16px;
    background: white;
    box-shadow:
        0 20px 45px rgba(23, 60, 58, 0.15);
}

.window-top {
    display: flex;
    gap: 6px;
    padding: 12px;
    background: #e9efed;
}

.window-top span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a9b9b5;
}

.window-content {
    padding: 28px;
}

.window-content h3 {
    margin-top: 0;
}

.preview-progress {
    height: 10px;
    margin: 22px 0;
    overflow: hidden;
    border-radius: 999px;
    background: #e7eeec;
}

.preview-progress span {
    display: block;
    width: 64%;
    height: 100%;
    background: var(--orange);
}

.preview-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.preview-stat-grid div {
    padding: 12px;
    border-radius: 10px;
    background: #f5f8f7;
}

.preview-stat-grid strong,
.preview-stat-grid span {
    display: block;
}

.preview-stat-grid span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

.preview-days {
    display: flex;
    gap: 7px;
    margin-top: 20px;
}

.preview-days span {
    display: grid;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    place-items: center;
    color: #83928f;
    background: #eef2f1;
    font-size: 11px;
    font-weight: 800;
}

.preview-days .completed {
    color: var(--green);
    background: #e4f4ee;
}

.preview-days .current {
    color: white;
    background: var(--orange);
}

.dashboard-explanation ul {
    display: grid;
    gap: 11px;
    margin-top: 24px;
    padding: 0;
    list-style: none;
}

.dashboard-explanation li::before {
    margin-right: 10px;
    color: var(--orange);
    content: "✓";
    font-weight: 900;
}

/* Instructor */

.instructor-section {
    background: white;
}

.instructor-grid {
    grid-template-columns:
        minmax(300px, 0.72fr)
        minmax(0, 1.28fr);
}

.instructor-photo-box {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 430px;
    overflow: hidden;
    border-radius: 30px;
    background:
        linear-gradient(
            150deg,
            #f3d4b5,
            #d1e7df
        );
}

.instructor-photo-box img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    object-position: center bottom;
}

.instructor-name {
    color: var(--green) !important;
    font-weight: 800;
}

.instructor-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.instructor-values span {
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--green);
    background: #eef7f3;
    font-size: 12px;
    font-weight: 700;
}

/* Enrollment */

.enrollment-section {
    background: var(--cream);
}

.enrollment-step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.enrollment-step-grid article {
    padding: 26px;
    border-radius: 18px;
    background: white;
}

.enrollment-step-grid article > span {
    color: var(--orange);
    font-size: 12px;
    font-weight: 900;
}

.enrollment-step-grid h3 {
    margin: 20px 0 10px;
    font-size: 19px;
}

.enrollment-step-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.enrollment-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 26px;
    padding: 28px 32px;
    border-radius: 20px;
    color: white;
    background: var(--navy);
}

.enrollment-callout strong,
.enrollment-callout span {
    display: block;
}

.enrollment-callout strong {
    margin-bottom: 5px;
    font-size: 20px;
}

.enrollment-callout span {
    color: rgba(255, 255, 255, 0.68);
}

/* FAQ */

.faq-section {
    background: white;
}

.faq-grid {
    align-items: start;
}

.faq-introduction {
    position: sticky;
    top: 30px;
}

.faq-list {
    border-top: 1px solid #dfe9e5;
}

.faq-list details {
    border-bottom: 1px solid #dfe9e5;
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 800;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary span {
    color: var(--orange);
    font-size: 23px;
}

.faq-list details[open] summary span {
    transform: rotate(45deg);
}

.faq-list details p {
    margin: -6px 0 24px;
    padding-right: 34px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* Other plans */

.other-plans-section {
    background: #f3f8f6;
}

.other-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.other-plan-card {
    padding: 30px;
    border: 1px solid #dfe9e5;
    border-radius: 20px;
    background: white;
}

.other-plan-card > span {
    color: var(--orange);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.other-plan-card h3 {
    margin: 10px 0;
    font-size: 24px;
}

.other-plan-card p {
    min-height: 52px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.other-plan-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 18px 0;
}

.other-plan-price del {
    color: #8b9a97;
}

.other-plan-price strong {
    font-size: 26px;
}

.other-plan-card a {
    color: var(--green);
    font-weight: 800;
}

/* Final CTA */

.final-plan-cta {
    padding: 80px 0;
    color: white;
    background:
        linear-gradient(
            135deg,
            #173c3a,
            #205c50
        );
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.final-cta-inner > div {
    max-width: 720px;
}

.final-plan-cta span {
    color: #a9d9cc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.final-plan-cta h2 {
    margin: 10px 0;
    font-size: clamp(34px, 4.5vw, 50px);
    line-height: 1.08;
}

.final-plan-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
}

.final-plan-cta a {
    flex-shrink: 0;
    color: var(--navy);
    background: white;
}

/* Mobile CTA */

.mobile-plan-cta {
    display: none;
}

/* Responsive */

@media (max-width: 1050px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-offer-area {
        max-width: 620px;
        margin: 0 auto;
    }

    .outcome-grid,
    .enrollment-step-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .included-grid,
    .class-structure-grid,
    .dashboard-grid,
    .instructor-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .faq-introduction {
        position: static;
    }

    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlight-grid div:nth-child(2) {
        border-right: 0;
    }

    .highlight-grid div:nth-child(-n + 2) {
        border-bottom: 1px solid #e4ece8;
    }

    .final-cta-inner,
    .enrollment-callout {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .subscription-container {
        width: calc(100% - 28px);
    }

    .subscription-hero {
        padding: 48px 0 62px;
    }

    .hero-copy h1 {
        font-size: 45px;
    }

    .hero-description {
        font-size: 17px;
    }

    .hero-actions,
    .primary-plan-button,
    .secondary-plan-button {
        width: 100%;
    }

    .hero-offer-area {
        padding-top: 205px;
    }

    .instructor-hero-image {
        top: -15px;
        right: 50%;
        width: 260px;
        height: 260px;
        transform: translateX(50%);
    }

    .note-left {
        left: -12px;
    }

    .note-right {
        right: -10px;
    }

    .plan-offer-card {
        margin-left: 0;
        padding: 28px 22px;
    }

    .highlight-grid,
    .outcome-grid,
    .enrollment-step-grid,
    .other-plan-grid,
    .included-feature-box ul {
        grid-template-columns: 1fr;
    }

    .highlight-grid div {
        border-right: 0 !important;
        border-bottom: 1px solid #e4ece8;
    }

    .highlight-grid div:last-child {
        border-bottom: 0;
    }

    .subscription-section {
        padding: 66px 0;
    }

    .instructor-photo-box {
        min-height: 350px;
    }

    .preview-stat-grid {
        grid-template-columns: 1fr;
    }

    .mobile-plan-cta {
        position: fixed;
        z-index: 100;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        padding: 12px 15px;
        border-top: 1px solid #dce7e4;
        background: white;
        box-shadow:
            0 -8px 24px rgba(23, 60, 58, 0.12);
    }

    .mobile-plan-cta span,
    .mobile-plan-cta strong {
        display: block;
    }

    .mobile-plan-cta span {
        color: var(--muted);
        font-size: 10px;
        text-transform: uppercase;
    }

    .mobile-plan-cta strong {
        color: var(--navy);
        font-size: 20px;
    }

    .mobile-plan-cta a {
        padding: 11px 18px;
        border-radius: 9px;
        color: white;
        background: var(--orange);
        font-weight: 800;
        text-decoration: none;
    }

    .final-plan-cta {
        padding-bottom: 120px;
    }
}

/* ========================================
   Direct paid enrollment
======================================== */

.paid-enrollment-page {
    min-height: 80vh;
    padding: 60px 0 90px;
    background:
        linear-gradient(
            135deg,
            #fff9f2,
            #eef7f3
        );
}

.paid-enrollment-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(360px, 0.8fr);
    gap: 55px;
    align-items: start;
}

.paid-enrollment-introduction h1 {
    margin: 12px 0 18px;
    color: #173c3a;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.08;
}

.paid-enrollment-introduction > p {
    max-width: 620px;
    color: #587572;
    font-size: 18px;
    line-height: 1.7;
}

.paid-enrollment-plan-card {
    margin-top: 30px;
    padding: 28px;
    border: 1px solid #dce7e4;
    border-radius: 18px;
    background: white;
}

.paid-enrollment-plan-card > span {
    color: #df7b32;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.paid-enrollment-plan-card h2 {
    margin: 10px 0;
    color: #173c3a;
}

.paid-enrollment-plan-card p {
    color: #587572;
    line-height: 1.6;
}

.paid-enrollment-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 22px;
}

.paid-enrollment-price del {
    color: #859693;
    font-size: 18px;
}

.paid-enrollment-price strong {
    color: #173c3a;
    font-size: 35px;
}

.paid-enrollment-form-card {
    padding: 32px;
    border: 1px solid #dce7e4;
    border-radius: 20px;
    background: white;
    box-shadow:
        0 18px 45px rgba(23, 60, 58, 0.1);
}

.paid-enrollment-form-card h2 {
    margin-top: 0;
    color: #173c3a;
}

.paid-enrollment-form-card > p {
    color: #587572;
    line-height: 1.6;
}

.paid-form-field {
    margin-bottom: 18px;
}

.paid-form-field label {
    display: block;
    margin-bottom: 7px;
    color: #173c3a;
    font-size: 13px;
    font-weight: 700;
}

.paid-form-field input,
.paid-form-field select {
    box-sizing: border-box;
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #cfdeda;
    border-radius: 9px;
    background: white;
    font: inherit;
}

.paid-form-field input:focus,
.paid-form-field select:focus {
    border-color: #176d58;
    outline: 2px solid rgba(23, 109, 88, 0.12);
}

.field-error,
.paid-form-errors {
    color: #9b4141;
}

.field-error {
    display: block;
    margin-top: 5px;
}

.paid-form-errors {
    margin-bottom: 18px;
    padding: 12px;
    border: 1px solid #e3bcbc;
    border-radius: 8px;
    background: #fff3f3;
}

.paid-enrollment-submit {
    width: 100%;
    padding: 14px 18px;
    border: 0;
    border-radius: 9px;
    color: white;
    background: #df7b32;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.paid-enrollment-submit:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.optional-free-program-note {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e1e9e7;
    color: #587572;
    font-size: 13px;
}

.optional-free-program-note strong,
.optional-free-program-note a {
    display: block;
}

.optional-free-program-note a {
    margin-top: 5px;
    color: #176d58;
    font-weight: 700;
}

@media (max-width: 850px) {
    .paid-enrollment-layout {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Inline paid enrollment
======================================== */

.direct-paid-enrollment {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(360px, 1.1fr);
    gap: 45px;
    align-items: start;
    margin-top: 55px;
    padding-top: 55px;
    border-top: 1px solid #e3eae8;
    scroll-margin-top: 30px;
}

.direct-enrollment-introduction h2 {
    margin: 12px 0 16px;
    color: #173c3a;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.1;
}

.direct-enrollment-introduction > p {
    color: #587572;
    font-size: 17px;
    line-height: 1.7;
}

.selected-public-plan-summary {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
    padding: 24px;
    border-left: 4px solid #df7b32;
    border-radius: 12px;
    background: white;
}

.selected-public-plan-summary > span {
    color: #df7b32;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.selected-public-plan-summary > strong {
    margin: 7px 0 16px;
    color: #173c3a;
    font-size: 22px;
}

.selected-public-plan-summary div {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.selected-public-plan-summary del {
    color: #849592;
    font-size: 17px;
}

.selected-public-plan-summary b {
    color: #173c3a;
    font-size: 32px;
}

.direct-enrollment-form-card {
    padding: 32px;
    border: 1px solid #dce7e4;
    border-radius: 20px;
    background: white;
    box-shadow:
        0 18px 45px rgba(23, 60, 58, 0.1);
}

.direct-enrollment-form-card h3 {
    margin: 0 0 8px;
    color: #173c3a;
    font-size: 25px;
}

.direct-enrollment-form-card > p {
    margin-bottom: 24px;
    color: #587572;
    line-height: 1.6;
}

.direct-enrollment-form-area {
    min-width: 0;
    width: 100%;
}

.direct-enrollment-form-area .shared-registration-card {
    height: auto;
}

@media (max-width: 850px) {
    .direct-paid-enrollment {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Fix shared registration form inside paid enrollment
===================================================== */

.direct-enrollment-form-area,
.direct-enrollment-form-area .shared-registration-card,
.direct-enrollment-form-area .shared-registration-form,
.direct-enrollment-form-area .join-confirmations {
    width: 100%;
    min-width: 0;
}

.direct-enrollment-form-area .shared-registration-form {
    display: block;
}

.direct-enrollment-form-area .join-field {
    width: 100%;
    min-width: 0;
}

.direct-enrollment-form-area .join-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}

.direct-enrollment-form-area .join-confirmations {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.direct-enrollment-form-area .join-checkbox {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;

    width: 100%;
    min-width: 0;

    align-items: start;
}

.direct-enrollment-form-area .join-checkbox > span {
    display: block;
    width: auto;
    min-width: 0;
    max-width: none;

    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
}

.direct-enrollment-form-area .join-checkbox input[type="checkbox"] {
    width: 17px;
    height: 17px;
    min-width: 17px;
    max-width: 17px;

    margin: 2px 0 0;
    padding: 0;
}

.direct-enrollment-form-area input:not([type="checkbox"]),
.direct-enrollment-form-area select,
.direct-enrollment-form-area textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (max-width: 700px) {

    .direct-enrollment-form-area .join-form-row {
        grid-template-columns: 1fr;
    }

}