/* =========================================================
   FRONT BENCHERS — CLEAN RESPONSIVE MAIN STYLES
   Rebuilt from the current index.html structure.
   ========================================================= */

:root {
    --orange: #ff7900;
    --orange-light: #ff922d;
    --black: #050505;
    --black-2: #0b0b0b;
    --white: #ffffff;
    --text: #111111;
    --muted: #666666;
    --border: #e5e5e5;
    --soft: #fafafa;
    --container: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    width: 100%;
   overflow-x: clip;
    font-family: Inter, Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

/* =========================================================
   GLOBAL
   ========================================================= */

.container {
    width: min(var(--container), calc(100% - 64px));
    margin-inline: auto;
}

.orange-button,
.outline-button,
.login-button,
.small-outline-button,
.card-body a,
.course-card,
.ecosystem-card {
    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        color .25s ease;
}

/* =========================================================
   NAVBAR
   ========================================================= */

.site-header {
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--black);
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.navbar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 205px;
}

.brand-mark {
    color: var(--orange);
    font-size: 27px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -4px;
}

.brand-name {
    display: flex;
    flex-direction: column;
}

.brand-name strong {
    font-size: 15px;
    line-height: 1;
    letter-spacing: .3px;
}

.brand-name span {
    margin-top: 4px;
    color: #aaa;
    font-size: 7px;
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    position: relative;
    color: #ddd;
    font-size: 12px;
    transition: color .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--orange);
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -13px;
    height: 2px;
    background: var(--orange);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.account-nav-wrap { position: relative; }
.site-header .nav-actions .account-nav-button { min-width: 102px; cursor: pointer; font-family: inherit; }
.account-nav-menu {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    z-index: 1200;
    display: grid;
    min-width: 190px;
    gap: 2px;
    padding: 7px;
    border: 1px solid #e5e0d8;
    border-radius: 10px;
    background: #fff;
    color: #25272b;
    box-shadow: 0 14px 34px rgba(20, 23, 29, .2);
}
.account-nav-menu[hidden] { display: none; }
.account-nav-menu a,
.account-nav-menu button {
    display: flex;
    width: 100%;
    min-height: 39px;
    align-items: center;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #34363b;
    font: inherit;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}
.account-nav-unavailable { display: block; padding: 9px 10px; color: #6d737d; font-size: 11px; line-height: 1.4; }
.account-nav-menu a:hover,
.account-nav-menu button:hover { background: #f7f3ee; color: #86420f; }
.account-nav-menu a:focus-visible,
.account-nav-menu button:focus-visible,
.account-nav-button:focus-visible { outline: 3px solid #ff922d; outline-offset: 2px; }
.site-header[data-auth-state="pending"] .nav-actions,
.site-header[data-auth-state="pending"] .main-nav,
.site-header[data-auth-state="pending"] .nav-toggle,
html.auth-navigation-pending .site-header .nav-actions,
html.auth-navigation-pending .site-header .main-nav,
html.auth-navigation-pending .site-header .nav-toggle { visibility: hidden; }

.search-button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: white;
    font-size: 20px;
}

.login-button {
    padding: 9px 18px;
    border: 1px solid #666;
    border-radius: 9px;
    color: white;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
}

.login-button:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.orange-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 0;
    border-radius: 9px;
    background: var(--orange);
    color: #080808;
    font-size: 12px;
    font-weight: 800;
}

.orange-button:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255,121,0,.22);
}

.outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 9px;
    color: white;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
}

.outline-button:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
}

.orange-button.large,
.outline-button.large {
    min-height: 44px;
    padding: 12px 20px;
}

.hero-buttons span {
    margin-left: 8px;
}

/* =========================================================
   HERO
   ========================================================= */

.hero-section {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: var(--black);
    color: white;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    background: var(--black);
}

.hero-image-placeholder {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(5,5,5,1) 0%,
            rgba(5,5,5,.94) 22%,
            rgba(5,5,5,.70) 42%,
            rgba(5,5,5,.20) 68%,
            rgba(5,5,5,.05) 100%
        );
}

.hero-image-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.12),
            transparent 35%,
            rgba(0,0,0,.25)
        );
}

.hero-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 5;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 10;
    width: 52%;
    max-width: 600px;
    padding: 50px 0;
}

.eyebrow,
.section-label {
    color: var(--orange);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.5px;
}

.hero-copy h1 {
    margin-top: 13px;
    font-size: clamp(43px, 5.2vw, 66px);
    line-height: .95;
    letter-spacing: -3px;
    font-weight: 850;
}

.hero-copy h1 span {
    color: var(--orange);
}

.hero-copy > p {
    max-width: 475px;
    margin-top: 19px;
    color: #d0d0d0;
    font-size: 13px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 23px;
}

.community {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.community-avatars {
    display: flex;
}

.community-avatars span {
    width: 29px;
    height: 29px;
    margin-left: -6px;
    display: grid;
    place-items: center;
    border: 2px solid #111;
    border-radius: 50%;
    background: #ddd;
    color: #333;
    font-size: 8px;
}

.community-avatars span:first-child {
    margin-left: 0;
}

.community p {
    color: #ccc;
    font-size: 10px;
    line-height: 1.35;
}

/* =========================================================
   HERO FLOATING CARDS
   ========================================================= */

.hero-floating-cards {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    min-width: 118px;
    padding: 11px 15px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 12px;
    background: rgba(18,18,18,.88);
    box-shadow:
        0 15px 40px rgba(0,0,0,.40),
        0 0 0 1px rgba(255,121,0,.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: auto;
    animation: fbCardFloat 4.5s ease-in-out infinite;
    will-change: transform, box-shadow;
}

.floating-card strong {
    display: block;
    color: white;
    font-size: 15px;
    line-height: 1.15;
}

.floating-card span {
    display: block;
    margin-top: 3px;
    color: #bbb;
    font-size: 9px;
    line-height: 1.2;
}

.floating-card:hover {
    animation-play-state: paused;
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(255,121,0,.8);
    box-shadow:
        0 18px 42px rgba(0,0,0,.42),
        0 0 25px rgba(255,121,0,.18);
}

.live-card {
    left: 68%;
    top: 34%;
    animation-delay: .8s;
}

.online-card {
    left: 56%;
    top: 58%;
    animation-delay: 1.6s;
}

.programs-card {
    right: 5%;
    top: 21%;
    animation-delay: 2.4s;
}

@keyframes fbCardFloat {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -7px;
    }
}

/* =========================================================
   STATS
   ========================================================= */

.stats-section {
    background: white;
    border-bottom: 1px solid #e8e8e8;
}

.stats-grid {
    min-height: 92px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px;
    border-right: 1px solid #ddd;
}

.stat-item:last-child {
    border-right: 0;
}

.stat-icon {
    color: var(--orange);
    font-size: 25px;
}

.stat-item strong {
    display: block;
    font-size: 23px;
    line-height: 1;
}

.stat-item span {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 11px;
}

/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.ecosystem-section,
.courses-section,
.advantages-section,
.testimonials-section {
    padding: 64px 0;
}

.ecosystem-section,
.testimonials-section {
    background: var(--soft);
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 35px;
    margin-bottom: 28px;
}

.section-heading-row h2,
.testimonials-section h2 {
    margin-top: 6px;
    font-size: 32px;
    line-height: 1;
    letter-spacing: -1.4px;
}

.section-heading-row > p,
.section-side {
    max-width: 370px;
    color: #555;
    font-size: 11px;
    line-height: 1.55;
}

/* =========================================================
   ECOSYSTEM
   ========================================================= */

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
}

.ecosystem-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
}

.ecosystem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0,0,0,.09);
    border-color: #ddd;
}

.card-image {
    height: 135px;
    overflow: hidden;
    background: linear-gradient(135deg, #252525, #101010);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.6);
    font-size: 11px;
}

.card-body {
    min-height: 175px;
    padding: 16px;
}

.technology-card .card-body {
    background: #edf5ff;
}

.learning-card .card-body {
    background: #edf9f1;
}

.card-icon {
    color: var(--orange);
    font-size: 21px;
}

.card-body h3 {
    margin-top: 7px;
    font-size: 15px;
}

.card-body p {
    min-height: 50px;
    margin-top: 8px;
    color: #444;
    font-size: 11px;
    line-height: 1.55;
}

.card-body a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    border: 1px solid var(--orange);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
}

.card-body a:hover {
    background: var(--orange);
    color: #111;
}

/* =========================================================
   COURSES
   ========================================================= */

.courses-section {
    background: white;
}

.section-side {
    display: flex;
    align-items: flex-end;
    gap: 17px;
}

.small-outline-button {
    white-space: nowrap;
    padding: 9px 13px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: white;
    font-size: 10px;
    font-weight: 700;
}

.small-outline-button:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
    width: 100%;
    align-items: stretch;
}

.course-grid > .course-card {
    min-width: 0;
    width: 100%;
}

.course-card {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 10px;
    color: white;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,.15);
}

.course-icon {
    font-size: 26px;
    font-weight: 900;
}

.course-card h3 {
    font-size: 14px;
}

.course-card span {
    font-size: 10px;
    opacity: .85;
}

.course-card b {
    width: 22px;
    height: 22px;
    margin-left: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: white;
    color: #111;
    font-size: 12px;
}

.data-course {
    background: linear-gradient(110deg,#13866d,#087363);
}

.python-course {
    background: linear-gradient(110deg,#17385f,#0a1e39);
}

.fullstack-course {
    background: linear-gradient(110deg,#6736bf,#3e2088);
}

.powerbi-course {
    background: linear-gradient(110deg,#e4aa00,#c78300);
}
.explore-course {
    background: linear-gradient(110deg, #ff922d, #ff7900);
    color: #111;
}
/* =========================================================
   ADVANTAGES
   ========================================================= */

.advantages-section {
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.advantage-item {
    padding-top: 14px;
    border-top: 1px solid #eee;
}

.advantage-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border: 1px solid #ffb77b;
    border-radius: 50%;
    color: var(--orange);
    font-size: 16px;
}

.advantage-item h3 {
    margin-top: 10px;
    font-size: 12px;
}

.advantage-item p {
    margin-top: 5px;
    color: #666;
    font-size: 9px;
    line-height: 1.5;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 25px;
}

.testimonial-card {
    display: flex;
    gap: 12px;
    padding: 17px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: white;
    transition: transform .25s ease, box-shadow .25s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,.07);
}

.person-avatar {
    flex: 0 0 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eee;
    color: #333;
    font-weight: 800;
}

.testimonial-card p {
    color: #444;
    font-size: 10px;
    line-height: 1.55;
}

.testimonial-card strong,
.testimonial-card span {
    display: block;
}

.testimonial-card strong {
    margin-top: 9px;
    font-size: 10px;
}

.testimonial-card span {
    color: #777;
    font-size: 8px;
}

/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta-section {
    padding: 0 0 55px;
    background: white;
}

.final-cta {
    min-height: 120px;
    padding: 28px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-radius: 16px;
    background:
        radial-gradient(
            circle at 10% 50%,
            rgba(255,121,0,.22),
            transparent 30%
        ),
        #090909;
    color: white;
}

.final-cta h2 {
    font-size: 22px;
}

.final-cta p {
    margin-top: 4px;
    color: #aaa;
    font-size: 10px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 30px 0;
    background: #070707;
    color: white;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-content strong {
    font-size: 14px;
}

.footer-content p {
    color: #777;
    font-size: 9px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #aaa;
    font-size: 10px;
    transition: color .2s ease;
}

.footer-links a:hover {
    color: var(--orange);
}

.copyright {
    white-space: nowrap;
}

/* =========================================================
   LARGE LAPTOP
   ========================================================= */

@media (max-width: 1200px) {

    .container {
        width: min(1100px, calc(100% - 56px));
    }

    .main-nav {
        gap: 18px;
    }

    .hero-copy {
        width: 53%;
    }

    .hero-floating-cards {
        transform: scale(.94);
        transform-origin: right center;
    }

    .live-card {
        left: 66%;
    }

    .online-card {
        left: 54%;
    }

    .programs-card {
        right: 4%;
    }
}

/* =========================================================
   TABLET / IPAD
   ========================================================= */

@media (max-width: 1000px) and (min-width: 651px) {

    .container {
        width: calc(100% - 44px);
    }

    .main-nav {
        display: none;
    }

    .hero-section {
        min-height: 540px;
    }

    .hero-content {
        min-height: 540px;
    }

    .hero-copy {
        width: 50%;
        max-width: 500px;
        padding: 55px 0;
    }

    .hero-copy h1 {
        font-size: clamp(40px, 5.2vw, 56px);
        letter-spacing: -2px;
    }

    .hero-copy > p {
        max-width: 400px;
        font-size: 12px;
    }

    .hero-background {
        left: 47%;
    }

    .hero-image-placeholder::before {
        background:
            linear-gradient(
                90deg,
                rgba(5,5,5,1) 0%,
                rgba(5,5,5,.96) 12%,
                rgba(5,5,5,.72) 42%,
                rgba(5,5,5,.12) 100%
            );
    }

    .hero-floating-cards {
        left: 47%;
        width: 53%;
        transform: none;
    }

    .floating-card {
        min-width: 102px;
        padding: 9px 12px;
        transform: scale(.82);
        transform-origin: center;
    }

    .floating-card:hover {
        transform: translateY(-4px) scale(.87);
    }

    .floating-card strong {
        font-size: 13px;
    }

    .floating-card span {
        font-size: 8px;
    }

    .live-card {
        left: 48%;
        top: 31%;
    }

    .online-card {
        left: 12%;
        top: 54%;
    }

    .programs-card {
        right: 4%;
        top: 19%;
    }

    .stats-grid {
        min-height: 82px;
    }

    .stat-item {
        padding-inline: 10px;
    }

    .stat-item strong {
        font-size: 19px;
    }

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

    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 28px;
    }

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

/* =========================================================
   SMALL TABLET / IPAD MINI
   ========================================================= */

@media (max-width: 820px) and (min-width: 651px) {

    .hero-section,
    .hero-content {
        min-height: 500px;
    }

    .hero-copy {
        padding-top: 45px;
    }

    .hero-copy h1 {
        font-size: 40px;
    }

    .hero-buttons {
        gap: 8px;
    }

    .hero-buttons a {
        padding-inline: 14px;
    }

    .floating-card {
        transform: scale(.72);
    }

    .floating-card:hover {
        transform: translateY(-4px) scale(.77);
    }
}

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

@media (max-width: 650px) {

    .container {
        width: calc(100% - 32px);
    }

    /* ---------- HEADER ---------- */

    .site-header {
        height: 60px;
    }

    .navbar {
        gap: 10px;
    }

    .brand {
        min-width: 0;
        flex: 1;
    }

    .brand-name strong {
        font-size: 12px;
        white-space: nowrap;
    }

    .brand-name span {
        display: none;
    }

    .main-nav,
.search-button {
    display: none;
}

    .nav-actions {
        flex-shrink: 0;
    }

    .orange-button {
        padding: 9px 13px;
        font-size: 10px;
    }

    /* ---------- HERO ---------- */

    .hero-section {
        min-height: 650px;
        height: 650px;
    }

    .hero-background {
        inset: 0;
        z-index: 1;
    }

    .hero-image-placeholder {
        inset: 0;
    }

    .hero-image-placeholder::before {
        background:
            linear-gradient(
                180deg,
                rgba(5,5,5,.90) 0%,
                rgba(5,5,5,.74) 28%,
                rgba(5,5,5,.34) 58%,
                rgba(5,5,5,.68) 100%
            );
    }

    .hero-image-placeholder img {
        object-position: 63% center;
    }

    .hero-content {
        width: 100%;
        min-height: 650px;
        height: 650px;
        display: block;
        padding: 0 16px;
    }

    .hero-copy {
        width: 100%;
        max-width: 100%;
        padding: 74px 0 0;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 2.5px;
    }

    .hero-copy h1 {
        max-width: 340px;
        margin-top: 12px;
        font-size: 36px;
        line-height: 1.01;
        letter-spacing: -1.7px;
        text-shadow: 0 3px 20px rgba(0,0,0,.65);
    }

    .hero-copy > p {
        max-width: 330px;
        margin-top: 16px;
        font-size: 12px;
        line-height: 1.55;
        color: #e0e0e0;
        text-shadow: 0 2px 14px rgba(0,0,0,.8);
    }

    .hero-buttons {
        width: 100%;
        max-width: 340px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
        margin-top: 20px;
    }

    .orange-button.large,
    .outline-button.large {
        width: 100%;
        min-height: 43px;
        padding: 11px 7px;
        font-size: 10px;
        white-space: nowrap;
    }

    .hero-buttons span {
        margin-left: 4px;
    }

    .community {
        margin-top: 18px;
        gap: 9px;
    }

    .community-avatars span {
        width: 25px;
        height: 25px;
        font-size: 7px;
    }

    .community p {
        font-size: 9px;
    }

    /* Cards intentionally hidden on phones */
    .hero-floating-cards {
        display: none !important;
    }

    /* ---------- STATS ---------- */

    .stats-grid {
        min-height: 0;
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        min-width: 0;
        min-height: 92px;
        padding: 20px 10px;
        text-align: center;
        flex-direction: column;
        gap: 7px;
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid #ddd;
    }

    .stat-item:nth-child(-n+2) {
        border-bottom: 1px solid #ddd;
    }

    .stat-item:nth-child(even) {
        border-right: 0;
    }

    .stat-icon {
        font-size: 21px;
    }

    .stat-item strong {
        font-size: 20px;
    }

    .stat-item span {
        margin-top: 4px;
        font-size: 9px;
        line-height: 1.35;
    }

    /* ---------- SECTIONS ---------- */

    .ecosystem-section,
    .courses-section,
    .advantages-section,
    .testimonials-section {
        padding: 48px 0;
    }

    .section-heading-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 22px;
    }

    .section-heading-row h2,
    .testimonials-section h2 {
        font-size: 28px;
        line-height: 1.05;
    }

    .section-heading-row > p,
    .section-side {
        max-width: 100%;
        font-size: 11px;
    }

    .section-side {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    /* ---------- ECOSYSTEM ---------- */

    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .card-image {
        height: 170px;
    }

    .card-body {
        min-height: 160px;
    }

    /* ---------- COURSES ---------- */

    .course-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .course-card {
        min-height: 80px;
    }

    /* ---------- ADVANTAGES ---------- */

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .advantage-item {
        padding: 20px 0;
    }

    .advantage-item h3 {
        font-size: 13px;
    }

    .advantage-item p {
        font-size: 10px;
    }

    /* ---------- TESTIMONIALS ---------- */

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 11px;
        margin-top: 20px;
    }

    .testimonial-card {
        padding: 15px;
    }

    /* ---------- CTA ---------- */

    .final-cta-section {
        padding-bottom: 40px;
    }

    .final-cta {
        min-height: 0;
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 22px;
        gap: 20px;
        border-radius: 14px;
    }

    .final-cta h2 {
        font-size: 22px;
    }

    .final-cta p {
        font-size: 10px;
    }

    .cta-buttons {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        white-space: normal;
    }

    .cta-buttons a {
        width: 100%;
        text-align: center;
    }

    /* ---------- FOOTER ---------- */

    .site-footer {
        padding: 28px 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .copyright {
        white-space: normal;
    }
}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

    .container {
        width: calc(100% - 24px);
    }

    .hero-section,
    .hero-content {
        min-height: 610px;
        height: 610px;
    }

    .hero-content {
        padding-inline: 12px;
    }

    .hero-copy {
        padding-top: 65px;
    }

    .hero-copy h1 {
        max-width: 315px;
        font-size: 32px;
        letter-spacing: -1.4px;
    }

    .hero-copy > p {
        max-width: 300px;
        font-size: 11px;
    }

    .hero-buttons {
        gap: 7px;
        max-width: 315px;
    }

    .orange-button.large,
    .outline-button.large {
        min-height: 41px;
        padding-inline: 5px;
        font-size: 9px;
    }

    .community {
        margin-top: 15px;
    }

    .stat-item {
        min-height: 86px;
        padding-inline: 7px;
    }

    .stat-item strong {
        font-size: 18px;
    }

    .stat-item span {
        font-size: 8px;
    }

    .cta-buttons {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   MOBILE — FINAL HERO / CARDS / STATS RESPONSIVE SYSTEM
   ========================================================= */

@media (max-width: 650px) {

    /* ---------- HERO ---------- */

    .hero-section {
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
        background: #050505 !important;
    }

    .hero-content {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        display: block !important;
        padding: 0 16px 24px !important;
    }

    .hero-copy {
        width: 100% !important;
        max-width: 100% !important;
        padding-top: 70px !important;
    }

    /* Keep image behind the complete hero area */
    .hero-background {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1 !important;
    }

    .hero-image-placeholder {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    .hero-image-placeholder img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: 63% center !important;
    }

    /* Dark overlay keeps text readable and lets the image flow naturally */
    .hero-image-placeholder::before {
        background:
            linear-gradient(
                180deg,
                rgba(5,5,5,.90) 0%,
                rgba(5,5,5,.76) 28%,
                rgba(5,5,5,.34) 58%,
                rgba(5,5,5,.78) 100%
            ) !important;
    }

    /* ---------- HERO BUTTONS ---------- */

    .hero-buttons {
        width: 100% !important;
        max-width: 340px !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 9px !important;
        margin-top: 20px !important;
    }

    .orange-button.large,
    .outline-button.large {
        width: 100% !important;
        min-height: 43px !important;
        padding: 11px 7px !important;
        font-size: 10px !important;
        white-space: nowrap !important;
    }

    /* ---------- COMMUNITY ---------- */

    .community {
        margin-top: 18px !important;
        gap: 9px !important;
    }

    .community-avatars span {
        width: 25px !important;
        height: 25px !important;
        font-size: 7px !important;
    }

    .community p {
        font-size: 9px !important;
    }

    /* =====================================================
       FOUR HERO CARDS — ALWAYS VISIBLE ON MOBILE
       One compact row below the community area.
       ===================================================== */

    .hero-floating-cards {
        position: relative !important;
        inset: auto !important;
        z-index: 30 !important;

        width: 100% !important;
        height: auto !important;
        margin: 20px auto 0 !important;

        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 6px !important;

        transform: none !important;
        pointer-events: none !important;
    }

    .hero-floating-cards > *,
    .hero-floating-cards .live-card,
    .hero-floating-cards .online-card,
    .hero-floating-cards .programs-card {
        position: relative !important;
        inset: auto !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 8px 3px !important;
        box-sizing: border-box !important;

        text-align: center !important;
        transform: none !important;
        pointer-events: auto !important;
    }

    .hero-floating-cards > * strong {
        display: block !important;
        font-size: 10px !important;
        line-height: 1.1 !important;
    }

    .hero-floating-cards > * span {
        display: block !important;
        margin-top: 3px !important;
        font-size: 7px !important;
        line-height: 1.1 !important;
    }

    .hero-floating-cards > *:hover {
        transform: translateY(-3px) scale(1.02) !important;
    }

    /* ---------- STATS: HERO-LIKE CONTINUATION ---------- */

    .stats-section {
        position: relative !important;
        margin-top: -1px !important;
        background:
            linear-gradient(
                to bottom,
                #090909 0%,
                #101010 100%
            ) !important;
        border: 0 !important;
        color: #fff !important;
    }

    .stats-grid {
        background: transparent !important;
    }

    .stat-item {
        background: rgba(255,255,255,.025) !important;
        border-color: rgba(255,255,255,.10) !important;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    .stat-item strong {
        color: #fff !important;
    }

    .stat-item span {
        color: rgba(255,255,255,.58) !important;
    }

    .stat-icon {
        color: #ff7900 !important;
    }
}

/* =========================================================
   SMALL PHONES — KEEP THE SAME STRUCTURE, JUST TIGHTER
   ========================================================= */

@media (max-width: 400px) {

    .hero-content {
        padding-inline: 12px !important;
        padding-bottom: 22px !important;
    }

    .hero-copy {
        padding-top: 65px !important;
    }

    .hero-copy h1 {
        max-width: 315px !important;
        font-size: 32px !important;
        letter-spacing: -1.4px !important;
    }

    .hero-copy > p {
        max-width: 300px !important;
        font-size: 11px !important;
    }

    .hero-buttons {
        max-width: 315px !important;
        gap: 7px !important;
    }

    .orange-button.large,
    .outline-button.large {
        min-height: 41px !important;
        padding-inline: 5px !important;
        font-size: 9px !important;
    }

    .hero-floating-cards {
        gap: 5px !important;
        margin-top: 18px !important;
    }

    .hero-floating-cards > * {
        padding: 7px 2px !important;
        border-radius: 9px !important;
    }

    .hero-floating-cards > * strong {
        font-size: 9px !important;
    }

    .hero-floating-cards > * span {
        font-size: 6.5px !important;
    }
}
/* =========================================================
   MOBILE — SOFT WAVE TRANSITION FROM STATS TO WHITE
   ========================================================= */

@media (max-width: 650px) {

    .stats-section {
        position: relative !important;
        z-index: 2 !important;

        background: #080808 !important;
        border: 0 !important;

        color: #fff !important;
    }

    .stats-grid {
        position: relative !important;
        z-index: 3 !important;
        background: transparent !important;
    }

    .stat-item {
        background: transparent !important;
        border-color: rgba(255,255,255,0.08) !important;
    }

    .stat-item strong {
        color: #fff !important;
    }

    .stat-item span {
        color: rgba(255,255,255,0.55) !important;
    }

    /* Soft curved transition into white */
    /* Soft natural transition from dark stats into white */
.stats-section::after {
    content: "";
    position: absolute;

    left: -5%;
    bottom: -120px;

    width: 110%;
    height: 170px;

    z-index: -1;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        #080808 0%,
        rgba(8, 8, 8, 0.90) 22%,
        rgba(8, 8, 8, 0.62) 40%,
        rgba(8, 8, 8, 0.30) 58%,
        rgba(8, 8, 8, 0.10) 75%,
        rgba(8, 8, 8, 0) 100%
    );

    border-radius: 0 0 50% 50% / 0 0 28% 28%;
}

    /* White section starts softly underneath the wave */
    .ecosystem-section {
        position: relative !important;
        z-index: 1 !important;
        background: #fff !important;
    }
}/* =========================================================
   SURFACE PRO / LARGE TABLET NAVBAR
   Keep full navigation visible
   ========================================================= */

@media (min-width: 901px) and (max-width: 1000px) {

    .navbar {
        gap: 12px !important;
    }

    .brand {
        min-width: 175px !important;
    }

    .brand-name strong {
        font-size: 13px !important;
    }

    .brand-name span {
        font-size: 6px !important;
        letter-spacing: 1.5px !important;
    }

    .main-nav {
        display: flex !important;
        gap: 12px !important;
        flex-shrink: 1 !important;
    }

    .main-nav a {
        font-size: 9px !important;
        white-space: nowrap !important;
    }

    .nav-actions {
        gap: 6px !important;
        flex-shrink: 0 !important;
    }

    .search-button {
        width: 28px !important;
        height: 28px !important;
        font-size: 17px !important;
    }

    .login-button {
        padding: 7px 11px !important;
        font-size: 9px !important;
    }

    .nav-actions .orange-button {
        padding: 8px 12px !important;
        font-size: 9px !important;
        white-space: nowrap !important;
    }
}/* =========================================================
   UNIVERSAL — HERO / STATS / WHITE SECTION BLEND
   ========================================================= */

.stats-section {
    position: relative !important;
    z-index: 3 !important;

    background: #080808 !important;
    color: #ffffff !important;

    border: 0 !important;
    overflow: visible !important;
}

/* Stats themselves stay transparent */
.stats-grid {
    position: relative !important;
    z-index: 4 !important;
    background: transparent !important;
}

.stat-item {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.10) !important;
}

.stat-item strong {
    color: #ffffff !important;
}

.stat-item span {
    color: rgba(255, 255, 255, 0.58) !important;
}

.stat-icon {
    color: #ff7900 !important;
}


/* ---------------------------------------------------------
   SOFT WAVE INTO WHITE
   --------------------------------------------------------- */

.stats-section::after {
    content: "";
    position: absolute;

    left: -8%;
    bottom: -100px;

    width: 116%;
    height: 145px;

    z-index: 2;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        #080808 0%,
        rgba(8, 8, 8, 0.92) 22%,
        rgba(35, 35, 35, 0.72) 42%,
        rgba(100, 100, 100, 0.38) 62%,
        rgba(210, 210, 210, 0.12) 80%,
        rgba(255, 255, 255, 0) 100%
    );

    border-radius: 0 0 50% 50% / 0 0 45% 45%;
}


/* ---------------------------------------------------------
   NEXT WHITE SECTION
   --------------------------------------------------------- */

.ecosystem-section {
    position: relative !important;
    z-index: 1 !important;

    background: #ffffff !important;
}


/* ---------------------------------------------------------
   TABLET — SLIGHTLY DEEPER TRANSITION
   --------------------------------------------------------- */

@media (min-width: 651px) and (max-width: 1100px) {

    .stats-section::after {
        bottom: -90px;
        height: 135px;
        left: -6%;
        width: 112%;
    }
}


/* ---------------------------------------------------------
   DESKTOP — SUBTLE PROFESSIONAL TRANSITION
   --------------------------------------------------------- */

@media (min-width: 1101px) {

    .stats-section::after {
        bottom: -75px;
        height: 115px;
        left: -4%;
        width: 108%;
    }
}@media (min-width: 901px) and (max-width: 1000px) {

    .hero-section .hero-background {
        width: 54% !important;
    }

    .hero-section .hero-image-placeholder img {
        object-position: 45% center !important;
    }

    .hero-section .hero-copy {
        width: 48% !important;
    }
}@media (min-width: 901px) and (max-width: 1000px) {

    .hero-section .hero-background {
        width: 60% !important;
    }

    .hero-section .hero-image-placeholder img {
        object-fit: cover !important;
        object-position: 42% center !important;
    }

    .hero-section .hero-copy {
        width: 42% !important;
        max-width: 430px !important;
        padding-left: 28px !important;
        padding-right: 20px !important;
    }
}/* =========================================================
   POPULAR COURSES — RESPONSIVE
   ========================================================= */

.course-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.course-card {
    min-width: 0 !important;
    width: 100% !important;
}


/* TABLET */

@media (min-width: 651px) and (max-width: 1100px) {

    .course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }

    .course-card {
        min-height: 150px !important;
    }
}


/* MOBILE */

@media (max-width: 650px) {

    .course-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .course-card {
        min-height: 125px !important;
        padding: 18px !important;
    }

    .course-card h3 {
        font-size: 18px !important;
    }

    .course-card span {
        font-size: 11px !important;
    }
}/* =========================================================
   WHY FRONT BENCHERS — RESPONSIVE
   ========================================================= */

.why-section {
    position: relative;
    padding: 90px 0;
    background: #ffffff;
}

.advantages-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin-top: 40px;
}

.advantage-item {
    width: 100%;
    min-width: 0;
    padding: 28px 20px;
    border: 1px solid #e9e9e9;
    border-radius: 18px;
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 121, 0, 0.35);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.advantage-item h3 {
    margin: 14px 0 8px;
    font-size: 18px;
    line-height: 1.25;
}

.advantage-item p {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

.advantage-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 121, 0, 0.10);
    color: #ff7900;
    font-size: 20px;
}

/* TABLET */

@media (min-width: 651px) and (max-width: 1100px) {

    .advantages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }

    .advantage-item {
        min-height: 150px;
    }
}

/* MOBILE */

@media (max-width: 650px) {

    .why-section {
        padding: 65px 0;
    }

    .advantages-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: 28px;
    }

    .advantage-item {
        min-height: auto;
        padding: 20px;
        border-radius: 15px;
    }

    .advantage-item h3 {
        font-size: 17px;
    }

    .advantage-item p {
        font-size: 12px;
    }
}/* =========================================================
   TESTIMONIALS — RESPONSIVE
   ========================================================= */

.testimonials-section {
    position: relative;
    padding: 90px 0;
    background: #f8f8f8;
}

.testimonial-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin-top: 40px;
}

.testimonial-card {
    min-width: 0;
    width: 100%;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 121, 0, 0.30);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
}

/* TABLET */

@media (min-width: 651px) and (max-width: 1100px) {

    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

/* MOBILE */

@media (max-width: 650px) {

    .testimonials-section {
        padding: 65px 0;
    }

    .testimonial-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: 28px;
    }

    .testimonial-card {
        padding: 22px;
        border-radius: 15px;
    }
}/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta-section {
    padding: 80px 0;
    background: #ffffff;
}

.final-cta {
    position: relative;
    overflow: hidden;
    padding: 65px 70px;
    border-radius: 26px;
    background: #0a0a0a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.final-cta::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -120px;
    top: -180px;
    border-radius: 50%;
    background: rgba(255, 121, 0, 0.14);
    pointer-events: none;
}

.final-cta-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.final-cta-content .section-label {
    color: #ff7900;
}

.final-cta h2 {
    margin: 12px 0 14px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    color: #ffffff;
}

.final-cta p {
    margin: 0;
    max-width: 570px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    font-size: 15px;
}

.cta-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cta-buttons a {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.cta-buttons a:hover {
    transform: translateY(-3px);
}

.cta-buttons .orange-button {
    box-shadow: 0 10px 25px rgba(255, 121, 0, 0.18);
}

/* TABLET */

@media (min-width: 651px) and (max-width: 1100px) {

    .final-cta {
        padding: 55px 45px;
        gap: 25px;
    }

    .final-cta h2 {
        font-size: 38px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* MOBILE */

@media (max-width: 650px) {

    .final-cta-section {
        padding: 60px 0;
    }

    .final-cta {
        padding: 42px 24px;
        border-radius: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .final-cta h2 {
        font-size: 32px;
    }

    .final-cta p {
        font-size: 13px;
    }

    .cta-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons a {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}/* =========================================================
   FOOTER — RESPONSIVE
   ========================================================= */

.site-footer {
    background: #080808;
    color: #ffffff;
    padding: 70px 0 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 45px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.site-footer h3,
.site-footer h4 {
    color: #ffffff;
}

.site-footer p {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.60);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
    color: #ff7900;
    transform: translateX(3px);
}

.site-footer .brand {
    margin-bottom: 15px;
}

.site-footer .brand-name strong {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 22px;
}

.footer-bottom p {
    margin: 0;
    font-size: 11px;
    color: rgba(255,255,255,0.40);
}

/* TABLET */

@media (min-width: 651px) and (max-width: 1100px) {

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }
}

/* MOBILE */

@media (max-width: 650px) {

    .site-footer {
        padding: 55px 0 22px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}/* =========================================================
   CTA — COMPACT DESKTOP
   ========================================================= */

.final-cta-section {
    padding: 55px 0 !important;
}

.final-cta {
    padding: 42px 55px !important;
    min-height: 0 !important;
}

.final-cta h2 {
    font-size: clamp(30px, 3.2vw, 44px) !important;
    margin: 8px 0 10px !important;
}

.final-cta p {
    font-size: 14px !important;
    line-height: 1.55 !important;
}

@media (max-width: 650px) {
    .final-cta-section {
        padding: 45px 0 !important;
    }

    .final-cta {
        padding: 32px 22px !important;
    }

    .final-cta h2 {
        font-size: 30px !important;
    }
}/* =========================================================
   DEVELOPER CREDIT
   ========================================================= */

.developer-credit {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.38) !important;
    font-size: 11px !important;
    letter-spacing: 0.2px;
}

.developer-credit strong {
    color: #ff7900;
    font-weight: 600;
}

.developer-credit strong:hover {
    color: #ffffff;
}

@media (max-width: 650px) {
    .developer-credit {
        font-size: 10px !important;
    }
}/* =========================================================
   DEVELOPER CREDIT — FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    justify-content: center !important;
    padding-top: 22px !important;
}

.footer-bottom p {
    text-align: center;
}

.developer-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.30);
    font-size: 10px;
    letter-spacing: 0.3px;
}

.developer-credit strong {
    color: rgba(255,121,0,0.75);
    font-weight: 600;
}

@media (max-width: 650px) {
    .developer-credit {
        font-size: 9px;
        margin-top: 14px;
        padding-top: 14px;
    }
}/* =========================================================
   LOGIN SECTION
   ========================================================= */

.login-section {
    min-height: 75vh;
    padding: 90px 0;
    background: #f7f7f7;
    display: flex;
    align-items: center;
}

.login-container {
    display: flex;
    justify-content: center;
}

.login-card {
    position: relative;
    isolation: isolate;
    overflow: visible;
    width: min(460px, 100%);
    padding: 42px;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 22px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.07);
}

/* Moving orange light around login card */
.login-card::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 25px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 55deg,
        rgba(255, 121, 0, 0.15) 70deg,
        #ff7900 85deg,
        #ffb15c 100deg,
        rgba(255, 121, 0, 0.15) 115deg,
        transparent 135deg,
        transparent 360deg
    );
    animation: loginEdgeSpin 3.5s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* Covers the center so only the moving border remains visible */
.login-card::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 20px;
    background: #ffffff;
    pointer-events: none;
    z-index: 1;
}

.login-card > * {
    position: relative;
    z-index: 2;
}

@keyframes loginEdgeSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.login-heading {
    text-align: center;
    margin-bottom: 30px;
}

.login-heading .section-label {
    color: #ff7900;
}

.login-heading h2 {
    margin: 10px 0;
    font-size: 30px;
    line-height: 1.15;
}

.login-heading p {
    margin: 0;
    color: #707070;
    font-size: 13px;
    line-height: 1.6;
}

.login-form {
    display: flex;
    flex-direction: column;
}

.login-form > label {
    margin-bottom: 7px;
    color: #222;
    font-size: 12px;
    font-weight: 700;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    height: 48px;
    margin-bottom: 18px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid #dddddd;
    border-radius: 10px;
    outline: none;
    background: #ffffff;
    color: #111111;
    font-size: 13px;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    border-color: #ff7900;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.10);
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: -4px 0 22px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #666;
    font-size: 11px;
    cursor: pointer;
}

.remember-me input {
    accent-color: #ff7900;
}

.login-options a {
    color: #ff7900;
    font-size: 11px;
    font-weight: 600;
}

.login-submit {
    width: 100%;
    min-height: 48px;
    border: 0;
    cursor: pointer;
}

.signup-text {
    margin: 24px 0 0;
    text-align: center;
    color: #777;
    font-size: 12px;
}

.signup-text a {
    color: #ff7900;
    font-weight: 700;
}

/* MOBILE */

@media (max-width: 650px) {

    .login-section {
        min-height: auto;
        padding: 60px 0;
    }

    .login-card {
        padding: 30px 22px;
        border-radius: 18px;
    }

    .login-heading h2 {
        font-size: 27px;
    }

    .login-options {
        gap: 8px;
    }
}

/* ===== PREMIUM PAGE & COURSE ANIMATIONS ===== */

@keyframes fbPageEnter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fbCardEnter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Smooth entrance for page content */
body {
    animation: fbPageEnter 0.55s ease-out both;
}

/* Course cards appear one after another */
.course-grid .course-card,
.courses-grid .course-card,
.course-card {
    animation: fbCardEnter 0.65s ease-out both;
}

.course-card:nth-child(1) { animation-delay: 0.08s; }
.course-card:nth-child(2) { animation-delay: 0.16s; }
.course-card:nth-child(3) { animation-delay: 0.24s; }
.course-card:nth-child(4) { animation-delay: 0.32s; }
.course-card:nth-child(5) { animation-delay: 0.40s; }
.course-card:nth-child(6) { animation-delay: 0.48s; }

/* Subtle premium hover */
.course-card {
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

@media (hover: hover) {
    .course-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    body,
    .course-card {
        animation: none !important;
        transition: none !important;
    }
}
/* Smooth page transition */
body {
    opacity: 1;
    transform: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

body.page-leaving {
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    body {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    body {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
.register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border-radius: 8px;
    background: #ff7900;
    color: #fff;
    border: 1px solid #ff7900;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition: background .2s ease;
}

.register-button:hover {
    background: #e86d00;
}/* Keep Login and Register buttons balanced */
.site-header .nav-actions .login-button,
.site-header .nav-actions .register-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 36px;
    padding: 8px 13px;
    font-size: 12px;
    line-height: 1.2;
    border-radius: 8px;
    white-space: nowrap;
}

/* =========================================
   MOBILE — LESS TEXT, MORE VISUAL SPACE
   Desktop remains unchanged
========================================= */

@media (max-width: 650px) {

  /* Hero: compact headline */
  .hero-copy h1 {
    font-size: 29px !important;
    line-height: 1.08 !important;
    letter-spacing: -1px !important;
    margin-top: 10px !important;
  }

  .hero-copy > p {
    font-size: 0 !important;
    margin-top: 12px !important;
    line-height: 1.4 !important;
  }

  .hero-copy > p::after {
    content: "Practical IT skills. Focused learning. One place.";
    display: block;
    font-size: 12px;
    line-height: 1.45;
    color: #e0e0e0;
  }

  /* One primary action on mobile */
  .hero-buttons {
    display: flex !important;
    width: 100% !important;
    max-width: 250px !important;
  }

  .hero-buttons .outline-button {
    display: none !important;
  }

  .hero-buttons .orange-button {
    width: 100% !important;
    min-height: 42px !important;
    font-size: 12px !important;
  }

  /* Remove community text and avatars */
  .community {
    display: none !important;
  }

  /* Ecosystem: short, clean cards */
  .section-heading-row > p,
  .section-side > p {
    display: none !important;
  }

  .card-body p {
    display: none !important;
  }

  .card-body {
    min-height: 0 !important;
    padding: 14px !important;
  }

  .card-body a {
    margin-top: 8px !important;
  }

  /* Course cards: show names, hide extra descriptions */
  .course-card span {
    display: none !important;
  }

  .course-card {
    min-height: 76px !important;
    padding: 14px !important;
  }

  .course-card h3 {
    font-size: 15px !important;
    line-height: 1.3 !important;
  }

  /* Advantages: retain titles, remove long explanations */
  .advantage-item p {
    display: none !important;
  }

  .advantage-item {
    padding: 15px !important;
  }

  /* Testimonials: less reading */
  .testimonial-card p {
    font-size: 11px !important;
    line-height: 1.5 !important;
  }

  /* Compact section headings */
  .section-heading-row h2,
  .testimonials-section h2 {
    font-size: 25px !important;
    line-height: 1.12 !important;
  }
}

/* =========================================================
   SCHOOL OF TECHNOLOGY — COHESIVE ACADEMY FINISH
   ========================================================= */

:root {
    --academy-ink: #101114;
    --academy-muted: #5f636b;
    --academy-line: #e7e8eb;
    --academy-paper: #f7f7f8;
}

html { scroll-padding-top: 82px; }

body {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid #ff9a45;
    outline-offset: 3px;
}

.site-header {
    height: 72px;
    border-bottom-color: rgba(255,255,255,.1);
}

.navbar { position: relative; }
.brand-name strong { letter-spacing: .65px; }
.main-nav a { font-size: 13px; }

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 9px;
    background: #17181b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.hero-section {
    min-height: min(680px, calc(100vh - 72px));
    min-height: min(680px, calc(100svh - 72px));
    height: auto;
    background: #08090b;
}

.hero-content {
    min-height: min(680px, calc(100vh - 72px));
    min-height: min(680px, calc(100svh - 72px));
}

.hero-copy {
    max-width: 630px;
    width: 54%;
}

.hero-copy h1 {
    max-width: 650px;
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.04;
    letter-spacing: -2.8px;
}

.hero-copy > p {
    max-width: 500px;
    color: #d0d1d4;
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.75;
}

.hero-buttons { gap: 14px; margin-top: 30px; }

.hero-buttons .orange-button,
.hero-buttons .outline-button,
.cta-buttons .orange-button,
.cta-buttons .outline-button {
    min-height: 48px;
    padding-inline: 21px;
    border-radius: 10px;
    font-size: 13px;
}

.academy-section {
    padding-block: clamp(64px, 8vw, 104px);
    background: #fff !important;
}

.academy-section .section-heading-row h2,
.courses-section .section-heading-row h2,
.advantages-section .section-heading-row h2 {
    max-width: 720px;
    color: var(--academy-ink);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -1.6px;
}

.academy-section .section-label,
.courses-section .section-label,
.advantages-section .section-label {
    color: #a64c00;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
    line-height: 1.5;
}

.academy-section .section-heading-row > p,
.courses-section .section-heading-row > p,
.advantages-section .section-heading-row > p {
    max-width: 460px;
    color: var(--academy-muted);
    font-size: 15px;
    line-height: 1.75;
}

.academy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.academy-grid .ecosystem-card {
    border-color: var(--academy-line);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(16,17,20,.055);
}

.academy-grid .card-image {
    height: 150px;
    background: linear-gradient(135deg, #17191e, #262a31 62%, #46230d);
}

.academy-grid .image-placeholder {
    color: rgba(255,255,255,.82);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
}

.academy-grid .card-body,
.technology-card .card-body,
.learning-card .card-body,
.portal-card .card-body {
    min-height: 220px;
    padding: 24px;
    background: #fff;
}

.academy-grid .card-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: #fff1e5;
    color: #a64c00;
}

.academy-grid .card-body h3 {
    margin-top: 17px;
    color: var(--academy-ink);
    font-size: 19px;
}

.academy-grid .card-body p {
    min-height: 78px;
    color: var(--academy-muted);
    font-size: 14px;
    line-height: 1.7;
}

.academy-grid .card-body a {
    min-height: 40px;
    padding: 9px 13px;
    border-color: #d5d7dc;
    color: #25272c;
    font-size: 12px;
}

.academy-grid .card-body a:hover {
    border-color: #a64c00;
    background: #fff7f0;
    color: #7e3900;
}

.courses-section,
.advantages-section {
    padding-block: clamp(64px, 8vw, 100px);
    background: var(--academy-paper);
}

.courses-section .course-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

.courses-section .course-card {
    min-height: 118px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    text-decoration: none;
}

.courses-section article.course-card { cursor: default; }

.courses-section article.course-card:hover {
    transform: none;
    box-shadow: none;
}

.courses-section .course-card h3 {
    font-size: 17px !important;
    line-height: 1.35;
}

.courses-section .course-card span {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
}

.advantages-section { background: #fff; }

.advantages-section .advantages-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin-top: 36px;
}

.advantages-section .advantage-item {
    padding: 26px;
    border: 1px solid var(--academy-line);
    border-radius: 16px;
    background: #fff;
}

.advantages-section .advantage-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fff1e5;
    color: #8f4200;
    font-size: 14px;
    font-weight: 800;
}

.advantages-section .advantage-item h3 {
    margin: 16px 0 8px;
    color: var(--academy-ink);
    font-size: 17px;
}

.advantages-section .advantage-item p {
    color: var(--academy-muted);
    font-size: 14px;
    line-height: 1.7;
}

.final-cta-section {
    padding-block: 72px;
    background: var(--academy-paper);
}

.final-cta {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background: linear-gradient(125deg, #14161a, #22252b);
}

.final-cta h2 {
    max-width: 600px;
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.15;
}

.final-cta p { max-width: 560px; line-height: 1.7; }
.site-footer { padding-top: 46px; }

.footer-links a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 1000px) {
    .site-header,
    .navbar { height: 68px; }

    .hero-section,
    .hero-content { min-height: 600px; }

    .hero-copy { width: 56%; }

    .courses-section .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

    .academy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .academy-grid .ecosystem-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
        order: 2;
    }

    .main-nav,
    .main-nav.is-open {
        display: none !important;
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        z-index: 1001;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 8px;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 0 0 14px 14px;
        background: #101114;
        box-shadow: 0 18px 32px rgba(0,0,0,.24);
    }

    .main-nav.is-open { display: flex !important; }

    .main-nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 0 13px;
        border-radius: 8px;
        font-size: 14px;
    }

    .main-nav a.active::after { display: none; }

    .main-nav a:hover,
    .main-nav a:focus-visible { background: rgba(255,255,255,.07); }
}

@media (max-width: 650px) {
    html { scroll-padding-top: 68px; }

    .site-header,
    .navbar { height: 64px; }

    .brand-name strong { font-size: 11px; }
    .navbar { gap: 8px; }

    .nav-toggle {
        min-height: 38px;
        gap: 6px;
        padding-inline: 9px;
        font-size: 11px;
    }

    .nav-actions { display: flex; gap: 5px; }

    .nav-actions .login-button,
    .nav-actions .register-button {
        min-height: 36px;
        padding: 0 8px !important;
        font-size: 10px !important;
    }

    .nav-actions .search-button { display: none; }

    .hero-section,
    .hero-content {
        min-height: 620px;
        height: auto;
    }

    .hero-copy {
        width: 100%;
        padding-block: 70px;
    }

    .hero-copy h1 {
        max-width: 560px;
        font-size: clamp(42px, 12vw, 58px);
        letter-spacing: -1.8px;
    }

    .hero-copy > p { max-width: 440px; font-size: 15px; }

    .hero-buttons .outline-button { display: inline-flex !important; }

    .hero-buttons .orange-button,
    .hero-buttons .outline-button {
        width: auto !important;
        min-height: 46px !important;
        font-size: 11px !important;
    }

    .academy-section .section-heading-row h2,
    .courses-section .section-heading-row h2,
    .advantages-section .section-heading-row h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .academy-section .section-heading-row > p,
    .courses-section .section-heading-row > p,
    .advantages-section .section-heading-row > p {
        display: block !important;
        font-size: 14px;
    }

    .academy-grid,
    .courses-section .course-grid,
    .advantages-section .advantages-grid { grid-template-columns: 1fr !important; }

    .academy-grid .ecosystem-card:last-child { grid-column: auto; }

    .academy-grid .card-body,
    .technology-card .card-body,
    .learning-card .card-body,
    .portal-card .card-body {
        min-height: 0;
        padding: 21px;
    }

    .academy-grid .card-body p {
        display: block !important;
        min-height: 0;
    }

    .courses-section .course-card {
        min-height: 92px !important;
        padding: 17px !important;
    }

    .courses-section .course-card h3 { font-size: 16px !important; }
    .courses-section .course-card span { display: inline-block !important; }
    .advantages-section .advantage-item { padding: 21px; }
    .advantages-section .advantage-item p { display: block !important; }

    .final-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
        padding: 27px 22px;
    }

    .final-cta .cta-buttons {
        width: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .final-cta .cta-buttons a {
        flex: 0 1 auto;
        min-height: 52px;
        padding: 0 18px;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
        text-align: center;
    }

    .footer-links { flex-wrap: wrap; gap: 8px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .academy-grid .ecosystem-card,
    .academy-grid .card-body a,
    .courses-section .course-card,
    .advantages-section .advantage-item,
    .main-nav a {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 650px) {
    .course-detail-page .brand-mark,
    .data-analytics-page .brand-mark { font-size: 23px; }
    .course-detail-page .brand-name strong,
    .data-analytics-page .brand-name strong { font-size: 10px; }
    .course-detail-page .brand-name span,
    .data-analytics-page .brand-name span { display: none; }
}

/* Compact homepage course discovery and the existing local guidance dialog. */
.learning-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.learning-guidance-link {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 17px;
    border: 0;
    border-radius: 9px;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
}

.learning-guidance-link {
    background: var(--orange);
    color: #111;
    cursor: pointer;
    transition: background-color .18s ease, transform .18s ease;
}

.learning-guidance-link:hover {
    background: var(--orange-light);
    transform: translateY(-1px);
}

.learning-guidance-link:active { transform: translateY(1px); }

.academy-value-eyebrow {
    display: block;
    color: #a64c00;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.35px;
    line-height: 1.5;
}

.guidance-dialog {
    width: min(620px, calc(100vw - 32px));
    max-width: none;
    max-height: min(88vh, 760px);
    overflow: auto;
    padding: 30px;
    border: 1px solid #e3e5e9;
    border-radius: 18px;
    background: #fff;
    color: var(--academy-ink);
    box-shadow: 0 28px 80px rgba(0,0,0,.24);
}

.guidance-dialog::backdrop { background: rgba(12,13,15,.62); }

.guidance-dialog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.guidance-dialog-header .academy-value-eyebrow { margin-top: 0; }

.guidance-dialog-header h2 {
    margin: 7px 0 6px;
    color: var(--academy-ink);
    font-size: clamp(24px, 4vw, 32px);
    line-height: 1.15;
    letter-spacing: -.8px;
}

.guidance-dialog-header p {
    max-width: 480px;
    margin: 0;
    color: var(--academy-muted);
    font-size: 14px;
    line-height: 1.6;
}

.guidance-dialog-close {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border: 1px solid #e1e3e7;
    border-radius: 10px;
    background: #fff;
    color: #4b4e55;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.guidance-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.guidance-form label {
    display: grid;
    gap: 7px;
    color: #303239;
    font-size: 12px;
    font-weight: 700;
}

.guidance-form input,
.guidance-form select {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #d9dce1;
    border-radius: 8px;
    background: #fff;
    color: #202228;
    font: inherit;
    font-size: 13px;
}

.guidance-form input::placeholder { color: #92969d; }

.guidance-local-note {
    grid-column: 1 / -1;
    margin: 0;
    color: #666b73;
    font-size: 12px;
    line-height: 1.55;
}

.guidance-submit {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    justify-self: start;
    padding: 0 17px;
    border: 1px solid #dc762b;
    border-radius: 9px;
    background: #e87824;
    color: #17191e;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.guidance-submit:hover { background: #f28a3d; }

.guidance-success {
    padding: 18px 0 4px;
}

.guidance-success-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf5ed;
    color: #287443;
    font-size: 20px;
    font-weight: 800;
}

.guidance-success h3 {
    margin: 16px 0 6px;
    font-size: 21px;
}

.guidance-success p {
    margin: 0 0 22px;
    color: var(--academy-muted);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 650px) {
    .learning-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-top: 26px;
    }
    .learning-guidance-link { min-height: 48px; }
    .guidance-dialog { padding: 23px 19px; }
    .guidance-form { grid-template-columns: 1fr; gap: 14px; }
    .guidance-local-note { grid-column: auto; }
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 34px;
}

.approach-item {
    min-width: 0;
    padding: 20px 20px 0 0;
    border-top: 1px solid var(--academy-line);
}

.approach-kicker {
    color: #a64c00;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.approach-item h3 {
    margin-top: 12px;
    color: var(--academy-ink);
    font-size: clamp(20px, 2vw, 25px);
    line-height: 1.2;
    letter-spacing: -.5px;
}

.approach-item p {
    margin-top: 11px;
    color: var(--academy-muted);
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .approach-grid { grid-template-columns: 1fr; gap: 0; }
    .approach-item { padding: 20px 0; }
}

.hero-section .hero-buttons .orange-button:active,
.hero-section .hero-buttons .outline-button:active,
.final-cta-section .cta-buttons .orange-button:active,
.final-cta-section .cta-buttons .outline-button:active,
.learning-guidance-link:active,
.courses-section .section-side .small-outline-button:active { transform: translateY(1px); }

@media (prefers-reduced-motion: reduce) {
    .hero-section .hero-buttons .orange-button,
    .hero-section .hero-buttons .outline-button,
    .final-cta-section .cta-buttons .orange-button,
    .final-cta-section .cta-buttons .outline-button,
    .learning-guidance-link,
    .courses-section .section-side .small-outline-button { transition: none !important; animation: none !important; }
}

/* =========================================================
   HOMEPAGE — WARM, EDITORIAL COURSE DISCOVERY
   Scoped to index.html; shared page styles remain unchanged.
   ========================================================= */

.homepage {
    --home-paper: #f7f6f2;
    --home-surface: #ffffff;
    --home-ink: #1b1c1e;
    --home-muted: #62676b;
    --home-line: #e3e1dc;
    --home-accent: var(--orange, #ff7900);
    background: var(--home-surface);
    color: var(--home-ink);
}

.homepage :where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid #9b4c0b;
    outline-offset: 3px;
}

.homepage .site-header {
    height: 72px;
    background: #f7f6f2;
    color: var(--home-ink);
    border-bottom: 1px solid var(--home-line);
    box-shadow: none;
    /* A translucent backdrop filter on a sticky header can leave a one-pixel
       repaint seam in Safari while scrolling. Keep the same surface opaque. */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.homepage .brand-mark { color: var(--home-accent); }
.homepage .brand-name strong { color: var(--home-ink); }
.homepage .brand-name span { color: var(--home-muted); }
.homepage .main-nav a { color: #424548; }
.homepage .main-nav a:hover,
.homepage .main-nav a.active { color: #9b4c0b; }
.homepage .main-nav a.active::after { background: var(--home-accent); }
.homepage .login-button { border-color: #bfc0bd; color: var(--home-ink); }
.homepage .login-button:hover { border-color: #9b4c0b; color: #9b4c0b; }
.homepage .register-button,
.homepage #adminLink { background: var(--home-accent); color: #171717; }
.homepage .register-button:hover,
.homepage #adminLink:hover { background: #ff922d; color: #171717; }
.homepage .nav-toggle {
    border-color: var(--home-line);
    background: var(--home-surface);
    color: var(--home-ink);
}

/* Course detail headers: use each page's own accent instead of the global black header. */
.course-detail-page,
.data-analytics-page {
    --detail-accent: var(--orange, #ff7900);
}

/* Keep the text-built homepage wordmark aligned identically on the homepage and course pages. */
.homepage .brand,
.course-detail-page .brand,
.data-analytics-page .brand {
    gap: 8px;
    line-height: normal;
}

.homepage .brand-mark,
.course-detail-page .brand-mark,
.data-analytics-page .brand-mark {
    display: inline-flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 27px;
    line-height: 1;
}

.homepage .brand-name,
.course-detail-page .brand-name,
.data-analytics-page .brand-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    line-height: 1;
}

.homepage .brand-name strong,
.course-detail-page .brand-name strong,
.data-analytics-page .brand-name strong {
    margin: 0;
    line-height: 1;
    letter-spacing: .65px;
}

.homepage .brand-name span,
.course-detail-page .brand-name span,
.data-analytics-page .brand-name span {
    margin: 0;
    line-height: 1;
}

.course-detail-page .site-header,
.data-analytics-page .site-header {
    background: #232528;
    color: #fff;
    border-bottom: 1px solid #3a3d42;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .16);
}

.course-detail-page .main-nav a,
.data-analytics-page .main-nav a { color: #f1f2f4; }

.course-detail-page .main-nav a:hover,
.course-detail-page .main-nav a.active,
.data-analytics-page .main-nav a:hover,
.data-analytics-page .main-nav a.active { color: #fff; }

.course-detail-page .main-nav a.active::after,
.data-analytics-page .main-nav a.active::after {
    height: 3px;
    background: var(--detail-accent);
}

.course-detail-page .nav-toggle,
.data-analytics-page .nav-toggle {
    border-color: color-mix(in srgb, var(--detail-accent) 64%, #fff 36%);
    background: #232528;
    color: #fff;
}

.course-detail-page .site-header .nav-actions .login-button,
.data-analytics-page .site-header .nav-actions .login-button {
    border-color: rgba(255, 255, 255, .72);
    background: transparent;
    color: #fff;
}

.course-detail-page .site-header .nav-actions .login-button:hover,
.data-analytics-page .site-header .nav-actions .login-button:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.course-detail-page .site-header .nav-actions .register-button,
.data-analytics-page .site-header .nav-actions .register-button {
    border-color: #ff7900;
    background: #ff7900;
    color: #17191d;
}

.course-detail-page .site-header .nav-actions .register-button:hover,
.data-analytics-page .site-header .nav-actions .register-button:hover {
    border-color: #ff922d;
    background: #ff922d;
    color: #17191d;
}

@media (max-width: 900px) {
    .course-detail-page .main-nav,
    .course-detail-page .main-nav.is-open,
    .data-analytics-page .main-nav,
    .data-analytics-page .main-nav.is-open {
        background: #232528;
    }

    .course-detail-page .main-nav a.active,
    .data-analytics-page .main-nav a.active {
        border-left: 3px solid var(--detail-accent);
        color: #fff;
    }

    .course-detail-page .main-nav a:hover,
    .course-detail-page .main-nav a:focus-visible,
    .data-analytics-page .main-nav a:hover,
    .data-analytics-page .main-nav a:focus-visible {
        background: rgba(255, 255, 255, .12);
    }
}

@media (max-width: 650px) {
    .homepage .brand-mark,
    .course-detail-page .brand-mark,
    .data-analytics-page .brand-mark {
        flex-basis: 24px;
        width: 24px;
        height: 23px;
        font-size: 23px;
    }

    .homepage .brand-name strong,
    .course-detail-page .brand-name strong,
    .data-analytics-page .brand-name strong { font-size: 10px; }

    .homepage .brand-name span,
    .course-detail-page .brand-name span,
    .data-analytics-page .brand-name span { display: none; }
}

.homepage .hero-section {
    min-height: 0;
    height: auto;
    overflow: visible;
    background: var(--home-paper);
    color: var(--home-ink);
}

.homepage .hero-content { min-height: 0; align-items: center; }
.homepage .hero-copy { width: 100%; max-width: 790px; padding: 48px 0 54px; }
.homepage .eyebrow,
.homepage .section-label {
    color: #9b4c0b;
    font-size: 11px;
    letter-spacing: 1.8px;
}
.homepage .hero-copy h1 {
    max-width: 570px;
    margin-top: 15px;
    color: var(--home-ink);
    font-size: clamp(46px, 5.3vw, 70px);
    line-height: 1.02;
    letter-spacing: -2.7px;
    text-shadow: none;
}
.homepage .hero-copy h1 span { color: #a34c13; }
.homepage .hero-copy > p {
    max-width: 440px;
    margin-top: 19px;
    color: var(--home-muted);
    font-size: 16px;
    line-height: 1.7;
    text-shadow: none;
}
.homepage .hero-copy > p::after { content: none !important; display: none !important; }
.homepage .hero-buttons { gap: 11px; margin-top: 26px; }
.homepage .hero-buttons .orange-button,
.homepage .hero-buttons .outline-button,
.homepage .final-cta .cta-buttons a {
    min-height: 48px;
    padding-inline: 19px;
    border-radius: 8px;
    font-size: 13px;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.homepage .hero-buttons .orange-button,
.homepage .final-cta .cta-buttons .orange-button {
    background: var(--home-accent);
    color: #171717;
    box-shadow: none;
}
.homepage .hero-buttons .orange-button:hover,
.homepage .final-cta .cta-buttons .orange-button:hover {
    background: #ff922d;
    color: #171717;
    box-shadow: 0 5px 14px rgba(139, 72, 20, .14);
    transform: translateY(-1px);
}
.homepage .hero-buttons .outline-button {
    border: 1px solid #c9c6bf;
    background: transparent;
    color: var(--home-ink);
}
.homepage .hero-buttons .outline-button:hover {
    border-color: #9b4c0b;
    background: #fff;
    color: #7d3b0d;
    transform: translateY(-1px);
}
.homepage .academy-section,
.homepage .courses-section,
.homepage .advantages-section {
    padding-block: clamp(58px, 7vw, 88px);
}
.homepage .academy-section { background: var(--home-surface) !important; }
.homepage .section-heading-row { gap: 36px; margin-bottom: 27px; }
.homepage .academy-section .section-heading-row h2,
.homepage .courses-section .section-heading-row h2,
.homepage .advantages-section .section-heading-row h2 {
    margin-top: 7px;
    color: var(--home-ink);
    font-size: clamp(31px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -1.6px;
}
.homepage .academy-section .section-heading-row > p,
.homepage .courses-section .section-heading-row > p,
.homepage .advantages-section .section-heading-row > p {
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.7;
}
.homepage .learning-actions { margin-top: 20px; }
.homepage .learning-guidance-link {
    min-height: 46px;
    padding-inline: 16px;
    border: 1px solid #c9c6bf;
    border-radius: 7px;
    background: transparent;
    color: var(--home-ink);
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.homepage .learning-guidance-link:hover {
    border-color: #9b4c0b;
    background: #fff8f1;
    transform: translateY(-1px);
}
.homepage .guidance-dialog { border-color: var(--home-line); color: var(--home-ink); }
.homepage .academy-value-eyebrow { color: #9b4c0b; }
.homepage .guidance-submit {
    border-color: var(--home-accent);
    border-radius: 7px;
    background: var(--home-accent);
    color: #171717;
}
.homepage .guidance-submit:hover { background: #ff922d; }
.homepage :where(.guidance-form input, .guidance-form select):focus-visible { outline-color: #9b4c0b; }

.homepage .courses-section { background: var(--home-paper); }
.homepage .courses-section .section-heading-row { align-items: end; margin-bottom: 27px; }
.homepage .courses-section .section-side { align-items: flex-end; gap: 14px; color: var(--home-muted); }
.homepage .courses-section .section-side p { max-width: 290px; }
.homepage .courses-section .small-outline-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 0 13px;
    border: 1px solid #c9c6bf;
    border-radius: 7px;
    background: transparent;
    color: var(--home-ink);
    font-size: 12px;
    font-weight: 700;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.homepage .courses-section .small-outline-button:hover {
    border-color: #9b4c0b;
    background: #fff;
    color: #7d3b0d;
    transform: translateY(-1px);
}
.homepage .course-carousel {
    min-width: 0;
    max-width: 100%;
}
.homepage .course-carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 10px;
}
.homepage .course-carousel-arrow {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid #d9d1c2;
    border-radius: 50%;
    background: #fffdf7;
    color: var(--home-ink);
    font-size: 18px;
    line-height: 1;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease;
}
.homepage .course-carousel-arrow:hover:not(:disabled) {
    border-color: #bd9143;
    background: #fbf3e4;
    color: #8b430c;
}
.homepage .course-carousel-arrow:active:not(:disabled) { transform: scale(.96); }
.homepage .course-carousel-arrow:disabled {
    color: #a8a49c;
    opacity: .55;
    cursor: default;
}
.homepage .course-carousel-track {
    display: flex;
    width: 100%;
    min-width: 0;
    gap: 14px;
    margin: 0;
    padding: 4px 2px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    list-style: none;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #c6a66d #eee8dc;
}
.homepage .homepage-course-card {
    display: flex;
    position: relative;
    min-width: 0;
    flex: 0 0 clamp(160px, 16vw, 184px);
    height: 204px;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
    overflow: hidden;
    border: 1px solid #e2e5ed;
    border-radius: 15px;
    background: #fff;
    color: var(--home-ink);
    box-shadow: 0 4px 12px rgba(37, 43, 68, .055);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.homepage .homepage-course-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 59px;
    background:
        radial-gradient(circle at 88% 30%, color-mix(in srgb, var(--course-accent) 13%, transparent) 0 17px, transparent 18px),
        linear-gradient(105deg, var(--course-wash), #fff 88%);
}
.homepage .homepage-course-card:hover {
    border-color: color-mix(in srgb, var(--course-accent) 40%, #e2e5ed);
    box-shadow: 0 9px 20px rgba(37, 43, 68, .11);
    transform: translateY(-3px);
}
.homepage .homepage-course-card:focus-within {
    border-color: var(--course-accent);
}
.homepage .homepage-course-card:active { transform: translateY(0); }
.homepage .homepage-course-card:nth-child(1) { --course-accent: #e86e18; --course-wash: #fff0e4; }
.homepage .homepage-course-card:nth-child(2) { --course-accent: #7659d5; --course-wash: #f0edff; }
.homepage .homepage-course-card:nth-child(3) { --course-accent: #1684b9; --course-wash: #e9f6fd; }
.homepage .homepage-course-card:nth-child(4) { --course-accent: #c14e87; --course-wash: #fff0f6; }
.homepage .homepage-course-card:nth-child(5) { --course-accent: #5168b5; --course-wash: #eef1ff; }
.homepage .homepage-course-card:nth-child(6) { --course-accent: #7252cf; --course-wash: #f1edff; }
.homepage .homepage-course-card:nth-child(7) { --course-accent: #237c86; --course-wash: #eaf8f7; }
.homepage .homepage-course-card:nth-child(8) { --course-accent: #bd5e37; --course-wash: #fff2e9; }
.homepage .homepage-course-card:nth-child(9) { --course-accent: #4285c7; --course-wash: #edf6ff; }
.homepage .homepage-course-card:nth-child(10) { --course-accent: #36836c; --course-wash: #eaf7f1; }
.homepage .homepage-course-card:nth-child(11) { --course-accent: #5d62c6; --course-wash: #f0f0ff; }
.homepage .homepage-course-card > * { position: relative; }
.homepage .course-card-mark {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 12px;
    background: var(--course-accent);
    color: #fff;
    box-shadow: 0 3px 8px color-mix(in srgb, var(--course-accent) 24%, transparent);
    font-size: 17px;
    font-weight: 750;
    line-height: 1;
}
.homepage .course-card-mark-code,
.homepage .course-card-mark-terminal {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
}
.homepage .course-card-mark-python {
    font-family: Georgia, serif;
    font-size: 21px;
}
.homepage .course-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 9px;
    list-style: none;
}
.homepage .course-card-tags li {
    max-width: 100%;
    padding: 3px 6px;
    border: 1px solid #e7e8ef;
    border-radius: 999px;
    background: #f6f7fa;
    color: #555b6b;
    font-size: 9px;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
}
.homepage .course-status {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eaf7ef;
    color: #226341;
    font-size: 9px;
    font-weight: 750;
    line-height: 1.2;
    white-space: nowrap;
}
.homepage .course-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}
.homepage .course-status-soon {
    background: #f0effa;
    color: #6251a5;
}
.homepage .homepage-course-card h4 {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 9px;
    padding: 0;
    color: var(--home-ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -.25px;
    overflow-wrap: break-word;
}
.homepage .homepage-course-card h4 a {
    color: inherit;
    text-decoration: none;
}
.homepage .homepage-course-card h4 a::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
}
.homepage .homepage-course-card h4 a:hover { color: #8b430c; }
.homepage .homepage-course-card h4 a:focus-visible::after {
    outline: 3px solid var(--course-accent);
    outline-offset: 3px;
    border-radius: 12px;
}
.homepage .course-carousel-hint {
    margin-top: 2px;
    color: var(--home-muted);
    font-size: 11px;
    text-align: right;
}

/* Premium course surfaces: keep each card's established course accent. */
.homepage .courses-section {
    background-image:
        radial-gradient(ellipse at 78% 18%, rgba(232, 110, 24, .055), transparent 34%),
        linear-gradient(rgba(42, 50, 72, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(42, 50, 72, .018) 1px, transparent 1px);
    background-size: auto, 28px 28px, 28px 28px;
}
.homepage .homepage-course-card {
    border-color: color-mix(in srgb, var(--course-accent) 20%, #e2e5ed);
    background: linear-gradient(148deg, #fff 15%, color-mix(in srgb, var(--course-wash) 64%, #fff) 69%, #fff 100%);
    box-shadow: 0 6px 16px rgba(37, 43, 68, .07), inset 0 1px #ffffff;
}
.homepage .homepage-course-card::before {
    height: 72px;
    background:
        radial-gradient(circle at 88% 30%, color-mix(in srgb, var(--course-accent) 18%, transparent) 0 24px, transparent 25px),
        linear-gradient(108deg, color-mix(in srgb, var(--course-wash) 92%, white), #fff 92%);
}
.homepage .homepage-course-card::after {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--course-accent) 26%, color-mix(in srgb, var(--course-accent) 28%, white) 70%, transparent);
    content: "";
    opacity: .72;
    transform: scaleX(.42);
    transform-origin: left;
    transition: transform .28s ease, opacity .2s ease;
}
.homepage .homepage-course-card > * { z-index: 1; }
.homepage .course-card-mark {
    border-radius: 13px 13px 13px 5px;
    box-shadow: 0 7px 17px color-mix(in srgb, var(--course-accent) 30%, transparent), inset 0 1px #ffffff6b;
}
.homepage .course-card-tags li {
    border-color: color-mix(in srgb, var(--course-accent) 15%, #e7e8ef);
    background: color-mix(in srgb, var(--course-wash) 48%, #f8f8fa);
}
.homepage .course-status { box-shadow: inset 0 0 0 1px #ffffffb8; }
.homepage .approach-item {
    border-color: #e7dfd5;
    background: linear-gradient(145deg, #fff 48%, #fffaf4 100%);
    box-shadow: 0 8px 20px rgba(37, 43, 68, .055), inset 0 1px #fff;
}
.homepage .approach-card-icon {
    box-shadow: inset 0 1px #ffffffb8, 0 6px 14px rgba(37, 43, 68, .06);
}
.homepage .approach-card-indicator {
    box-shadow: 0 0 0 5px rgba(232, 110, 24, .06);
}
.homepage .learning-comparison-table-wrap {
    box-shadow: 0 16px 36px rgba(46, 39, 28, .075), 0 3px 8px rgba(46, 39, 28, .025), inset 0 1px #fff;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .homepage .approach-item { transition: border-color .2s ease, transform .2s cubic-bezier(.2,.75,.2,1), box-shadow .2s ease; }
    .homepage .approach-item:hover {
        border-color: #d9c7b2;
        box-shadow: 0 17px 34px rgba(37, 43, 68, .095), 0 4px 9px rgba(37, 43, 68, .03);
        transform: translateY(-4px);
    }
    .homepage .approach-card-icon { transition: transform .2s ease, box-shadow .2s ease; }
    .homepage .approach-item:hover .approach-card-icon { transform: rotate(-4deg) scale(1.04); }
    .homepage .homepage-course-card:hover {
        border-color: color-mix(in srgb, var(--course-accent) 57%, #e2e5ed);
        box-shadow: 0 18px 34px color-mix(in srgb, var(--course-accent) 16%, rgba(37, 43, 68, .14)), 0 4px 10px #252b4410;
        transform: translateY(-5px) rotateX(.35deg);
    }
    .homepage .homepage-course-card:hover::after,
    .homepage .homepage-course-card:focus-within::after { opacity: 1; transform: scaleX(1); }
    .homepage .homepage-course-card:hover .course-card-mark { transform: translateY(-2px) rotate(-3deg); }
    .homepage .course-card-mark { transition: transform .22s ease, box-shadow .22s ease; }
}
@media (prefers-reduced-motion: reduce) {
    .homepage .approach-item,
    .homepage .approach-card-icon { transition: none !important; transform: none !important; }
    .homepage .homepage-course-card,
    .homepage .homepage-course-card::after,
    .homepage .course-card-mark { transition: none !important; transform: none !important; }
}
.homepage .course-carousel-track::-webkit-scrollbar { height: 8px; }
.homepage .course-carousel-track::-webkit-scrollbar-track { border-radius: 99px; background: #eee8dc; }
.homepage .course-carousel-track::-webkit-scrollbar-thumb { border: 2px solid #eee8dc; border-radius: 99px; background: #c6a66d; }

.homepage .advantages-section { background: var(--home-surface); }
.homepage .advantages-section .section-heading-row { align-items: end; }
.homepage .homepage-approach-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 27px;
    align-items: start;
}
.homepage .approach-item {
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e2e5ed;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(37, 43, 68, .055);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.homepage .approach-item:hover {
    border-color: #d4c8f4;
    box-shadow: 0 8px 20px rgba(37, 43, 68, .09);
    transform: translateY(-2px);
}
.homepage .approach-card-trigger {
    display: grid;
    width: 100%;
    min-height: 86px;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 0;
    background: transparent;
    color: var(--home-ink);
    text-align: left;
    cursor: pointer;
}
.homepage .approach-card-trigger:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid #7659d5;
    outline-offset: -4px;
    border-radius: 15px;
}
.homepage .approach-card-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    background: #fff0e4;
    color: #d56314;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}
.homepage .approach-card-icon-practice {
    background: #f0edff;
    color: #7659d5;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
}
.homepage .approach-card-icon-guidance {
    background: #e9f6fd;
    color: #1684b9;
}
.homepage .approach-card-title {
    min-width: 0;
    color: var(--home-ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.25px;
    overflow-wrap: anywhere;
}
.homepage .approach-card-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}
.homepage .approach-card-subtitle {
    color: var(--home-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}
.homepage .why-front-benchers-section .section-heading-row {
    margin-bottom: 18px;
}
.homepage .why-front-benchers-section {
    padding-top: clamp(28px, 4vw, 42px);
}
.homepage .why-front-benchers-section .homepage-approach-grid {
    margin-top: 0;
}
.homepage .why-front-benchers-section .approach-card-trigger {
    min-height: 94px;
    align-items: start;
}
.homepage .why-front-benchers-section .approach-card-icon,
.homepage .why-front-benchers-section .approach-card-indicator {
    margin-top: 2px;
}
.homepage .approach-card-indicator {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 1px solid #e2e5ed;
    border-radius: 50%;
    color: #6251a5;
    font-size: 16px;
    line-height: 1;
    transition: transform .2s ease, background-color .2s ease;
}
.homepage .approach-card-trigger:hover .approach-card-indicator {
    background: #f0edff;
}
.homepage .approach-card-trigger[aria-expanded="true"] .approach-card-indicator {
    transform: rotate(45deg);
    background: #f0edff;
}
.homepage .approach-card-details {
    display: grid;
    grid-template-rows: 0fr;
    margin-top: 0;
    padding-inline: 15px;
    transition: grid-template-rows .22s ease, margin .22s ease;
}
.homepage .approach-card-details-inner {
    min-height: 0;
    overflow: hidden;
}
.homepage .approach-card-details p {
    margin: 0;
    padding-bottom: 15px;
    color: var(--home-muted);
    font-size: 13px;
    line-height: 1.55;
}
.homepage .approach-item.is-expanded .approach-card-details {
    grid-template-rows: 1fr;
    margin-top: -2px;
}
.homepage .approach-item.is-expanded .approach-card-details p {
    animation: approach-copy-in .2s ease both;
}
@keyframes approach-copy-in {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
}
.homepage .approach-item:nth-child(1) { border-color: #f0dfd2; }
.homepage .approach-item:nth-child(2) { border-color: #e4def7; }
.homepage .approach-item:nth-child(3) { border-color: #d9eaf2; }
.homepage .approach-item:nth-child(1):hover { border-color: #e9b990; }
.homepage .approach-item:nth-child(2):hover { border-color: #b8a8ed; }
.homepage .approach-item:nth-child(3):hover { border-color: #9ecfe5; }
.homepage .approach-item p {
    color: var(--home-muted);
}
@media (prefers-reduced-motion: reduce) {
    .homepage .approach-item,
    .homepage .approach-card-indicator,
    .homepage .approach-card-details {
        transition: none !important;
    }
    .homepage .approach-item.is-expanded .approach-card-details p {
        animation: none !important;
    }
}

.homepage .final-cta-section {
    padding-block: 0 clamp(48px, 6vw, 76px) !important;
    background: var(--home-surface);
}
.homepage .final-cta {
    min-height: 0;
    padding: clamp(27px, 4vw, 42px);
    border: 1px solid var(--home-line);
    border-radius: 10px;
    background: var(--home-paper);
    color: var(--home-ink);
}
.homepage .final-cta::before { display: none; }
.homepage .final-cta h2 {
    color: var(--home-ink);
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -1px;
}
.homepage .final-cta p { color: var(--home-muted); font-size: 13px; }
.homepage .final-cta .cta-buttons .outline-button {
    gap: 8px;
    border: 1px solid var(--home-accent);
    background: var(--home-accent);
    color: #171717;
}
.homepage .final-cta .cta-buttons .outline-button:hover {
    border-color: #e56d00;
    background: #ff922d;
    color: #171717;
    transform: translateY(-1px);
}

.homepage .site-footer {
    padding-block: 35px 20px;
    border-top: 1px solid var(--home-line);
    background: var(--home-paper);
    color: var(--home-ink);
}
.homepage .footer-content { padding-bottom: 22px; border-bottom-color: var(--home-line); }
.homepage .site-footer > .container > div:first-child > strong { color: var(--home-ink); }
.homepage .site-footer p { color: var(--home-muted); }
.homepage .footer-links a { color: #53575a; }
.homepage .footer-links a:hover { color: #8b430c; }
.homepage .footer-bottom p { color: #73736f; }
.homepage .developer-credit { color: #73736f; }
.homepage .developer-credit strong { color: #8b430c; }

@media (max-width: 900px) {
    .homepage .main-nav,
    .homepage .main-nav.is-open {
        border-color: var(--home-line);
        background: var(--home-surface);
        box-shadow: 0 12px 28px rgba(27, 28, 30, .1);
    }
    .homepage .main-nav a { color: #35383a; }
    .homepage .main-nav a:hover,
    .homepage .main-nav a:focus-visible { background: #f3f1eb; }
}

@media (max-width: 900px) {
    .homepage .hero-section { padding-block: 22px 10px; }
    .homepage .hero-content { width: 100%; }
    .homepage .hero-copy { max-width: 680px; padding: 30px 0 38px; }
    .homepage .homepage-approach-grid { grid-template-columns: 1fr; gap: 12px; }
    .homepage .approach-card-trigger { min-height: 80px; padding: 13px; }
    .homepage .why-front-benchers-section { padding-top: 24px; }
}

@media (max-width: 650px) {
    .homepage .container { width: calc(100% - 36px); }
    .homepage .site-header,
    .homepage .navbar { height: 64px; }
    .homepage .navbar { gap: 7px; }
    .homepage .brand { min-width: 0; flex: 1; gap: 8px; }
    .homepage .brand-mark { font-size: 23px; }
    .homepage .brand-name strong { font-size: 10px; }
    .homepage .brand-name span { display: none; }
    .homepage .nav-toggle { min-height: 38px; gap: 5px; padding-inline: 8px; font-size: 10px; }
    .homepage .nav-actions { gap: 4px; }
    .homepage .nav-actions .login-button,
    .homepage .nav-actions .register-button { min-height: 36px; padding-inline: 8px !important; font-size: 10px !important; }

    .homepage .hero-section {
        padding-block: 8px 0;
        overflow: visible !important;
        background: var(--home-paper) !important;
    }
    .homepage .hero-copy { width: 100% !important; max-width: 100% !important; padding: 28px 0 34px !important; }
    .homepage .hero-copy h1 { font-size: clamp(40px, 10.6vw, 54px) !important; line-height: 1.02 !important; letter-spacing: -2px !important; }
    .homepage .hero-copy > p { max-width: 420px; margin-top: 16px !important; font-size: 15px !important; line-height: 1.7 !important; }
    .homepage .hero-buttons { width: auto !important; max-width: none !important; flex-wrap: wrap; gap: 9px; margin-top: 21px; }
    .homepage .hero-buttons .orange-button,
    .homepage .hero-buttons .outline-button { width: auto !important; min-height: 47px !important; padding-inline: 14px; font-size: 12px !important; }
    .homepage .hero-buttons .outline-button { display: inline-flex !important; }

    .homepage .academy-section,
    .homepage .courses-section,
    .homepage .advantages-section { padding-block: 50px; }
    .homepage .section-heading-row { display: block; margin-bottom: 20px; }
    .homepage .academy-section .section-heading-row h2,
    .homepage .courses-section .section-heading-row h2,
    .homepage .advantages-section .section-heading-row h2 {
        margin-top: 7px;
        font-size: clamp(30px, 8vw, 36px);
        letter-spacing: -1.2px;
    }
    .homepage .academy-section .section-heading-row > p,
    .homepage .courses-section .section-heading-row > p,
    .homepage .advantages-section .section-heading-row > p { margin-top: 10px; }
    .homepage .learning-actions { margin-top: 17px; }
    .homepage .learning-guidance-link { width: 100%; justify-content: space-between; }
    .homepage .courses-section .section-side { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 10px; }
    .homepage .courses-section .section-side p { max-width: 100%; }
    .homepage .course-carousel-hint { text-align: left; }
    .homepage .homepage-approach-grid { margin-top: 20px; }
    .homepage .approach-card-title { font-size: 15px; }
    .homepage .approach-card-details p { font-size: 13px; }
    .homepage .final-cta-section { padding-bottom: 46px !important; }
    .homepage .final-cta { align-items: flex-start; flex-direction: column; gap: 18px; padding: 24px 20px; }
    .homepage .final-cta h2 { font-size: 28px; }
    .homepage .final-cta .cta-buttons { width: 100%; }
    .homepage .final-cta .cta-buttons a { width: 100%; min-height: 48px; }
    .homepage .site-footer { padding-top: 30px; }
}

@media (max-width: 700px) {
    .homepage .course-carousel-controls { display: none; }
    .homepage .course-carousel-track { gap: 11px; }
    .homepage .homepage-course-card { flex-basis: clamp(160px, 42vw, 178px); }
}

@media (prefers-reduced-motion: reduce) {
    .homepage,
    .homepage *,
    .homepage *::before,
    .homepage *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}

/* Homepage hero: compact student-benefit showcase. */
.homepage .hero-section {
    min-height: 0;
    padding: clamp(30px, 4.2vw, 58px) 0;
    overflow: hidden;
    background: var(--home-paper, #f7f5ef) !important;
}

.homepage .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, .86fr);
    align-items: center;
    gap: clamp(30px, 5vw, 74px);
    min-height: 0;
}

.homepage .hero-copy {
    width: auto !important;
    max-width: 680px;
    padding: 32px 0 !important;
}

.homepage .hero-copy > p { color: #66645f; }

.homepage .hero-learning-visual {
    min-width: 0;
    width: 100%;
    max-width: 460px;
    justify-self: end;
}

.homepage .hero-showcase {
    --showcase-accent: #d86c1c;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.homepage .hero-showcase-face-topline,
.homepage .hero-showcase-controls,
.homepage .hero-showcase-arrows {
    display: flex;
    align-items: center;
}

.homepage .hero-showcase-face-topline { width: 100%; gap: 10px; margin-bottom: 17px; color: #706e68; font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.homepage .hero-showcase-mark { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: #fff0e3; color: #a64c00; font-size: 10px; letter-spacing: -.3px; }
.homepage .hero-showcase-label { color: #706e68; }
.homepage .hero-showcase-face-count { margin-left: auto; color: #8e8b83; font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.homepage .hero-showcase-scene { min-height: 278px; }
.homepage .hero-showcase-flipper { position: relative; min-height: 278px; overflow: hidden; border: 1px solid #e5ded2; border-radius: 16px; background: #fffefa; box-shadow: 0 16px 38px rgba(46, 39, 28, .08); }
.homepage .hero-showcase-face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 278px; overflow: hidden; padding: 20px 22px; opacity: 0; transform: translate3d(18px, 0, 0); pointer-events: none; transition: opacity 620ms cubic-bezier(.22,.68,0,1), transform 620ms cubic-bezier(.22,.68,0,1); }
.homepage .hero-showcase-front { z-index: 1; opacity: 1; transform: translate3d(0, 0, 0); pointer-events: auto; }
.homepage .hero-showcase-back { z-index: 0; }
.homepage .hero-showcase-flipper.is-flipped .hero-showcase-front { opacity: 0; transform: translate3d(-18px, 0, 0); pointer-events: none; }
.homepage .hero-showcase-flipper.is-flipped .hero-showcase-back { z-index: 1; opacity: 1; transform: translate3d(0, 0, 0); pointer-events: auto; }
.homepage .hero-showcase-flipper.is-resetting .hero-showcase-face { transition: none; }
.homepage .hero-showcase-face.accent-orange { --showcase-accent: #c45d0d; --showcase-tint: #fff0e3; }
.homepage .hero-showcase-face.accent-violet { --showcase-accent: #7053be; --showcase-tint: #f0edfb; }
.homepage .hero-showcase-face.accent-blue { --showcase-accent: #2a79a4; --showcase-tint: #eaf4f8; }
.homepage .hero-showcase-face.accent-green { --showcase-accent: #437c60; --showcase-tint: #edf5ef; }
.homepage .hero-showcase-icon { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; margin-bottom: 12px; border-radius: 11px; background: var(--showcase-tint); color: var(--showcase-accent); font: 800 15px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.homepage .hero-showcase-face.accent-violet .hero-showcase-icon { font: 700 22px/1 Arial, sans-serif; }
.homepage .hero-showcase-face.accent-blue .hero-showcase-icon { font: 700 23px/1 Arial, sans-serif; }
.homepage .hero-showcase-face.accent-green .hero-showcase-icon { font: 700 20px/1 Arial, sans-serif; }
.homepage .hero-showcase-eyebrow { color: var(--showcase-accent); font-size: 9px; font-weight: 800; letter-spacing: 1.25px; }
.homepage .hero-showcase-face h2 { margin-top: 7px; color: #292a2b; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.14; letter-spacing: -.8px; }
.homepage .hero-showcase-face p { max-width: 350px; margin-top: 8px; color: #66645f; font-size: 13px; line-height: 1.55; }
.homepage .hero-showcase-controls { justify-content: space-between; gap: 14px; padding-top: 14px; border-top: 1px solid #eeeae3; }
.homepage .hero-showcase-progress { display: flex; align-items: center; gap: 6px; }
.homepage .hero-showcase-progress button { width: 18px; height: 18px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.homepage .hero-showcase-progress button::after { display: block; width: 6px; height: 6px; margin: auto; border-radius: 50%; background: #cbc7bf; content: ""; transition: width .16s ease, border-radius .16s ease, background-color .16s ease; }
.homepage .hero-showcase-progress button[aria-pressed="true"]::after { width: 17px; border-radius: 99px; background: #d86c1c; }
.homepage .hero-showcase-arrows { gap: 7px; }
.homepage .hero-showcase-arrows button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #e3ded5; border-radius: 50%; background: #fff; color: #3b3b38; font-size: 17px; cursor: pointer; transition: border-color .16s ease, background-color .16s ease, transform .16s ease; }
.homepage .hero-showcase-arrows button:hover:not(:disabled) { transform: translateY(-1px) scale(1.04); border-color: #d86c1c; background: #fff7ef; }
.homepage .hero-showcase-arrows button:active:not(:disabled) { transform: translateY(1px) scale(.97); }
.homepage .hero-showcase button:focus-visible { outline: 3px solid #8c4b1d; outline-offset: 3px; }

.homepage .learning-comparison-section {
    padding: clamp(48px, 6vw, 78px) 0;
    border-top: 1px solid #eeece6;
    background: #fff;
}
.homepage .learning-comparison-heading { max-width: 690px; margin: 0 auto 28px; text-align: center; }
.homepage .learning-comparison-heading h2 { margin-top: 9px; color: #25272a; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -1.4px; }
.homepage .learning-comparison-heading > p { max-width: 600px; margin: 12px auto 0; color: #66645f; font-size: 15px; line-height: 1.65; }
.homepage .learning-comparison-table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; border: 1px solid #e6e1d8; border-radius: 13px; background: #fff; box-shadow: 0 10px 26px rgba(46, 39, 28, .045); scrollbar-color: #d5b292 #f6f3ee; }
.homepage .learning-comparison-table-wrap:focus-visible { outline: 3px solid #8c4b1d; outline-offset: 4px; }
.homepage .learning-comparison-table { width: 100%; min-width: 850px; border-collapse: separate; border-spacing: 0; color: #4f5355; font-size: 13px; line-height: 1.45; }
.homepage .learning-comparison-table th,
.homepage .learning-comparison-table td { padding: 14px 15px; border-bottom: 1px solid #eeeae4; text-align: left; vertical-align: middle; }
.homepage .learning-comparison-table thead th { color: #343638; background: #f7f5f0; font-size: 12px; font-weight: 800; }
.homepage .learning-comparison-table thead th:first-child { border-radius: 12px 0 0 0; }
.homepage .learning-comparison-table thead th:last-child { border-radius: 0 12px 0 0; }
.homepage .learning-comparison-table tbody tr:last-child th,
.homepage .learning-comparison-table tbody tr:last-child td { border-bottom: 0; }
.homepage .learning-comparison-table tbody th { width: 18%; color: #303236; font-size: 12px; font-weight: 750; }
.homepage .learning-comparison-table .is-front-benchers { width: 29%; background: #fff7ef; }
.homepage .learning-comparison-table thead .is-front-benchers { color: #743c12; box-shadow: inset 0 3px #d86c1c; }
.homepage .comparison-check { display: inline-grid; width: 19px; height: 19px; margin-right: 6px; place-items: center; border-radius: 50%; background: #e8f5ec; color: #237143; font-size: 12px; font-weight: 900; vertical-align: -3px; }
.homepage .learning-comparison-cta { display: flex; width: fit-content; align-items: center; gap: 9px; margin: 22px auto 0; padding: 12px 17px; border: 1px solid #d96d1c; border-radius: 9px; background: #e87824; color: #211d19; font-size: 13px; font-weight: 800; text-decoration: none; transition: background-color .16s ease, transform .16s ease; }
.homepage .learning-comparison-cta:hover { transform: translateY(-1px); background: #f28a3d; }
.homepage .learning-comparison-cta span { transition: transform .16s ease; }
.homepage .learning-comparison-cta:hover span { transform: translateX(3px); }
.homepage .learning-comparison-cta:active { transform: translateY(1px); }

@media (max-width: 900px) {
    .homepage .hero-section { padding-block: 24px 32px; }
    .homepage .hero-content { grid-template-columns: minmax(0,1fr) minmax(280px,.85fr); gap: 26px; }
    .homepage .hero-copy { padding: 26px 0 !important; }
}

@media (max-width: 680px) {
    .homepage .learning-comparison-heading { margin-bottom: 22px; text-align: left; }
    .homepage .learning-comparison-heading > p { margin-inline: 0; }
    .homepage .hero-content { grid-template-columns: minmax(0,1fr); gap: 8px; }
    .homepage .hero-copy { padding: 20px 0 12px !important; }
    .homepage .hero-learning-visual { max-width: 520px; justify-self: stretch; }
    .homepage .hero-showcase { min-height: 0; }
    .homepage .hero-showcase-scene { min-height: 278px; }
    .homepage .hero-showcase-flipper,
    .homepage .hero-showcase-face { min-height: 278px; }
    .homepage .hero-showcase-face { padding-inline: 17px; }
}

@media (prefers-reduced-motion: reduce) {
    .homepage .hero-showcase-face { transition: none; }
    .homepage .hero-showcase-flipper.is-flipped .hero-showcase-front { transform: none; }
    .homepage .hero-showcase-flipper.is-flipped .hero-showcase-back { transform: none; }
    .homepage .hero-showcase-progress button::after,
    .homepage .hero-showcase-arrows button,
    .homepage .learning-comparison-cta,
    .homepage .learning-comparison-cta span { transition: none; }
    .homepage .learning-comparison-cta:hover,
    .homepage .learning-comparison-cta:active,
    .homepage .learning-comparison-cta:hover span { transform: none; }
}
