        /* ---------- Base ---------- */

        :root {
            --navy: #0b1e3f;
            --text: #44474e;
            --purple: #7975ff;
            --gold: #ffb224;
            --brown: #835500;
            --page: #faf8ff;
            --lavender: #f2f3ff;
            --pale-blue: #e2e7ff;
            --white: #ffffff;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            padding: 0 !important;
            color: var(--navy) !important;
            background: var(--page) !important;
            font-family: "Plus Jakarta Sans", sans-serif !important;
            -webkit-font-smoothing: antialiased;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6,
        p {
            margin: 0;
            font-family: "Plus Jakarta Sans", sans-serif !important;
        }

        button,
        input {
            font: inherit;
        }

        button {
            cursor: pointer;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        img {
            display: block;
            max-width: 100%;
        }

        .page {
            width: 100%;
            max-width: 1440px;
            margin: 0 auto;
            overflow-x: hidden;
        }

        .container {
            width: 100%;
            max-width: 1376px;
            margin: 0 auto;
            padding-left: 24px;
            padding-right: 24px;
        }

        .eyebrow {
            color: var(--brown);
            font-size: 11px;
            font-weight: 700;
            line-height: 16px;
            letter-spacing: 1.32px;
            text-transform: uppercase;
        }

        .section-title {
            font-size: 40px;
            font-weight: 700;
            line-height: 48px;
            letter-spacing: -1px;
        }

        .description {
            color: var(--text);
            font-size: 18px;
            line-height: 28px;
        }

        .button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            height: 44px;
            padding: 0 24px;
            border: 0;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 700;
            line-height: 20px;
            white-space: nowrap;
        }

        .button-navy {
            color: white;
            background: var(--navy);
            box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%);
        }

        .button-white {
            color: var(--navy);
            background: white;
            border: 1px solid #e2e3e8;
            box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
        }

        .button-gold {
            color: var(--navy);
            background: var(--gold);
        }

        .button-pale {
            height: 40px;
            padding: 0 16px;
            color: var(--navy);
            background: var(--pale-blue);
        }

        .icon-box {
            display: grid;
            place-items: center;
            width: 56px;
            height: 56px;
            border-radius: 12px;
            color: var(--navy);
            background: var(--pale-blue);
            font-size: 25px;
            font-weight: 700;
        }

        .icon-box.warm {
            color: var(--brown);
            background: rgb(255 221 180 / 40%);
        }

        /* ---------- Header ---------- */

        .header {
            height: auto;
            background: var(--page);
        }

        .top-bar {
            height: 28px;
            color: white;
            background: #030817;
        }

        .top-bar .container {
            display: flex;
            align-items: center;
            gap: 16px;
            height: 100%;
            font-size: 12px;
            font-weight: 600;
            line-height: 16px;
        }

        .contact-icon {
            margin-right: 5px;
            color: var(--gold);
        }

        .cohort-badge {
            padding: 2px 8px;
            border-radius: 20px;
            color: var(--gold);
            background: rgb(255 178 36 / 12%);
            font-size: 11px;
            font-weight: 800;
            letter-spacing: .8px;
        }

        .navigation {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 80px;
        }

        .logo {
            width: 180px;
            height: auto;
            object-fit: contain;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 32px;
            margin-left: auto;
            margin-right: auto;
            font-size: 14px;
            font-weight: 600;
        }

        .nav-links .active {
            font-size: 16px;
            font-weight: 800;
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 24px;
            font-size: 14px;
            font-weight: 600;
        }

        .nav-actions .button {
            height: 36px;
            padding: 0 16px;
        }

        /* ---------- Hero ---------- */

        main {
            padding-top: 4px;
        }

        .hero {
            position: relative;
            height: 600px;
            padding: 40px 32px 64px;
            overflow: hidden;
            background: var(--lavender);
            isolation: isolate;
        }

        .hero::before {
            position: absolute;
            z-index: -1;
            top: -128px;
            left: 140px;
            width: 1000px;
            height: 550px;
            border-radius: 9999px;
            background: linear-gradient(120deg,
                    rgb(218 226 253 / 60%),
                    rgb(254 174 44 / 15%) 50%,
                    rgb(121 117 255 / 10%));
            filter: blur(130px);
            content: "";
        }

        .hero::after {
            position: absolute;
            z-index: -1;
            top: 200px;
            right: -96px;
            width: 384px;
            height: 384px;
            border-radius: 50%;
            background: rgb(255 221 180 / 30%);
            filter: blur(100px);
            content: "";
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 588px 588px;
            gap: 40px;
        }

        .hero-copy {
            padding-top: 2px;
        }

        .hero-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            height: 24px;
            padding: 4px 8px;
            border-radius: 9999px;
            background: #dae2fd;
            font-size: 11px;
            font-weight: 800;
            line-height: 16px;
            letter-spacing: 1.1px;
            box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
        }

        .hero-tag::before {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--brown);
            content: "";
        }

        .hero-tag .rise {
            color: var(--brown);
        }

        .hero-tag .learn {
            color: var(--purple);
        }

        .hero h1 {
            margin-top: 24px;
            font-size: 56px;
            font-weight: 800;
            line-height: 64px;
            letter-spacing: -1.4px;
        }

        .gradient-text {
            background: linear-gradient(90deg,
                    var(--navy),
                    var(--purple) 50%,
                    var(--brown));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .hero-description {
            margin-top: 24px;
            color: var(--text);
            font-size: 18px;
            line-height: 28px;
        }

        .hero-buttons {
            display: flex;
            gap: 16px;
            margin-top: 32px;
        }

        .hero-stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-top: 40px;
        }

        .stat {
            height: 96px;
            padding: 16px;
            border-radius: 12px;
            background: white;
            box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
        }

        .stat-value {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 20px;
            font-weight: 700;
            line-height: 28px;
            letter-spacing: -.2px;
        }

        .stat-symbol {
            color: var(--brown);
            font-size: 16px;
        }

        .stat:nth-child(2) .stat-symbol {
            color: var(--purple);
        }

        .stat-label {
            margin-top: 4px;
            color: var(--text);
            font-size: 12px;
            font-weight: 600;
            line-height: 16px;
        }

        .stat:last-child .stat-value {
            color: var(--brown);
            font-size: 11px;
            font-weight: 800;
            line-height: 16px;
        }

        .hero-visual {
            position: relative;
            height: 496px;
        }

        .hero-photo {
            position: absolute;
            top: 28px;
            left: 0;
            width: 588px;
            height: 440px;
            border-radius: 16px;
            overflow: hidden;
            background: var(--navy);
            box-shadow:
                0 8px 10px -6px rgb(0 0 0 / 10%),
                0 20px 25px -5px rgb(0 0 0 / 10%);
        }

        .hero-photo>img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hero-photo::after {
            position: absolute;
            inset: 50% 0 0;
            background: linear-gradient(transparent, rgb(3 8 23 / 50%));
            content: "";
        }

        .photo-caption {
            position: absolute;
            z-index: 1;
            right: 16px;
            bottom: 16px;
            left: 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: white;
            font-size: 12px;
            font-weight: 600;
            line-height: 16px;
        }

        .photo-caption .online {
            padding: 4px 8px;
            border-radius: 6px;
            background: var(--navy);
        }

        .live-widget {
            position: absolute;
            z-index: 2;
            top: 4px;
            left: -32px;
            width: 216px;
            padding: 16px;
            border-radius: 12px;
            background: white;
            box-shadow: 0 10px 20px rgb(0 0 0 / 10%);
        }

        .live-widget-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            line-height: 16px;
        }

        .live-label {
            color: #ef4444;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: .5px;
        }

        .live-widget-bottom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 8px;
        }

        .avatars {
            display: flex;
            padding-left: 4px;
        }

        .avatar {
            display: grid;
            place-items: center;
            width: 32px;
            height: 32px;
            margin-left: -4px;
            border: 2px solid white;
            border-radius: 50%;
            background: var(--pale-blue);
            font-size: 12px;
            font-weight: 700;
        }

        .avatar:nth-child(2) {
            background: #ffddb4;
        }

        .avatar:last-child {
            color: white;
            background: var(--navy);
        }

        .join-button {
            padding: 5px 14px;
            border: 0;
            border-radius: 4px;
            background: var(--gold);
            font-size: 12px;
            font-weight: 700;
        }

        .progress-widget {
            position: absolute;
            z-index: 2;
            right: -16px;
            bottom: 0;
            width: 248px;
            padding: 16px;
            border-radius: 12px;
            background: white;
            box-shadow: 0 10px 20px rgb(0 0 0 / 15%);
        }

        .progress-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

        .progress-top span {
            color: var(--text);
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 1.1px;
        }

        .progress-top strong {
            color: var(--brown);
            font-size: 14px;
        }

        .progress-bottom {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .progress-ring {
            display: grid;
            place-items: center;
            flex-shrink: 0;
            width: 52px;
            height: 52px;
            border: 4px solid #ffddb4;
            border-top-color: var(--gold);
            border-right-color: var(--gold);
            border-bottom-color: var(--gold);
            border-radius: 50%;
            color: var(--purple);
            font-size: 22px;
        }

        .progress-bottom h3 {
            font-size: 14px;
            line-height: 20px;
        }

        .progress-bottom p {
            color: var(--text);
            font-size: 13px;
            line-height: 20px;
        }

        /* ---------- Trusted organizations ---------- */

        .trusted {
            height: 108px;
            padding: 40px 32px;
            background: white;
            box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
        }

        .trusted-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 28px;
        }

        .trusted-label {
            color: var(--text);
            font-size: 11px;
            font-weight: 800;
            line-height: 16px;
            letter-spacing: 1.1px;
        }

        .brand-list {
            display: flex;
            align-items: center;
            gap: 40px;
            opacity: .6;
            font-size: 20px;
            font-weight: 800;
            line-height: 28px;
            letter-spacing: -.5px;
        }

        /* ---------- Categories ---------- */

        .categories {
            height: 584px;
            padding-top: 64px;
            padding-bottom: 64px;
            background: var(--page);
        }

        .category-heading {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            height: 176px;
        }

        .category-heading .section-title {
            margin-top: 4px;
        }

        .category-description {
            margin-top: 4px;
            color: var(--text);
            font-size: 15px;
            line-height: 24px;
        }

        .four-grid {
            display: grid;
            grid-template-columns: repeat(4, 286px);
            gap: 24px;
        }

        .category-grid {
            margin-top: 40px;
        }

        .category-card {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 240px;
            padding: 24px;
            border-radius: 12px;
            background: white;
            box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
        }

        .category-card h3 {
            margin-top: 16px;
            font-size: 16px;
            font-weight: 600;
            line-height: 24px;
            letter-spacing: -.08px;
        }

        .category-card p {
            margin-top: 4px;
            color: var(--text);
            font-size: 13px;
            line-height: 20px;
        }

        .category-bottom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 16px;
            color: var(--text);
        }

        .course-count {
            padding: 2px 10px;
            border-radius: 9999px;
            background: #eaedff;
            font-size: 12px;
            font-weight: 600;
            line-height: 16px;
        }

        /* ---------- Featured courses ---------- */

        .featured {
            height: 651px;
            padding-top: 64px;
            padding-bottom: 64px;
            background: var(--lavender);
        }

        .featured-heading {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            height: 76px;
        }

        .featured-heading .section-title {
            margin-top: 4px;
        }

        .featured-heading .button {
            height: 40px;
            padding: 0 16px;
        }

        .course-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-top: 40px;
        }

        .course-card {
            height: 407px;
            border-radius: 12px;
            overflow: hidden;
            background: white;
            box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
        }

        .course-image {
            position: relative;
            height: 216px;
            overflow: hidden;
            background: var(--navy);
        }

        .course-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .course-tag {
            position: absolute;
            top: 12px;
            left: 12px;
            padding: 4px 8px;
            border-radius: 4px;
            color: white;
            background: var(--navy);
            font-size: 12px;
            font-weight: 700;
            line-height: 16px;
        }

        .course-tag.gold {
            background: var(--brown);
        }

        .course-arrow {
            position: absolute;
            top: 12px;
            right: 12px;
            display: grid;
            place-items: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgb(255 255 255 / 95%);
            font-size: 22px;
        }

        .course-content {
            height: 131px;
            padding: 24px 24px 16px;
        }

        .rating {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 12px;
            line-height: 16px;
        }

        .star {
            color: var(--gold);
        }

        .rating small {
            color: var(--text);
            font-size: 12px;
        }

        .course-content h3 {
            margin-top: 4px;
            font-size: 16px;
            font-weight: 700;
            line-height: 24px;
            letter-spacing: -.15px;
            white-space: nowrap;
        }

        .course-content p {
            display: -webkit-box;
            margin-top: 8px;
            overflow: hidden;
            color: var(--text);
            font-size: 13px;
            line-height: 20px;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .course-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 60px;
            padding: 12px 24px;
            background: var(--page);
        }

        .instructor {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .instructor-avatar {
            display: grid;
            place-items: center;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            color: var(--brown);
            background: #ffddb4;
            font-size: 12px;
            font-weight: 700;
        }

        .instructor-avatar.purple {
            color: var(--navy);
            background: var(--pale-blue);
        }

        .instructor-name {
            font-size: 12px;
            font-weight: 700;
            line-height: 15px;
        }

        .instructor-role {
            color: var(--text);
            font-size: 10px;
            line-height: 15px;
        }

        .price {
            font-size: 20px;
            font-weight: 700;
            line-height: 28px;
            white-space: nowrap;
        }

        .price.free {
            color: var(--brown);
        }

        /* ---------- Learning journey ---------- */

        .journey {
            height: 584px;
            padding-top: 64px;
            padding-bottom: 64px;
            background: var(--page);
        }

        .journey-heading {
            height: 172px;
        }

        .journey-heading .section-title {
            margin-top: 4px;
        }

        .journey-heading .description {
            margin-top: 8px;
        }

        .text-link {
            display: inline-block;
            margin-top: 16px;
            font-size: 14px;
            font-weight: 700;
            line-height: 20px;
        }

        .journey-grid {
            margin-top: 40px;
        }

        .step-card {
            height: 244px;
            padding: 24px;
            border-radius: 12px;
            background: white;
            box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
        }

        .step-card .icon-box {
            width: 48px;
            height: 48px;
            font-size: 23px;
        }

        .step-card:nth-child(3) .icon-box {
            color: var(--purple);
            background: #dae2ff;
        }

        .step-card:nth-child(4) .icon-box {
            background: var(--gold);
        }

        .step-label {
            margin-top: 24px;
            color: var(--purple);
            font-size: 11px;
            font-weight: 800;
            line-height: 16px;
            letter-spacing: 1.1px;
        }

        .step-card:nth-child(even) .step-label {
            color: var(--brown);
        }

        .step-card h3 {
            margin-top: 4px;
            font-size: 20px;
            font-weight: 700;
            line-height: 28px;
        }

        .step-card p {
            margin-top: 4px;
            color: var(--text);
            font-size: 15px;
            line-height: 24px;
        }

        /* ---------- Live learning ---------- */

        .live-learning {
            height: 569px;
            padding-top: 64px;
            padding-bottom: 64px;
            background: var(--lavender);
        }

        .live-grid {
            display: grid;
            grid-template-columns: 588px 588px;
            gap: 40px;
            align-items: center;
            height: 441px;
        }

        .live-photo {
            position: relative;
            height: 441px;
            border-radius: 16px;
            overflow: hidden;
            background: var(--navy);
            box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%);
        }

        .live-photo>img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .live-photo-label {
            position: absolute;
            right: 24px;
            bottom: 24px;
            left: 24px;
            display: flex;
            align-items: center;
            gap: 16px;
            min-height: 80px;
            padding: 16px;
            border-radius: 12px;
            background: rgb(255 255 255 / 92%);
            backdrop-filter: blur(8px);
        }

        .live-photo-icon {
            display: grid;
            place-items: center;
            width: 40px;
            height: 40px;
            flex-shrink: 0;
            border-radius: 50%;
            background: var(--gold);
            font-size: 22px;
        }

        .live-photo-label strong {
            display: block;
            margin-top: 4px;
            font-size: 16px;
            line-height: 24px;
        }

        .live-copy .section-title {
            margin-top: 24px;
        }

        .live-copy .description {
            margin-top: 16px;
        }

        .live-benefits {
            padding: 0;
            margin: 16px 0 24px;
            list-style: none;
        }

        .live-benefits li {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: 8px;
            font-size: 16px;
            font-weight: 600;
            line-height: 24px;
        }

        .check {
            display: grid;
            place-items: center;
            width: 24px;
            height: 24px;
            flex-shrink: 0;
            border-radius: 50%;
            color: white;
            background: var(--navy);
            font-size: 14px;
        }

        /* ---------- CTA ---------- */

        .cta-section {
            height: 408px;
            padding: 64px 32px;
            background: var(--page);
        }

        .cta-banner {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 280px;
            padding: 64px;
            border-radius: 16px;
            overflow: hidden;
            color: white;
            background:
                radial-gradient(ellipse at 0% 20%,
                    rgb(121 117 255 / 25%),
                    transparent 40%),
                radial-gradient(ellipse at 100% 80%,
                    rgb(255 178 36 / 20%),
                    transparent 35%),
                var(--navy);
            box-shadow: 0 10px 15px -3px rgb(0 0 0 / 15%);
        }

        .cta-copy .eyebrow {
            color: var(--gold);
        }

        .cta-copy h2 {
            margin-top: 4px;
            color: white !important;
            font-size: 56px;
            font-weight: 800;
            line-height: 64px;
            letter-spacing: -1.4px;
        }

        .cta-copy p {
            margin-top: 4px;
            color: #8592b7 !important;
            font-size: 18px;
            line-height: 28px;
        }

        .cta-actions {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-left: 24px;
        }

        .cta-actions .button {
            height: 48px;
        }

        .button-glass {
            color: white;
            background: rgb(255 255 255 / 10%);
        }

        /* ---------- Footer ---------- */

        .footer-spacer {
            height: 64px;
            background: var(--page);
        }

        .footer {
            position: relative;
            height: 668px;
            padding: 64px 32px 40px;
            background: var(--lavender);
        }

        .newsletter {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 200px;
            padding: 40px;
            border: 1px solid #e7e9fa;
            border-radius: 12px;
            background: white;
        }

        .newsletter h2 {
            margin-top: 4px;
            font-size: 28px;
            font-weight: 700;
            line-height: 36px;
            letter-spacing: -.7px;
        }

        .newsletter p {
            margin-top: 8px;
            color: var(--text);
            font-size: 15px;
            line-height: 24px;
        }

        .newsletter-fields {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .newsletter-fields input {
            width: 236px;
            height: 48px;
            padding: 0 16px;
            border: 0;
            border-radius: 8px;
            outline-color: var(--purple);
            color: var(--navy);
            background: var(--lavender);
            font-size: 15px;
        }

        .newsletter-fields input::placeholder {
            color: #a0a5b7;
            font-size: 13px;
        }

        .newsletter-fields button {
            height: 48px;
            color: white;
            background: var(--brown);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 462.4px repeat(3, 211.2px);
            gap: 40px;
            margin-top: 64px;
        }

        .footer-about .logo {
            width: 180px;
        }

        .footer-about p {
            margin-top: 24px;
            color: var(--text);
            font-size: 15px;
            line-height: 24px;
        }

        .socials {
            display: flex;
            gap: 12px;
            margin-top: 16px;
        }

        .social {
            display: grid;
            place-items: center;
            width: 36px;
            height: 36px;
            border-radius: 8px;
            background: var(--pale-blue);
            font-size: 16px;
            font-weight: 700;
        }

        .footer-column h3 {
            margin-bottom: 20px;
            font-size: 16px;
            font-weight: 600;
            line-height: 24px;
        }

        .footer-column ul {
            padding: 0;
            margin: 0;
            list-style: none;
        }

        .footer-column li {
            margin-bottom: 8px;
            color: var(--text);
            font-size: 13px;
            line-height: 20px;
        }

        .footer-bottom {
            position: absolute;
            right: 32px;
            bottom: 40px;
            left: 32px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--text);
            font-size: 13px;
            line-height: 20px;
        }

        .footer-legal {
            display: flex;
            gap: 32px;
        }

        /* Static representation of the cookie notice. */

        .cookie-notice {
            position: absolute;
            z-index: 5;
            right: 16px;
            bottom: 16px;
            display: flex;
            align-items: center;
            gap: 20px;
            max-width: 530px;
            padding: 16px;
            border-radius: 10px;
            color: white;
            background: #080c14;
            box-shadow: 0 8px 24px rgb(0 0 0 / 15%);
        }

        .cookie-notice p {
            font-size: 13px;
            line-height: 20px;
        }

        .cookie-notice button {
            flex-shrink: 0;
            padding: 10px 14px;
            border: 0;
            border-radius: 6px;
            color: var(--navy);
            background: white;
            font-size: 12px;
            font-weight: 700;
        }

        /*
      =============================================
      RESPONSIVE MEDIA QUERIES
      =============================================
    */

        /* ── Tablet (≤ 1024px) ── */
        @media (max-width: 1024px) {

            .page {
                margin-left: 0;
                margin-right: 0;
                overflow-x: hidden;
            }

            /* Navigation */
            .nav-links {
                display: none;
            }
            .nav-actions > a:not(.button) {
                display: none;
            }

            /* Hero */
            .hero {
                height: auto;
                padding: 40px 0 48px;
            }
            .hero-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }
            .hero-visual {
                height: auto;
                padding-right: 0;
            }
            .hero-photo {
                position: relative;
                width: 100%;
                height: 320px;
                top: 0;
                left: 0;
            }
            .progress-widget {
                right: 8px;
                bottom: 8px;
                width: 200px;
            }
            .live-widget {
                left: -16px;
                width: 190px;
            }
            .hero-stats {
                grid-template-columns: repeat(2, 1fr);
            }

            /* Grids */
            .four-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .journey-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .course-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            /* Heights reset */
            .categories { height: auto; }
            .featured { height: auto; }
            .journey { height: auto; }
            .cta-section { height: auto; }
            .footer { height: auto; }
            .category-heading { height: auto; }
            .featured-heading { height: auto; }
            .journey-heading { height: auto; }

            /* Live */
            .live-grid {
                grid-template-columns: 1fr;
                gap: 32px;
                height: auto;
            }
            .live-learning { height: auto; }
            .live-photo { height: 320px; }

            /* Footer */
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 32px;
            }
        }

        /* ── Mobile (≤ 768px) ── */
        @media (max-width: 768px) {

            /* Body: add bottom padding so content clears the fixed bottom nav bar */
            body {
                padding-bottom: 72px !important;
            }

            .page {
                overflow-x: hidden;
            }

            /* Container padding */
            .container {
                padding-left: 16px;
                padding-right: 16px;
            }

            /* Navigation */
            .navigation {
                height: 60px;
            }
            .logo {
                width: 130px;
            }
            .nav-actions {
                gap: 10px;
            }
            .nav-actions .button {
                height: 34px;
                padding: 0 12px;
                font-size: 13px;
            }

            /* Hero */
            .hero {
                padding: 28px 16px 36px;
            }
            .hero h1 {
                font-size: 28px !important;
                line-height: 36px !important;
                letter-spacing: -0.5px !important;
                margin-top: 12px;
            }
            .hero-description {
                font-size: 14px;
                line-height: 22px;
                margin-top: 12px;
            }
            .hero-tag {
                font-size: 10px;
                height: 20px;
                padding: 2px 6px;
            }
            .hero-buttons {
                flex-wrap: wrap;
                gap: 10px;
                margin-top: 20px;
            }
            .hero-buttons .button {
                width: 100%;
                justify-content: center;
                height: 46px;
                font-size: 14px;
            }
            .hero-stats {
                grid-template-columns: 1fr 1fr;
                gap: 10px;
                margin-top: 28px;
            }
            .stat {
                height: 80px;
                padding: 12px;
            }
            .stat-value {
                font-size: 16px;
                line-height: 22px;
            }
            .stat-label {
                font-size: 11px;
            }
            .hero-photo {
                height: 260px;
            }
            .progress-widget,
            .live-widget {
                display: none;
            }

            /* Section typography */
            .section-title {
                font-size: 22px !important;
                line-height: 30px !important;
                letter-spacing: -0.4px !important;
            }
            .description {
                font-size: 14px;
                line-height: 22px;
            }
            .eyebrow {
                font-size: 10px;
                letter-spacing: 1px;
            }

            /* Buttons global */
            .button {
                height: 40px;
                padding: 0 16px;
                font-size: 13px;
            }

            /* Glass/outline button visible on dark bg */
            .button-glass {
                border: 1.5px solid rgba(255, 255, 255, 0.35);
                background: transparent;
                color: white;
            }

            /* Trusted bar */
            .trusted {
                height: auto;
                padding: 18px 16px;
            }
            .trusted-inner {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
                height: auto;
            }
            .trusted-label {
                font-size: 10px;
            }
            .brand-list {
                gap: 16px;
                font-size: 13px;
                flex-wrap: wrap;
            }

            /* Categories */
            .categories {
                padding-top: 40px;
                padding-bottom: 40px;
            }
            .category-heading {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
                margin-bottom: 24px;
            }
            .four-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }
            .category-card {
                height: auto;
                min-height: 180px;
                padding: 18px;
            }
            .category-card h3 {
                font-size: 15px;
                margin-top: 10px;
            }
            .category-card p {
                font-size: 12px;
            }
            .icon-box {
                width: 44px;
                height: 44px;
                font-size: 20px;
                border-radius: 10px;
            }

            /* Featured courses */
            .featured {
                padding-top: 40px;
                padding-bottom: 40px;
            }
            .featured-heading {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
                margin-bottom: 24px;
            }
            .course-grid {
                grid-template-columns: 1fr;
                gap: 16px;
                margin-top: 24px;
            }
            .course-card {
                height: auto;
            }
            .course-image {
                height: 180px;
            }
            .course-content {
                height: auto;
                padding: 16px;
            }
            .course-content h3 {
                font-size: 15px;
                white-space: normal;
            }
            .course-footer {
                height: auto;
                padding: 10px 16px;
            }
            .price {
                font-size: 17px;
            }

            /* Learning journey */
            .journey {
                padding-top: 40px;
                padding-bottom: 40px;
            }
            .journey-heading {
                margin-bottom: 24px;
            }
            .journey-grid {
                grid-template-columns: 1fr;
                gap: 12px;
                margin-top: 24px;
            }
            .step-card {
                height: auto;
                padding: 18px;
            }
            .step-card .icon-box {
                width: 40px;
                height: 40px;
                font-size: 20px;
            }
            .step-card h3 {
                font-size: 17px;
                line-height: 24px;
            }
            .step-card p {
                font-size: 13px;
            }
            .step-label {
                margin-top: 16px;
            }

            /* Live learning */
            .live-learning {
                padding-top: 40px;
                padding-bottom: 40px;
            }
            .live-grid {
                gap: 24px;
            }
            .live-photo {
                height: 240px;
            }
            .live-photo-label {
                position: relative;
                right: 0;
                bottom: 0;
                left: 0;
                border-radius: 0 0 16px 16px;
            }
            .live-photo-label strong {
                font-size: 14px;
            }
            .live-copy .section-title {
                margin-top: 16px;
            }
            .live-benefits li {
                font-size: 14px;
            }

            /* CTA Banner */
            .cta-section {
                padding: 32px 16px;
                height: auto;
            }
            .cta-banner {
                flex-direction: column;
                height: auto;
                padding: 28px 20px;
                text-align: center;
                gap: 20px;
                border-radius: 12px;
            }
            .cta-copy .eyebrow {
                font-size: 10px;
            }
            .cta-copy h2 {
                font-size: 24px !important;
                line-height: 32px !important;
                letter-spacing: -0.4px !important;
            }
            .cta-copy p {
                font-size: 13px !important;
                line-height: 20px !important;
            }
            .cta-actions {
                margin-left: 0;
                flex-direction: column;
                width: 100%;
                gap: 10px;
            }
            .cta-actions .button {
                width: 100%;
                height: 46px;
                font-size: 14px;
                justify-content: center;
            }
            /* Outline secondary button — readable on dark navy background */
            .cta-actions .button-glass {
                border: 1.5px solid rgba(255, 255, 255, 0.4);
                background: transparent;
                color: rgba(255, 255, 255, 0.9);
            }

            /* Newsletter / Footer */
            .footer-spacer { height: 24px; }
            .footer {
                padding: 32px 20px 20px;
                text-align: left;
            }
            .newsletter {
                flex-direction: column;
                height: auto;
                padding: 20px 16px;
                gap: 16px;
                text-align: center;
            }
            .newsletter h2 {
                font-size: 20px;
                line-height: 28px;
                letter-spacing: -0.3px;
            }
            .newsletter p {
                font-size: 13px;
                line-height: 20px;
            }
            .newsletter-fields {
                flex-direction: column;
                width: 100%;
                gap: 10px;
            }
            .newsletter-fields input {
                width: 100%;
                height: 44px;
                font-size: 14px;
            }
            .newsletter-fields button {
                width: 100%;
                height: 44px;
                font-size: 14px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
                margin-top: 32px;
            }
            .footer-about p {
                font-size: 13px;
                line-height: 20px;
            }
            .footer-column h3 {
                font-size: 14px;
                margin-bottom: 10px;
            }
            .footer-column li {
                font-size: 12px;
                margin-bottom: 6px;
            }
            .footer-bottom {
                position: static;
                flex-direction: column;
                gap: 10px;
                text-align: center;
                margin-top: 24px;
                padding-bottom: 12px;
                font-size: 11px;
            }
            .footer-legal {
                gap: 16px;
                flex-wrap: wrap;
                justify-content: center;
            }

            /* Cookie notice — sits above bottom nav bar */
            .cookie-notice {
                position: fixed;
                bottom: 68px;
                left: 12px;
                right: 12px;
                max-width: 100%;
                flex-direction: column;
                text-align: center;
                gap: 10px;
                padding: 12px 14px;
            }
            .cookie-notice p {
                font-size: 12px;
                line-height: 18px;
            }
            .cookie-notice button {
                width: 100%;
                padding: 10px;
                font-size: 13px;
            }

            /* Fix courses page overflow & grid */
            .ti-courses-layout {
                display: block !important;
            }
            .ti-courses-layout > .col-lg-8 {
                padding-left: 12px !important;
                padding-right: 12px !important;
                width: 100% !important;
            }
            .ti-courses-layout .row {
                margin-left: -12px !important;
                margin-right: -12px !important;
            }
            .ti-results-toolbar {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
            }
            .ti-toolbar-actions {
                width: 100%;
                justify-content: space-between;
            }
            .ti-course-list-card {
                flex-direction: column !important;
                width: 100% !important;
            }
            .ti-course-list-card .mhq-courses-image {
                width: 100% !important;
                max-width: 100% !important;
            }
        }

        /* ── Small mobile (≤ 480px) ── */
        @media (max-width: 480px) {

            .container {
                padding-left: 14px;
                padding-right: 14px;
            }

            .logo {
                width: 110px;
            }

            /* Fine-tune nav */
            .navigation {
                height: 56px;
            }
            .nav-actions .button {
                height: 30px;
                padding: 0 10px;
                font-size: 11px;
            }

            /* Hero tightened */
            .hero {
                padding: 20px 0 28px;
            }
            .hero h1 {
                font-size: 24px !important;
                line-height: 32px !important;
                letter-spacing: -0.3px !important;
            }
            .hero-description {
                font-size: 13px;
                line-height: 20px;
            }
            .hero-buttons .button {
                height: 44px;
                font-size: 13px;
            }
            .hero-photo {
                height: 200px;
            }
            .hero-stats {
                grid-template-columns: 1fr 1fr;
                gap: 8px;
            }
            .stat {
                height: 72px;
                padding: 10px;
            }
            .stat-value {
                font-size: 14px;
            }

            /* Section headings */
            .section-title {
                font-size: 20px !important;
                line-height: 28px !important;
            }
            .description {
                font-size: 13px;
                line-height: 20px;
            }

            /* Cards */
            .category-card {
                min-height: 160px;
                padding: 14px;
            }
            .step-card {
                padding: 14px;
            }
            .step-card h3 {
                font-size: 15px;
                line-height: 22px;
            }
            .mhq-courses-box-items {
                padding: 14px;
            }
            .mhq-courses-content h3 {
                font-size: 16px !important;
                line-height: 24px !important;
            }
            .mhq-courses-content .client-info-area h2 {
                font-size: 18px !important;
            }
            .mhq-courses-content .theme-btn {
                height: 44px;
                font-size: 14px;
            }

            /* Live */
            .live-photo {
                height: 190px;
            }

            /* CTA */
            .cta-copy h2 {
                font-size: 20px !important;
                line-height: 28px !important;
            }
            .cta-copy p {
                font-size: 12px !important;
            }

            /* Newsletter */
            .newsletter h2 {
                font-size: 18px;
                line-height: 26px;
            }
            .newsletter p {
                font-size: 12px;
            }

            /* Cookie notice above bottom nav */
            .cookie-notice {
                bottom: 64px;
            }
        }



/* ========================================================= */
/* GLOBAL MOBILE RESPONSIVENESS FIX FOR HOMEPAGE             */
/* ========================================================= */
@media (max-width: 991px) {
    /* 1. Global Anti-Overflow */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    /* 2. Universal Container & Section Padding */
    .container, section, header, footer {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
        max-width: 100vw !important;
    }
    
    /* Ensure elements inside sections don't pull out of the padding */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 3. Contain Grids and Cards */
    .course-card, .category-card, .step-card, .article-card, .feed-card {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
    
    /* 4. Ensure grids collapse properly without overflowing */
    .hero-grid, .course-grid, .category-grid, .four-grid, .live-grid, .footer-grid, .journey-grid {
        max-width: 100% !important;
        grid-template-columns: 1fr !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
