/* =========================================================================
   MASTERCLASS DETAILS - modern layer, original ScholarHat masterclass palette
   (cyan to magenta heading gradient, indigo accent, deep navy), built mobile
   first with real depth: layered shadows, glass, gradient hairlines, bento.
   Loaded after master-class.css and master-class-md.css and scoped to .mc.
   The markdown sections (#heading, #hero-point, #what, #audience, #build,
   #why, #bonus) keep their structure and are re-themed here.
   Light / dark follow [data-bs-theme] on <html>.
   ========================================================================= */

.mc {
    --mc-bg: #f8fafc;
    --mc-card: #ffffff;
    --mc-soft: #f1f5f9;
    --mc-ink: #0f172a;
    --mc-ink-2: #334155;
    --mc-muted: #5b6678;
    --mc-line: rgba(15, 23, 42, .09);
    --mc-accent: #6366f1;
    --mc-accent-2: #a78bfa;
    --mc-navy: #0f172a;
    --mc-navy-2: #1e1b4b;
    --mc-glass: rgba(255, 255, 255, .72);
    --mc-glass-line: rgba(255, 255, 255, .8);
    /* the original heading gradient */
    --mc-grad-text: linear-gradient(135deg, #00d7ff, #ff00d9);
    --mc-accent-btn: #4f46e5;
    --mc-sec: clamp(2.75rem, 6vw, 4.25rem);
    --mc-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
    /* surfaces and buttons: same hues, darkened so white text stays readable */
    --mc-grad: linear-gradient(120deg, #0369a1, #6366f1 55%, #c026d3);
    --mc-tint: linear-gradient(150deg, rgba(0, 215, 255, .12), rgba(99, 102, 241, .10) 55%, rgba(255, 0, 217, .08));
    --mc-hero: radial-gradient(60rem 28rem at 12% -8%, rgba(0, 215, 255, .20), transparent 60%), radial-gradient(50rem 26rem at 95% 10%, rgba(255, 0, 217, .13), transparent 60%), radial-gradient(40rem 24rem at 60% 110%, rgba(99, 102, 241, .20), transparent 60%), #f8fafc;
    --mc-r: 16px;
    --mc-r-sm: 12px;
    --mc-sh-1: 0 1px 2px rgba(15, 23, 42, .05), 0 6px 16px -8px rgba(15, 23, 42, .12);
    --mc-sh-2: 0 1px 2px rgba(15, 23, 42, .06), 0 18px 40px -16px rgba(79, 70, 229, .28);
    --mc-sh-3: 0 2px 4px rgba(15, 23, 42, .06), 0 36px 70px -28px rgba(79, 70, 229, .45);
    --mc-font-h: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mc-ease: cubic-bezier(.2, .7, .2, 1);
    color: var(--mc-ink);
    background: var(--mc-bg);
    overflow-x: clip;
}

[data-bs-theme="dark"] .mc {
    --mc-accent-btn: #4f46e5;
    --mc-grad-text: linear-gradient(135deg, #00d7ff, #ff00d9);
    --mc-tick: url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 24 24\' fill=\'none\' stroke=\'%23a5b4fc\' stroke-width=\'3.2\' stroke-linecap=\'round\' stroke-linejoin=\'round\'%3E%3Cpath d=\'M5 12.5l4.5 4.5L19 7.5\'/%3E%3C/svg%3E");
    --mc-bg: #0a1020;
    --mc-card: #111a2e;
    --mc-soft: #0d1527;
    --mc-ink: #eef2ff;
    --mc-ink-2: #c7d0e6;
    --mc-muted: #96a3bd;
    --mc-line: rgba(255, 255, 255, .10);
    --mc-accent: #818cf8;
    --mc-glass: rgba(17, 26, 46, .72);
    --mc-glass-line: rgba(255, 255, 255, .12);
    --mc-tint: linear-gradient(150deg, rgba(0, 215, 255, .14), rgba(129, 140, 248, .12) 55%, rgba(255, 0, 217, .10));
    --mc-hero: radial-gradient(60rem 28rem at 12% -8%, rgba(0, 215, 255, .18), transparent 60%), radial-gradient(50rem 26rem at 95% 10%, rgba(255, 0, 217, .14), transparent 60%), radial-gradient(40rem 24rem at 60% 110%, rgba(99, 102, 241, .28), transparent 60%), #0a1020;
    --mc-sh-1: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 20px -10px rgba(0, 0, 0, .6);
    --mc-sh-2: 0 1px 2px rgba(0, 0, 0, .4), 0 20px 44px -16px rgba(0, 0, 0, .75);
    --mc-sh-3: 0 2px 4px rgba(0, 0, 0, .4), 0 40px 80px -28px rgba(0, 0, 0, .85);
}

/* re-point the variables the markdown sections already read */
.mc {
    --agenda-card-bg: transparent;
    --target-section-bg: transparent;
    --build-section-bg: transparent;
    --struggle-bg: transparent;
    --bonus-section-bg: transparent;
    --agenda-item-bg: var(--mc-card);
    --target-item-bg: var(--mc-card);
    --build-card-bg: var(--mc-card);
    --bonus-item-bg: var(--mc-card);
    --agenda-border: var(--mc-line);
    --target-border: var(--mc-line);
    --build-border: var(--mc-line);
    --bonus-border: var(--mc-line);
    --target-icon-bg: transparent;
    --build-icon-bg: transparent;
    --bonus-icon-bg: transparent;
    --accent: var(--mc-accent);
    --accent-2: var(--mc-accent-2);
}

    .mc :is(#what, #audience, #build, #why, #bonus) strong {
        font-family: var(--mc-font-h);
    }

.mc-wrap {
    width: min(1180px, 100% - 32px);
    margin-inline: auto;
}

.mc-ico {
    width: 20px;
    height: 20px;
    flex: none;
}

/* gradient headline words */
.mc-h2 em, .mc #heading h1 em, .mc :is(#what, #audience, #build, #why, #bonus) h2 em {
    font-style: normal;
    background: var(--mc-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ---------- section titles ---------- */
.mc-h2,
.mc :is(#what, #audience, #build, #why, #bonus) h2 {
    font-size: clamp(1.7rem, 5.4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.12;
    text-align: center;
    margin: 0 0 .7rem;
    color: var(--mc-ink);
    text-wrap: balance;
}

.mc-h2 {
    margin-bottom: 2rem;
}

.mc :is(#what, #audience, #build, #why, #bonus) h2 + p {
    max-width: 640px;
    margin: 0 auto 2rem;
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--mc-muted);
}

html {
    scroll-behavior: smooth;
}

.mc [id] {
    scroll-margin-top: 88px;
}

/* ---------- floating header (pattern: codehelp.in). Transparent full-width bar at the top,
   after ~80px it narrows into a frosted pill that drops 12px. Web approximation of glass,
   not an Apple material. ---------- */
body:has(.mc) .header-wrapper,
body:has(.mc) #mainmu {
    display: none;
}

.mc-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--mc-card) 94%, transparent);
    border-bottom: 1px solid var(--mc-line);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.mc-nav__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 60px;
    padding: 0 14px;
}

@media (min-width: 992px) {
    .mc-nav {
        height: 0;
        background: none;
        border: 0;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        pointer-events: none;
    }

    .mc-nav__bar {
        pointer-events: auto;
        gap: 16px;
        width: calc(100% - 24px);
        max-width: 1180px;
        height: 64px;
        margin: 0 auto;
        padding: 0 10px 0 8px;
        border: 1px solid transparent;
        border-radius: 999px;
        transition: max-width .4s var(--mc-ease), transform .4s var(--mc-ease), background-color .3s, border-color .3s, box-shadow .3s, -webkit-backdrop-filter .3s, backdrop-filter .3s;
    }

    .mc-nav.is-float .mc-nav__bar {
        max-width: 940px;
        transform: translateY(12px);
        background: color-mix(in srgb, var(--mc-card) 62%, transparent);
        border-color: var(--mc-glass-line);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 14px 40px -14px rgba(49, 46, 129, .35);
        -webkit-backdrop-filter: blur(24px) saturate(170%);
        backdrop-filter: blur(24px) saturate(170%);
    }

    .mc-nav.is-float .mc-nav__brand span {
        max-width: 0;
        opacity: 0;
    }
}

/* same logo as the site header: mark + gradient wordmark. A plain block, not a link, on this page. */
.mc-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: none;
    cursor: default;
    user-select: none;
}

    .mc-nav__brand img {
        width: 2.5rem;
        height: 2.5rem;
        object-fit: contain;
    }

    .mc-nav__brand span,
    .mc-foot__brand span {
        /* identical to .logo-text in header-style.css: site body font, 700, no custom family or line-height */
        font-size: 1.25rem;
        font-weight: 700;
        background: linear-gradient(to right, #0891b2, #2563eb);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }

@media (min-width: 990px) {
    .mc-nav__brand img {
        width: 2.5rem;
        height: 2.5rem;
    }

    .mc-nav__brand span, .mc-foot__brand span {
        font-size: 1.25rem;
    }
}

/* the name folds away once the header floats, leaving just the mark */
.mc-nav__brand span {
    max-width: 12rem;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width .4s var(--mc-ease), opacity .25s;
}

.mc-nav__links {
    display: none;
}

    .mc-nav__links a {
        padding: 8px 13px;
        border-radius: 999px;
        color: var(--mc-muted);
        font: 600 .875rem/1 var(--mc-font-h);
        white-space: nowrap;
        text-decoration: none;
        transition: color .2s, background-color .2s;
    }

        .mc-nav__links a:hover {
            color: var(--mc-ink);
            background: color-mix(in srgb, var(--mc-accent) 8%, transparent);
        }

        .mc-nav__links a.on {
            color: var(--mc-accent);
            background: color-mix(in srgb, var(--mc-accent) 13%, transparent);
        }

.mc-nav__end {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.mc-nav__call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--mc-grad);
    color: #fff;
    font: 700 .82rem/1 var(--mc-font-h);
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 8px 18px -10px rgba(99, 102, 241, .8);
}

    .mc-nav__call:hover {
        color: #fff;
        filter: brightness(1.06);
    }

    .mc-nav__call img {
        width: 16px;
        height: 16px;
        filter: brightness(0) invert(1);
    }

/* the number folds into a round phone button on phones and tablets (it still dials on tap) */
@media (max-width: 1199.98px) {
    .mc-nav__call span {
        display: none;
    }

    .mc-nav__call {
        width: 38px;
        padding: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .mc-nav__call span {
        display: none;
    }

    .mc-nav__call {
        width: 38px;
        padding: 0;
    }
}

@media (max-width: 991.98px) {
    .mc .mc-nav__end .mc-cta {
        display: none;
    }
}

.mc-nav__theme {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--mc-ink-2);
    transition: background-color .2s;
}

    .mc-nav__theme:hover {
        background: color-mix(in srgb, var(--mc-accent) 10%, transparent);
    }

    .mc-nav__theme svg {
        width: 20px;
        height: 20px;
    }

    .mc-nav__theme .moon {
        display: none;
    }

[data-bs-theme="dark"] .mc-nav__theme .sun {
    display: none;
}

[data-bs-theme="dark"] .mc-nav__theme .moon {
    display: block;
}

/* header button is smaller and only shows once the bar floats on phones, always on desktop */
.mc .mc-cta--sm {
    min-height: 42px;
    padding: 0 18px;
    font-size: .88rem;
}

/* reading progress: pure CSS scroll-driven animation, ignored by browsers without support */
.mc-progress {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 101;
    height: 3px;
    background: var(--mc-accent);
    transform-origin: 0 50%;
    transform: scaleX(0);
    pointer-events: none;
}

@supports (animation-timeline: scroll()) {
    .mc-progress {
        animation: mc-progress linear both;
        animation-timeline: scroll(root);
    }

    @keyframes mc-progress {
        to {
            transform: scaleX(1);
        }
    }
}

.mc-sentinel {
    position: absolute;
    top: 80px;
    left: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

/* ---------- buttons (pill, one accent) ---------- */
.mc .mc-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    color: #fff;
    background: var(--mc-grad);
    box-shadow: 0 14px 30px -12px rgba(99, 102, 241, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .25s var(--mc-ease), box-shadow .25s var(--mc-ease), background-color .2s;
}

    .mc .mc-cta .mc-ico {
        transition: transform .25s var(--mc-ease);
    }

    .mc .mc-cta:hover {
        color: #fff;
        transform: translateY(-2px);
        filter: saturate(1.15) brightness(1.04);
        box-shadow: 0 20px 40px -12px rgba(192, 38, 211, .55), inset 0 1px 0 rgba(255, 255, 255, .3);
    }

        .mc .mc-cta:hover .mc-ico {
            transform: translateX(4px);
        }

    .mc .mc-cta:active {
        transform: scale(.98);
        transition-duration: .08s;
    }

    .mc .mc-cta:focus-visible, .mc-link:focus-visible {
        outline: 3px solid var(--mc-accent);
        outline-offset: 3px;
    }

.mc .mc-cta--light {
    background: #fff;
    color: #3730a3;
    box-shadow: 0 16px 34px -14px rgba(2, 6, 23, .55);
}

    .mc .mc-cta--light:hover {
        background: #fff;
        color: #312e81;
    }

/* secondary action: plain text link, same height as the button so the row aligns */
.mc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    color: var(--mc-ink);
    font: 700 .95rem/1 var(--mc-font-h);
    text-decoration: none;
    transition: color .2s;
}

    .mc-link:hover {
        color: var(--mc-accent);
    }

    .mc-link .mc-ico {
        width: 18px;
        height: 18px;
        transition: transform .25s var(--mc-ease);
    }

    .mc-link:hover .mc-ico {
        transform: translateY(3px);
    }

/* ---------- hero: pitch and mentor on two equal columns, follows light / dark ---------- */
@property --mc-a {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.mc-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--mc-hero);
    padding: 2rem 0 1.5rem;
}

.mc-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.mc #heading {
    margin: 0;
}

    .mc #heading h1 {
        font-size: clamp(2rem, 7.6vw, 3.3rem);
        font-weight: 800;
        letter-spacing: -.03em;
        line-height: 1.08;
        margin: 0 0 .9rem;
        color: var(--mc-ink);
        text-wrap: balance;
    }

    .mc #heading p:first-of-type {
        max-width: 32rem;
        margin: 0;
        font-size: 1.05rem;
        font-weight: 500;
        line-height: 1.6;
        color: var(--mc-ink-2);
    }

.mc .mc-hero #heading p:last-of-type:not(:first-of-type) {
    display: none;
}

/* hero points */
.mc #hero-point {
    margin: 1.4rem 0 1.8rem;
}

    .mc #hero-point ul {
        display: grid;
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .mc #hero-point li {
        position: relative;
        margin: 0;
        padding-left: 32px;
        font-size: .98rem;
        line-height: 1.5;
        color: var(--mc-ink-2);
    }

        .mc #hero-point li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 1px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            box-shadow: none;
            -webkit-mask: none;
            mask: none;
            background: var(--mc-tick) center / 13px no-repeat, color-mix(in srgb, var(--mc-accent) 14%, transparent);
        }

        .mc #hero-point li::after {
            content: none;
            display: none;
        }

.mc-hero__cta .mc-cta {
    width: 100%;
}

.mc-hero__note {
    margin: 1rem 0 0;
    color: var(--mc-muted);
    font-size: .9rem;
}

/* mentor card: whole square photo + credentials in one framed card, spinning gradient hairline (uiverse-style) */
.mc-hero__mentor {
    position: relative;
    width: min(100%, 400px);
    margin-inline: auto;
    padding: 10px;
    border-radius: 20px;
    background: var(--mc-card);
    box-shadow: var(--mc-sh-3);
}

    .mc-hero__mentor::before {
        content: "";
        position: absolute;
        inset: 0;
        padding: 1.5px;
        border-radius: inherit;
        background: conic-gradient(from var(--mc-a), #00d7ff, #6366f1 35%, #ff00d9 65%, #00d7ff);
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }

.mc-hero__photo {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: var(--mc-soft);
}

    .mc-hero__photo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.04) translate3d(calc(var(--px, 0) * -8px), calc(var(--py, 0) * -6px), 0);
        transition: transform .35s var(--mc-ease);
    }

.mc-hero__who {
    padding: 16px 10px 8px;
}

    .mc-hero__who strong {
        display: block;
        font: 800 1.25rem/1.2 var(--mc-font-h);
        letter-spacing: -.015em;
        color: var(--mc-ink);
    }

    .mc-hero__who > span {
        display: block;
        margin-top: 4px;
        font-size: .9rem;
        line-height: 1.4;
        color: var(--mc-muted);
    }

.mc-hero__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

    .mc-hero__skills i {
        padding: 6px 12px;
        border-radius: 999px;
        background: var(--mc-soft);
        border: 1px solid var(--mc-line);
        font: 600 .78rem/1.2 var(--mc-font-h);
        font-style: normal;
        color: var(--mc-ink);
        transition: background-color .2s, border-color .2s, transform .2s var(--mc-ease);
    }

        .mc-hero__skills i:hover {
            background: color-mix(in srgb, var(--mc-accent) 12%, transparent);
            border-color: color-mix(in srgb, var(--mc-accent) 45%, transparent);
            transform: translateY(-2px);
        }

/* one slim bar: when | countdown | price */
.mc-hero__bar {
    display: grid;
    gap: 16px;
    margin-top: 2.4rem;
    padding: 16px 20px;
    border-radius: var(--mc-r);
    background: var(--mc-glass);
    border: 1px solid var(--mc-glass-line);
    box-shadow: var(--mc-sh-1);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.mc-hero__when b {
    display: block;
    font: 800 1.05rem/1.25 var(--mc-font-h);
}

.mc-hero__when span {
    font-size: .85rem;
    color: var(--mc-muted);
}

.mc-hero__price b {
    display: block;
    font: 800 1.5rem/1.1 var(--mc-font-h);
    letter-spacing: -.02em;
}

.mc-hero__price s {
    font-size: 1rem;
    font-weight: 500;
    color: var(--mc-muted);
    margin-right: 6px;
}

.mc-hero__price span {
    font-size: .82rem;
    color: var(--mc-muted);
}

.mc-hero__price strong {
    color: var(--mc-ink);
}

.mc-count {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

    .mc-count .countdown-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: auto;
        min-width: 0;
        padding: 8px 4px 7px;
        background: linear-gradient(160deg, #312e81, #1e1b4b);
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 12px;
        box-shadow: 0 12px 22px -14px rgba(49, 46, 129, .9), inset 0 1px 0 rgba(255, 255, 255, .18);
        opacity: 1;
    }

    .mc-count .countdown-number {
        font: 800 1.35rem/1.1 var(--mc-font-h);
        font-variant-numeric: tabular-nums;
        color: #fff;
        -webkit-text-fill-color: #fff;
        background: none;
    }

    .mc-count .countdown-label {
        margin: 2px 0 0;
        font-size: .58rem;
        font-weight: 700;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, .72);
    }


@media (prefers-reduced-motion: no-preference) {
    .mc-hero__mentor::before {
        animation: mc-spin 7s linear infinite;
    }

    @keyframes mc-spin {
        to {
            --mc-a: 360deg;
        }
    }
}

@media (min-width: 640px) {
    .mc-hero__cta .mc-cta {
        width: auto;
    }
}

@media (min-width: 992px) {
    .mc-hero {
        padding: 6.5rem 0 2rem;
    }

    .mc-hero__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 64px;
    }

    .mc #heading h1 {
        font-size: clamp(2.3rem, 3.6vw, 3.4rem);
    }

    .mc-hero__mentor {
        margin-inline: 0;
        justify-self: end;
    }

    .mc-hero__bar {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        gap: 32px;
    }

    .mc-count {
        grid-template-columns: repeat(4, 64px);
    }

    .mc-hero__price {
        text-align: right;
    }
}

/* ---------- markdown sections ---------- */
.mc :is(#what, #audience, #build, #why, #bonus) {
    position: relative;
    background: transparent;
    padding: var(--mc-sec) 0;
    align-items: stretch;
    width: min(1180px, 100% - 32px);
    margin-inline: auto;
}

    .mc :is(#what, #audience, #build, #why, #bonus) > * {
        width: 100%;
        max-width: none;
    }

    .mc :is(#what, #audience, #build, #why, #bonus) ul {
        display: grid;
        gap: 14px;
        margin: 0;
        padding: 0;
        list-style: none;
        grid-template-columns: minmax(0, 1fr);
    }

/* shared card: white surface, gradient hairline appears on hover */
.mc :is(#what, #audience, #build, #bonus) li {
    position: relative;
    background: var(--mc-card);
    border: 1px solid var(--mc-line);
    border-radius: var(--mc-r);
    box-shadow: var(--mc-sh-1);
    color: var(--mc-ink-2);
    transition: transform .35s var(--mc-ease), box-shadow .35s var(--mc-ease), border-color .35s;
}

@media (hover: hover) {
    .mc :is(#what, #audience, #build, #bonus) li:hover {
        transform: translateY(-6px);
        box-shadow: var(--mc-sh-2);
        border-color: rgba(99, 102, 241, .45);
    }
}

/* what: bento. Five items = one big navy tile + four small. */
.mc #what ul {
    counter-reset: mc-n;
}

.mc #what li {
    counter-increment: mc-n;
    display: block;
    padding: 22px 22px 22px 78px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.55;
}

    .mc #what li::before {
        content: counter(mc-n, decimal-leading-zero);
        position: absolute;
        left: 20px;
        top: 20px;
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        margin: 0;
        border-radius: 14px;
        background: var(--mc-grad);
        -webkit-mask: none;
        mask: none;
        font-family: var(--mc-font-h);
        font-size: .85rem;
        font-weight: 800;
        color: #fff;
        box-shadow: 0 12px 22px -10px rgba(99, 102, 241, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
    }

.mc #what ul > li:first-child {
    color: #e0e7ff;
    border-color: rgba(255, 255, 255, .08);
    background: radial-gradient(circle at 90% 0%, rgba(0, 215, 255, .28), transparent 45%), radial-gradient(circle at 0% 100%, rgba(255, 0, 217, .24), transparent 50%), linear-gradient(160deg, var(--mc-navy-2), var(--mc-navy));
    font-family: var(--mc-font-h);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    padding-top: 80px;
}

    .mc #what ul > li:first-child::before {
        left: 22px;
        top: 22px;
    }

    .mc #what ul > li:first-child strong {
        color: #fff;
    }

/* audience: icon-top cards */
.mc #audience li {
    display: block;
    padding: 22px;
    font-size: .98rem;
    font-weight: 500;
    line-height: 1.5;
}

    .mc #audience li::before {
        display: block;
        width: 46px;
        height: 46px;
        margin: 0 0 14px;
        border-radius: 14px;
        background: var(--mc-tint);
        box-shadow: inset 0 0 0 1px rgba(99, 102, 241, .22);
    }

    .mc #audience li::after {
        left: 22px;
        top: 22px;
        width: 24px;
        height: 24px;
        margin: 11px 0 0 11px;
        background: var(--mc-grad);
    }

.mc #audience blockquote {
    margin: 1.4rem 0 0;
    text-align: center;
    font-size: .95rem;
    color: var(--mc-muted);
}

/* build: soft full-bleed band, white cards */
.mc #build {
    isolation: isolate;
    margin-block: 0;
}

    .mc #build::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0 -100vmax;
        background: var(--mc-soft);
        clip-path: inset(0 -100vmax);
    }

    .mc #build li {
        display: block;
        padding: 26px;
        text-align: left;
        font-size: .98rem;
        line-height: 1.6;
        color: var(--mc-muted);
    }

        .mc #build li::before {
            display: block;
            width: 50px;
            height: 50px;
            margin: 0 0 16px;
            border-radius: 14px;
            background-color: color-mix(in srgb, var(--mc-accent) 12%, transparent);
            background-size: 26px;
        }

        .mc #build li strong {
            display: block;
            margin-bottom: 6px;
            font-size: 1.15rem;
            font-weight: 800;
            letter-spacing: -.01em;
            color: var(--mc-ink);
        }

/* why: light problem cards, red marker kept */
.mc #why li {
    padding: 16px 18px;
    background: var(--mc-card);
    border: 1px solid var(--mc-line);
    border-radius: var(--mc-r-sm);
    box-shadow: var(--mc-sh-1);
    color: var(--mc-ink);
    font-size: 1rem;
    line-height: 1.5;
}

    .mc #why li:hover {
        transform: none;
    }

.mc #why blockquote {
    margin-top: 1.4rem;
    text-align: center;
    font-style: normal;
    font-weight: 700;
    color: var(--mc-ink-2);
}

/* bonus: three cards, gradient icon tile */
.mc #bonus li {
    display: block;
    padding: 26px;
    font-size: .98rem;
    line-height: 1.55;
    color: var(--mc-muted);
    overflow: hidden;
}

    .mc #bonus li::before {
        display: block;
        width: 50px;
        height: 50px;
        margin: 0 0 16px;
        border-radius: 16px;
        background: var(--mc-grad);
        box-shadow: 0 14px 24px -10px rgba(99, 102, 241, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
    }

    .mc #bonus li::after {
        left: 26px;
        top: 26px;
        width: 24px;
        height: 24px;
        margin: 13px 0 0 13px;
        background: #fff;
    }

    .mc #bonus li strong {
        display: block;
        margin-bottom: 4px;
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--mc-ink);
    }

.mc #bonus h2 + p {
    font-family: var(--mc-font-h);
    font-weight: 700;
    color: var(--mc-accent);
}

/* ---------- mentor ---------- */
.mc-trainer {
    padding: var(--mc-sec) 0;
    background: var(--mc-soft);
}

.mc-mentor {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

    .mc-mentor + .mc-mentor {
        margin-top: 3.5rem;
    }

.mc-mentor__photo {
    position: relative;
    width: min(100%, 320px);
    margin-inline: auto;
}

    /* offset tint plate behind the portrait gives depth without a pill or caption on the photo */
    .mc-mentor__photo::before {
        content: "";
        position: absolute;
        inset: 16px -16px -16px 16px;
        border-radius: var(--mc-r);
        background: color-mix(in srgb, var(--mc-accent) 12%, transparent);
        border: 1px solid color-mix(in srgb, var(--mc-accent) 28%, transparent);
    }

    .mc-mentor__photo img {
        position: relative;
        display: block;
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        object-position: top center;
        border-radius: var(--mc-r);
        background: var(--mc-navy);
        box-shadow: var(--mc-sh-2);
    }

.mc-mentor__body h3 {
    margin: 0;
    font-size: clamp(1.7rem, 6vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
}

.mc-mentor__role {
    margin: .45rem 0 1.2rem;
    font: 700 1.02rem/1.4 var(--mc-font-h);
    color: var(--mc-accent);
}

.mc-mentor__bio {
    padding-top: 1.2rem;
    border-top: 1px solid var(--mc-line);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mc-ink-2);
}

    .mc-mentor__bio > :last-child {
        margin-bottom: 0;
    }

    .mc-mentor__bio ul {
        display: grid;
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .mc-mentor__bio li {
        position: relative;
        padding-left: 30px;
    }

        .mc-mentor__bio li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 2px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--mc-tick) center / 12px no-repeat, color-mix(in srgb, var(--mc-accent) 14%, transparent);
        }

.mc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1.4rem;
}

.mc .skill-tag {
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--mc-card);
    border: 1px solid var(--mc-line);
    color: var(--mc-ink);
    font-size: .8rem;
    font-weight: 600;
}


/* ---------- learner stories ---------- */
.mc-proof {
    padding: var(--mc-sec) 0;
}

.mc-proof__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.mc-proof .video-wrapper {
    border-radius: var(--mc-r);
    box-shadow: var(--mc-sh-2);
    overflow: hidden;
}

.mc .playlist-box {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 12px;
    background: transparent;
    scrollbar-width: none;
}

    .mc .playlist-box::-webkit-scrollbar {
        display: none;
    }

.mc .playlist-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 8px 8px 12px;
    text-align: left;
    scroll-snap-align: start;
    background: var(--mc-card);
    border: 1px solid var(--mc-line);
    border-radius: 12px;
    color: var(--mc-ink);
    cursor: pointer;
    transition: border-color .25s, box-shadow .25s;
}

    .mc .playlist-item:hover, .mc .playlist-item.active {
        border-color: color-mix(in srgb, var(--mc-accent) 60%, transparent);
        box-shadow: var(--mc-sh-1);
    }

    .mc .playlist-item.active {
        background: color-mix(in srgb, var(--mc-accent) 8%, var(--mc-card));
    }

    .mc .playlist-item:focus-visible {
        outline: 2px solid var(--mc-accent);
        outline-offset: 2px;
    }

.mc .playlist-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}

.mc .playlist-title {
    padding: 0 4px;
    font: 700 .85rem/1.35 var(--mc-font-h);
    color: var(--mc-ink);
}

/* ---------- faq ---------- */
.mc-faq {
    padding: var(--mc-sec) 0;
}

.mc-faq__list {
    display: grid;
    gap: 12px;
}

.mc-faq details {
    background: var(--mc-card);
    border: 1px solid var(--mc-line);
    border-radius: var(--mc-r);
    transition: box-shadow .3s, border-color .3s;
}

    .mc-faq details[open] {
        border-color: color-mix(in srgb, var(--mc-accent) 40%, transparent);
        box-shadow: var(--mc-sh-1);
    }

.mc-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 60px;
    padding: 14px 20px;
    font: 700 1.02rem/1.4 var(--mc-font-h);
    cursor: pointer;
    list-style: none;
}

    .mc-faq summary::-webkit-details-marker {
        display: none;
    }

    .mc-faq summary::after {
        content: "+";
        flex: none;
        display: grid;
        place-items: center;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: color-mix(in srgb, var(--mc-accent) 12%, transparent);
        color: var(--mc-accent);
        font-size: 1.2rem;
        line-height: 1;
        transition: transform .3s var(--mc-ease);
    }

.mc-faq details[open] summary::after {
    transform: rotate(45deg);
}

.mc-faq summary:focus-visible {
    outline: 3px solid var(--mc-accent);
    outline-offset: -3px;
    border-radius: var(--mc-r);
}

.mc-faq details p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--mc-ink-2);
    line-height: 1.6;
}

/* ---------- final block ---------- */
.mc-final {
    padding: 0 0 var(--mc-sec);
}

.mc-final__card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 3rem 22px;
    text-align: center;
    color: #fff;
    background: linear-gradient(140deg, #1e1b4b, #312e81 60%, #3730a3);
    border-radius: var(--mc-r);
    box-shadow: var(--mc-sh-2);
}

    .mc-final__card::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: radial-gradient(circle at 12% 18%, rgba(0, 215, 255, .32), transparent 40%), radial-gradient(circle at 88% 92%, rgba(255, 0, 217, .36), transparent 45%);
    }

    .mc-final__card h2 {
        margin: 0 0 .6rem;
        font-size: clamp(1.7rem, 5.6vw, 2.5rem);
        font-weight: 800;
        letter-spacing: -.025em;
        color: #fff;
    }

    .mc-final__card p {
        margin: 0 0 1.5rem;
        font-size: 1rem;
        color: rgba(255, 255, 255, .85);
    }

.mc-final__cta .mc-cta {
    width: 100%;
}

/* ---------- mobile bar ---------- */
.mc .bottom-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 10px 9px 18px;
    margin: 0 12px calc(12px + env(safe-area-inset-bottom));
    width: auto;
    left: 0;
    right: 0;
    background: color-mix(in srgb, var(--mc-card) 70%, transparent);
    border: 1px solid var(--mc-glass-line);
    border-radius: 999px;
    box-shadow: var(--mc-sh-3), inset 0 1px 0 rgba(255, 255, 255, .5);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    backdrop-filter: blur(20px) saturate(170%);
}

.mc-bar__info b {
    display: block;
    font: 800 1.02rem/1.2 var(--mc-font-h);
}

    .mc-bar__info b s {
        font-weight: 500;
        color: var(--mc-muted);
        margin-right: 4px;
    }

.mc-bar__info small {
    color: var(--mc-muted);
    font-size: .75rem;
}

.mc .bottom-tab .mc-cta {
    min-height: 44px;
    padding: 0 20px;
}

@media (prefers-reduced-transparency: reduce) {
}

/* ---------- scroll reveal: classes are added by the page script, so no-JS stays visible ---------- */
@media (prefers-reduced-motion: no-preference) {
    .mc-js .mc-rv {
        opacity: 0;
        transform: translateY(22px);
        transition: opacity .7s var(--mc-ease), transform .7s var(--mc-ease);
        transition-delay: var(--d, 0ms);
    }

        .mc-js .mc-rv.is-in {
            opacity: 1;
            transform: none;
        }

    /* hero plays once on load */
    .mc-hero__main > *, .mc-hero__mentor, .mc-hero__bar {
        animation: mc-rise .8s var(--mc-ease) both;
    }

    .mc-hero__main > :nth-child(2) {
        animation-delay: .06s;
    }

    .mc-hero__main > :nth-child(3) {
        animation-delay: .12s;
    }

    .mc-hero__main > :nth-child(4) {
        animation-delay: .18s;
    }

    .mc-hero__mentor {
        animation-delay: .12s;
    }

    .mc-hero__bar {
        animation-delay: .24s;
    }

    @keyframes mc-rise {
        from {
            opacity: 0;
            transform: translateY(18px);
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .mc-dot {
        animation: none;
    }

    .mc-progress {
        display: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ---------- tablet ---------- */
@media (min-width: 640px) {
    .mc .playlist-box {
        grid-auto-columns: 46%;
    }

    .mc-final__cta .mc-cta {
        width: auto;
        min-width: 280px;
    }

    .mc #audience ul, .mc #audience ul:has(> li:nth-child(3):last-child), .mc #bonus ul, .mc #build ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mc #what ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mc :is(#what, #audience, #build, #bonus) ul > li:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .mc #what ul > li:first-child {
        grid-column: 1 / -1;
    }
}

/* ---------- desktop ---------- */
@media (min-width: 992px) {
    .mc-nav__links {
        display: flex;
        gap: 2px;
        margin-inline: auto;
    }

    .mc-nav__end {
        margin-left: 0;
    }
}

@media (min-width: 1024px) {



    .mc #what ul:has(> li:nth-child(5):last-child) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: minmax(140px, auto);
    }

        .mc #what ul:has(> li:nth-child(5):last-child) > li {
            padding: 76px 20px 20px;
            font-size: .95rem;
        }

            .mc #what ul:has(> li:nth-child(5):last-child) > li::before {
                left: 20px;
                top: 20px;
            }

            .mc #what ul:has(> li:nth-child(5):last-child) > li:first-child {
                grid-column: 1 / span 2;
                grid-row: 1 / span 2;
                display: flex;
                flex-direction: column;
                justify-content: flex-end;
                align-items: flex-start;
                padding: 96px 28px 28px;
                font-size: 1.3rem;
            }

            .mc #what ul:has(> li:nth-child(5):last-child) > li:not(:first-child) {
                grid-column: span 1;
            }

    .mc #audience ul:has(> li:nth-child(4):last-child) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .mc #audience ul:has(> li:nth-child(3):last-child), .mc #bonus ul, .mc #build ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mc :is(#build, #bonus) ul:has(> li:nth-child(4):last-child), .mc :is(#build, #bonus) ul:has(> li:nth-child(2):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mc :is(#audience, #build, #bonus) ul:has(> li:nth-child(3):last-child) > li:last-child,
    .mc #audience ul:has(> li:nth-child(4):last-child) > li:last-child {
        grid-column: auto;
    }

    .mc #why ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .mc #why ul > li:last-child:nth-child(odd) {
            grid-column: 1 / -1;
        }

    .mc-mentor {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: 72px;
    }

    .mc-mentor__photo {
        width: 100%;
        max-width: 380px;
        margin-inline: 0 auto;
    }

    .mc-proof__grid {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        gap: 20px;
        align-items: start;
    }

    .mc .playlist-box {
        display: flex;
        flex-direction: column;
        max-height: 430px;
        overflow-x: hidden;
        overflow-y: auto;
        scroll-snap-type: none;
        padding: 10px;
        background: var(--mc-card);
        border: 1px solid var(--mc-line);
        border-radius: var(--mc-r);
    }

    .mc .playlist-item {
        flex-direction: row;
        align-items: center;
        padding: 8px;
        background: transparent;
        border-color: transparent;
        box-shadow: none;
    }

        .mc .playlist-item:hover, .mc .playlist-item.active {
            background: color-mix(in srgb, var(--mc-accent) 8%, transparent);
            border-color: transparent;
            box-shadow: none;
        }

    .mc .playlist-thumb {
        width: 96px;
        flex: none;
    }

    .mc-final__card {
        padding: 3.5rem 40px;
    }
}

/* the sticky mobile bar only exists below lg */
@media (max-width: 991.98px) {
    .mc-final {
        padding-bottom: 7rem;
    }
}

@media (max-width: 340px) {
    .mc-meta {
        grid-template-columns: minmax(0, 1fr);
    }

        .mc-meta div + div {
            border-left: 0;
            border-top: 1px solid var(--mc-line);
        }
}





/* =========================================================================
   Lively section layer: calm cards that react to the pointer and to scroll
   ========================================================================= */

/* hero melts into the page instead of ending on a hard edge */
.mc-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    z-index: -1;
    height: 110px;
    background: linear-gradient(to bottom, transparent, var(--mc-bg));
    pointer-events: none;
}


/* mentor card on phones and tablets: photo left, details right, no dead space beside it */
@media (max-width: 991.98px) {
    .mc-hero__mentor {
        display: grid;
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        gap: 14px;
        align-items: center;
        width: 100%;
        max-width: none;
        margin-inline: 0;
        padding: 10px;
    }

    .mc-hero__who {
        padding: 4px 4px 4px 0;
    }

        .mc-hero__who strong {
            font-size: 1.1rem;
        }

        .mc-hero__who > span {
            font-size: .84rem;
        }

    .mc-hero__skills {
        gap: 5px;
        margin-top: 10px;
    }

        .mc-hero__skills i {
            padding: 5px 10px;
            font-size: .72rem;
        }
}

@media (min-width: 640px) and (max-width: 991.98px) {
    .mc-hero__mentor {
        grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
        gap: 28px;
        padding: 14px;
    }

    .mc-hero__who strong {
        font-size: 1.5rem;
    }

    .mc-hero__who > span {
        font-size: 1rem;
    }

    .mc-hero__skills i {
        font-size: .82rem;
    }
}

/* section titles: a short gradient bar draws in as the title scrolls into view */
.mc .mc-h2::after,
.mc :is(#what, #audience, #build, #why, #bonus) h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 4px;
    background: var(--mc-grad);
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .mc .mc-h2::after,
        .mc :is(#what, #audience, #build, #why, #bonus) h2::after {
            transform-origin: center;
            animation: mc-bar linear both;
            animation-timeline: view();
            animation-range: entry 15% cover 35%;
        }

        @keyframes mc-bar {
            from {
                transform: scaleX(0);
                opacity: 0;
            }

            to {
                transform: scaleX(1);
                opacity: 1;
            }
        }
    }
}

/* cards: lift, pointer spotlight, reactive icon tile */
.mc :is(#what, #audience, #build, #bonus) li {
    transition: transform .4s var(--mc-ease), box-shadow .4s var(--mc-ease), border-color .3s, background-color .3s;
}

    .mc :is(#what, #audience, #build, #bonus) li::before {
        transition: transform .4s var(--mc-ease), box-shadow .4s var(--mc-ease);
    }

@media (hover: hover) {
    .mc :is(#what ul > li:not(:first-child), #audience li, #build li, #bonus li, #why li):hover {
        background-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--mc-accent) 14%, transparent), transparent 70%);
    }

    .mc :is(#what, #audience, #build, #bonus) li:hover::before {
        transform: scale(1.08) rotate(-4deg);
    }
}

/* what: the lead tile gets a slow glow so it reads as the headline of the list */
.mc #what ul > li:first-child {
    overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
    .mc #what ul > li:first-child::after {
        content: "";
        position: absolute;
        inset: -40% -20% auto auto;
        width: 70%;
        aspect-ratio: 1;
        border-radius: 50%;
        background: radial-gradient(closest-side, rgba(0, 215, 255, .35), transparent);
        filter: blur(30px);
        animation: mc-drift 9s ease-in-out infinite alternate;
        pointer-events: none;
    }

    @keyframes mc-drift {
        to {
            transform: translate3d(-18%, 16%, 0);
        }
    }
}

/* audience: centred icon-over-text cards, two across on phones */
.mc #audience ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mc #audience li {
    padding: 18px 14px;
    text-align: center;
    font-size: .9rem;
}

    .mc #audience li::before {
        margin: 0 auto 12px;
        width: 48px;
        height: 48px;
    }

    .mc #audience li::after {
        left: 50%;
        margin: 12px 0 0 -12px;
    }

@media (max-width: 339.98px) {
    .mc #audience ul {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (min-width: 640px) {
    .mc #audience li {
        padding: 24px 18px;
        font-size: .95rem;
    }

        .mc #audience li::before {
            width: 54px;
            height: 54px;
        }

        .mc #audience li::after {
            margin: 15px 0 0 -12px;
        }
}

/* build: outlined step numerals behind the copy */
.mc #build ul {
    counter-reset: mc-b;
}

.mc #build li {
    counter-increment: mc-b;
    overflow: hidden;
}

    .mc #build li::after {
        content: counter(mc-b, decimal-leading-zero);
        position: absolute;
        top: 12px;
        right: 18px;
        font: 800 2.8rem/1 var(--mc-font-h);
        color: transparent;
        -webkit-text-stroke: 1.5px color-mix(in srgb, var(--mc-accent) 32%, transparent);
        pointer-events: none;
        transition: transform .4s var(--mc-ease), -webkit-text-stroke-color .3s;
    }

@media (hover: hover) {
    .mc #build li:hover::after {
        transform: translateY(-4px) scale(1.06);
        -webkit-text-stroke-color: color-mix(in srgb, var(--mc-accent) 70%, transparent);
    }
}

/* why: markers nudge on hover, text stays calm */
.mc #why li {
    transition: border-color .3s, transform .3s var(--mc-ease), box-shadow .3s;
}

@media (hover: hover) {
    .mc #why li:hover {
        transform: translateX(4px);
        border-color: color-mix(in srgb, #ef4444 40%, transparent);
    }
}

/* bonus: icon tile glows */
@media (hover: hover) {
    .mc #bonus li:hover::before {
        box-shadow: 0 18px 30px -10px rgba(99, 102, 241, .85), inset 0 1px 0 rgba(255, 255, 255, .4);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mc :is(#what, #audience, #build, #bonus, #why) li, .mc :is(#what, #audience, #build, #bonus) li::before {
        transition: none;
    }
}


/* struck-out price inside the register buttons */
.mc .mc-cta s {
    margin-right: 2px;
    font-weight: 500;
    opacity: .75;
    text-decoration-thickness: 2px;
}

/* sliding pill behind the header links */
.mc-nav__links {
    position: relative;
    align-items: center;
}

    .mc-nav__links a {
        position: relative;
        z-index: 1;
    }

        .mc-nav__links a:hover, .mc-nav__links a.on {
            background: transparent;
        }

.mc-nav__pill {
    position: absolute;
    top: 50%;
    left: 0;
    width: var(--w, 0);
    height: 34px;
    margin-top: -17px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mc-accent) 14%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mc-accent) 22%, transparent);
    transform: translate3d(var(--x, 0), 0, 0);
    opacity: 0;
    transition: transform .34s cubic-bezier(.22, 1, .36, 1), width .34s cubic-bezier(.22, 1, .36, 1), opacity .2s;
    pointer-events: none;
}

    .mc-nav__pill.on {
        opacity: 1;
    }

    .mc-nav__pill.snap {
        transition: none;
    }

@media (prefers-reduced-motion: reduce) {
    .mc-nav__pill {
        transition: opacity .2s;
    }
}

/* stretchy glass (Chromium): the content behind the floating header bends near its edges, blur on top */
@media (min-width: 992px) {
    .mc-nav.is-float .mc-nav__bar.gs-liquid {
        -webkit-backdrop-filter: var(--gs-f) blur(10px) saturate(170%);
        backdrop-filter: var(--gs-f) blur(10px) saturate(170%);
    }
}


/* =========================================================================
   Mentor card: one balanced card, the portrait stands on a lit stage
   ========================================================================= */
.mc-trainer {
    background: linear-gradient(180deg, var(--mc-soft), var(--mc-bg));
}

    .mc-trainer .mc-wrap {
        width: min(1040px, 100% - 32px);
    }

.mc-mentor {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    isolation: isolate;
    background: var(--mc-card);
    border-radius: 24px;
    box-shadow: var(--mc-sh-3);
}

    .mc-mentor + .mc-mentor {
        margin-top: 28px;
    }

    /* gradient hairline round the whole card */
    .mc-mentor::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        border-radius: inherit;
        padding: 1.5px;
        background: linear-gradient(135deg, rgba(0, 215, 255, .75), rgba(99, 102, 241, .35) 45%, rgba(255, 0, 217, .6));
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
    }

/* the stage: navy depth, two coloured lights, a dot grid; the cut-out portrait stands in it */
.mc-mentor__photo {
    position: relative;
    width: auto;
    margin: 0;
    aspect-ratio: 1 / 1; /* the portraits are square, so the whole photo shows on phones */
    overflow: hidden;
    background: linear-gradient(160deg, #1e1b4b, #0f172a);
}

    .mc-mentor__photo::before {
        content: "";
        position: absolute;
        inset: 0;
        border: 0;
        border-radius: 0;
        background: radial-gradient(circle at 78% 12%, rgba(0, 215, 255, .38), transparent 46%), radial-gradient(circle at 12% 95%, rgba(255, 0, 217, .30), transparent 50%), radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px) 0 0 / 18px 18px;
    }

    .mc-mentor__photo::after {
        content: "";
        position: absolute;
        inset: auto 0 0 0;
        height: 38%;
        background: linear-gradient(to top, rgba(15, 23, 42, .55), transparent);
        pointer-events: none;
    }

    .mc-mentor__photo img {
        position: absolute;
        inset: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        object-fit: cover;
        object-position: center top;
    }

.mc-mentor__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 26px 22px 28px;
}

    .mc-mentor__body h3 {
        font-size: clamp(1.6rem, 5.6vw, 2.2rem);
    }

.mc-mentor__role {
    margin: .4rem 0 1.1rem;
}

.mc-mentor__bio {
    padding-top: 1.1rem;
}

.mc-tags {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--mc-line);
}

/* phones: photo on top as a wide banner crop (the face stays in frame), details underneath.
   A 3:2 band of the square portrait is about 40% shorter than the full square. */
@media (max-width: 639.98px) {
    .mc-mentor {
        grid-template-columns: minmax(0, 1fr);
    }

    .mc-mentor__photo {
        aspect-ratio: 3 / 2;
    }

        .mc-mentor__photo img {
            object-position: center top;
        }

    .mc-mentor__body {
        padding: 18px 18px 20px;
    }

        .mc-mentor__body h3 {
            font-size: 1.45rem;
        }

    .mc-mentor__role {
        margin: .25rem 0 .9rem;
        font-size: .92rem;
    }

    .mc-mentor__bio {
        padding-top: .9rem;
        font-size: .93rem;
        line-height: 1.55;
    }

        .mc-mentor__bio ul {
            gap: 7px;
        }

        .mc-mentor__bio li {
            padding-left: 26px;
        }

            .mc-mentor__bio li::before {
                top: 1px;
                width: 18px;
                height: 18px;
                background-size: 11px, auto;
            }

    /* chips stay on one swipeable row instead of wrapping into extra lines */
    .mc-tags {
        flex-wrap: nowrap;
        margin-top: .9rem;
        padding: .9rem 0 2px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

        .mc-tags::-webkit-scrollbar {
            display: none;
        }

    .mc .mc-tags .skill-tag {
        flex: none;
        padding: 6px 12px;
        font-size: .76rem;
    }
}

/* tablets: the same two-column card as desktop, photo column full height beside the details */
@media (min-width: 640px) and (max-width: 991.98px) {
    .mc-mentor {
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    }

    .mc-mentor__photo {
        aspect-ratio: auto;
        min-height: 340px;
    }

    .mc-mentor__body {
        padding: 28px 30px;
    }
}

@media (min-width: 992px) {
    .mc-mentor {
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    }

    .mc-mentor__photo {
        aspect-ratio: auto;
        max-height: none;
        min-height: 440px;
        width: auto;
        max-width: none;
        margin: 0;
    }

    .mc-mentor__body {
        padding: 52px 56px;
    }

        .mc-mentor__body h3 {
            font-size: 2.3rem;
        }
}


/* =========================================================================
   Footer: lives inside the page (the layout's own footer is hidden here) so it
   shares the page surface, width and links instead of ending on a dark block
   ========================================================================= */
body:has(.mc) > footer {
    display: none;
}

.mc-foot {
    position: relative;
    margin-top: 1rem;
    padding: 2.25rem 0 calc(2rem + 4.5rem);
    background: linear-gradient(180deg, transparent, var(--mc-soft) 55%);
}

    /* soft gradient rule instead of a hard border */
    .mc-foot::before {
        content: "";
        position: absolute;
        inset: 0 max(16px, calc((100% - 1180px) / 2)) auto;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(99, 102, 241, .5), rgba(0, 215, 255, .5), rgba(255, 0, 217, .4), transparent);
    }

.mc-foot__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    justify-items: center;
    text-align: center;
}

.mc-foot__brand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: default;
    user-select: none;
}

    .mc-foot__brand img {
        width: 2.5rem;
        height: 2.5rem;
        object-fit: contain;
    }

.mc-foot__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 4px;
}

    .mc-foot__links a {
        padding: 8px 14px;
        border-radius: 999px;
        color: var(--mc-ink-2);
        font: 600 .9rem/1 var(--mc-font-h);
        text-decoration: none;
        transition: background-color .2s, color .2s;
    }

        .mc-foot__links a:hover {
            background: var(--mc-tint);
            color: var(--mc-ink);
        }

        .mc-foot__links a:focus-visible, .mc-foot__call:focus-visible {
            outline: 3px solid var(--mc-accent);
            outline-offset: 2px;
        }

.mc-foot__call {
    display: grid;
    gap: 2px;
    color: var(--mc-ink);
    text-decoration: none;
}

    .mc-foot__call:hover {
        color: var(--mc-ink);
    }

    .mc-foot__call small {
        font-size: .78rem;
        color: var(--mc-muted);
    }

    .mc-foot__call b {
        font: 800 1.05rem/1.2 var(--mc-font-h);
    }

.mc-foot__legal {
    max-width: 640px;
    margin: 1.6rem auto 0;
    padding-top: 1.2rem;
    border-top: 1px solid var(--mc-line);
    text-align: center;
    font-size: .8rem;
    line-height: 1.6;
    color: var(--mc-muted);
}

@media (min-width: 992px) {
    .mc-foot {
        padding-bottom: 2.25rem;
    }

    /* brand left, links centred, contact right: three balanced columns */
    .mc-foot__grid {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        justify-items: stretch;
        text-align: left;
        align-items: center;
    }

    .mc-foot__brand {
        justify-self: start;
    }

    .mc-foot__links {
        justify-self: center;
    }

    .mc-foot__call {
        justify-self: end;
        text-align: right;
    }
}


/* =========================================================================
   Compact pass: less scrolling, same look.
   - icons sit BESIDE their text (audience, build, bonus, what) instead of above it
   - section titles are sized so they settle into two balanced lines; a third line only when the text really needs it
   - tighter section spacing, gaps and card padding on phones and desktop
   ========================================================================= */
.mc {
    --mc-sec: clamp(2rem, 4.6vw, 3.5rem);
}

    /* titles: smaller on phones, balanced, never wider than a readable measure */
    .mc-h2,
    .mc :is(#what, #audience, #build, #why, #bonus) h2 {
        font-size: clamp(1.3rem, 4vw, 2.4rem);
        line-height: 1.15;
        max-width: 30ch;
        margin: 0 auto .5rem;
        text-wrap: balance;
    }

.mc-h2 {
    margin-bottom: 1.1rem;
}

.mc .mc-h2::after,
.mc :is(#what, #audience, #build, #why, #bonus) h2::after {
    width: 44px;
    height: 3px;
    margin-top: 10px;
}

.mc :is(#what, #audience, #build, #why, #bonus) h2 + p {
    margin: 0 auto 1.1rem;
    font-size: .96rem;
    line-height: 1.5;
}

.mc #heading h1 {
    font-size: clamp(1.75rem, 7.2vw, 3.3rem);
    line-height: 1.1;
    margin-bottom: .7rem;
}

.mc :is(#what, #audience, #build, #why, #bonus) {
    padding: var(--mc-sec) 0;
}

    .mc :is(#what, #audience, #build, #why, #bonus) ul {
        gap: 10px;
    }

/* ---- shared: a 40px icon tile on the left, text on the right ---- */
.mc :is(#audience, #build, #bonus) li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    padding: 14px 16px;
    text-align: left;
    font-size: .93rem;
    line-height: 1.45;
}

    .mc :is(#audience, #build, #bonus) li > * {
        grid-column: 2;
    }

    .mc :is(#audience, #build, #bonus) li::before {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: start;
        width: 40px;
        height: 40px;
        margin: 0;
        border-radius: 12px;
    }

/* the glyph is a separate pseudo element, centred on the tile */
.mc :is(#audience, #bonus) li::after {
    left: 16px;
    top: 14px;
    width: 22px;
    height: 22px;
    margin: 9px 0 0 9px;
}

/* audience: text is one or two lines, so centre it against the tile */
.mc #audience li {
    align-items: center;
}

    .mc #audience li::before {
        align-self: center;
        grid-row: 1;
    }

    .mc #audience li::after {
        top: 50%;
        margin: -11px 0 0 9px;
    }

.mc #audience ul {
    grid-template-columns: minmax(0, 1fr);
}

/* build: the outlined step number stays, smaller, in the corner */
.mc #build li::before {
    background-size: 22px;
}

.mc #build li strong {
    margin-bottom: 2px;
    font-size: 1rem;
}

.mc #build li::after {
    top: 8px;
    right: 14px;
    font-size: 1.9rem;
}

/* bonus: tile keeps its gradient, text tightens */
.mc #bonus li strong {
    margin-bottom: 2px;
    font-size: 1rem;
}

.mc #bonus h2 + p {
    margin-bottom: 1rem;
}

/* what: the number sits left of the text on phones and tablets; the big lead tile only exists on desktop */
@media (max-width: 991.98px) {
    .mc #what li,
    .mc #what ul > li:first-child {
        display: block;
        padding: 14px 16px 14px 62px;
        font-size: .96rem;
        font-weight: 500;
        line-height: 1.45;
    }

        .mc #what li::before,
        .mc #what ul > li:first-child::before {
            left: 14px;
            top: 13px;
            width: 36px;
            height: 36px;
            border-radius: 11px;
            font-size: .78rem;
        }

    .mc #what ul > li:first-child {
        font-size: 1.02rem;
        font-weight: 700;
    }
}

/* why: shorter rows */
.mc #why li {
    padding: 11px 14px;
    font-size: .95rem;
    line-height: 1.4;
}

.mc #why blockquote {
    margin-top: 1rem;
}

/* faq: shorter closed rows */
.mc-faq summary {
    min-height: 52px;
    padding: 10px 18px;
    font-size: .98rem;
}

.mc-faq details p {
    padding: 0 18px 16px;
}

@media (min-width: 640px) {
    .mc #audience ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mc :is(#audience, #build, #bonus) li {
        padding: 16px 18px;
    }
}

@media (min-width: 992px) {
    .mc :is(#what, #audience, #build, #why, #bonus) ul {
        gap: 14px;
    }

    .mc :is(#audience, #build, #bonus) li {
        padding: 18px 20px;
        font-size: .95rem;
    }

    /* 4 across keeps a 40px tile beside the text, so each card stays about 90px tall instead of 180px */
    .mc #audience ul:has(> li:nth-child(4):last-child) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .mc #audience ul:has(> li:nth-child(3):last-child) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* the older markdown stylesheet sets min-width on these tiles; clear it so the 40px column holds */
.mc :is(#audience, #build, #bonus) li::before {
    min-width: 0;
}

/* build: leave room for the outlined step number so long titles never run under it */
.mc #build li {
    padding-right: 54px;
}

/* what, desktop bento: the four small tiles also carry the number on the left, so the grid stays short */
@media (min-width: 992px) {
    .mc #what ul:has(> li:nth-child(5):last-child) {
        grid-auto-rows: minmax(88px, auto);
    }

        .mc #what ul:has(> li:nth-child(5):last-child) > li:not(:first-child) {
            display: flex;
            align-items: center;
            padding: 14px 16px 14px 66px;
            font-size: .93rem;
            line-height: 1.45;
        }

            .mc #what ul:has(> li:nth-child(5):last-child) > li:not(:first-child)::before {
                left: 14px;
                top: 50%;
                margin-top: -19px;
                width: 38px;
                height: 38px;
            }

        .mc #what ul:has(> li:nth-child(5):last-child) > li:first-child {
            padding: 70px 26px 24px;
            font-size: 1.3rem;
        }
}

/* hero title on desktop: give the text column the extra room (the mentor card is 400px at most) and size the title
   so a normal headline settles into two balanced lines. This sits after the compact pass, which resets the size. */
@media (min-width: 992px) {
    .mc-hero__grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
        gap: 56px;
    }

    .mc #heading h1 {
        font-size: clamp(2.1rem, 3.2vw, 3.1rem);
        max-width: none;
        text-wrap: balance;
    }
}



/* ---- hero: facts row, and a small countdown beside the register button (the big countdown is gone) ---- */
.mc-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

    .mc-facts li {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        margin: 0;
        padding: 7px 12px;
        border: 1px solid var(--mc-line);
        border-radius: 999px;
        background: var(--mc-card);
        font: 600 .82rem/1 var(--mc-font-h);
        color: var(--mc-ink-2);
    }

    .mc-facts .mc-ico {
        width: 15px;
        height: 15px;
        color: var(--mc-accent);
    }

.mc #hero-point {
    margin-top: 1.1rem;
}

.mc-hero__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.mc-until {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font: 600 .8rem/1 var(--mc-font-h);
    color: var(--mc-muted);
}

    .mc-until small {
        margin-right: 6px;
        font-size: .68rem;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    .mc-until b {
        min-width: 30px;
        padding: 5px 6px;
        border: 1px solid var(--mc-line);
        border-radius: 8px;
        background: var(--mc-card);
        color: var(--mc-ink);
        font: 800 .95rem/1 var(--mc-font-h);
        font-variant-numeric: tabular-nums;
        text-align: center;
    }

    .mc-until u {
        margin-right: 4px;
        text-decoration: none;
        font-size: .7rem;
    }

@media (max-width: 639.98px) {
    .mc-hero__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .mc-until {
        justify-content: center;
    }
}

/* ---- icons: the glyph shares the tile's grid cell, so it is centred by the grid and not by hand-tuned offsets ---- */
.mc :is(#audience, #bonus) li::after {
    position: static;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    justify-self: center;
    z-index: 1;
    width: 22px;
    height: 22px;
    margin: 9px 0 0;
    left: auto;
    top: auto;
}

.mc #audience li::after {
    grid-row: 1;
    align-self: center;
    margin: 0;
}

/* ---- mentor and audience: one row ---- */
.mc-duo {
    padding: var(--mc-sec) 0;
    background: linear-gradient(180deg, var(--mc-soft), var(--mc-bg));
}

.mc-duo__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--mc-sec);
    align-items: stretch;
}

.mc-duo__mentor {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mc-duo #audience {
    width: auto;
    margin: 0;
    padding: 0;
    min-width: 0;
}

    .mc-duo #audience ul {
        grid-template-columns: minmax(0, 1fr) !important;
    }

/* mentor card: short, horizontal, a compact photo at its real ratio */
.mc-mentor {
    box-shadow: var(--mc-sh-1);
    border: 1px solid var(--mc-line);
}

    .mc-mentor::after {
        display: none;
    }

@media (max-width: 639.98px) {
    /* phones: photo on top as a short banner, details underneath */
    .mc-mentor__photo {
        aspect-ratio: 16 / 10;
    }

    .mc-mentor__body {
        padding: 14px 16px 16px;
    }

        .mc-mentor__body h3 {
            font-size: 1.3rem;
        }

    .mc-mentor__role {
        margin: .2rem 0 .7rem;
        font-size: .88rem;
    }

    .mc-mentor__bio {
        padding-top: .7rem;
        font-size: .9rem;
    }

        .mc-mentor__bio ul {
            gap: 5px;
        }

    .mc-tags {
        margin-top: .7rem;
        padding-top: .7rem;
    }
}

@media (min-width: 640px) {
    .mc-mentor {
        flex: 1;
        grid-template-columns: 150px minmax(0, 1fr);
        column-gap: 24px;
        align-items: center;
        padding: 20px;
    }

    .mc-mentor__photo {
        width: 150px;
        min-height: 0;
        padding: 0;
        display: block;
        aspect-ratio: auto;
        border-radius: 14px;
        background: none;
        box-shadow: none;
        overflow: hidden;
    }

        .mc-mentor__photo::before, .mc-mentor__photo::after {
            display: none;
        }

        .mc-mentor__photo img {
            position: static;
            width: 100%;
            max-width: none;
            height: auto;
            border-radius: 14px;
            box-shadow: none;
            display: block;
        }

    .mc-mentor__body {
        padding: 0;
    }

        .mc-mentor__body h3 {
            font-size: 1.35rem;
        }

    .mc-mentor__role {
        margin: .2rem 0 .7rem;
        font-size: .9rem;
    }

    .mc-mentor__bio {
        padding-top: .7rem;
        font-size: .9rem;
        line-height: 1.5;
    }

        .mc-mentor__bio ul {
            gap: 5px;
        }

    .mc-tags {
        margin-top: .7rem;
        padding-top: .7rem;
    }

    .mc .mc-tags .skill-tag {
        padding: 5px 11px;
        font-size: .74rem;
    }
}

@media (min-width: 992px) {
    /* two equal columns on the shared axis; both columns are the same height */
    .mc-duo__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .mc-duo #audience {
        display: flex;
        flex-direction: column;
    }

        .mc-duo #audience ul {
            flex: 1;
            grid-auto-rows: 1fr;
        }
}

/* ---- footer: links and copyright each stay on ONE line ---- */
.mc-foot__links {
    flex-wrap: nowrap;
    justify-content: safe center;
    gap: 2px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

    .mc-foot__links::-webkit-scrollbar {
        display: none;
    }

    .mc-foot__links a {
        flex: none;
        padding: 7px 11px;
        font-size: .84rem;
        white-space: nowrap;
    }

.mc-foot__legal {
    max-width: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: .78rem;
}

    .mc-foot__legal span {
        display: none;
    }

@media (min-width: 900px) {
    .mc-foot__legal span {
        display: inline;
    }
}

/* hero mentor card: compact, flush right */
@media (min-width: 992px) {
    .mc-hero__mentor {
        width: min(100%, 320px);
        justify-self: end;
    }
}

/* mentor card: photo and name start on the same line */
@media (min-width: 640px) {
    .mc-mentor {
        align-items: start;
    }

    .mc-mentor__photo {
        align-self: start;
    }
}

/* when the mentor card is stretched to the audience column, its content stays centred in it (equal space above and below) */
@media (min-width: 640px) {
    .mc-mentor {
        align-content: center;
    }
}

/* the footer already leaves room for the fixed mobile bar, so the closing block does not need its own big bottom gap */
@media (max-width: 991.98px) {
    .mc-final {
        padding-bottom: 1.5rem;
    }
}

/* a <br> between the bold title and the text would become an empty grid row; the title is already its own block */
.mc :is(#audience, #build, #bonus) li br {
    display: none;
}

/* offers + floating header + progress line are one sticky block, so the strip stays on screen with the header */
.mc-top {
    position: sticky;
    top: 0;
    z-index: 100;
}

    .mc-top .mc-nav {
        position: relative;
    }

    .mc-top .mc-progress {
        position: absolute;
        inset: auto 0 0 0;
        top: auto;
        z-index: 101;
    }


/* =========================================================================
   Mentor + audience: a matching pair of cards, then a live verdict.
   One elevation rule (a 1px border, no shadow), rows separated by hairlines instead of boxes in a box.
   ========================================================================= */
.mc-pair {
    padding: var(--mc-sec) 0;
    background: var(--mc-soft);
}

.mc-pair__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.mc-pair__grid--one {
    max-width: 720px;
    margin-inline: auto;
}

@media (min-width: 992px) {
    .mc-pair__grid:not(.mc-pair__grid--one) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

.mc-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
    background: var(--mc-card);
    border: 1px solid var(--mc-line);
    border-radius: 18px;
    box-shadow: none;
}

@media (max-width: 639.98px) {
    .mc-card {
        padding: 20px;
    }
}

/* both cards open the same way: a small bold title, nothing decorative */
.mc-card__title,
.mc-pair #audience h2 {
    max-width: none;
    margin: 0;
    font: 800 1.1rem/1.25 var(--mc-font-h);
    letter-spacing: -.01em;
    color: var(--mc-ink);
    text-align: left;
}

    .mc-pair #audience h2::after {
        display: none;
    }

    .mc-pair #audience h2 em {
        background: none;
        -webkit-text-fill-color: currentColor;
        color: inherit;
    }

/* ---- mentor ---- */
.mc-pair__mentor .mc-card__title {
    margin-bottom: 16px;
}

.mc-pm {
    display: flex;
    flex: 1;
    flex-direction: column;
}

    .mc-pm + .mc-pm {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--mc-line);
    }

.mc-pm__head {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.mc-pm__photo {
    display: block;
    width: 88px;
    height: auto;
    border-radius: 14px;
    background: var(--mc-soft);
}

.mc-pm__head h3 {
    margin: 0;
    font: 800 1.35rem/1.15 var(--mc-font-h);
    letter-spacing: -.02em;
    color: var(--mc-ink);
}

.mc-pm__role {
    margin: .25rem 0 0;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--mc-accent);
}

.mc-pm__bio {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--mc-line);
    font-size: .94rem;
    line-height: 1.55;
    color: var(--mc-ink-2);
}

    .mc-pm__bio > :last-child {
        margin-bottom: 0;
    }

    .mc-pm__bio ul {
        display: grid;
        gap: 8px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .mc-pm__bio li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin: 0;
        padding: 0;
    }

        .mc-pm__bio li::before {
            content: none;
        }

    .mc-pm__bio svg {
        flex: none;
        width: 18px;
        height: 18px;
        margin-top: 2px;
        color: var(--mc-accent);
    }

.mc-pm__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 18px;
}

    .mc-pm__tags span {
        padding: 5px 11px;
        border: 1px solid var(--mc-line);
        border-radius: 999px;
        background: var(--mc-soft);
        font-size: .78rem;
        font-weight: 600;
        color: var(--mc-ink-2);
    }

@media (max-width: 639.98px) {
    /* phones: the photo leads at its real 1:1 ratio, then the name */
    .mc-pm__head {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .mc-pm__head {
        text-align: center;
    }

    .mc-pm__photo {
        width: min(100%, 320px);
        aspect-ratio: 1 / 1;
        margin-inline: auto;
    }
}

/* ---- audience: a self-check list ---- */
.mc-pair #audience {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: none;
}

    .mc-pair #audience ul {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-auto-rows: 1fr;
        flex: 1;
        gap: 0;
        margin: 0;
        padding: 0;
    }

    .mc-pair #audience li {
        position: relative;
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        align-items: center;
        column-gap: 14px;
        margin: 0 -10px;
        padding: 12px 10px;
        border: 0;
        border-top: 1px solid var(--mc-line);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        font-size: .95rem;
        line-height: 1.45;
        color: var(--mc-ink-2);
        text-align: left;
        transition: background-color .2s, color .2s;
    }

        .mc-pair #audience li:first-child {
            border-top-color: transparent;
        }

@media (hover: hover) {
    .mc-pair #audience li:hover {
        transform: none;
        background: color-mix(in srgb, var(--mc-accent) 5%, transparent);
        border-color: var(--mc-line);
    }

        .mc-pair #audience li:hover::before {
            transform: none;
        }
}


/* the register button under the pair */
.mc-fit {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* ---- quality-floor fixes: no tracked capitals, no middle dots ---- */
.mc-until small {
    margin-right: 6px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.mc-count .countdown-label {
    letter-spacing: 0;
    text-transform: none;
    font-size: .7rem;
}

.mc .mc-cta__price {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
    font-size: .88em;
    font-weight: 700;
}

.mc .mc-cta--light .mc-cta__price {
    background: color-mix(in srgb, #3730a3 12%, transparent);
}

.mc .mc-cta__price s {
    margin-right: 4px;
    opacity: .75;
}

.mc-final__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 22px;
}


/* ---- countdown: a pill like the home hero buttons (clock tile, then the time left) ---- */
.mc-until {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 18px 0 6px;
    border: 1px solid var(--mc-line);
    border-radius: 999px;
    background: var(--mc-card);
    font: 600 .8rem/1 var(--mc-font-h);
    color: var(--mc-muted);
}

    .mc-until::before {
        content: "";
        flex: none;
        width: 40px;
        height: 40px;
        margin-right: 2px;
        border-radius: 50%;
        background-color: var(--mc-soft);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
        background-position: center;
        background-size: 20px;
        background-repeat: no-repeat;
    }

    .mc-until small {
        margin: 0 4px 0 0;
        font-size: .8rem;
        font-weight: 600;
    }

    .mc-until b {
        min-width: 0;
        padding: 0;
        border: 0;
        background: none;
        font: 800 1rem/1 var(--mc-font-h);
        color: var(--mc-ink);
        font-variant-numeric: tabular-nums;
    }

    .mc-until u {
        margin: 0 6px 0 1px;
        font-size: .78rem;
        font-weight: 600;
        color: var(--mc-muted);
    }

        .mc-until u:last-child {
            margin-right: 0;
        }

@media (max-width: 639.98px) {
    .mc-until {
        justify-content: center;
    }
}

.mc-until__t {
    display: inline-flex;
    align-items: baseline;
}

.mc-until small + .mc-until__t {
    margin-left: 2px;
}

@media (max-width: 639.98px) {
    .mc-pm__tags {
        padding-top: 14px;
    }

    .mc-pm__bio {
        margin-top: 14px;
        padding-top: 14px;
    }
}

/* ---- why: the problems side by side, then one resolving line ---- */
.mc #why ul {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)) !important;
    gap: 14px;
}

    .mc #why ul > li:last-child:nth-child(odd) {
        grid-column: auto;
    }

.mc #why li {
    display: block;
    height: 100%;
    margin: 0;
    padding: 20px 22px;
    border-radius: 16px;
    box-shadow: none;
    font-size: .98rem;
    line-height: 1.5;
}

    .mc #why li::before {
        display: block;
        margin: 0 0 14px;
    }

@media (hover: hover) {
    .mc #why li:hover {
        transform: none;
        border-color: color-mix(in srgb, #ef4444 40%, transparent);
    }
}

.mc #why blockquote {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 18px auto 0;
    padding: 12px 20px;
    border: 1px solid color-mix(in srgb, var(--mc-accent) 25%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--mc-accent) 8%, transparent);
    font: 700 .95rem/1.4 var(--mc-font-h);
    color: var(--mc-ink);
}

    .mc #why blockquote p {
        margin: 0;
    }

@media (max-width: 639.98px) {
    .mc #why blockquote {
        border-radius: 16px;
        text-align: left;
    }
}

.mc #why li::after {
    display: none;
}

.mc #why li::before {
    content: "";
    width: 36px;
    height: 36px;
    border-radius: 50%;
    -webkit-mask: none;
    mask: none;
    background-color: color-mix(in srgb, #ef4444 12%, transparent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
    background-position: center;
    background-size: 16px;
    background-repeat: no-repeat;
    box-shadow: none;
}

.mc #why > blockquote {
    margin-top: 22px;
}

.mc #why ul + blockquote {
    margin-top: 24px !important;
}

.mc-pair #audience ul {
    margin-top: 10px;
}

.mc #why ul {
    margin-top: 12px;
}

/* ---- why: compact rows, icon beside the text, a plain closing line ---- */
.mc #why li {
    display: flex;
    align-items: center;
    gap: 12px;
    height: auto;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: .95rem;
    line-height: 1.4;
}

    .mc #why li::before {
        flex: none;
        margin: 0;
        width: 32px;
        height: 32px;
        background-size: 14px;
    }

.mc #why ul {
    margin-top: 0;
    gap: 12px;
}

    .mc #why ul + blockquote {
        width: auto;
        margin-top: 14px !important;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: none;
        font: 600 .92rem/1.5 var(--mc-font-b, inherit);
        color: var(--mc-muted);
        text-align: center;
    }

/* ---- build: three outcomes in order. Icon beside the title, small arrows between the cards show the path ---- */
.mc #build ul {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)) !important;
    gap: 20px;
    margin-top: 12px;
}

.mc #build li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    margin: 0;
    padding: 20px;
    border-radius: 16px;
    box-shadow: none;
    font-size: .94rem;
    line-height: 1.5;
}

    .mc #build li::before {
        grid-row: 1 / span 2;
        width: 44px;
        height: 44px;
        margin: 0;
        border-radius: 12px;
        background-size: 22px;
    }

    .mc #build li strong {
        grid-column: 2;
        margin: 2px 0 4px;
        font-size: 1.05rem;
        line-height: 1.3;
    }

    .mc #build li::after {
        content: "";
        position: absolute;
        top: 50%;
        right: -22px;
        left: auto;
        z-index: 2;
        display: none;
        width: 24px;
        height: 24px;
        margin: 0;
        transform: translateY(-50%);
        border: 1px solid var(--mc-line);
        border-radius: 50%;
        -webkit-mask: none;
        mask: none;
        -webkit-text-stroke: 0;
        background: var(--mc-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / 12px no-repeat;
    }

@media (min-width: 992px) {
    .mc #build li:not(:last-child)::after {
        display: block;
    }
}

.mc #build li {
    overflow: visible;
}

/* =========================================================================
   Calm pass: one smaller, lighter heading scale and tighter sections, so the page reads as a quiet column of
   equal-weight blocks. Titles are centred on the same axis, with no underline bar.
   ========================================================================= */
.mc { --mc-sec: clamp(1.75rem, 4vw, 3rem); }

.mc .mc-h2,
.mc :is(#what, #audience, #build, #why, #bonus, #faq) h2,
.mc .mc-final h2 {
    margin: 0 auto 8px;
    font-family: var(--mc-font-h);
    font-size: clamp(1.4rem, 2.3vw, 1.85rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.mc .mc-h2::after,
.mc :is(#what, #audience, #build, #why, #bonus, #faq) h2::after { display: none; }

.mc :is(#what, #build, #why, #bonus, #faq) h2 + p { margin: 0 auto 20px; font-size: .92rem; line-height: 1.5; }

.mc #heading h1 { font-size: clamp(1.9rem, 3.7vw, 2.9rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }

.mc :is(#what, #build, #why, #bonus) ul { gap: 12px; }
.mc #what li { padding-block: 16px; font-size: .95rem; }
.mc #what ul > li:first-child { padding-top: 64px; font-size: 1.1rem; }
.mc #bonus li { padding: 20px; }
.mc-pair .mc-card { padding: 20px; }
.mc .mc-pair #audience h2 { margin: 0 0 4px; font-size: 1.1rem; font-weight: 800; line-height: 1.25; text-align: left; }

/* one gradient for every key word in a title: the same cyan to magenta across the whole word */
.mc .mc-h2 em, .mc #heading h1 em, .mc :is(#what, #audience, #build, #why, #bonus, #faq) h2 em, .mc .mc-final h2 em {
    font-style: normal;
    background: linear-gradient(90deg, #00d7ff, #ff00d9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
