    /*===================================================
    // BRAND THEME
    /==================================================*/

    /* Registered so a brand switch blends colours instead of snapping */
    @property --brand {
        syntax: '<color>';
        inherits: true;
        initial-value: #1B9CFC;
    }

    @property --brand-dark {
        syntax: '<color>';
        inherits: true;
        initial-value: #162b41;
    }

    [data-hero="deploy"] {
        transition: --brand 900ms ease, --brand-dark 900ms ease;
    }

    [data-brand-field] {
        transition: opacity 350ms ease;
    }

    .is-switching [data-brand-field] {
        opacity: 0;
    }


    /*===================================================
    // STAGE
    /==================================================*/

    /* Browser centred at the back; each phone is centred on a browser edge, tilted and dropped low */
    .deploy-stage {
        --browser-w: 920px;
        --browser-h: 600px;
        --phone-scale: 0.92;
        --phone-tilt: 14deg;
        --phone-top: 70px;

        position: relative;
        max-width: 1160px;
        height: 720px;
        margin: var(--margin-large) auto 0;
        animation: heroFade 1200ms ease 380ms both;
    }

    /* The phone box is 300px wide; offsetting by half puts its centre on the browser edge */
    .deploy-device {
        position: absolute;
        top: var(--phone-top);
        z-index: 2;
    }

    .deploy-device-left {
        left: calc(50% - var(--browser-w) / 2 - 150px + 16px);
        transform: rotate(calc(var(--phone-tilt) * -1)) scale(var(--phone-scale));
    }

    .deploy-device-right {
        right: calc(50% - var(--browser-w) / 2 - 150px + 16px);
        transform: rotate(var(--phone-tilt)) scale(var(--phone-scale));
    }


    /*===================================================
    // SHARED APP UI
    /==================================================*/

    .deploy-tabs {
        display: flex;
        background: #fff;
    }

    .deploy-tabs span {
        flex: 1 1 0;
        padding: var(--padding-xsmall) 0;
        border-bottom: 2px solid transparent;
        text-align: center;
        font-size: 9.5px;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--ink-soft-color);
    }

    .deploy-tabs .is-active {
        border-bottom-color: var(--brand);
        color: var(--dark-dark-color);
    }

    .deploy-overline {
        font-size: 9px;
        font-weight: 600;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--ink-soft-color);
    }

    .deploy-head-status {
        font-size: 9px;
        font-weight: 600;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--ink-soft-color);
    }

    .deploy-open {
        display: inline-grid;
        place-items: center;
        padding: var(--padding-xsmall) var(--padding-medium);
        border-radius: 999px;
        background: var(--brand);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #fff;
    }

    .deploy-open-small {
        padding: 2px var(--padding-xsmall);
        font-size: 8.5px;
    }


    /*=== Goal Rings ===*/

    .deploy-goals {
        width: 26px;
        height: 26px;
        transform: rotate(-90deg);
    }

    .deploy-goal-track,
    .deploy-goal {
        fill: none;
        stroke-width: 3.5;
    }

    .deploy-goal-track {
        stroke: #e9edf2;
    }

    .deploy-goal {
        stroke-linecap: round;
        stroke-dasharray: 100;
        stroke-dashoffset: 100;
        transition: stroke-dashoffset 1400ms var(--ease-out);
    }

    .deploy-goal-brand {
        stroke: var(--brand);
    }

    .deploy-goal-rewards {
        stroke: var(--brand-accent);
        stroke-dashoffset: 50;
    }

    .deploy-goal-full {
        stroke-dashoffset: 0;
    }

    .deploy-goal-certificates {
        stroke: var(--dark-dark-color);
        stroke-dashoffset: 0;
    }


    /*===================================================
    // WEB APP (Discover)
    /==================================================*/

    .deploy-browser {
        position: absolute;
        top: 0;
        left: 50%;
        z-index: 1;
        width: var(--browser-w);
        height: var(--browser-h);
        margin-left: calc(var(--browser-w) / -2);
        display: flex;
        flex-direction: column;
        padding: 0 10px 10px;
        border-radius: 18px;
        background: #00091a;
        box-shadow:
            0 60px 110px -40px rgba(0, 13, 35, 0.15),
            0 30px 60px -30px rgba(0, 13, 35, 0.05);
    }

    .deploy-browser-bar {
        flex: 0 0 40px;
        display: flex;
        align-items: center;
        gap: var(--gap-small);
        padding: 0 var(--padding-xsmall);
    }

    .deploy-browser-lights {
        display: flex;
        gap: var(--gap-xsmall);
    }

    .deploy-browser-lights i {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #3a404c;
    }

    .deploy-browser-url {
        flex: 0 1 520px;
        display: flex;
        align-items: center;
        gap: var(--gap-xsmall);
        padding: var(--padding-xxsmall) var(--padding-small);
        border-radius: 8px;
        background: #2b303b;
        font-size: 11px;
        color: rgba(255, 255, 255, 0.55);
    }

    .deploy-browser-url .fa {
        font-size: 10px;
    }

    .deploy-web {
        flex: 1 1 auto;
        min-height: 0;
        display: grid;
        grid-template-columns: 60px 1fr;
        overflow: hidden;
        border-radius: 8px;
        background: #fff;
    }

    .deploy-web-nav {
        display: flex;
        justify-content: center;
        padding-top: var(--padding-small);
        background: var(--brand-dark);
    }

    .deploy-logo {
        width: 32px;
        height: 32px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 800;
        color: #fff;
        background-image: var(--brand-icon);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
    }

    .deploy-web-main {
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    .deploy-web-header {
        position: relative;
        padding-top: var(--padding-small);
        border-bottom: 1px solid var(--hairline-color);
    }

    .deploy-web-title {
        display: block;
        margin-bottom: var(--margin-xsmall);
        text-align: center;
        font-size: 10.5px;
        font-weight: 700;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--dark-dark-color);
    }

    .deploy-web-search {
        position: absolute;
        top: var(--padding-small);
        right: var(--padding-small);
        font-size: 14px;
        color: var(--dark-light-color);
    }

    .deploy-web-header .deploy-tabs {
        max-width: 260px;
        margin: 0 auto;
    }


    /*=== Featured Pathway ===*/

    .deploy-feature {
        position: relative;
        display: grid;
        grid-template-columns: 168px 1fr;
        align-items: center;
        gap: var(--gap-medium);
        padding: var(--padding-medium) var(--padding-large) var(--padding-medium);
        /* Brand-to-accent wash that fades out to white into the library below */
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0) 40%, #fff 100%),
            linear-gradient(110deg, color-mix(in srgb, var(--brand) 16%, #fff) 0%, color-mix(in srgb, var(--brand-accent) 14%, #fff) 100%);
    }

    .deploy-feature-cover {
        display: block;
        width: 168px;
        height: 168px;
        object-fit: cover;
        border-radius: 20px;
    }

    .deploy-feature-copy {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--gap-xsmall);
    }

    .deploy-feature-title {
        font-size: 26px;
        font-weight: 800;
        line-height: 1.05;
        letter-spacing: -0.03em;
        color: var(--dark-dark-color);
    }

    .deploy-stars {
        display: flex;
        gap: 2px;
        color: #f5b301;
    }

    .deploy-stars .fa {
        font-size: 10px;
    }

    .deploy-feature-text {
        max-width: 340px;
        font-size: 12px;
        line-height: 1.5;
        color: var(--ink-muted-color);
    }

    .deploy-feature .deploy-open {
        margin-top: var(--margin-xsmall);
        min-width: 140px;
    }

    .deploy-feature-dots {
        position: absolute;
        bottom: var(--padding-xsmall);
        left: 50%;
        display: flex;
        gap: var(--gap-xxsmall);
        transform: translateX(-50%);
    }

    .deploy-feature-dots i {
        width: 18px;
        height: 3px;
        border-radius: 2px;
        background: rgba(0, 13, 35, 0.12);
    }

    .deploy-feature-dots .is-active {
        background: var(--dark-light-color);
    }


    /*=== Library ===*/

    .deploy-library {
        padding: var(--padding-small) var(--padding-large);
    }

    .deploy-library-title {
        display: block;
        margin-bottom: var(--margin-small);
        font-size: 14px;
        font-weight: 800;
        letter-spacing: -0.01em;
        color: var(--dark-dark-color);
    }

    .deploy-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--gap-medium);
    }

    .deploy-card {
        display: grid;
        grid-template-columns: 56px 1fr;
        grid-template-areas:
            "image copy"
            "image open";
        column-gap: var(--gap-small);
        padding-bottom: var(--padding-xsmall);
        border-bottom: 1px solid var(--hairline-color);
    }

    .deploy-card img {
        grid-area: image;
        display: block;
        width: 56px;
        height: 56px;
        object-fit: cover;
        border-radius: 12px;
    }

    .deploy-card-copy {
        grid-area: copy;
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .deploy-card-title {
        font-size: 11.5px;
        font-weight: 700;
        color: var(--dark-dark-color);
    }

    .deploy-card .deploy-open {
        grid-area: open;
        justify-self: end;
        align-self: end;
    }


    /*===================================================
    // MOBILE APP
    /==================================================*/

    .deploy-mobile {
        position: relative;
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .deploy-mobile .deploy-tabs {
        border-bottom: 1px solid var(--hairline-color);
    }

    .deploy-marker {
        position: relative;
        justify-self: end;
        color: var(--dark-dark-color);
    }

    .deploy-marker .fa {
        font-size: 18px;
    }

    .deploy-badge {
        position: absolute;
        top: -7px;
        right: -8px;
        min-width: 15px;
        height: 15px;
        display: grid;
        place-items: center;
        padding: 0 var(--padding-xxsmall);
        border-radius: 999px;
        border: 1.5px solid #fff;
        background: var(--accent-color);
        font-size: 8.5px;
        font-weight: 700;
        line-height: 1;
        color: #fff;
    }


    /*=== Pathway ===*/

    .deploy-head {
        display: flex;
        align-items: center;
        gap: var(--gap-small);
        padding: var(--padding-small);
    }

    .deploy-cover {
        flex: 0 0 52px;
        display: block;
        width: 52px;
        height: 52px;
        object-fit: cover;
        border-radius: 14px;
    }

    .deploy-head-copy {
        display: flex;
        flex-direction: column;
        gap: var(--gap-xxsmall);
        min-width: 0;
    }

    .deploy-head-title {
        font-size: 16px;
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: -0.02em;
        color: var(--dark-dark-color);
    }

    .deploy-rows {
        list-style: none;
        padding: 0 var(--padding-small);
    }

    .deploy-row {
        display: grid;
        grid-template-columns: 32px 1fr 16px;
        align-items: center;
        gap: var(--gap-small);
        padding: var(--padding-xsmall) 0;
        border-top: 1px solid var(--hairline-color);
    }

    .deploy-row-icon {
        width: 32px;
        height: 32px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: var(--brand);
        color: #fff;
        outline: 1.5px solid color-mix(in srgb, var(--brand) 25%, transparent);
        outline-offset: 2px;
    }

    .deploy-row-icon .fa {
        font-size: 13px;
    }

    .deploy-row-copy {
        min-width: 0;
    }

    .deploy-row-title {
        display: block;
        font-size: 11.5px;
        font-weight: 700;
        color: var(--dark-dark-color);
    }

    .deploy-row-text {
        display: block;
        margin-top: 2px;
        font-size: 10px;
        line-height: 1.35;
        color: var(--ink-muted-color);
    }

    .deploy-row-status {
        font-size: 14px;
        color: var(--dark-light-color);
    }

    .deploy-toast {
        position: absolute;
        left: var(--padding-small);
        right: var(--padding-small);
        bottom: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--gap-xsmall);
        padding: var(--padding-xsmall) var(--padding-small);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 8px 24px -8px rgba(0, 13, 35, 0.18);
        font-size: 10.5px;
        color: var(--ink-soft-color);
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 400ms ease, transform 600ms var(--ease-out);
    }

    .deploy-toast.is-visible {
        opacity: 1;
        transform: none;
    }

    .deploy-toast strong {
        font-weight: 700;
        color: var(--dark-dark-color);
    }

    .deploy-toast .fa {
        font-size: 14px;
        color: var(--brand);
    }

    .deploy-tabbar {
        margin-top: auto;
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: var(--padding-xsmall) var(--padding-small);
        background: #fff;
    }

    .deploy-tabbar .fa {
        font-size: 17px;
        color: var(--ink-soft-color);
    }

    .deploy-tabbar .fa.is-active {
        color: var(--brand);
    }

    .deploy-tabbar img {
        display: block;
        width: 22px;
        height: 22px;
        border-radius: 50%;
    }


    /*=== Progress and Awards ===*/

    .deploy-progress {
        align-items: center;
        padding: 0 var(--padding-small);
        background: #fff;
    }

    .deploy-back {
        align-self: flex-start;
        font-size: 14px;
        color: var(--dark-light-color);
    }

    .deploy-rings {
        width: 150px;
        height: 150px;
        margin-top: var(--margin-small);
        transform: rotate(-90deg);
    }

    .deploy-rings .deploy-goal-track,
    .deploy-rings .deploy-goal {
        stroke-width: 11;
    }

    .deploy-progress-title {
        margin-top: var(--margin-small);
        text-align: center;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: -0.02em;
        color: var(--dark-dark-color);
    }

    .deploy-progress .deploy-head-status {
        margin-top: var(--margin-xxsmall);
    }

    .deploy-stats {
        width: 100%;
        margin-top: var(--margin-small);
        list-style: none;
    }

    .deploy-stat {
        display: grid;
        grid-template-columns: 24px 1fr auto;
        align-items: center;
        gap: var(--gap-xsmall);
        padding: var(--padding-xsmall) 0;
        border-top: 1px solid var(--hairline-color);
    }

    .deploy-stat-ring {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        border: 3px solid var(--brand);
    }

    .deploy-stat-copy {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }

    .deploy-stat-label {
        font-size: 11px;
        font-weight: 600;
        color: var(--brand);
    }

    .deploy-stat-value {
        font-size: 10px;
        color: var(--ink-soft-color);
    }

    .deploy-stat strong {
        font-size: 11px;
        font-weight: 600;
        color: var(--dark-dark-color);
    }

    .deploy-stat-1 .deploy-stat-ring { border-color: var(--brand-accent); }
    .deploy-stat-1 .deploy-stat-label { color: var(--brand-accent); }
    .deploy-stat-2 .deploy-stat-ring { border-color: var(--dark-color); }
    .deploy-stat-2 .deploy-stat-label { color: var(--dark-color); }

    .deploy-awards-title {
        margin-top: var(--margin-small);
        font-size: 13px;
        font-weight: 800;
        color: var(--dark-color);
    }

    .deploy-awards {
        display: flex;
        gap: var(--gap-small);
        margin-top: var(--margin-xsmall);
    }

    .deploy-award {
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: var(--brand);
        color: #fff;
    }

    

    .deploy-award .fa {
        font-size: 15px;
    }


    /*===================================================
    // CAPTION
    /==================================================*/

    .deploy-caption {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--gap-xsmall);
        margin-top: -80px;
        position: relative;
        z-index: 3;
    }

    .deploy-dots {
        display: flex;
        gap: var(--gap-xsmall);
    }

    .deploy-dots i {
        width: 6px;
        height: 6px;
        border-radius: 999px;
        background: #d6dbe2;
        transition: width 500ms var(--ease-out), background-color 500ms ease;
    }

    .deploy-dots i.is-active {
        width: 18px;
        background: var(--brand);
    }

    .deploy-caption-text {
        display: flex;
        gap: var(--gap-xsmall);
        font-size: 13px;
        color: var(--ink-soft-color);
    }

    .deploy-caption-text strong {
        font-weight: 600;
        color: var(--dark-dark-color);
    }


    /*===================================================
    // RESPONSIVE
    /==================================================*/

    /* Phones may run past the container edge; the hero clips them */
    @media screen and (max-width: 1180px) {

        .deploy-stage {
            --browser-w: 760px;
            --browser-h: 520px;
            --phone-scale: 0.8;
            --phone-top: 50px;

            height: 620px;
        }

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

        .deploy-card:nth-child(3) {
            display: none;
        }

    }

    /* Small screens keep the pathway phone, upright and centred */
    @media screen and (max-width: 960px) {

        .deploy-stage {
            height: auto;
            display: flex;
            justify-content: center;
        }

        .deploy-browser,
        .deploy-device-right {
            display: none;
        }

        .deploy-device-left {
            position: static;
            transform: none;
        }

    }
