/* Scoped translation of the supplied HTML website sections after the course introduction. */
.ecdm-reference {
    --ecdm-font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
    --ecdm-font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;
    --ecdm-background: #fefdff;
    --ecdm-foreground: #1e142e;
    --ecdm-card: #ffffff;
    --ecdm-primary: #8035e1;
    --ecdm-primary-rgb: 128, 53, 225;
    --ecdm-primary-foreground: #fcfbff;
    --ecdm-primary-glow: #a85dec;
    --ecdm-secondary: #f5f1fc;
    --ecdm-muted-foreground: #665f75;
    --ecdm-accent: #f1eaff;
    --ecdm-border: #dfdce7;
    --ecdm-radius: 1rem;
    --ecdm-radius-2xl: 1.5rem;
    --ecdm-radius-3xl: 1.75rem;
    --ecdm-gradient-primary: linear-gradient(135deg, var(--ecdm-primary), var(--ecdm-primary-glow));
    --ecdm-gradient-surface: linear-gradient(160deg, rgba(var(--ecdm-primary-rgb), 0.07), transparent 60%);
    --ecdm-shadow-glow: 0 24px 80px -24px rgba(var(--ecdm-primary-rgb), 0.35);
    --ecdm-shadow-card: 0 18px 45px -30px rgba(var(--ecdm-primary-rgb), 0.55);
    --ecdm-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    background-color: var(--ecdm-background);
    color: var(--ecdm-foreground);
    font-family: var(--ecdm-font-body);
    font-size: 1rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.ecdm-reference *,
.ecdm-reference *::before,
.ecdm-reference *::after {
    box-sizing: border-box;
}

.ecdm-reference h2,
.ecdm-reference h3 {
    margin: 0;
    color: var(--ecdm-foreground);
    font-family: var(--ecdm-font-display);
    letter-spacing: -0.02em;
}

.ecdm-reference p,
.ecdm-reference figure,
.ecdm-reference ul {
    margin: 0;
}

.ecdm-reference ul {
    padding: 0;
    list-style: none;
}

.ecdm-reference img,
.ecdm-reference svg {
    display: block;
}

.ecdm-reference img {
    max-width: 100%;
    height: auto;
}

.ecdm-reference a {
    color: inherit;
    text-decoration: none;
}

.ecdm-container {
    width: 100%;
    max-width: 72rem;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.ecdm-section {
    padding-block: 5rem;
}

.ecdm-section--tint {
    border-top: 1px solid var(--ecdm-border);
    border-bottom: 1px solid var(--ecdm-border);
    background-color: rgba(245, 241, 252, 0.5);
}

.ecdm-center {
    text-align: center;
}

.ecdm-eyebrow {
    color: var(--ecdm-primary);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.ecdm-section-title {
    margin-top: 1rem !important;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 2.25rem;
}

.ecdm-section-title--tight {
    line-height: 1.25;
}

.ecdm-section-lede {
    color: var(--ecdm-muted-foreground);
}

#audience .ecdm-eyebrow,
#audience .ecdm-section-title {
    text-align: center;
}

#tools .ecdm-section-title,
#tools .ecdm-tools-lede {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.ecdm-text-gradient {
    background: var(--ecdm-gradient-primary);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
}

.ecdm-measure-2xl {
    max-width: 42rem;
}

.ecdm-measure-3xl {
    max-width: 48rem;
}

.ecdm-measure-4xl {
    max-width: 56rem;
}

.ecdm-mx-auto {
    margin-inline: auto;
}

.ecdm-surface-card {
    border: 1px solid var(--ecdm-border);
    background: var(--ecdm-gradient-surface), var(--ecdm-card);
    box-shadow: var(--ecdm-shadow-card);
}

/* Mentor profiles: editorial credentials with a compact two-column mobile layout. */
.ecdm-mentors {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--ecdm-border);
    background: #fefdff;
    isolation: isolate;
}

.ecdm-mentors::before {
    position: absolute;
    z-index: -1;
    top: -12rem;
    right: -10rem;
    width: 28rem;
    height: 28rem;
    border: 5rem solid rgba(var(--ecdm-primary-rgb), 0.045);
    border-radius: 50%;
    content: "";
}

.ecdm-mentors__header {
    width: min(46rem, 100%);
    margin-inline: auto;
    text-align: center;
}

.ecdm-mentors__title {
    margin-top: 0.85rem !important;
    color: #1d112e;
    font-family: "DM Sans", sans-serif !important;
    font-size: clamp(2.45rem, 3.25vw, 3.35rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.045em !important;
}

.ecdm-mentors__header > p:last-child {
    margin-top: 1.1rem;
    color: var(--ecdm-muted-foreground);
    font-size: 1.02rem;
    line-height: 1.75;
}

.ecdm-mentors__grid {
    display: grid;
    width: min(62rem, 100%);
    margin: 3rem auto 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.75rem, 2vw, 1.5rem);
}

.ecdm-mentor-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(var(--ecdm-primary-rgb), 0.18);
    border-radius: 1.75rem;
    background: #ffffff;
    box-shadow: 0 24px 54px -38px rgba(69, 30, 117, 0.55);
    transition: transform 350ms ease, box-shadow 350ms ease;
}

.ecdm-mentor-card:nth-child(2) {
    background: #faf7ff;
}

.ecdm-mentor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 64px -36px rgba(69, 30, 117, 0.62);
}

.ecdm-mentor-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e9e0f6;
}

.ecdm-mentor-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ecdm-mentor-card:hover .ecdm-mentor-card__media img {
    transform: scale(1.025);
}

.ecdm-mentor-card__number {
    position: absolute;
    z-index: 1;
    top: 1rem;
    left: 1rem;
    padding: 0.38rem 0.7rem;
    border: 1px solid rgba(var(--ecdm-primary-rgb), 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ecdm-primary);
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(50, 24, 81, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ecdm-mentor-card__body {
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.ecdm-mentor-card h3 {
    margin: 0;
    font-size: clamp(1.35rem, 2.35vw, 1.8rem);
    font-weight: 750;
    line-height: 1.18;
}

.ecdm-mentor-card__role {
    margin-top: 0.55rem !important;
    color: var(--ecdm-primary);
    font-size: 0.75rem;
    font-weight: 750;
    line-height: 1.45;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ecdm-mentor-card__copy {
    max-width: 27rem;
    margin-top: 1.2rem !important;
    color: var(--ecdm-muted-foreground);
    font-size: 0.98rem;
    line-height: 1.7;
}

.ecdm-mentors__experience {
    width: min(62rem, 100%);
    margin: 1.25rem auto 0;
    padding: clamp(1.35rem, 2.8vw, 2.1rem);
    border-radius: 1.5rem;
    background: #261638;
    color: #fff;
    box-shadow: 0 24px 52px -34px rgba(38, 22, 56, 0.7);
}

.ecdm-reference .ecdm-mentors__experience-title {
    color: #ffffff;
    font-family: var(--ecdm-font-display);
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.03em;
}

.ecdm-mentors__experience-figure {
    color: #cfaaff;
}

.ecdm-mentors__experience p {
    margin-top: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 640px) {
    .ecdm-mentors .ecdm-section {
        padding-block: 4rem;
    }

    .ecdm-mentors .ecdm-container {
        padding-inline: 0.75rem;
    }

    .ecdm-mentors__title {
        font-size: clamp(2.1rem, 10vw, 2.8rem);
    }

    .ecdm-mentors__header > p:last-child {
        padding-inline: 0.65rem;
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .ecdm-mentors__grid {
        margin-top: 2rem;
        gap: 0.65rem;
    }

    .ecdm-mentor-card {
        min-height: 0;
        border-radius: 1.15rem;
    }

    .ecdm-mentor-card__number {
        top: 0.6rem;
        left: 0.6rem;
        padding: 0.32rem 0.48rem;
        font-size: 0.55rem;
        letter-spacing: 0.08em;
    }

    .ecdm-mentor-card__body {
        padding: 0.95rem 0.8rem 1.05rem;
    }

    .ecdm-mentor-card h3 {
        margin: 0;
        font-size: clamp(1.02rem, 5vw, 1.25rem);
    }

    .ecdm-mentor-card__role {
        margin-top: 0.45rem !important;
        font-size: 0.62rem;
        letter-spacing: 0.05em;
    }

    .ecdm-mentor-card__copy {
        margin-top: 0.8rem !important;
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .ecdm-mentors__experience {
        padding: 1.25rem 1.15rem;
        border-radius: 1.15rem;
    }
}

.ecdm-btn {
    display: inline-flex;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-inline: 1.75rem;
    border-radius: 9999px;
    background-color: var(--ecdm-primary);
    color: var(--ecdm-primary-foreground) !important;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    white-space: nowrap;
    box-shadow: var(--ecdm-shadow-sm);
    transition: background-color 150ms ease;
}

.ecdm-btn:hover {
    background-color: rgba(var(--ecdm-primary-rgb), 0.9);
}

.ecdm-btn:focus-visible {
    outline: 1px solid var(--ecdm-primary);
    outline-offset: 2px;
}

.ecdm-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.ecdm-why {
    display: grid;
    gap: 2.5rem;
}

.ecdm-why__body {
    color: var(--ecdm-muted-foreground);
}

.ecdm-why__body p + p {
    margin-top: 1.25rem;
}

.ecdm-why__stats {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
}

.ecdm-why__stat-value {
    font-family: var(--ecdm-font-display);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 2.25rem;
}

.ecdm-why__stat-label {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.ecdm-audience {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.ecdm-audience__card {
    overflow: hidden;
    border-radius: var(--ecdm-radius-2xl);
}

.ecdm-audience__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.ecdm-audience__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.ecdm-audience__card:hover .ecdm-audience__media img {
    transform: scale(1.05);
}

.ecdm-audience__num {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(254, 253, 255, 0.85);
    color: var(--ecdm-primary);
    font-family: var(--ecdm-font-display);
    font-size: 0.75rem;
    line-height: 1rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ecdm-audience__body {
    display: flex;
    min-height: 5rem;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    text-align: center;
}

.ecdm-audience__body h3 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.75rem;
    text-align: center;
}

.ecdm-card-text {
    margin-top: 0.5rem !important;
    color: var(--ecdm-muted-foreground);
    font-size: 0.875rem;
    line-height: 1.625;
}

.ecdm-roadmap {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

.ecdm-roadmap__card {
    overflow: hidden;
    border-radius: var(--ecdm-radius-3xl);
    transition: background-color 150ms ease;
}

.ecdm-roadmap__card:hover {
    background-color: var(--ecdm-accent);
}

.ecdm-roadmap__head {
    padding: 1.5rem 1.5rem 1rem;
}

.ecdm-roadmap__day {
    font-family: var(--ecdm-font-display);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 2.25rem;
}

.ecdm-roadmap__head h3 {
    margin-top: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.75rem;
}

.ecdm-roadmap__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.ecdm-roadmap__media img,
.ecdm-roadmap__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.ecdm-roadmap__card:hover .ecdm-roadmap__media img,
.ecdm-roadmap__card:hover .ecdm-roadmap__media video {
    transform: scale(1.05);
}

.ecdm-roadmap__body {
    padding: 1.5rem;
}

.ecdm-roadmap__body p {
    color: var(--ecdm-muted-foreground);
    font-size: 0.875rem;
    line-height: 1.625;
}

.ecdm-learning {
    display: grid;
    gap: 1rem;
    margin-top: 2.5rem;
}

.ecdm-learning__card {
    overflow: hidden;
    border-radius: var(--ecdm-radius-2xl);
}

.ecdm-learning__card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.ecdm-learning__body {
    padding: 1.5rem;
}

.ecdm-learning__body h3 {
    font-size: 1rem;
    font-weight: 600;
}

/* Course content: module-level outline, full lesson detail lives on the course platform. */
.ecdm-reference .ecdm-outline__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.ecdm-outline__meta-pill {
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(var(--ecdm-primary-rgb), 0.22);
    border-radius: 999px;
    background: #faf8ff;
    color: var(--ecdm-primary);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.ecdm-reference .ecdm-outline {
    display: grid;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 0;
    list-style: none;
}

.ecdm-outline__row {
    overflow: hidden;
    border: 1px solid var(--ecdm-border);
    border-radius: 1.1rem;
    background: var(--ecdm-card);
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ecdm-outline__row:hover {
    border-color: rgba(var(--ecdm-primary-rgb), 0.35);
    box-shadow: 0 18px 40px -30px rgba(var(--ecdm-primary-rgb), 0.6);
    transform: translateY(-2px);
}

/* The anchor fills the row so the whole card is a hit target, not just the title. */
.ecdm-outline__link {
    display: grid;
    padding: 1.05rem 1.35rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
}

.ecdm-outline__link:focus-visible {
    outline: 2px solid var(--ecdm-primary);
    outline-offset: -3px;
}

.ecdm-outline__row:hover .ecdm-outline__title {
    color: var(--ecdm-primary);
}

.ecdm-outline__title {
    transition: color 180ms ease;
}

.ecdm-outline__num {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.8rem;
    place-items: center;
    background: var(--ecdm-gradient-primary);
    color: #ffffff;
    font-family: var(--ecdm-font-display);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.ecdm-outline__title {
    min-width: 0;
    color: var(--ecdm-foreground);
    font-family: var(--ecdm-font-display);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.4;
}

.ecdm-outline__count {
    color: var(--ecdm-muted-foreground);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.ecdm-outline__cta {
    margin-top: 2rem;
    text-align: center;
}

@media (max-width: 640px) {
    .ecdm-outline__link {
        padding: 0.95rem 1rem;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0.5rem 0.85rem;
    }

    .ecdm-outline__num {
        width: 2.15rem;
        height: 2.15rem;
        border-radius: 0.7rem;
        font-size: 0.82rem;
    }

    .ecdm-outline__count {
        grid-column: 2;
    }
}

/* Free vs paid tooling: budget clarity before enrolment. */
.ecdm-tools-lede {
    margin-top: 1rem !important;
}

/*
 * AI tool logos. Mobile is the base case: the group is rendered twice and the
 * track slides exactly -50%, so the second copy lands where the first began and
 * the loop has no visible seam. Every item carries a trailing margin (including
 * the last) so both halves measure identically. Desktop drops the clone and
 * centres a single static row.
 */
.ecdm-toolstrip {
    margin-top: 2.25rem;
    overflow: hidden;
}

.ecdm-reference .ecdm-toolstrip__track {
    display: flex;
    width: max-content;
    animation: ecdm-toolstrip-scroll 20s linear infinite;
}

.ecdm-reference .ecdm-toolstrip__group {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    list-style: none;
}

.ecdm-toolstrip__item {
    flex: 0 0 auto;
    margin-right: 1.75rem;
}

.ecdm-reference .ecdm-toolstrip__item img {
    width: auto;
    height: 3rem;
    border-radius: 0.55rem;
    object-fit: contain;
}

@keyframes ecdm-toolstrip-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (min-width: 768px) {
    .ecdm-reference .ecdm-toolstrip__track {
        width: auto;
        justify-content: center;
        animation: none;
    }

    .ecdm-reference .ecdm-toolstrip__group--clone {
        display: none;
    }

    .ecdm-toolstrip__item {
        margin-right: clamp(1.5rem, 4vw, 3.25rem);
    }

    .ecdm-reference .ecdm-toolstrip__group > :last-child {
        margin-right: 0;
    }

    .ecdm-reference .ecdm-toolstrip__item img {
        height: clamp(2.75rem, 4vw, 3.5rem);
    }
}

/* No motion: fall back to a strip the reader scrolls themselves. */
@media (prefers-reduced-motion: reduce) {
    .ecdm-toolstrip {
        overflow-x: auto;
    }

    .ecdm-reference .ecdm-toolstrip__track {
        animation: none;
    }

    .ecdm-reference .ecdm-toolstrip__group--clone {
        display: none;
    }
}

/* ---------------------------------------------------------------------------
 * Outcomes and social proof.
 *
 * Deliberately the quietest thing on the page: a narrower measure, a left-set
 * heading, and flat tinted cards with no border, no shadow and no gradient.
 * The icons carry the brand colour on their own — a gradient chip behind every
 * one of them was reading as decoration rather than information.
 * ------------------------------------------------------------------------ */
.ecdm-plain {
    background-color: var(--ecdm-background);
}

.ecdm-container--narrow {
    max-width: 64rem;
}

.ecdm-section--airy {
    padding-block: clamp(4rem, 9vw, 8rem);
}

.ecdm-lede-block {
    max-width: 40rem;
}

.ecdm-reference .ecdm-plain-title {
    font-size: clamp(1.875rem, 1.35rem + 1.8vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
    /* Keeps a two-line heading from leaving one orphaned word on the second. */
    text-wrap: balance;
}

.ecdm-reference .ecdm-plain-lede {
    margin-top: 0.75rem;
    color: var(--ecdm-muted-foreground);
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.6;
}

/* The one card style all three grids share. */
.ecdm-soft-card {
    padding: 1.5rem;
    border-radius: 0.85rem;
    background-color: rgba(var(--ecdm-primary-rgb), 0.05);
}

.ecdm-soft-card--filled {
    background-color: var(--ecdm-primary);
    color: var(--ecdm-primary-foreground);
}

.ecdm-reference .ecdm-outcomes,
.ecdm-reference .ecdm-reviews,
.ecdm-reference .ecdm-stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: 3rem 0 0;
    padding: 0;
    gap: 1rem;
}

.ecdm-outcome__icon {
    display: block;
    color: var(--ecdm-primary);
}

/* .ec-icon ships at 22px with a flex-basis to match, so both have to go. */
.ecdm-outcome__icon .ec-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex: none;
    stroke-width: 1.5;
}

.ecdm-soft-card--filled .ecdm-outcome__icon {
    color: currentColor;
}

.ecdm-reference .ecdm-outcome__title {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
}

.ecdm-reference .ecdm-outcome__text {
    margin-top: 0.375rem;
    color: var(--ecdm-muted-foreground);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.6;
}

.ecdm-soft-card--filled .ecdm-outcome__title {
    color: var(--ecdm-primary-foreground);
}

.ecdm-soft-card--filled .ecdm-outcome__text {
    color: rgba(252, 251, 255, 0.82);
}

/* ---- Numbers ------------------------------------------------------------ */
.ecdm-reference .ecdm-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ecdm-stat__value {
    font-family: var(--ecdm-font-display);
    font-size: clamp(1.75rem, 5vw, 2.125rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.ecdm-stat__label {
    margin: 0.375rem 0 0;
    color: var(--ecdm-muted-foreground);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
}

/* ---- Reviews ------------------------------------------------------------ */
.ecdm-reference .ecdm-review__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ecdm-review__avatar {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(var(--ecdm-primary-rgb), 0.12);
    color: var(--ecdm-primary);
    font-family: var(--ecdm-font-display);
    font-size: 0.9375rem;
    font-weight: 600;
}

.ecdm-review__who {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ecdm-review__who strong {
    color: var(--ecdm-foreground);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
}

.ecdm-review__who span {
    color: var(--ecdm-muted-foreground);
    font-size: 0.8125rem;
    font-weight: 400;
}

.ecdm-reference .ecdm-review__text {
    margin-top: 1.25rem;
    color: var(--ecdm-muted-foreground);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.65;
}

/* ---------------------------------------------------------------------------
 * Closing fine print. Quiet, but never hidden: it sets the expectations every
 * claim further up the page is read against.
 * ------------------------------------------------------------------------ */
.ecdm-disclaimer {
    padding-block: 3rem;
    border-top: 1px solid var(--ecdm-border);
    background-color: var(--ecdm-background);
}

.ecdm-reference .ecdm-disclaimer__title {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ecdm-reference .ecdm-disclaimer p {
    max-width: 60rem;
    margin-top: 0.9rem;
    color: var(--ecdm-muted-foreground);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.7;
}

@media (min-width: 640px) {
    .ecdm-reference .ecdm-outcomes,
    .ecdm-reference .ecdm-reviews {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ecdm-reference .ecdm-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .ecdm-reference .ecdm-outcomes,
    .ecdm-reference .ecdm-reviews {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ===========================================================================
 * Enrolment slip.
 *
 * The decision point is staged as a printed admission ticket rather than a
 * pricing card: ruled data fields, a punched perforation between the fee stub
 * and the counterfoil, and a rubber-stamped concession mark. Nothing in here
 * is rounded or gradient-filled, and that squareness is now the whole of the
 * device: the colour, the type and the two surfaces are the page's own, so
 * the ticket reads as a different shape of the same thing rather than as a
 * different thing. It is a change of stock, not a change of voice.
 * ======================================================================== */
.ecdm-slip-section {
    /*
     * Paper stock, in violet. --slip-paper is the page's own --ecdm-secondary
     * and the card is its --ecdm-card, so the ticket now sits on the same two
     * surfaces as every other section rather than on a colour of its own. The
     * ink and the accent are the brand hue taken darker (259 and 264 degrees
     * against the brand's 266) instead of a second hue introduced here.
     */
    --slip-paper: #f5f1fc;
    --slip-card: #ffffff;
    --slip-card-alt: #faf8ff;
    --slip-ink: #2a1063;
    --slip-ink-soft: #6b5f93;
    --slip-rule: #e7e1f7;
    --slip-rule-strong: #cdc2ee;
    --slip-stamp: #4c1d95;
    /*
     * Split out of --slip-stamp. The stamp was red, so invalid fields and
     * failed submissions could borrow it and still read as errors; now that it
     * is violet like everything else, they need their own colour or a rejected
     * form looks the same as an accepted one.
     */
    --slip-alert: #d92d20;
    --slip-type: "Manrope", ui-sans-serif, system-ui, sans-serif;
    --slip-display: "Sora", ui-sans-serif, system-ui, sans-serif;

    position: relative;
    border-top: 1px solid var(--slip-rule-strong);
    border-bottom: 1px solid var(--slip-rule-strong);
    background-color: var(--slip-paper);
    color: var(--slip-ink);
}

.ecdm-slip-section > * {
    position: relative;
    z-index: 1;
}

.ecdm-slip__kicker {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--slip-stamp);
    font-family: var(--slip-type);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.ecdm-slip__kicker::after {
    height: 1px;
    flex: 1;
    background: var(--slip-rule-strong);
    content: "";
}

.ecdm-slip__title {
    max-width: 22ch;
    margin-top: 1.25rem !important;
    color: var(--slip-ink);
    font-family: var(--ecdm-font-display);
    font-size: clamp(2.05rem, 5.4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.038em;
}

/* --- The ticket ---------------------------------------------------------- */
.ecdm-slip {
    position: relative;
    overflow: hidden;
    margin-top: 2.75rem;
    border: 1px solid var(--slip-rule-strong);
    background: var(--slip-card);
    box-shadow: 10px 10px 0 -1px rgba(76, 29, 149, 0.13);
}

.ecdm-slip__body {
    display: grid;
}

/*
 * Both columns open with the same ruled header, so the hairlines line up
 * straight across the tear.
 */
.ecdm-slip__col-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    /* Beats the .ecdm-reference p reset, which is more specific than this class. */
    margin-bottom: 1.8rem !important;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--slip-rule);
}

.ecdm-slip__col-head span:last-child {
    color: var(--slip-stamp);
}

/*
 * The perforation is a real column in the grid: a dashed rule with a punched
 * disc at each end. The discs are filled in the section's paper colour and the
 * ticket clips its overflow, so only the inner half of each disc survives —
 * which is exactly the notch a torn ticket leaves behind.
 */
.ecdm-slip__perf {
    position: relative;
    background-image: linear-gradient(to bottom, var(--slip-rule-strong) 0 7px, transparent 7px 15px);
    background-repeat: repeat-y;
    background-size: 1px 15px;
}

.ecdm-slip__perf::before,
.ecdm-slip__perf::after {
    position: absolute;
    width: 1.4rem;
    height: 1.4rem;
    border: 1px solid var(--slip-rule-strong);
    border-radius: 50%;
    background: var(--slip-paper);
    content: "";
}

.ecdm-slip__stub,
.ecdm-slip__counterfoil {
    padding: clamp(1.6rem, 3.6vw, 2.6rem);
}

.ecdm-slip__field,
.ecdm-slip__col-head {
    color: var(--slip-ink-soft);
    font-family: var(--slip-type);
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.ecdm-slip__field--alert {
    color: var(--slip-stamp);
}

.ecdm-slip__was {
    margin-top: 0.45rem !important;
    color: var(--slip-stamp);
    font-family: var(--slip-type);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.ecdm-slip__paid {
    margin-top: 1.5rem !important;
}

.ecdm-slip__price {
    display: flex;
    align-items: baseline;
    margin-top: 0.3rem !important;
    gap: 0.5rem;
    color: var(--slip-ink);
    font-family: var(--slip-type);
    font-size: clamp(2.5rem, 8vw, 3.9rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.06em;
    font-variant-numeric: tabular-nums;
}

/* The currency steps back so the amount itself carries the weight. */
.ecdm-slip__cur {
    color: var(--slip-ink-soft);
    font-size: 0.3em;
    font-weight: 600;
    letter-spacing: 0.18em;
}

/* --- Countdown: ruled columns, not floating chips ------------------------ */
.ecdm-slip__clock {
    margin-top: 1.9rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--slip-rule);
}

.ecdm-slip__digits {
    display: flex;
    margin-top: 0.9rem !important;
    border: 1px solid var(--slip-rule);
    background: var(--slip-card-alt);
}

.ecdm-slip__digits > span {
    display: grid;
    flex: 1;
    padding: 0.75rem 0.2rem 0.6rem;
    gap: 0.35rem;
    justify-items: center;
}

.ecdm-slip__digits > span + span {
    border-left: 1px solid var(--slip-rule);
}

.ecdm-slip__num {
    color: var(--slip-ink);
    font-family: var(--slip-type);
    font-size: clamp(1.6rem, 5.6vw, 2.35rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.ecdm-slip__unit {
    color: var(--slip-ink-soft);
    font-family: var(--slip-type);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* --- Letterpress CTA: presses down into its own shadow ------------------- */
.ecdm-slip__cta {
    display: flex;
    width: 100%;
    min-height: 3.6rem;
    margin-top: 1.7rem;
    padding-inline: 1.4rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--slip-ink);
    background: var(--slip-ink);
    box-shadow: 6px 6px 0 0 var(--slip-stamp);
    color: #ffffff !important;
    font-family: var(--slip-type);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: transform 140ms ease, box-shadow 140ms ease;
}

.ecdm-slip__cta:hover {
    box-shadow: 2px 2px 0 0 var(--slip-stamp);
    transform: translate(4px, 4px);
}

.ecdm-slip__cta:focus-visible {
    outline: 2px solid var(--slip-stamp);
    outline-offset: 3px;
}

.ecdm-slip__cta span {
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 160ms ease;
}

.ecdm-slip__cta:hover span {
    transform: translateX(3px);
}

/* --- Counterfoil: numbered line items on ruled paper --------------------- */
.ecdm-reference .ecdm-slip__items {
    counter-reset: ecdm-slip-line;
}

.ecdm-slip__items li {
    display: flex;
    align-items: baseline;
    gap: 1.05rem;
    padding: 0.74rem 0;
    border-bottom: 1px solid var(--slip-rule);
    font-weight: 600;
    line-height: 1.4;
}

.ecdm-slip__items li::before {
    color: var(--slip-stamp);
    content: counter(ecdm-slip-line, decimal-leading-zero);
    counter-increment: ecdm-slip-line;
    font-family: var(--slip-type);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* --- Where it runs, printed at the foot of the counterfoil --------------- */
.ecdm-slip__places {
    display: grid;
    margin-top: 1.6rem;
    gap: 1.15rem;
}

.ecdm-slip__place p:last-child {
    margin-top: 0.4rem !important;
    color: var(--slip-ink-soft);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* --- Concession panel with its rubber stamp ------------------------------ */
.ecdm-conc {
    position: relative;
    margin-top: 2.6rem;
    padding: clamp(1.6rem, 3.6vw, 2.4rem);
    border: 1px solid var(--slip-rule-strong);
    background: var(--slip-card);
}

.ecdm-conc__stamp {
    position: absolute;
    top: -1.6rem;
    right: clamp(1rem, 5vw, 3.5rem);
    display: grid;
    padding: 0.65rem 1.25rem 0.7rem;
    border: 2px solid var(--slip-stamp);
    outline: 1px solid var(--slip-stamp);
    outline-offset: 3px;
    background: var(--slip-paper);
    color: var(--slip-stamp);
    font-family: var(--slip-type);
    text-align: center;
    transform: rotate(-5deg);
}

.ecdm-conc__stamp b {
    display: block;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
}

.ecdm-conc__stamp span {
    display: block;
    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.ecdm-conc__stamp span:first-child {
    margin-bottom: 0.3rem;
}

.ecdm-conc h3 {
    max-width: 18ch;
    color: var(--slip-ink);
    font-family: var(--ecdm-font-display);
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.ecdm-conc__lede {
    max-width: 46ch;
    margin-top: 0.85rem !important;
    color: var(--slip-ink-soft);
    line-height: 1.6;
}

.ecdm-conc__control {
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--slip-rule);
}

.ecdm-conc__control > label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--slip-ink-soft);
    font-family: var(--slip-type);
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.ecdm-conc__select {
    position: relative;
    max-width: 34rem;
}

.ecdm-conc__select::after {
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid var(--slip-stamp);
    border-bottom: 2px solid var(--slip-stamp);
    content: "";
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
}

.ecdm-conc select {
    width: 100%;
    min-height: 3.2rem;
    padding: 0.7rem 2.75rem 0.7rem 0.95rem;
    border: 1px solid var(--slip-rule-strong);
    border-radius: 0;
    outline: 0;
    appearance: none;
    background: var(--slip-card-alt);
    color: var(--slip-ink);
    font-family: var(--slip-type);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ecdm-conc select:focus-visible {
    border-color: var(--slip-stamp);
    box-shadow: 3px 3px 0 0 var(--slip-stamp);
}

.ecdm-conc__details[hidden] {
    display: none !important;
}

.ecdm-conc__details {
    display: grid;
    margin-top: 1.5rem;
    gap: 1.25rem;
}

.ecdm-conc__terms p {
    display: grid;
    gap: 0.4rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--slip-rule);
}

.ecdm-conc__terms p + p {
    margin-top: 0.9rem !important;
}

.ecdm-conc__terms strong {
    color: var(--slip-stamp);
    font-family: var(--slip-type);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.ecdm-conc__terms span {
    color: var(--slip-ink-soft);
    font-size: 0.97rem;
    line-height: 1.6;
}

.ecdm-conc__upload > label {
    display: grid;
    padding: 1.3rem 1rem;
    border: 1px dashed var(--slip-rule-strong);
    background: var(--slip-card-alt);
    justify-items: center;
    text-align: center;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.ecdm-conc__upload > label:hover,
.ecdm-conc__upload > label:focus-within {
    border-color: var(--slip-stamp);
    background: #f7f4ff;
}

.ecdm-conc__upload strong {
    color: var(--slip-ink);
    font-family: var(--slip-type);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ecdm-conc__upload label > span:last-child {
    margin-top: 0.45rem;
    color: var(--slip-ink-soft);
    font-size: 0.82rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.ecdm-conc__upload label > span.is-error {
    color: var(--slip-alert);
    font-weight: 700;
}

.ecdm-conc__upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.ecdm-conc__upload > p {
    margin-top: 0.7rem !important;
    color: var(--slip-ink-soft);
    font-family: var(--slip-type);
    font-size: 0.68rem;
    line-height: 1.5;
}

.ecdm-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* --- Motion, hung off the theme's existing scroll-reveal hook ------------- */
@keyframes ecdm-stamp-press {
    from {
        opacity: 0;
        transform: rotate(-16deg) scale(1.55);
    }
    to {
        opacity: 1;
        transform: rotate(-5deg) scale(1);
    }
}

@keyframes ecdm-slip-line {
    from {
        opacity: 0;
        transform: translateY(7px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*
 * No resting opacity:0 here — if the observer never fires the content must
 * still be readable. The parent .ec-reveal is already transparent until it
 * scrolls in, so the animations' from-state is hidden either way.
 */
.ecdm-conc.ec-reveal.is-visible .ecdm-conc__stamp {
    animation: ecdm-stamp-press 520ms cubic-bezier(0.2, 0.85, 0.3, 1) 260ms both;
}

.ecdm-slip.ec-reveal.is-visible .ecdm-slip__items li {
    animation: ecdm-slip-line 420ms ease both;
}

.ecdm-slip.ec-reveal.is-visible .ecdm-slip__items li:nth-child(1) { animation-delay: 140ms; }
.ecdm-slip.ec-reveal.is-visible .ecdm-slip__items li:nth-child(2) { animation-delay: 200ms; }
.ecdm-slip.ec-reveal.is-visible .ecdm-slip__items li:nth-child(3) { animation-delay: 260ms; }
.ecdm-slip.ec-reveal.is-visible .ecdm-slip__items li:nth-child(4) { animation-delay: 320ms; }
.ecdm-slip.ec-reveal.is-visible .ecdm-slip__items li:nth-child(5) { animation-delay: 380ms; }
.ecdm-slip.ec-reveal.is-visible .ecdm-slip__items li:nth-child(6) { animation-delay: 440ms; }
.ecdm-slip.ec-reveal.is-visible .ecdm-slip__items li:nth-child(7) { animation-delay: 500ms; }

/*
 * theme.js marks everything visible immediately under reduced motion, so the
 * staged animations have to be switched off rather than merely shortened.
 */
@media (prefers-reduced-motion: reduce) {
    .ecdm-conc.ec-reveal.is-visible .ecdm-conc__stamp,
    .ecdm-slip.ec-reveal.is-visible .ecdm-slip__items li {
        opacity: 1;
        animation: none;
    }

    .ecdm-conc.ec-reveal.is-visible .ecdm-conc__stamp {
        transform: rotate(-5deg);
    }

    .ecdm-slip.ec-reveal.is-visible .ecdm-slip__items li {
        transform: none;
    }
}

/* --- Layout: the tear line runs across on narrow screens ----------------- */
@media (max-width: 899px) {
    .ecdm-slip__perf {
        height: 1px;
        background-image: linear-gradient(to right, var(--slip-rule-strong) 0 7px, transparent 7px 15px);
        background-repeat: repeat-x;
        background-size: 15px 1px;
    }

    .ecdm-slip__perf::before {
        top: 50%;
        left: 0;
        transform: translate(-50%, -50%);
    }

    .ecdm-slip__perf::after {
        top: 50%;
        left: 100%;
        transform: translate(-50%, -50%);
    }
}

@media (min-width: 720px) {
    .ecdm-conc__details {
        grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.75fr);
        align-items: start;
        gap: 1.75rem;
    }
}

@media (min-width: 900px) {
    .ecdm-slip__body {
        grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1.02fr);
    }

    .ecdm-slip__perf::before {
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .ecdm-slip__perf::after {
        top: 100%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 420px) {
    .ecdm-slip__digits > span {
        padding-inline: 0.1rem;
    }

    .ecdm-slip__unit {
        font-size: 0.52rem;
        letter-spacing: 0.1em;
    }

    .ecdm-slip__cta {
        font-size: 0.75rem;
        letter-spacing: 0.12em;
    }
}

@media (min-width: 640px) {
    .ecdm-why__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .ecdm-section-title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .ecdm-section-title--tight {
        line-height: 1.25;
    }

    .ecdm-why {
        grid-template-columns: 1fr 1.2fr;
    }

    .ecdm-audience {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ecdm-roadmap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ecdm-learning {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

}

@media (min-width: 1100px) {
    .ecdm-audience {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0.875rem;
    }

    /*
     * Seven days over two rows: four across the top, three below, every card the
     * same width. 24 tracks so the bottom row can start half a card in (line 4)
     * and leave an equal three-track margin on each side.
     */
    .ecdm-roadmap {
        grid-template-columns: repeat(24, minmax(0, 1fr));
    }

    .ecdm-roadmap__card {
        grid-column: auto / span 6;
    }

    .ecdm-roadmap__card:nth-child(5) {
        grid-column: 4 / span 6;
    }

    .ecdm-audience__body {
        min-height: 4.75rem;
        padding: 1rem 0.75rem;
    }

    .ecdm-audience__body h3 {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ecdm-reference *,
    .ecdm-reference *::before,
    .ecdm-reference *::after {
        transition-duration: 0.01ms !important;
    }
}

/* Purple footer treatment scoped to this course page only. */
body.ec-page-marketing-masterclass .ec-footer {
    background: #8035e1;
}

body.ec-page-marketing-masterclass .ec-footer__brand-logo {
    filter: brightness(0) invert(1);
}

body.ec-page-marketing-masterclass .ec-footer__copy,
body.ec-page-marketing-masterclass .ec-footer__heading,
body.ec-page-marketing-masterclass .ec-footer__links a,
body.ec-page-marketing-masterclass .ec-footer__contact-copy,
body.ec-page-marketing-masterclass .ec-footer__contact-info a,
body.ec-page-marketing-masterclass .ec-footer__bottom {
    color: rgba(255, 255, 255, 0.92);
}

body.ec-page-marketing-masterclass .ec-footer__links a:hover,
body.ec-page-marketing-masterclass .ec-footer__links a:focus-visible,
body.ec-page-marketing-masterclass .ec-footer__contact-info a:hover,
body.ec-page-marketing-masterclass .ec-footer__contact-info a:focus-visible {
    color: #fff;
}

body.ec-page-marketing-masterclass .ec-footer__bottom {
    border-top-color: rgba(255, 255, 255, 0.2);
}

body.ec-page-marketing-masterclass .ec-footer__contact-actions .ec-btn--ghost {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

body.ec-page-marketing-masterclass .ec-footer__contact-actions .ec-btn--ghost:hover,
body.ec-page-marketing-masterclass .ec-footer__contact-actions .ec-btn--ghost:focus-visible {
    border-color: rgba(255, 255, 255, 0.46);
    background: rgba(255, 255, 255, 0.18);
}

/* Page-wide readability: stronger supporting typography without changing display headings. */
body.ec-page-marketing-masterclass .ec-main--marketing,
body.ec-page-marketing-masterclass .ecdm-reference {
    font-size: 1.0625rem;
}

body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-page-hero__subtitle {
    font-size: clamp(1.08rem, 1.5vw, 1.25rem);
    font-weight: 600;
    line-height: 1.65;
}

body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-highlight-list li {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.55;
}

body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-btn,
body.ec-page-marketing-masterclass .ecdm-btn {
    font-size: 0.98rem;
    font-weight: 700;
}

body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-social-proof,
body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-social-proof__rating {
    font-size: 0.95rem;
    font-weight: 600;
}

body.ec-page-marketing-masterclass .ec-course-introduction__footer h3 {
    font-size: 1.18rem;
    font-weight: 800;
}

body.ec-page-marketing-masterclass .ec-course-introduction__footer span {
    font-size: 0.84rem;
    font-weight: 700;
}

body.ec-page-marketing-masterclass .ecdm-eyebrow {
    font-size: 0.82rem;
    font-weight: 800;
}

body.ec-page-marketing-masterclass .ecdm-section-lede,
body.ec-page-marketing-masterclass .ecdm-mentors__header > p:last-child,
body.ec-page-marketing-masterclass .ecdm-mentor-card__copy,
body.ec-page-marketing-masterclass .ecdm-card-text,
body.ec-page-marketing-masterclass .ecdm-roadmap__body p {
    color: #544b62;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.65;
}

/* Dark experience panel: keep body copy light, never the muted ink used on white sections. */
body.ec-page-marketing-masterclass .ecdm-mentors__experience p {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.95rem, 2.4vw, 1.02rem);
    font-weight: 600;
    line-height: 1.7;
}

body.ec-page-marketing-masterclass .ecdm-mentors__experience-title {
    font-weight: 800;
}

body.ec-page-marketing-masterclass .ecdm-mentor-card__role {
    font-size: 0.82rem;
    font-weight: 800;
}

body.ec-page-marketing-masterclass .ecdm-mentor-card__number,
body.ec-page-marketing-masterclass .ecdm-audience__num {
    font-size: 0.8rem;
    font-weight: 700;
}

body.ec-page-marketing-masterclass .ecdm-audience__body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
}

body.ec-page-marketing-masterclass .ecdm-outline__title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
}

body.ec-page-marketing-masterclass .ecdm-outline__count {
    font-size: 0.88rem;
    font-weight: 700;
}

body.ec-page-marketing-masterclass .ecdm-roadmap__head h3,
body.ec-page-marketing-masterclass .ecdm-learning__body h3 {
    font-weight: 700;
}

body.ec-page-marketing-masterclass .ecdm-learning__body h3 {
    font-size: 1.08rem;
    line-height: 1.45;
}

body.ec-page-marketing-masterclass .ec-footer__copy,
body.ec-page-marketing-masterclass .ec-footer__links a,
body.ec-page-marketing-masterclass .ec-footer__contact-copy,
body.ec-page-marketing-masterclass .ec-footer__contact-info a,
body.ec-page-marketing-masterclass .ec-footer__bottom {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.65;
}

body.ec-page-marketing-masterclass .ec-footer__heading {
    font-size: 1.08rem;
    font-weight: 800;
}

body.ec-page-marketing-masterclass .ec-footer .ec-btn {
    font-size: 0.95rem;
    font-weight: 700;
}

/* --- Enrolment form: the concession card grown into a full booking slip --- */
.ecdm-enrol {
    scroll-margin-top: 7rem;
}

.ecdm-enrol__note {
    display: grid;
    margin-top: 1.5rem;
    padding: 1rem 1.15rem;
    gap: 0.35rem;
    border: 1px solid var(--slip-rule-strong);
    border-left-width: 5px;
    background: var(--slip-card-alt);
}

.ecdm-enrol__note:focus-visible {
    outline: 2px solid var(--slip-stamp);
    outline-offset: 3px;
}

.ecdm-enrol__note strong {
    color: var(--slip-ink);
    font-family: var(--slip-type);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.ecdm-enrol__note span {
    color: var(--slip-ink-soft);
    font-size: 0.95rem;
    line-height: 1.6;
}

.ecdm-enrol__note--ok {
    border-left-color: #1f7a45;
    background: #f4fbf6;
}

.ecdm-enrol__note--ok strong {
    color: #1f7a45;
}

.ecdm-enrol__note--error {
    border-left-color: var(--slip-alert);
    background: #fef4f2;
}

.ecdm-enrol__note--error strong {
    color: var(--slip-alert);
}

.ecdm-enrol__form {
    margin-top: 1.6rem;
}

/* Kept in the tab order for bots but out of sight and reach for people. */
.ecdm-enrol__trap {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.ecdm-enrol__grid {
    display: grid;
    gap: 1.15rem;
}

/*
 * Grid and flex children default to min-width:auto, so the longest <option>
 * (the full course name) would otherwise set the floor for the whole column
 * and push the card wider than a phone screen.
 */
.ecdm-enrol__grid > .ecdm-field,
.ecdm-enrol .ecdm-conc__select,
.ecdm-enrol select {
    min-width: 0;
}

.ecdm-enrol .ecdm-field > label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--slip-ink-soft);
    font-family: var(--slip-type);
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.ecdm-enrol .ecdm-field input[type="text"],
.ecdm-enrol .ecdm-field input[type="tel"],
.ecdm-enrol .ecdm-field input[type="email"] {
    display: block;
    width: 100%;
    min-height: 3.2rem;
    padding: 0.7rem 0.95rem;
    border: 1px solid var(--slip-rule-strong);
    border-radius: 0;
    outline: 0;
    appearance: none;
    background: var(--slip-card-alt);
    color: var(--slip-ink);
    font-family: var(--slip-type);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ecdm-enrol .ecdm-field input::placeholder {
    color: #8b81ae;
    font-weight: 400;
}

.ecdm-enrol .ecdm-field input:focus-visible {
    border-color: var(--slip-stamp);
    box-shadow: 3px 3px 0 0 var(--slip-stamp);
}

.ecdm-enrol .ecdm-field input[aria-invalid="true"] {
    border-color: var(--slip-alert);
}

/* The select chrome is inherited from .ecdm-conc; only the width differs here. */
.ecdm-enrol .ecdm-field .ecdm-conc__select {
    max-width: none;
}

.ecdm-field__error {
    margin-top: 0.5rem !important;
    color: var(--slip-alert);
    font-family: var(--slip-type);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.5;
}

.ecdm-enrol .ecdm-conc__control {
    margin-top: 1.6rem;
}

.ecdm-enrol .ecdm-conc__select {
    max-width: 100%;
}

.ecdm-enrol__total {
    display: grid;
    margin-top: 1.7rem;
    padding: 1.15rem 1.25rem;
    gap: 0.3rem;
    border: 1px solid var(--slip-ink);
    background: var(--slip-paper);
}

.ecdm-enrol__total-label {
    color: var(--slip-ink-soft);
    font-family: var(--slip-type);
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.ecdm-enrol__total-value {
    color: var(--slip-ink);
    font-family: var(--slip-type);
    font-size: clamp(1.9rem, 5vw, 2.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
}

.ecdm-enrol__total.is-discounted .ecdm-enrol__total-value {
    color: var(--slip-stamp);
}

.ecdm-enrol__total-cur {
    margin-right: 0.35rem;
    font-size: 0.5em;
    font-weight: 600;
    letter-spacing: 0.1em;
    vertical-align: 0.35em;
}

.ecdm-enrol__total-note[hidden] {
    display: none !important;
}

.ecdm-enrol__total-note {
    margin-top: 0.25rem !important;
    color: var(--slip-stamp);
    font-family: var(--slip-type);
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.5;
}

.ecdm-enrol__submit {
    justify-content: center;
    gap: 0.75rem;
    border: 0;
    cursor: pointer;
}

.ecdm-enrol__fineprint {
    margin-top: 1rem !important;
    color: var(--slip-ink-soft);
    font-family: var(--slip-type);
    font-size: 0.68rem;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .ecdm-enrol__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.15rem 1.4rem;
    }

    .ecdm-field--wide {
        grid-column: 1 / -1;
    }

    .ecdm-enrol__total {
        align-items: center;
        justify-content: space-between;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .ecdm-enrol__total-label {
        grid-row: 1;
    }

    .ecdm-enrol__total-value {
        grid-column: 2;
        grid-row: 1;
        text-align: right;
    }

    .ecdm-enrol__total-note {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .ecdm-enrol__submit {
        max-width: 24rem;
        margin-left: auto;
        margin-right: auto;
    }
}

/* --- Enrolment form seated inside the ticket counterfoil ----------------- */
/*
 * The form keeps its .ecdm-conc classes so the select, upload, and terms
 * styling still applies; this modifier just strips the standalone card shell
 * now that the slip itself provides the border and background.
 */
.ecdm-enrol--slip {
    position: static;
    margin-top: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.ecdm-enrol--slip .ecdm-enrol__form {
    margin-top: 1.4rem;
}

.ecdm-enrol__intro {
    max-width: 46ch;
    color: var(--slip-ink-soft);
    font-size: 0.95rem;
    line-height: 1.6;
}

.ecdm-enrol--slip .ecdm-conc__control {
    margin-top: 1.5rem;
    padding-top: 1.3rem;
}

/*
 * The inclusions list sits in the stub column under the CTA on desktop, and
 * stays at the foot of the whole ticket on narrow screens. It is a grid item
 * either way; `order` handles the stacked case, explicit placement the split
 * one, so a single copy of the markup serves both.
 */
.ecdm-slip__includes {
    order: 3;
    padding: clamp(1.6rem, 3.6vw, 2.6rem);
    border-top: 1px dashed var(--slip-rule-strong);
}

@media (min-width: 900px) {
    /*
     * Past this width the slip splits into two columns, so the counterfoil is
     * only about half the card. Stacking the fields keeps every input at a
     * usable width instead of squeezing two into ~230px each.
     */
    .ecdm-enrol--slip .ecdm-enrol__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ecdm-enrol--slip .ecdm-conc__details {
        grid-template-columns: minmax(0, 1fr);
    }

    .ecdm-enrol--slip .ecdm-enrol__submit {
        max-width: none;
    }
}

@media (min-width: 720px) and (max-width: 899px) {
    /*
     * Only while the ticket is one column wide: seven short lines read better
     * side by side across the full card than as one long stack.
     */
    .ecdm-slip__includes .ecdm-slip__items {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 2.5rem;
    }

    .ecdm-slip__includes .ecdm-slip__places {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem;
    }
}

@media (min-width: 900px) {
    /*
     * Two rows in the left column: the price and CTA above, the inclusions
     * below. The perforation and the form each span both rows, so the tear
     * line still runs the full height of the ticket.
     */
    .ecdm-slip__body {
        grid-template-columns: minmax(0, 0.95fr) 1px minmax(0, 1.05fr);
        /*
         * The form is taller than the stub and the list together. Sizing the
         * second row as 1fr sends that leftover height below the list, so the
         * rule under the CTA stays tight against it instead of floating in a
         * gap of its own.
         */
        grid-template-rows: auto 1fr;
    }

    .ecdm-slip__stub {
        grid-column: 1;
        grid-row: 1;
        /* The rule below the CTA supplies the separation from here down, and
         * the CTA's offset shadow needs room before it. */
        padding-bottom: 1.9rem;
    }

    .ecdm-slip__includes {
        grid-column: 1;
        grid-row: 2;
    }

    .ecdm-slip__perf {
        grid-column: 2;
        grid-row: 1 / -1;
    }

    .ecdm-slip__counterfoil {
        grid-column: 3;
        grid-row: 1 / -1;
    }
}

/* --- Payment details: the accounts the fee is transferred to ------------- */
/*
 * Rendered inside the form under the method dropdown, and again in full inside
 * the confirmation popup. The `!important` on the paragraph margins matches the
 * rest of this file: `.ecdm-reference p { margin: 0 }` is more specific than a
 * single class.
 */
.ecdm-pay__head {
    color: var(--slip-ink-soft);
    font-family: var(--slip-type);
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.ecdm-pay__account {
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--slip-rule-strong);
    border-left: 4px solid var(--slip-stamp);
    background: var(--slip-card-alt);
}

.ecdm-pay__account[hidden] {
    display: none !important;
}

.ecdm-pay__title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    color: var(--slip-ink);
    font-family: var(--slip-type);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ecdm-pay__chosen {
    padding: 0.15rem 0.5rem;
    border: 1px solid var(--slip-stamp);
    color: var(--slip-stamp);
    font-size: 0.58rem;
    letter-spacing: 0.14em;
}

.ecdm-pay__rows {
    display: grid;
    margin: 0.9rem 0 0;
    gap: 0.6rem;
}

.ecdm-pay__row {
    display: grid;
    gap: 0.2rem;
    padding-top: 0.6rem;
    border-top: 1px dotted var(--slip-rule);
}

.ecdm-pay__row:first-child {
    padding-top: 0;
    border-top: 0;
}

.ecdm-pay__row dt {
    color: var(--slip-ink-soft);
    font-family: var(--slip-type);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.ecdm-pay__row dd {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    gap: 0.45rem 0.75rem;
}

.ecdm-pay__row dd > span {
    color: var(--slip-ink);
    font-family: var(--slip-type);
    font-size: 0.94rem;
    font-weight: 700;
    /* IBANs are long enough to break a narrow column if they refuse to wrap. */
    overflow-wrap: anywhere;
}

.ecdm-pay__copy {
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--slip-rule-strong);
    background: var(--slip-paper);
    color: var(--slip-ink-soft);
    font-family: var(--slip-type);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 160ms ease, color 160ms ease;
}

.ecdm-pay__copy[hidden] {
    display: none !important;
}

.ecdm-pay__copy:hover,
.ecdm-pay__copy:focus-visible {
    border-color: var(--slip-stamp);
    color: var(--slip-stamp);
}

.ecdm-pay__copy.is-copied {
    border-color: #1f7a45;
    color: #1f7a45;
}

.ecdm-pay__note {
    margin-top: 1rem !important;
    color: var(--slip-ink-soft);
    font-size: 0.9rem;
    line-height: 1.6;
}

.ecdm-pay__upload {
    margin-top: 0.2rem;
}

/* Inside the form the panel needs the hairline the old concession control
 * used to draw above it. */
.ecdm-enrol .ecdm-pay__accounts {
    padding-top: 1.3rem;
    border-top: 1px solid var(--slip-rule);
}

/* --- Enrolment receipt popup -------------------------------------------- */
/*
 * The popup sits outside <main>, so it can neither inherit the ticket palette
 * from .ecdm-slip-section nor the box-sizing and margin resets from
 * .ecdm-reference. Both are restated here rather than reaching back into a
 * parent this element deliberately does not have.
 */
.ecdm-modal,
.ecdm-bar {
    /*
     * Paper stock, in violet. --slip-paper is the page's own --ecdm-secondary
     * and the card is its --ecdm-card, so the ticket now sits on the same two
     * surfaces as every other section rather than on a colour of its own. The
     * ink and the accent are the brand hue taken darker (259 and 264 degrees
     * against the brand's 266) instead of a second hue introduced here.
     */
    --slip-paper: #f5f1fc;
    --slip-card: #ffffff;
    --slip-card-alt: #faf8ff;
    --slip-ink: #2a1063;
    --slip-ink-soft: #6b5f93;
    --slip-rule: #e7e1f7;
    --slip-rule-strong: #cdc2ee;
    --slip-stamp: #4c1d95;
    /*
     * Split out of --slip-stamp. The stamp was red, so invalid fields and
     * failed submissions could borrow it and still read as errors; now that it
     * is violet like everything else, they need their own colour or a rejected
     * form looks the same as an accepted one.
     */
    --slip-alert: #d92d20;
    --slip-type: "Manrope", ui-sans-serif, system-ui, sans-serif;
    --slip-display: "Sora", ui-sans-serif, system-ui, sans-serif;
}

.ecdm-modal *,
.ecdm-bar *,
.ecdm-modal *::before,
.ecdm-bar *::before,
.ecdm-modal *::after,
.ecdm-bar *::after {
    box-sizing: border-box;
}

.ecdm-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(0.9rem, 4vw, 2.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.ecdm-modal[hidden] {
    display: none !important;
}

/*
 * :where() keeps this reset at a single class of specificity, so every rule
 * below can set its own margin without needing !important.
 */
.ecdm-modal :where(p, h2, dl, dt, dd) {
    margin: 0;
}

.ecdm-modal .ecdm-pay__rows {
    margin-top: 0.9rem;
}

.ecdm-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(24, 10, 56, 0.74);
}

.ecdm-modal__panel {
    position: relative;
    width: min(38rem, 100%);
    margin: auto;
    padding: clamp(1.5rem, 5vw, 2.4rem);
    border: 1px solid var(--slip-rule-strong);
    outline: 0;
    background: var(--slip-card);
    box-shadow: 6px 6px 0 0 var(--slip-stamp);
    color: var(--slip-ink);
    font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
    line-height: 1.5;
    animation: ecdm-receipt-in 240ms ease-out both;
}

@keyframes ecdm-receipt-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.ecdm-modal__close {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid transparent;
    place-items: center;
    color: var(--slip-ink-soft);
    font-size: 1.6rem;
    line-height: 1;
    text-decoration: none;
}

.ecdm-modal__close:hover,
.ecdm-modal__close:focus-visible {
    border-color: var(--slip-stamp);
    color: var(--slip-stamp);
}

.ecdm-modal__kicker {
    color: var(--slip-stamp);
    font-family: var(--slip-type);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.ecdm-modal__title {
    margin-top: 0.7rem;
    font-family: "Sora", ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    /* A pasted-in full name should wrap rather than widen the dialog. */
    overflow-wrap: anywhere;
}

.ecdm-modal__lede {
    margin-top: 0.8rem;
    color: var(--slip-ink-soft);
    font-size: 1rem;
    line-height: 1.65;
}

.ecdm-modal__amount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 1.4rem;
    padding: 1rem 1.15rem;
    gap: 0.4rem 1rem;
    border: 1px solid var(--slip-ink);
    background: var(--slip-paper);
}

.ecdm-modal__amount-label {
    color: var(--slip-ink-soft);
    font-family: var(--slip-type);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.ecdm-modal__amount-value {
    font-family: var(--slip-type);
    font-size: clamp(1.7rem, 6vw, 2.15rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
}

.ecdm-modal__amount-value > span {
    margin-right: 0.35rem;
    font-size: 0.5em;
    font-weight: 600;
    letter-spacing: 0.1em;
    vertical-align: 0.35em;
}

.ecdm-modal__clock {
    margin-top: 1.4rem;
}

.ecdm-modal__alert {
    color: var(--slip-stamp);
    font-family: var(--slip-type);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.55;
    text-transform: uppercase;
}

.ecdm-modal .ecdm-slip__digits {
    margin-top: 0.9rem;
}

.ecdm-modal__pay {
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px dashed var(--slip-rule-strong);
}

.ecdm-modal__wa {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border: 1px dashed var(--slip-rule-strong);
    background: var(--slip-card-alt);
    text-align: center;
}

.ecdm-modal__wa-label {
    color: var(--slip-ink-soft);
    font-family: var(--slip-type);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.ecdm-modal__wa-number {
    margin-top: 0.5rem;
    font-family: var(--slip-type);
    font-size: clamp(1.15rem, 5vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.ecdm-modal__wa-cta {
    justify-content: center;
    margin-top: 1.1rem;
    gap: 0.75rem;
    text-decoration: none;
}

.ecdm-modal__fineprint {
    margin-top: 1.2rem;
    color: var(--slip-ink-soft);
    font-family: var(--slip-type);
    font-size: 0.65rem;
    line-height: 1.65;
}

/* The page behind the dialog must not scroll away under it. */
.ecdm-modal-open,
.ecdm-modal-open body {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .ecdm-modal__panel {
        animation: none;
    }
}

/* --- Floating enrol bar --------------------------------------------------- */
/*
 * Parked below the fold by default and slid up by the script only while the
 * ticket is out of reach. Rendering it hidden rather than absent keeps the
 * countdown inside it on the same ticker as the one on the slip.
 */
.ecdm-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    padding: 0.7rem 0.85rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
    border-top: 2px solid var(--slip-stamp);
    background: var(--slip-card);
    box-shadow: 0 -14px 34px rgba(25, 19, 32, 0.16);
    transform: translateY(130%);
    visibility: hidden;
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 320ms;
}

.ecdm-bar.is-visible {
    transform: none;
    visibility: visible;
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

/* The receipt is the whole screen's business while it is open. */
html.ecdm-modal-open .ecdm-bar {
    transform: translateY(130%);
    visibility: hidden;
}

.ecdm-bar p {
    margin: 0;
}

.ecdm-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 62rem;
    margin: 0 auto;
    gap: 0.85rem;
}

.ecdm-bar__info {
    flex: 1 1 auto;
    min-width: 0;
}

.ecdm-bar__price {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    color: var(--slip-ink);
    font-family: var(--slip-type);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.ecdm-bar__cur {
    margin-right: 0.2rem;
    font-size: 0.6em;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.ecdm-bar__was {
    color: var(--slip-stamp);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.ecdm-bar__clock {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.4rem;
    gap: 0.2rem 0.5rem;
}

.ecdm-bar__ends {
    color: var(--slip-stamp);
    font-family: var(--slip-type);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ecdm-bar__time {
    display: flex;
    /* A wide fallback font must never push the CTA off the screen. */
    flex-wrap: wrap;
    gap: 0.45rem;
    font-family: var(--slip-type);
    font-size: 1.1rem;
    font-weight: 700;
    /* Tabular figures stop the row twitching as the seconds tick over. */
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
}

.ecdm-bar__time b {
    color: var(--slip-ink);
    font-weight: 700;
}

.ecdm-bar__time i {
    color: var(--slip-ink-soft);
    font-size: 0.68em;
    font-style: normal;
    font-weight: 600;
}

.ecdm-bar__cta {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    min-height: 3.1rem;
    padding-inline: 1.05rem;
    gap: 0.55rem;
    border: 1px solid var(--slip-ink);
    background: var(--slip-ink);
    box-shadow: 4px 4px 0 0 var(--slip-stamp);
    color: #fdfaf4 !important;
    font-family: var(--slip-type);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform 140ms ease, box-shadow 140ms ease;
}

.ecdm-bar__cta:hover,
.ecdm-bar__cta:focus-visible {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 0 var(--slip-stamp);
}

.ecdm-bar__cta span {
    transition: transform 140ms ease;
}

.ecdm-bar__cta:hover span {
    transform: translateX(3px);
}

/*
 * The Click to Chat bubble is fixed to the same corner at a z-index nothing
 * sensible competes with, so the bar publishes its height and the bubble steps
 * up out of the way instead.
 */
html.ecdm-bar-open #ht-ctc-chat {
    bottom: calc(var(--ecdm-bar-h, 4.6rem) + 15px) !important;
}

#ht-ctc-chat {
    transition: bottom 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Narrow phones: the CTA keeps its full tap target, the type gives way. */
@media (max-width: 380px) {
    .ecdm-bar {
        padding-inline: 0.65rem;
    }

    .ecdm-bar__inner {
        gap: 0.6rem;
    }

    .ecdm-bar__price {
        font-size: 1.1rem;
    }

    .ecdm-bar__was {
        font-size: 0.6rem;
    }

    .ecdm-bar__time {
        font-size: 0.98rem;
        gap: 0.32rem;
    }

    .ecdm-bar__cta {
        padding-inline: 0.85rem;
        font-size: 0.68rem;
        letter-spacing: 0.1em;
    }
}

@media (min-width: 900px) {
    .ecdm-bar {
        padding: 0.85rem 1.5rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    }

    .ecdm-bar__inner {
        gap: 2rem;
    }

    /* Room to set the price and the clock side by side. */
    .ecdm-bar__info {
        display: flex;
        align-items: center;
        gap: 1.75rem;
    }

    .ecdm-bar__price {
        font-size: 1.45rem;
    }

    .ecdm-bar__clock {
        margin-top: 0;
    }

    .ecdm-bar__ends {
        font-size: 0.64rem;
    }

    .ecdm-bar__time {
        font-size: 1.4rem;
        gap: 0.6rem;
    }

    .ecdm-bar__cta {
        min-height: 3.3rem;
        padding-inline: 1.9rem;
        font-size: 0.78rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ecdm-bar,
    .ecdm-bar__cta,
    .ecdm-bar__cta span,
    #ht-ctc-chat {
        transition: none;
    }
}

@media print {
    .ecdm-bar {
        display: none;
    }
}

/* ===========================================================================
 * Phones.
 *
 * Around 85% of this page's traffic is mobile, so the narrow layout is the
 * real one and the desktop grid is the variant. Everything below pursues a
 * single goal: the most information per screen. Three things get it there --
 * every card grid pairs up into two columns instead of one, the band padding
 * between sections comes down from 5rem to about 2rem, and the type inside
 * the cards drops a step so two columns still read comfortably.
 *
 * Nothing here is hidden or truncated; the same words are on the page, they
 * just take a third of the scrolling to reach.
 * ======================================================================== */

/* ---- Hero -------------------------------------------------------------- */
@media (max-width: 720px) {
    body.ec-page-marketing-masterclass .ec-page-hero--marketing {
        padding: 18px 0 26px;
    }

    body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-page-hero__grid {
        width: min(100% - 28px, 620px);
        gap: 20px;
    }

    /*
     * Five nowrap lines, and "Digital Marketing" is the widest of them. At
     * 8.7vw it clears a 360px screen with room to spare, where the old 12.7vw
     * was touching both edges and eating a third of the first screen.
     */
    body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-page-hero__title {
        font-size: clamp(1.95rem, 8.7vw, 2.6rem);
        line-height: 0.98;
        letter-spacing: -0.046em;
    }

    body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-page-hero__subtitle,
    body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-page-hero__subtitle--dark {
        margin-top: 14px;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-highlight-list {
        gap: 8px;
        margin-top: 16px;
    }

    body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-highlight-list--bold li {
        gap: 9px;
        font-size: 0.82rem;
        line-height: 1.4;
    }

    body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-highlight-list .ec-icon--check {
        width: 15px;
        height: 15px;
        margin-top: 1px;
    }

    body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-page-hero__actions {
        gap: 8px;
        margin-top: 18px;
    }

    body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-page-hero__actions .ec-btn {
        min-height: 46px;
        font-size: 0.8rem;
    }

    body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-social-proof {
        gap: 11px;
        margin-top: 16px;
        padding: 9px 14px;
        border-radius: 16px;
    }

    body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-avatar-stack img {
        width: 32px;
        height: 32px;
    }

    /*
     * The showreel closes the hero, under the star rating rather than above it:
     * the headline, the offer and the proof come first, and this is what someone
     * looks at once they are interested. Held to 300px because at the desktop
     * 380 a 9:16 clip is most of a phone screen on its own.
     */
    body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-page-hero__media {
        display: flex;
        margin-top: 0;
    }

    body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-marketing-hero-media {
        width: min(100%, 300px);
        padding: 9px;
        border-radius: 26px;
    }

    body.ec-main--marketing .ec-marketing-hero-media .ec-stacked-image__video,
    body.ec-page-marketing-masterclass .ec-marketing-hero-media .ec-stacked-image__video {
        border-radius: 19px;
    }
}

/* The number under the label, so it can be read as well as tapped. */
.ec-btn--stacked {
    flex-direction: column;
    gap: 1px;
    line-height: 1.2;
}

.ec-btn__sub {
    font-size: 0.78em;
    font-weight: 600;
    opacity: 0.85;
}

/* ---- Introduction video, once the script has moved it into the hero ----- */
.ec-course-introduction--in-hero {
    padding: 0;
    border-top: 0;
    background: transparent;
}

.ec-course-introduction--in-hero .ec-container {
    width: 100%;
    margin-top: 18px;
    padding: 0;
}

/*
 * The card's own footer already reads "Course Introduction", so the band
 * heading would be saying it twice inside 200px. Kept for anyone listening to
 * the page rather than looking at it.
 */
.ec-course-introduction--in-hero .ec-course-introduction__title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.ec-course-introduction--in-hero .ec-course-introduction__card {
    border-radius: 18px;
}

.ec-course-introduction--in-hero .ec-course-introduction__footer {
    min-height: 0;
    padding: 11px 15px;
}

.ec-course-introduction--in-hero .ec-course-introduction__footer h3 {
    font-size: 0.95rem;
}

/* ---- Section rhythm ---------------------------------------------------- */
@media (max-width: 767px) {
    .ecdm-reference .ecdm-section,
    .ecdm-reference .ecdm-section--airy {
        padding-block: 2.1rem;
    }

    /* The gap the preview-lectures button used to leave before the mentors. */
    .ecdm-reference .ecdm-outline__cta {
        margin-top: 1.25rem;
    }

    .ecdm-reference .ecdm-mentors .ecdm-section {
        padding-block: 1.9rem;
    }

    .ecdm-reference .ecdm-section-title {
        margin-top: 0.5rem !important;
        font-size: 1.45rem;
        line-height: 1.9rem;
    }

    .ecdm-reference .ecdm-plain-title {
        font-size: 1.45rem;
        line-height: 1.3;
    }

    .ecdm-reference .ecdm-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.16em;
    }

    .ecdm-reference .ecdm-section-lede,
    .ecdm-reference .ecdm-plain-lede {
        margin-top: 0.55rem;
        font-size: 0.87rem;
        line-height: 1.55;
    }

    .ecdm-reference .ecdm-tools-lede {
        margin-top: 0.55rem !important;
    }

    /* ---- Course content: two columns of modules ------------------------ */
    .ecdm-reference .ecdm-outline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
        margin-top: 1.1rem;
    }

    .ecdm-reference .ecdm-outline__meta {
        margin-top: 0.85rem;
    }

    .ecdm-reference .ecdm-outline__meta-pill {
        padding: 0.3rem 0.65rem;
        font-size: 0.72rem;
    }

    /* Number, then title, then count: one column inside each half-width row. */
    .ecdm-reference .ecdm-outline__link {
        align-items: start;
        padding: 0.7rem 0.75rem;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.35rem;
    }

    .ecdm-reference .ecdm-outline__num {
        width: 1.6rem;
        height: 1.6rem;
        border-radius: 0.5rem;
        font-size: 0.7rem;
    }

    .ecdm-reference .ecdm-outline__title {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .ecdm-reference .ecdm-outline__count {
        grid-column: auto;
        font-size: 0.68rem;
    }

    /* ---- Mentors ------------------------------------------------------- */
    .ecdm-reference .ecdm-mentors__grid {
        margin-top: 1.25rem;
    }

    .ecdm-reference .ecdm-mentors__title {
        font-size: clamp(1.6rem, 7.4vw, 2.1rem);
    }

    .ecdm-reference .ecdm-mentors__header > p:last-child {
        margin-top: 0.6rem;
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .ecdm-reference .ecdm-mentor-card__body {
        padding: 0.85rem;
    }

    .ecdm-reference .ecdm-mentor-card h3 {
        font-size: 1.05rem;
    }

    .ecdm-reference .ecdm-mentor-card__role {
        margin-top: 0.3rem !important;
        font-size: 0.64rem;
    }

    .ecdm-reference .ecdm-mentor-card__copy {
        margin-top: 0.5rem !important;
        font-size: 0.78rem;
        line-height: 1.5;
    }

    .ecdm-reference .ecdm-mentors__experience {
        padding: 1rem;
    }

    .ecdm-reference .ecdm-mentors__experience p {
        margin-top: 0.55rem;
        font-size: 0.85rem;
        line-height: 1.55;
    }

    /* ---- Who should join ----------------------------------------------- */
    .ecdm-reference .ecdm-audience {
        gap: 0.6rem;
        margin-top: 1.25rem;
    }

    .ecdm-reference .ecdm-audience__body {
        min-height: 0;
        padding: 0.7rem 0.5rem;
    }

    .ecdm-reference .ecdm-audience__body h3 {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    /* ---- The seven days: two columns ----------------------------------- */
    .ecdm-reference .ecdm-roadmap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
        margin-top: 1.25rem;
    }

    .ecdm-reference .ecdm-roadmap__head {
        padding: 0.8rem 0.8rem 0.55rem;
    }

    .ecdm-reference .ecdm-roadmap__day {
        font-size: 1.15rem;
        line-height: 1.2;
    }

    .ecdm-reference .ecdm-roadmap__head h3 {
        margin-top: 0.25rem;
        font-size: 0.88rem;
        line-height: 1.3;
    }

    .ecdm-reference .ecdm-roadmap__body {
        padding: 0.8rem;
    }

    .ecdm-reference .ecdm-roadmap__body p {
        font-size: 0.76rem;
        line-height: 1.5;
    }

    /* ---- Tools --------------------------------------------------------- */
    .ecdm-reference .ecdm-toolstrip {
        margin-top: 1.25rem;
    }

    /* ---- Learning model: two columns ----------------------------------- */
    .ecdm-reference .ecdm-learning {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
        margin-top: 1.25rem;
    }

    .ecdm-reference .ecdm-learning__body {
        padding: 0.8rem;
    }

    .ecdm-reference .ecdm-learning__body h3 {
        font-size: 0.88rem;
        line-height: 1.3;
    }

    .ecdm-reference .ecdm-card-text {
        margin-top: 0.35rem !important;
        font-size: 0.76rem;
        line-height: 1.5;
    }

    /* ---- Outcomes, numbers and reviews --------------------------------- */
    .ecdm-reference .ecdm-outcomes,
    .ecdm-reference .ecdm-reviews,
    .ecdm-reference .ecdm-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 1.25rem;
        gap: 0.6rem;
    }

    .ecdm-reference .ecdm-soft-card {
        padding: 0.85rem;
        border-radius: 0.7rem;
    }

    /*
     * Nine outcomes over two columns leaves one on its own, and the capstone
     * is the right card to give that full width to.
     */
    .ecdm-reference .ecdm-outcome:last-child {
        grid-column: 1 / -1;
    }

    .ecdm-reference .ecdm-outcome__icon .ec-icon {
        width: 1.7rem;
        height: 1.7rem;
    }

    .ecdm-reference .ecdm-outcome__title {
        margin-top: 0.6rem;
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .ecdm-reference .ecdm-outcome__text {
        margin-top: 0.3rem;
        font-size: 0.76rem;
        line-height: 1.5;
    }

    .ecdm-reference .ecdm-stat__value {
        font-size: clamp(1.25rem, 5.2vw, 1.6rem);
    }

    .ecdm-reference .ecdm-stat__label {
        margin-top: 0.2rem;
        font-size: 0.7rem;
        line-height: 1.35;
    }

    .ecdm-reference .ecdm-review__meta {
        gap: 0.5rem;
    }

    .ecdm-reference .ecdm-review__avatar {
        width: 1.85rem;
        height: 1.85rem;
        font-size: 0.8rem;
    }

    .ecdm-reference .ecdm-review__who strong {
        font-size: 0.8rem;
        line-height: 1.25;
    }

    .ecdm-reference .ecdm-review__who span {
        font-size: 0.68rem;
    }

    .ecdm-reference .ecdm-review__text {
        margin-top: 0.6rem;
        font-size: 0.76rem;
        line-height: 1.55;
    }

    /* ---- Closing fine print -------------------------------------------- */
    .ecdm-reference .ecdm-disclaimer {
        padding-block: 1.75rem;
    }

    .ecdm-reference .ecdm-disclaimer p {
        margin-top: 0.6rem;
        font-size: 0.72rem;
        line-height: 1.6;
    }
}

/* ---------------------------------------------------------------------------
 * Centred headings on phones.
 *
 * The mentors, audience and tools bands were already centred; this brings the
 * rest into line so the page has one axis on a narrow screen instead of two.
 * Only the headings that introduce a section move -- card titles, review
 * names, bullet lists and body copy stay left, where they are read.
 * ------------------------------------------------------------------------ */
@media (max-width: 720px) {
    body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-page-hero__title,
    body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-page-hero__subtitle,
    body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-page-hero__subtitle--dark {
        margin-inline: auto;
        text-align: center;
    }

    /* Two labels under a centred headline read better stacked than justified
     * to opposite edges of a 350px card. */
    .ec-course-introduction--in-hero .ec-course-introduction__footer {
        align-items: center;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .ecdm-reference .ecdm-eyebrow,
    .ecdm-reference .ecdm-section-title,
    .ecdm-reference .ecdm-section-lede,
    .ecdm-reference .ecdm-plain-title,
    .ecdm-reference .ecdm-plain-lede,
    .ecdm-reference .ecdm-disclaimer__title {
        text-align: center;
    }

    .ecdm-reference .ecdm-lede-block {
        margin-inline: auto;
    }

    /* A row of pills, so this one centres by justification rather than text. */
    .ecdm-reference .ecdm-outline__meta {
        justify-content: center;
    }

    /*
     * The kicker draws its own rule out to the right margin. Centring the words
     * means matching that rule on the left, so the line reads as a pair of
     * rules with the label between them.
     */
    .ecdm-reference .ecdm-slip__kicker {
        justify-content: center;
    }

    .ecdm-reference .ecdm-slip__kicker::before {
        height: 1px;
        flex: 1;
        background: var(--slip-rule-strong);
        content: "";
    }

    .ecdm-reference .ecdm-slip__title {
        margin-inline: auto;
        text-align: center;
    }
}

/* ---------------------------------------------------------------------------
 * The three odd ones out on a phone.
 *
 * Two columns over an odd number of cards leaves a hole in the last row, and
 * the hero's proof pill was sizing itself to its own text. Each gets the
 * treatment that suits what is inside it rather than all being stretched.
 * ------------------------------------------------------------------------ */
@media (max-width: 720px) {
    /*
     * The pill hugged its contents, which left it narrower than the buttons
     * above it and sitting off-centre under a centred headline. Full width
     * lines it up with the column, and gives the rating room to stay on one
     * line instead of stacking the stars under the score.
     */
    body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-social-proof {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-social-proof__rating {
        align-items: center;
        flex-direction: row;
        gap: 8px;
    }
}

@media (max-width: 767px) {
    /*
     * Nine modules over two columns leave the ninth on its own, and Final
     * Project is the one the other eight build towards. It takes the whole
     * row -- and having the width, its number, title and lesson count go back
     * on one line rather than stacking into a needlessly tall card.
     */
    .ecdm-reference .ecdm-outline__row:last-child {
        grid-column: 1 / -1;
    }

    .ecdm-reference .ecdm-outline__row:last-child .ecdm-outline__link {
        align-items: center;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 0.6rem;
    }

    /*
     * Day 07 is the seventh of seven. Stretching it to twice the width of the
     * six days above would make the last day look like the biggest one, so it
     * keeps their size and sits in the middle of the row it has to itself.
     * The calc matches a column exactly: half the grid, less half the gap.
     */
    .ecdm-reference .ecdm-roadmap .ecdm-roadmap__card:last-child {
        width: calc(50% - 0.3rem);
        grid-column: 1 / -1;
        justify-self: center;
    }
}

/* ---------------------------------------------------------------------------
 * The enrolment dialog.
 *
 * A link shared as ?enrol=1 opens the page on the form. It borrows the
 * receipt's frame -- same paper, same backdrop, same close -- and parts company
 * where a form has to: the panel is capped to the viewport and the fields
 * scroll inside it, so the price, the clock and the way out all stay put while
 * someone works down a long form on a phone.
 * ------------------------------------------------------------------------ */
.ecdm-modal--enrol .ecdm-modal__panel {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    width: min(44rem, 100%);
    /* dvh first where it is understood: the mobile address bar is not a wall. */
    max-height: calc(100vh - 2 * clamp(0.9rem, 4vw, 2.5rem) - 8px);
    max-height: calc(100dvh - 2 * clamp(0.9rem, 4vw, 2.5rem) - 8px);
    padding: 0;
}

/* Above the header's own background, and clear of the title beneath it. */
.ecdm-modal--enrol .ecdm-modal__close {
    top: 0.3rem;
    right: 0.3rem;
    z-index: 2;
}

.ecdm-modal__head {
    flex: 0 0 auto;
    padding: clamp(1rem, 4vw, 1.4rem) clamp(1.15rem, 5vw, 2.3rem) clamp(0.85rem, 3vw, 1.1rem);
    border-bottom: 1px solid var(--slip-rule-strong);
    background: var(--slip-card-alt);
}

/*
 * Smaller than the receipt's headline: this one has a form under it that needs
 * the room more than the course name does.
 */
.ecdm-modal--enrol .ecdm-modal__title {
    margin-top: 0.4rem;
    padding-right: 2rem;
    font-size: clamp(1.02rem, 4.2vw, 1.3rem);
    line-height: 1.28;
}

.ecdm-modal__fee {
    display: flex;
    align-items: baseline;
    margin-top: 0.6rem;
    gap: 0.55rem;
}

.ecdm-modal__fee strong {
    color: var(--slip-stamp);
    font-family: var(--slip-type);
    font-size: clamp(1.35rem, 5.5vw, 1.7rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
}

.ecdm-modal__fee strong > span {
    margin-right: 0.28rem;
    font-size: 0.52em;
    font-weight: 600;
    letter-spacing: 0.1em;
    vertical-align: 0.32em;
}

.ecdm-modal__fee s {
    color: var(--slip-ink-soft);
    font-family: var(--slip-type);
    font-size: 0.8rem;
}

/*
 * The ticket's ruled digit boxes, kept at a size worth reading. This is the
 * reason the offer is worth acting on today rather than tomorrow, so it is
 * given the room the deadline deserves and only trimmed against the ticket's
 * own clock by the padding around it.
 */
.ecdm-modal__clock--enrol {
    margin-top: 0.75rem;
}

.ecdm-modal__clock--enrol .ecdm-modal__alert {
    font-size: 0.63rem;
    letter-spacing: 0.16em;
}

.ecdm-modal--enrol .ecdm-slip__digits {
    margin-top: 0.5rem !important;
    border: 1px solid var(--slip-rule);
    background: var(--slip-card-alt);
}

.ecdm-modal--enrol .ecdm-slip__digits > span {
    padding: 0.5rem 0.2rem 0.45rem;
    gap: 0.25rem;
}

.ecdm-modal--enrol .ecdm-slip__num {
    font-size: clamp(1.5rem, 5.4vw, 2rem);
}

.ecdm-modal--enrol .ecdm-slip__unit {
    font-size: 0.56rem;
    letter-spacing: 0.14em;
}

/* The scrolling part. The dialog's own overflow stays as a backstop. */
.ecdm-modal__body {
    flex: 1 1 auto;
    padding: 0 clamp(1.15rem, 5vw, 2.3rem) clamp(1.3rem, 5vw, 1.8rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.ecdm-modal--enrol .ecdm-enrol__intro {
    margin-top: clamp(1rem, 4vw, 1.3rem) !important;
    max-width: none;
}

/* The header already carries the deadline, so the form does not repeat it. */
.ecdm-modal--enrol .ecdm-enrol__form {
    margin-top: 1.2rem;
}

/*
 * Slightly tighter than on the ticket: the header above it already carries the
 * course, the price and the deadline, so this is instructions rather than the
 * pitch, and it should not push the first field off the screen.
 */
.ecdm-modal--enrol .ecdm-enrol__intro {
    font-size: 0.88rem;
}

/*
 * On the ticket the form shares a narrow column, so past 900px it stacks its
 * fields. In the dialog it has the whole panel, so it goes back to two.
 */
@media (min-width: 900px) {
    .ecdm-modal--enrol .ecdm-enrol__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.15rem 1.4rem;
    }
}

/* ===========================================================================
 * Revisions, August 2026.
 * ======================================================================== */

/* ---------------------------------------------------------------------------
 * "Use AI to:" — the label that lets the five hero lines drop the words.
 * ------------------------------------------------------------------------ */
body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-highlight-list__label {
    margin: 1.4rem 0 0.55rem;
    color: var(--ecdm-primary, #8035e1);
    font-family: "Sora", ui-sans-serif, system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-highlight-list__label + .ec-highlight-list {
    margin-top: 0;
}

@media (max-width: 720px) {
    body.ec-page-marketing-masterclass .ec-page-hero--marketing .ec-highlight-list__label {
        margin: 1.1rem 0 0.45rem;
        font-size: 0.66rem;
        letter-spacing: 0.2em;
        text-align: center;
    }
}

/* ---------------------------------------------------------------------------
 * Outcomes, reduced to their titles.
 *
 * Eight claims with a sentence under each is a wall; eight claims on their own
 * are read in one pass. Losing the sentences also lets the grid go to four
 * across, so the whole section is two rows and its conclusion instead of six
 * screens of scrolling.
 * ------------------------------------------------------------------------ */
.ecdm-reference .ecdm-outcome__title {
    margin-top: 0.85rem;
}

.ecdm-reference .ecdm-outcome__icon .ec-icon {
    width: 2rem;
    height: 2rem;
}

@media (min-width: 768px) {
    .ecdm-reference .ecdm-outcomes {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    /* The ninth is the conclusion the eight above it add up to, so it gets the
       full width rather than being left hanging at the end of a row. */
    .ecdm-reference .ecdm-outcome:last-child {
        display: grid;
        align-items: center;
        grid-column: 1 / -1;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 1.35rem;
    }

    .ecdm-reference .ecdm-outcome:last-child .ecdm-outcome__icon {
        grid-row: span 2;
    }

    .ecdm-reference .ecdm-outcome:last-child .ecdm-outcome__title {
        margin-top: 0;
        font-size: 1.35rem;
    }

    .ecdm-reference .ecdm-outcome:last-child .ecdm-outcome__text {
        max-width: 62ch;
    }
}

@media (max-width: 767px) {
    .ecdm-reference .ecdm-outcome__title {
        margin-top: 0.5rem;
    }

    .ecdm-reference .ecdm-outcome__icon .ec-icon {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* ---------------------------------------------------------------------------
 * 4.9 out of 5, as five stars.
 *
 * The score is already printed above them; these are what carries across a
 * room, which a fraction never does.
 * ------------------------------------------------------------------------ */
.ecdm-reference .ecdm-stat__stars {
    display: flex;
    margin: 0.4rem 0 0;
    color: #f5a524;
    gap: 0.12rem;
}

.ecdm-reference .ecdm-stat__stars .ec-icon {
    width: 1rem;
    height: 1rem;
    flex: none;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1;
}

@media (max-width: 767px) {
    .ecdm-reference .ecdm-stat__stars {
        margin-top: 0.3rem;
    }

    .ecdm-reference .ecdm-stat__stars .ec-icon {
        width: 0.82rem;
        height: 0.82rem;
    }
}

/* ---------------------------------------------------------------------------
 * The ticket, set in the page's own type.
 *
 * The paper, the rules and the perforation stay; the typewriter face does not.
 * Sora carries the figures and anything that behaves like a heading, Manrope
 * the running text, which is the pairing every other section on the page uses.
 * Tabular figures are restated wherever digits change on a timer, because a
 * proportional 1 would shuffle the row every second.
 * ------------------------------------------------------------------------ */
.ecdm-slip__kicker,
.ecdm-slip__col-head,
.ecdm-slip__price,
.ecdm-slip__was,
.ecdm-slip__num,
.ecdm-slip__items li::before,
.ecdm-slip__cta,
.ecdm-conc__stamp,
.ecdm-enrol__total-value,
.ecdm-pay__title,
.ecdm-modal__kicker,
.ecdm-modal__alert,
.ecdm-modal__amount-value,
.ecdm-modal__wa-number,
.ecdm-modal__fee strong,
.ecdm-bar__price,
.ecdm-bar__ends,
.ecdm-bar__time,
.ecdm-bar__cta {
    font-family: var(--slip-display);
}

/* Sora sets tighter than the monospace did, so the tracking comes back up. */
.ecdm-slip__col-head,
.ecdm-modal__kicker,
.ecdm-modal__alert,
.ecdm-bar__ends {
    letter-spacing: 0.2em;
}

.ecdm-slip__price {
    letter-spacing: -0.035em;
}

.ecdm-slip__num,
.ecdm-modal--enrol .ecdm-slip__num {
    letter-spacing: -0.02em;
}

.ecdm-slip__was,
.ecdm-enrol__total-value,
.ecdm-modal__amount-value,
.ecdm-modal__wa-number,
.ecdm-modal__fee strong,
.ecdm-modal__fee s,
.ecdm-bar__price {
    font-variant-numeric: tabular-nums;
}

/* Three units, not four, so each column can take the room the day gave up. */
.ecdm-slip__unit {
    font-size: 0.62rem;
}

/* ---------------------------------------------------------------------------
 * The floating bar, in the page's colour.
 *
 * Cream on cream was legible and easy to scroll past. This is the only element
 * on the page that has to be noticed from wherever the reader happens to be,
 * so it takes the deep end of the brand hue -- flat, the same --slip-ink the
 * ticket sets its headings and its button in -- and the clock on it is the
 * size of the price beside it rather than a footnote to it.
 * ------------------------------------------------------------------------ */
.ecdm-bar {
    border-top: 0;
    background: #2a1063;
    box-shadow: 0 -14px 38px rgba(42, 16, 99, 0.32);
}

.ecdm-bar__price {
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 700;
}

.ecdm-bar__cur {
    color: rgba(255, 255, 255, 0.78);
}

.ecdm-bar__was {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    text-decoration: line-through;
}

.ecdm-bar__ends {
    color: #c4b1f7;
    font-size: 0.62rem;
    font-weight: 700;
}

.ecdm-bar__time {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
}

.ecdm-bar__time b {
    color: #ffffff;
}

.ecdm-bar__time i {
    color: rgba(255, 255, 255, 0.7);
}

/*
 * White on violet: the brightest thing on the darkest strip, which is the only
 * way left to mark one control as the one to press once everything on the page
 * is the same hue.
 */
.ecdm-bar__cta {
    border: 0;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(16, 5, 42, 0.36);
    color: #2a1063 !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.ecdm-bar__cta:hover,
.ecdm-bar__cta:focus-visible {
    transform: translateY(-1px);
    background: #f1ebff;
    box-shadow: 0 10px 24px rgba(16, 5, 42, 0.42);
}

@media (max-width: 380px) {
    .ecdm-bar__price {
        font-size: 1.2rem;
    }

    .ecdm-bar__time {
        font-size: 1.1rem;
    }

    .ecdm-bar__cta {
        font-size: 0.7rem;
        letter-spacing: 0.08em;
    }
}

/* The outcomes heading lost its lede, so it no longer has to share the 40rem
   column that was holding two lines of text: given the room, it sets on one. */
.ecdm-reference #outcomes .ecdm-lede-block {
    max-width: none;
}

/* Sora sets wider than the monospace it replaced, and these two labels sit at
   opposite ends of the same row. Narrow phones get the tracking back. */
@media (max-width: 520px) {
    .ecdm-slip__col-head {
        font-size: 0.62rem;
        letter-spacing: 0.12em;
    }
}
