.plan-stage-page {
    --plan-green: #007b67;
    --plan-green-dark: #033e3c;
    --plan-navy: #08234d;
    --plan-text: #263a50;
    --plan-muted: #68798c;
    --plan-line: #dce8e6;
    --plan-mint: #eaf7f3;
    overflow: hidden;
    background: #ffffff;
    color: var(--plan-text);
    font-family: Poppins, sans-serif;
}

.plan-stage-page *,
.plan-stage-page *::before,
.plan-stage-page *::after {
    box-sizing: border-box;
}

.plan-stage-container {
    width: calc(100% - 48px);
    max-width: 1420px;
    margin-right: auto;
    margin-left: auto;
}

.plan-stage-page h1,
.plan-stage-page h2,
.plan-stage-page h3,
.plan-stage-page strong {
    font-family: 'Work Sans', sans-serif;
}

.plan-stage-page svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.75;
}

.plan-stage-eyebrow {
    margin: 0 0 0.8rem;
    color: var(--plan-green);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.plan-stage-hero {
    position: relative;
    padding: 9rem 0 4.5rem;
    background: linear-gradient(180deg, #ffffff, #f8fbfa);
}

.plan-stage-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(27rem, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 3.4vw, 3.5rem);
    align-items: start;
}

.plan-stage-hero-copy {
    max-width: 62rem;
}

@media (min-width: 961px) {
    .plan-stage-hero-copy {
        transform: translateY(calc(0rem - clamp(2.94rem, 4.165vw, 4.263rem)));
    }
}

.plan-stage-hero h1 {
    max-width: 35rem;
    margin: 0 0 1.35rem;
    color: var(--plan-navy);
    font-family: 'Work Sans', sans-serif;
    font-size: clamp(3rem, 4.25vw, 4.35rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.plan-stage-hero h1 span {
    display: block;
    color: var(--plan-green);
}

.plan-stage-hero h1 .plan-stage-title-last-line {
    color: var(--plan-navy);
}

.plan-stage-lead {
    max-width: 54rem;
    margin: 0;
    color: var(--plan-text);
    font-family: Poppins, sans-serif;
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    line-height: 1.7;
}

.plan-stage-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 1.8rem;
}

.plan-stage-button,
.plan-stage-button:visited {
    display: inline-flex;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
    min-height: 3.05rem;
    padding: 0.72rem 1.25rem;
    border: 1px solid var(--plan-green);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.plan-stage-button:hover,
.plan-stage-button:focus {
    transform: translateY(-2px);
}

.plan-stage-button svg {
    width: 1rem;
    height: 1rem;
}

.plan-stage-button.is-primary {
    background: var(--plan-green);
}

.plan-stage-button.is-primary:hover,
.plan-stage-button.is-primary:focus {
    background: var(--plan-green-dark);
}

.plan-stage-button.is-secondary {
    background: #ffffff;
    color: var(--plan-green-dark);
}

.plan-stage-hero-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 3rem);
    width: calc(100% - 48px);
    max-width: 1420px;
    margin-right: auto;
    margin-left: auto;
    padding: 1.15rem 0;
    border-top: 1px solid var(--plan-line);
    border-bottom: 1px solid var(--plan-line);
}

.plan-stage-hero-benefit-section {
    padding: 0;
    background: #ffffff;
}

.plan-stage-hero-benefits > div {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    min-width: 0;
}

.plan-stage-hero-benefits > div > span {
    display: grid;
    width: 3rem;
    height: 3rem;
    margin: 0;
    padding: 0.72rem;
    border: 1px solid rgba(0, 123, 103, 0.18);
    border-radius: 50%;
    background: #ffffff;
    color: var(--plan-green-dark);
    box-shadow: 0 0.7rem 1.5rem rgba(8, 35, 77, 0.07);
    place-items: center;
}

.plan-stage-hero-benefits strong {
    display: block;
    color: var(--plan-navy);
    font-size: 0.68rem;
    line-height: 1.35;
}

.plan-stage-hero-benefits p {
    margin: 0.35rem 0 0;
    color: var(--plan-muted);
    font-size: 0.58rem;
    line-height: 1.55;
}

.plan-stage-hero-visual {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: clamp(0.55rem, 1vw, 0.9rem);
    border: 1px solid rgba(0, 123, 103, 0.15);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1.8rem 4rem rgba(8, 35, 77, 0.13);
}

.plan-stage-hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

.plan-stage-visual-label {
    position: absolute;
    z-index: 2;
    top: -1rem;
    left: 1.4rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(0, 123, 103, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: var(--plan-green-dark);
    box-shadow: 0 0.5rem 1.3rem rgba(8, 35, 77, 0.08);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.plan-stage-features {
    padding: 5.5rem 0;
    border-top: 1px solid rgba(8, 35, 77, 0.06);
    background: #ffffff;
}

.plan-stage-section-heading {
    max-width: 54rem;
    margin-bottom: 2rem;
}

.plan-stage-section-heading.is-centred {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.plan-stage-section-heading h2,
.plan-stage-operations-copy h2,
.plan-stage-final-cta h2 {
    margin: 0;
    color: var(--plan-navy);
    font-size: clamp(2.25rem, 3.5vw, 3.7rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1;
}

.plan-stage-section-heading > p:last-child {
    max-width: 44rem;
    margin: 1rem 0 0;
    color: var(--plan-muted);
    font-size: 0.86rem;
    line-height: 1.7;
}

.plan-stage-section-heading.is-centred > p:last-child {
    margin-right: auto;
    margin-left: auto;
}

.plan-stage-feature-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.9rem;
}

.plan-stage-feature-card {
    position: relative;
    display: grid;
    grid-column: span 3;
    grid-template-columns: 3.2rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    min-height: 9.2rem;
    padding: 1.35rem;
    border: 1px solid var(--plan-line);
    border-radius: 0.9rem;
    background: #ffffff;
    transition: border 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.plan-stage-feature-card:nth-child(n + 5) {
    grid-column: span 4;
}

.plan-stage-feature-card:hover {
    border-color: rgba(0, 123, 103, 0.42);
    box-shadow: 0 1rem 2.4rem rgba(8, 35, 77, 0.08);
    transform: translateY(-3px);
}

.plan-stage-feature-card > span {
    display: grid;
    width: 3.2rem;
    height: 3.2rem;
    padding: 0.72rem;
    border-radius: 50%;
    background: var(--plan-mint);
    color: var(--plan-green-dark);
    place-items: center;
}

.plan-stage-feature-card h3 {
    margin: 0;
    color: var(--plan-navy);
    font-size: 0.94rem;
    letter-spacing: -0.025em;
    line-height: 1.35;
}

.plan-stage-feature-card p {
    margin: 0.55rem 0 0;
    color: var(--plan-muted);
    font-size: 0.7rem;
    line-height: 1.58;
}

.plan-stage-process {
    padding: 5.5rem 0;
    background:
        radial-gradient(circle at 50% 40%, rgba(0, 123, 103, 0.07), transparent 28rem),
        #f8fbfa;
}

.plan-stage-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
    margin: 3rem 0 0;
    padding: 0;
    list-style: none;
}

.plan-stage-process-grid li {
    position: relative;
    text-align: center;
}

.plan-stage-process-grid li:not(:last-child)::after {
    position: absolute;
    top: 2.1rem;
    left: calc(50% + 3.5rem);
    width: calc(100% - 4.5rem);
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 123, 103, 0.28), var(--plan-green-dark));
    content: "";
}

.plan-stage-process-grid li:not(:last-child)::before {
    position: absolute;
    z-index: 2;
    top: 1.9rem;
    right: -1.3rem;
    width: 0.45rem;
    height: 0.45rem;
    border-top: 1px solid var(--plan-green-dark);
    border-right: 1px solid var(--plan-green-dark);
    transform: rotate(45deg);
    content: "";
}

.plan-stage-process-grid li > span {
    display: grid;
    width: 4.2rem;
    height: 4.2rem;
    margin: 0 auto 1.35rem;
    padding: 1rem;
    border: 1px solid rgba(0, 123, 103, 0.16);
    border-radius: 50%;
    background: #ffffff;
    color: var(--plan-green-dark);
    box-shadow: 0 0.8rem 2rem rgba(8, 35, 77, 0.08);
    place-items: center;
}

.plan-stage-process-grid strong {
    display: block;
    color: var(--plan-navy);
    font-size: 0.8rem;
    line-height: 1.45;
}

.plan-stage-process-grid p {
    max-width: 15rem;
    margin: 0.65rem auto 0;
    color: var(--plan-muted);
    font-size: 0.67rem;
    line-height: 1.6;
}

.plan-stage-operations {
    padding: 1.5rem 0 5.5rem;
    background: #ffffff;
}

.plan-stage-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.plan-stage-product-grid figure {
    min-width: 0;
    margin: 0;
}

.plan-stage-product-grid figure > div {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    padding: 0.55rem;
    border: 1px solid var(--plan-line);
    border-radius: 0.75rem;
    background: #f7faf9;
    box-shadow: 0 0.85rem 2rem rgba(8, 35, 77, 0.08);
}

.plan-stage-product-grid img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: contain;
    object-position: center;
}

.plan-stage-product-grid figcaption {
    display: block;
    margin-top: 0.85rem;
}

.plan-stage-product-grid figcaption strong {
    display: block;
    color: var(--plan-navy);
    font-size: 0.72rem;
}

.plan-stage-product-grid figcaption span {
    display: block;
    margin-top: 0.35rem;
    color: var(--plan-muted);
    font-size: 0.62rem;
    line-height: 1.5;
}

.plan-stage-proof {
    padding: 0 0 5.5rem;
    background: #ffffff;
}

.plan-stage-proof-panel {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr) minmax(16rem, auto);
    gap: 1.5rem;
    align-items: center;
    padding: 2rem 2.2rem;
    border-radius: 1rem;
    background:
        radial-gradient(circle at 92% 40%, rgba(0, 123, 103, 0.1), transparent 20rem),
        #f4f8f7;
}

.plan-stage-quote-mark {
    color: #10c6a7;
    font-family: Georgia, serif;
    font-size: 5.6rem;
    line-height: 0.7;
}

.plan-stage-proof blockquote {
    max-width: 48rem;
    margin: 0;
    color: var(--plan-navy);
    font-family: 'Work Sans', sans-serif;
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.5;
}

.plan-stage-proof-customer {
    display: grid;
    grid-template-columns: 4.2rem minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
}

.plan-stage-proof-customer img {
    display: block;
    width: 4.2rem;
    height: 4.2rem;
    padding: 0.3rem;
    border: 1px solid var(--plan-line);
    border-radius: 0.65rem;
    background: #ffffff;
    object-fit: contain;
}

.plan-stage-proof-customer strong,
.plan-stage-proof-customer span {
    display: block;
}

.plan-stage-proof-customer strong {
    color: var(--plan-navy);
    font-size: 0.8rem;
}

.plan-stage-proof-customer span {
    margin-top: 0.25rem;
    color: var(--plan-muted);
    font-size: 0.66rem;
    line-height: 1.45;
}

.plan-stage-final-cta {
    position: relative;
    padding: 3.5rem 0 2.2rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 25%, rgba(23, 199, 172, 0.18), transparent 22rem),
        linear-gradient(115deg, #00443f, #00665b);
    color: #ffffff;
}

.plan-stage-final-grid,
.plan-stage-final-signals {
    position: relative;
    z-index: 1;
}

.plan-stage-final-grid {
    display: grid;
    grid-template-columns: minmax(20rem, 1fr) auto;
    gap: 2rem;
    align-items: center;
}

.plan-stage-final-cta h2 {
    color: #ffffff;
    font-size: clamp(2rem, 3vw, 3.2rem);
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.plan-stage-final-grid > div:first-child > p:last-child {
    max-width: 44rem;
    margin: 0.75rem 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    line-height: 1.6;
}

.plan-stage-final-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.plan-stage-button.is-light {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--plan-green-dark);
}

.plan-stage-button.is-dark-outline {
    border-color: rgba(255, 255, 255, 0.58);
    background: transparent;
    color: #ffffff;
}

@media (max-width: 1180px) {
    .plan-stage-feature-card,
    .plan-stage-feature-card:nth-child(n + 5) {
        grid-column: span 6;
    }

    .plan-stage-feature-card:last-child {
        grid-column: 4 / span 6;
    }

    .plan-stage-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .plan-stage-product-grid figure:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 960px) {
    .plan-stage-hero-grid,
    .plan-stage-final-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .plan-stage-hero-visual {
        max-width: none;
        margin-top: 0;
    }

    .plan-stage-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 3.5rem;
    }

    .plan-stage-process-grid li::after,
    .plan-stage-process-grid li::before {
        display: none;
    }

    .plan-stage-proof-panel {
        grid-template-columns: 4rem minmax(0, 1fr);
    }

    .plan-stage-proof-customer {
        grid-column: 2;
    }

    .plan-stage-final-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .plan-stage-container {
        width: calc(100% - 32px);
    }

    .plan-stage-hero {
        padding: 7.2rem 0 3.5rem;
    }

    .plan-stage-hero h1 {
        font-size: clamp(2.45rem, 11vw, 3rem);
        letter-spacing: -0.045em;
        line-height: 1.02;
    }

    .plan-stage-actions,
    .plan-stage-final-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .plan-stage-button {
        width: 100%;
    }

    .plan-stage-hero-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem;
        width: calc(100% - 32px);
    }

    .plan-stage-hero-visual {
        padding: 0.5rem;
        border-radius: 0.85rem;
    }

    .plan-stage-visual-label {
        display: none;
    }

    .plan-stage-features,
    .plan-stage-process,
    .plan-stage-operations {
        padding: 4rem 0;
    }

    .plan-stage-feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .plan-stage-feature-card,
    .plan-stage-feature-card:nth-child(n + 5),
    .plan-stage-feature-card:last-child {
        grid-column: auto;
    }

    .plan-stage-process-grid,
    .plan-stage-product-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .plan-stage-product-grid figure:last-child {
        grid-column: auto;
    }

    .plan-stage-proof {
        padding-bottom: 4rem;
    }

    .plan-stage-proof-panel {
        grid-template-columns: minmax(0, 1fr);
        padding: 1.3rem;
    }

    .plan-stage-quote-mark {
        height: 2rem;
    }

    .plan-stage-proof-customer {
        grid-column: auto;
    }

    .plan-stage-final-cta {
        padding: 3.5rem 0 2.5rem;
    }

}

@media (prefers-reduced-motion: reduce) {
    .plan-stage-page * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
