.sc-v2-home {
    --sc-v2-content-width: var(--sc-public-content-width);
    --sc-v2-ink: #03045e;
    --sc-v2-muted: #486581;
    --sc-v2-purple: #0794cd;
    --sc-v2-blue: #28b6e5;
    --sc-v2-lavender: #caf0f8;
    --sc-v2-line: #ade8f4;
    --sc-v2-font: "SugarClass Montserrat", Montserrat, Arial, sans-serif;
    color: var(--sc-v2-ink);
    background: #fff;
    font-family: var(--sc-v2-font);
}

/* Keep the solid blue hero circle away from the media artwork. */
.sc-v2-home .sc-v2-hero::before {
    display: none !important;
    content: none !important;
}

/* Keep the redesign narrower than the legacy Montserrat theme. */
.sc-v2-home * {
    font-family: var(--sc-v2-font);
}

.sc-v2-home .sc-v2-quote {
    font-family: Georgia, serif;
}
.sc-v2-home--wide .container { width: var(--sc-v2-content-width); max-width: var(--sc-public-max-width); }
.sc-v2-home--wide .sc-v2-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr); gap: clamp(48px, 5vw, 96px); }
.sc-v2-home--wide .sc-v2-hero-copy { max-width: 660px; }
.sc-v2-home--wide .sc-v2-hero-art { min-height: 470px; }
.sc-v2-home--wide .sc-v2-hero-media { height: 580px; }
.sc-v2-home--wide .sc-v2-hero-media-image img { width: 100%; height: 580px; margin-left: 0; }
.sc-v2-home--wide .sc-v2-hero-media-video video { height: 420px; }
.sc-v2-home--wide .sc-v2-category-grid--photo { grid-template-columns: repeat(6, 1fr); }
.sc-v2-home--wide .sc-v2-course-grid { grid-template-columns: repeat(4, 1fr); }
.sc-v2-home--wide .sc-v2-upcoming-grid { grid-template-columns: repeat(4, 1fr); }
.sc-v2-home--dark-header .sc-v2-hero { background: linear-gradient(135deg, #eefbff 0%, #f8fdff 58%, #fff8dc 100%); }
.sc-v2-home--dark-header .sc-v2-hero { padding-top: 36px; }

.sc-v2-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 106px;
    background: linear-gradient(135deg, #eefbff 0%, #f8fdff 58%, #fff8dc 100%);
}

.sc-v2-hero::before,
.sc-v2-hero::after {
    position: absolute;
    z-index: 0;
    border-radius: 999px;
    content: '';
    pointer-events: none;
}

.sc-v2-hero::before { top: -250px; right: -320px; width: 360px; height: 360px; background: rgba(0, 119, 182, .18); }
.sc-v2-hero::before { display: none; }
.sc-v2-hero::after { bottom: -240px; left: -110px; width: 480px; height: 480px; border: 44px solid rgba(0, 180, 216, .24); }

.sc-v2-hero-particles { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.sc-v2-hero-particles span { position: absolute; display: block; width: 7px; height: 7px; border-radius: 50%; opacity: .52; background: #4baee5; animation: sc-v2-particle-drift 10s ease-in-out infinite; }
.sc-v2-hero-particles span:nth-child(2n) { width: 11px; height: 11px; opacity: .32; background: #28b6e5; animation-duration: 13s; animation-direction: reverse; }
.sc-v2-hero-particles span:nth-child(3n) { width: 5px; height: 5px; opacity: .6; background: #ffc247; animation-duration: 8s; }
.sc-v2-hero-particles span:nth-child(1) { top: 13%; left: 4%; animation-delay: -2s; }
.sc-v2-hero-particles span:nth-child(2) { top: 22%; left: 21%; animation-delay: -7s; }
.sc-v2-hero-particles span:nth-child(3) { top: 11%; left: 39%; animation-delay: -4s; }
.sc-v2-hero-particles span:nth-child(4) { top: 38%; left: 53%; animation-delay: -1s; }
.sc-v2-hero-particles span:nth-child(5) { top: 19%; left: 73%; animation-delay: -6s; }
.sc-v2-hero-particles span:nth-child(6) { top: 8%; left: 94%; animation-delay: -3s; }
.sc-v2-hero-particles span:nth-child(7) { top: 62%; left: 8%; animation-delay: -8s; }
.sc-v2-hero-particles span:nth-child(8) { top: 76%; left: 28%; animation-delay: -5s; }
.sc-v2-hero-particles span:nth-child(9) { top: 69%; left: 47%; animation-delay: -9s; }
.sc-v2-hero-particles span:nth-child(10) { top: 55%; left: 67%; animation-delay: -2s; }
.sc-v2-hero-particles span:nth-child(11) { top: 82%; left: 84%; animation-delay: -7s; }
.sc-v2-hero-particles span:nth-child(12) { top: 44%; left: 97%; animation-delay: -4s; }
.sc-v2-hero-particles span:nth-child(13) { top: 91%; left: 15%; animation-delay: -6s; }
.sc-v2-hero-particles span:nth-child(14) { top: 33%; left: 31%; animation-delay: -3s; }
.sc-v2-hero-particles span:nth-child(15) { top: 48%; left: 78%; animation-delay: -8s; }
.sc-v2-hero-particles span:nth-child(16) { top: 88%; left: 61%; animation-delay: -1s; }
@keyframes sc-v2-particle-drift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(18px, -15px, 0) scale(1.18); }
}

.sc-v2-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: clamp(48px, 5vw, 96px); align-items: center; }
.sc-v2-hero-copy { min-width: 0; max-width: 680px; }
.sc-v2-kicker { display: block; margin-bottom: 12px; color: var(--sc-v2-purple); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sc-v2-hero .sc-v2-kicker { color: #0077b6; }
.sc-v2-hero h1 { max-width: 590px; margin: 0; color: #03045e; font-size: clamp(44px, 5.6vw, 74px); font-weight: 700; letter-spacing: -.045em; line-height: 1.06; }
.sc-v2-hero h1.sc-v2-hero-title--long { display: block; width: 100%; max-width: 700px; font-size: clamp(32px, 4vw, 42px); line-height: 1.16; letter-spacing: -.02em; white-space: normal; overflow-wrap: normal; }
.sc-v2-hero h1.sc-v2-hero-title--long span { display: block; }
.sc-v2-home .sc-v2-hero-title--long.sc-title-caveat,
.sc-v2-home .sc-v2-hero-title--long.sc-title-caveat span {
    font-family: 'SugarClass Caveat', cursive !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
}
.sc-v2-hero-copy p { max-width: 520px; margin: 22px 0 0; color: #34536a; font-size: 17px; line-height: 1.72; }
.sc-v2-search { display: flex; align-items: center; gap: 12px; max-width: 570px; margin-top: 30px; padding: 8px 9px 8px 18px; border: 1px solid rgba(0,119,182,.16); border-radius: 999px; background: #fff; box-shadow: 0 18px 36px rgba(42,48,88,.10); }
.sc-v2-search > svg { flex: 0 0 auto; color: var(--sc-v2-purple); }
.sc-v2-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--sc-v2-ink); background: transparent; }
.sc-v2-search .btn { flex: 0 0 auto; padding: 14px 26px; }
.sc-v2-search .btn,
.sc-v2-hero .btn-primary { border: 0; background: #0794cd !important; box-shadow: 0 10px 20px rgba(7,148,205,.32); color: #fff !important; }
.sc-v2-search .btn:hover,
.sc-v2-hero .btn-primary:hover { background: #0676ad !important; color: #fff !important; transform: translateY(-1px); }
.sc-v2-hero-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 21px; }
.sc-v2-hero-links a, .sc-v2-text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--sc-v2-purple); font-size: 14px; font-weight: 700; }
.sc-v2-hero-links a { color: #03045e; }
.sc-v2-hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.sc-v2-proof-avatars { display: flex; align-items: center; }
.sc-v2-proof-avatars span { display: inline-flex; align-items: center; justify-content: center; width: 31px; height: 31px; margin-left: -7px; border: 3px solid #fff; border-radius: 50%; color: #fff; background: var(--sc-v2-purple); font-size: 9px; font-weight: 800; }
.sc-v2-proof-avatars span:first-child { margin-left: 0; background: #f28d66; }
.sc-v2-proof-avatars span:nth-child(2) { background: #4baee5; }
.sc-v2-proof-avatars span:nth-child(3) { background: #17233d; }
.sc-v2-hero-proof strong, .sc-v2-hero-proof small { display: block; }
.sc-v2-hero-proof strong { color: #03045e; font-size: 12px; }
.sc-v2-hero-proof small { margin-top: 3px; color: #486581; font-size: 11px; }
.sc-v2-hero-art { position: relative; min-width: 0; width: 100%; min-height: 430px; display: flex; align-items: center; justify-self: end; }
.sc-v2-hero-art::before { position: absolute; top: -300px; right: -220px; z-index: 0; width: 520px; height: 520px; border-radius: 999px; background: rgba(0, 119, 182, .18); content: ''; pointer-events: none; }
.sc-v2-hero-art-glow { position: absolute; inset: 12% 2% 3% 7%; border-radius: 42px; background: rgba(0,180,216,.18); filter: blur(18px); transform: rotate(3deg); animation: sc-v2-hero-glow 7s ease-in-out infinite; }
.sc-v2-hero-media { position: relative; z-index: 3; width: 100%; height: 560px; }
.sc-v2-hero-media-layer { position: absolute; inset: 0; z-index: 1; width: 100%; display: flex; align-items: center; justify-content: flex-end; background: transparent !important; opacity: 0; pointer-events: none; transition: opacity .8s ease; }
.sc-v2-hero-media-layer.is-active { opacity: 1; pointer-events: auto; }
.sc-v2-hero-media-image img { position: relative; width: 100%; max-width: 100%; height: 560px; margin-left: 0; border-radius: 0; object-fit: cover; object-position: center; box-shadow: none; animation: sc-v2-hero-art-float 8s ease-in-out infinite; }
.sc-v2-hero-media-video video { width: 100%; height: 390px; border: 5px solid rgba(255,255,255,.92); border-radius: 28px; background: #17233d; object-fit: cover; box-shadow: 0 24px 50px rgba(0,0,0,.3); }
.sc-v2-hero-media-slide-video video { width: 270px; max-width: none; height: 450px; border: 5px solid rgba(255,255,255,.92); border-radius: 28px; background: #17233d; object-fit: contain; box-shadow: 0 24px 50px rgba(0,0,0,.3); }
.sc-v2-hero-media-slide-video,
.sc-v2-hero-media-html { justify-content: center; }
.sc-v2-hero-media-slide-video video,
.sc-v2-hero-media-html iframe { flex: 0 0 auto; }
.sc-v2-hero-media-slide-video .sc-v2-hero-media-label,
.sc-v2-hero-media-html .sc-v2-hero-media-label { right: auto; left: calc(50% - 135px); }
.sc-v2-hero-media-slide img { width: 100%; max-width: 100%; height: 560px; margin-left: 0; border: 0 !important; border-radius: 0 !important; background: transparent !important; object-fit: contain; object-position: center; box-shadow: none !important; }
.sc-v2-hero-media-slide-grades { justify-content: center; }
.sc-v2-hero-media-slide-grades img { width: 92%; height: 460px; margin-left: 0; object-fit: contain; }
.sc-v2-hero-media-slide-qna img { width: 94%; height: 420px; object-fit: cover; object-position: center; }
.sc-v2-hero-media-html iframe { width: 270px; height: 450px; border: 6px solid rgba(255,255,255,.92); border-radius: 32px; background: #fff; box-shadow: 0 24px 50px rgba(0,0,0,.3); }
.sc-v2-hero-media-label { position: absolute; left: 20px; bottom: 28px; display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border-radius: 999px; color: var(--sc-v2-ink); background: rgba(255,255,255,.95); box-shadow: 0 10px 22px rgba(0,0,0,.2); font-size: 12px; font-weight: 800; white-space: nowrap; }
.sc-v2-hero-media-label svg { color: var(--sc-v2-purple); }
@keyframes sc-v2-hero-art-float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(0, -8px, 0) rotate(.5deg); }
}
@keyframes sc-v2-hero-glow {
    0%, 100% { opacity: .72; transform: rotate(3deg) scale(1); }
    50% { opacity: 1; transform: rotate(4deg) scale(1.04); }
}
.sc-v2-art-sticker { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 14px; color: #fff; background: var(--sc-v2-ink); box-shadow: 0 13px 24px rgba(42,48,88,.15); font-size: 12px; font-weight: 800; }
.sc-v2-art-sticker svg { color: #ffd26d; }
.sc-v2-art-sticker-top { top: 16px; right: 30px; transform: rotate(4deg); }
.sc-v2-floating-note { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; color: var(--sc-v2-ink); background: rgba(255,255,255,.96); box-shadow: 0 12px 26px rgba(0,0,0,.2); font-size: 12px; font-weight: 800; }
.sc-v2-floating-note svg { color: var(--sc-v2-purple); }
.sc-v2-floating-note-one { top: 38px; left: 16px; }
.sc-v2-floating-note-two { right: 16px; bottom: 34px; }

.sc-v2-stats-wrap { position: relative; z-index: 4; width: 100%; max-width: none; margin-top: 0; padding: 76px 3.5% 92px; overflow: hidden; background: linear-gradient(180deg, #010140 0%, #020447 56%, #020849 100%); }
.sc-wide-site .sc-v2-stats-wrap { width: 100%; max-width: none; margin-right: 0; margin-left: 0; }
.sc-v2-stats-wrap::before,
.sc-v2-stats-wrap::after { position: absolute; border-radius: 999px; content: ''; pointer-events: none; }
.sc-v2-stats-wrap::before { top: -180px; right: -90px; width: 420px; height: 420px; background: rgba(40, 182, 229, .18); }
.sc-v2-stats-wrap::after { bottom: -240px; left: -110px; width: 480px; height: 480px; border: 44px solid rgba(40, 182, 229, .18); }
.sc-v2-stats-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.sc-v2-stats-heading,
.sc-v2-stats { position: relative; z-index: 1; }
.sc-v2-stats-heading .sc-v2-kicker { color: #28b6e5; }
.sc-v2-stats-heading h2 { max-width: none; margin: 8px 0 0; color: #fff; font-size: 30px; font-weight: 800; letter-spacing: -.05em; white-space: nowrap; }
@media (max-width: 991px) {
    .sc-v2-stats-heading h2 { white-space: normal; }
}
.sc-v2-stats-heading .sc-v2-text-link { color: #48CAE4; }
.sc-v2-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sc-v2-stat-card { position: relative; min-height: 144px; overflow: hidden; padding: 22px; border: 1px solid rgba(111,53,216,.12); border-radius: 22px; background: #fff; box-shadow: 0 16px 34px rgba(42,48,88,.09); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.sc-v2-stat-card::after { position: absolute; right: -24px; bottom: -36px; width: 110px; height: 110px; border-radius: 50%; background: rgba(111,53,216,.07); content: ''; }
.sc-v2-stat-card:nth-child(2)::after { background: rgba(75,174,229,.10); }
.sc-v2-stat-card:nth-child(3)::after { background: rgba(255,156,69,.12); }
.sc-v2-stat-card:nth-child(4)::after { background: rgba(82,191,145,.11); }
.sc-v2-stat-card:hover { border-color: rgba(111,53,216,.28); box-shadow: 0 20px 38px rgba(42,48,88,.14); transform: translateY(-4px); }
.sc-v2-stat-icon { position: relative; z-index: 1; display: inline-flex !important; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(111,53,216,.08); border-radius: 13px; color: var(--sc-v2-purple); background: #f0eaff; }
.sc-v2-stat-icon { width: 52px; height: 52px; border: 0; border-radius: 17px; background: #f5f2ff; }
.sc-v2-stat-icon svg, .sc-v2-stat-svg { display: block; width: 26px; height: 26px; stroke-width: 2.2; }
.sc-v2-stat-card:nth-child(1) .sc-v2-stat-icon { border-color: #d9c8ff; color: #7044d8; background: linear-gradient(145deg, #f1eaff, #e4d6ff); }
.sc-v2-stat-card:nth-child(2) .sc-v2-stat-icon { border-color: #bfead5; color: #239b70; background: linear-gradient(145deg, #e9fbf2, #d4f4e4); }
.sc-v2-stat-card:nth-child(3) .sc-v2-stat-icon { border-color: #ffd2ad; color: #d8752a; background: linear-gradient(145deg, #fff1e5, #ffe1c8); }
.sc-v2-stat-card:nth-child(4) .sc-v2-stat-icon { border-color: #c4e4f8; color: #2b8ec5; background: linear-gradient(145deg, #eaf7ff, #d8effc); }
.sc-v2-stat-card strong, .sc-v2-stat-card span, .sc-v2-stat-card small { display: block; }
.sc-v2-stat-card strong { position: relative; z-index: 1; margin-top: 12px; color: var(--sc-v2-ink); font-size: 38px; font-weight: 800; letter-spacing: -.06em; }
.sc-v2-stat-card span:not(.sc-v2-stat-icon) { position: relative; z-index: 1; margin-top: 4px; font-size: 14px; font-weight: 800; }
.sc-v2-stat-card small { margin-top: 9px; color: var(--sc-v2-muted); font-size: 12px; }

.sc-v2-section { padding-top: 82px; }
.sc-v2-discover { padding-top: 88px; }
.sc-v2-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.sc-v2-section-heading h2 { margin: 0; color: var(--sc-v2-ink); font-size: 32px; font-weight: 800; letter-spacing: -.05em; }
.sc-v2-section-heading p { max-width: 540px; margin: 10px 0 0; color: var(--sc-v2-muted); font-size: 14px; line-height: 1.6; }
.sc-v2-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sc-v2-category-card { position: relative; display: flex; align-items: center; gap: 13px; min-height: 84px; padding: 14px 16px; border: 1px solid var(--sc-v2-line); border-radius: 19px; color: var(--sc-v2-ink); background: #fcfbff; box-shadow: 0 6px 14px rgba(42,48,88,.03); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease; }
.sc-v2-category-card:hover { border-color: rgba(111,53,216,.35); color: var(--sc-v2-purple); box-shadow: 0 12px 22px rgba(111,53,216,.10); transform: translateY(-2px); }
.sc-v2-category-card:focus-visible { border-color: var(--sc-v2-purple); box-shadow: 0 0 0 4px rgba(111,53,216,.13); outline: none; }
.sc-v2-category-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 13px; color: var(--sc-v2-purple); background: #eee8ff; }
.sc-v2-category-icon img { width: 22px; height: 22px; object-fit: contain; }
.sc-v2-category-icon svg, .sc-v2-category-svg { display: block; width: 22px; height: 22px; }
.sc-v2-category-name { font-size: 14px; font-weight: 800; }
.sc-v2-category-copy small { display: block; margin-top: 4px; color: var(--sc-v2-muted); font-size: 11px; }
.sc-v2-category-arrow { margin-left: auto; color: var(--sc-v2-purple); }
.sc-v2-category-grid--photo { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.sc-v2-category-photo-card { position: relative; display: block; height: 126px; overflow: hidden; border-radius: 16px; color: #fff; background: #17233d; box-shadow: 0 10px 22px rgba(42,48,88,.10); transition: box-shadow .25s ease, transform .25s ease; }
.sc-v2-category-photo-card::after { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(13,20,42,0) 34%, rgba(13,20,42,.86) 100%); content: ''; }
.sc-v2-category-photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sc-v2-category-photo-card:hover { color: #fff; box-shadow: 0 18px 34px rgba(42,48,88,.18); transform: translateY(-4px); }
.sc-v2-category-photo-card:hover img { transform: scale(1.06); }
.sc-v2-category-photo-card:focus-visible { box-shadow: 0 0 0 4px rgba(111,53,216,.25), 0 14px 28px rgba(42,48,88,.14); outline: none; }
.sc-v2-category-photo-copy { position: absolute; right: 12px; bottom: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; }
.sc-v2-category-photo-copy strong { color: #fff; font-size: 14px; font-weight: 800; line-height: 1.2; text-shadow: 0 1px 8px rgba(0,0,0,.2); }
.sc-v2-category-photo-copy small { margin-top: 4px; color: rgba(255,255,255,.88); font-size: 11px; }
.sc-v2-category-photo-arrow { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #fff; background: rgba(13,20,42,.35); opacity: 0; transition: opacity .25s ease, background .25s ease; }
.sc-v2-category-photo-card:hover .sc-v2-category-photo-arrow, .sc-v2-category-photo-card:focus-visible .sc-v2-category-photo-arrow { opacity: 1; }
.sc-v2-category-photo-card:hover .sc-v2-category-photo-arrow { background: rgba(111,53,216,.82); }
.sc-v2-featured { margin-top: 82px; padding-bottom: 84px; background: linear-gradient(180deg, #faf9ff 0%, #f6f3ff 100%); }
.sc-v2-course-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sc-v2-tutor-recommendations { padding-top: 70px; }
/* Swiper owns slide translation, native touch swipes, and mouse dragging. */
.sc-v2-tutor-viewport {
    overflow: hidden;
    padding: 16px 0 22px;
    cursor: grab;
    touch-action: pan-y;
}
.sc-v2-tutor-viewport:active { cursor: grabbing; }
.sc-v2-tutor-viewport img { -webkit-user-drag: none; }
.sc-v2-tutor-track {
    display: flex;
    align-items: stretch;
    width: 100%;
}
.sc-v2-tutor-card { flex: 0 0 310px; width: 310px; padding: 20px; border: 1px solid rgba(111,53,216,.14); border-radius: 22px; background: #fff; box-shadow: 0 12px 28px rgba(42,48,88,.07); opacity: .72; transition: transform .35s ease, opacity .35s ease, box-shadow .35s ease, border-color .35s ease; }
.sc-v2-tutor-card.swiper-slide-active { border-color: rgba(111,53,216,.34); box-shadow: 0 20px 38px rgba(42,48,88,.14); opacity: 1; transform: translateY(-8px) scale(1.03); }
.sc-v2-tutor-card:hover { border-color: rgba(111,53,216,.34); box-shadow: 0 18px 34px rgba(42,48,88,.12); transform: translateY(-4px); }
.sc-v2-tutor-card-top { display: flex; align-items: center; gap: 12px; }
.sc-v2-tutor-card-top img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: #f0eaff; }
.sc-v2-tutor-status { padding: 6px 10px; border-radius: 999px; color: #6430c6; background: #f1ebff; font-size: 11px; font-weight: 800; }
.sc-v2-tutor-card h3 { margin: 17px 0 6px; color: var(--sc-v2-ink); font-size: 19px; font-weight: 800; }
.sc-v2-tutor-rating { color: #6f35d8; font-size: 13px; font-weight: 800; }
.sc-v2-tutor-rating span { color: #f3ad22; }
.sc-v2-tutor-rating small { margin-left: 7px; color: var(--sc-v2-muted); font-size: 12px; font-weight: 500; }
.sc-v2-tutor-card p { min-height: 48px; margin: 14px 0 18px; color: var(--sc-v2-muted); font-size: 13px; line-height: 1.6; }
.sc-v2-tutor-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--sc-v2-line); color: var(--sc-v2-muted); font-size: 12px; }
.sc-v2-tutor-card-footer a { color: var(--sc-v2-purple); font-weight: 800; }
.sc-v2-tutor-dots { display: flex; justify-content: center; gap: 8px; }
.sc-v2-tutor-dot { width: 9px; height: 9px; padding: 0; border: 1px solid #c8b5f4; border-radius: 50%; background: #fff; cursor: pointer; }
.sc-v2-tutor-dot.is-active { width: 24px; border-color: var(--sc-v2-purple); border-radius: 999px; background: var(--sc-v2-purple); }

/* Keep recommended tutor photos compact so they read as profile avatars. */
.sc-v2-tutor-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}
.sc-v2-tutor-card-top img {
    display: block;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    background: #f0eaff;
}
.sc-v2-tutor-status {
    padding: 6px 10px;
    border: 0;
    background: #f1ebff;
    box-shadow: none;
}
.sc-v2-tutor-card h3 { margin-top: 17px; }
.sc-v2-course-card { overflow: hidden; border: 1px solid var(--sc-v2-line); border-radius: 16px; color: var(--sc-v2-ink); background: #fff; box-shadow: 0 10px 22px rgba(42,48,88,.07); transition: .2s ease; }
.sc-v2-course-card:hover { color: var(--sc-v2-ink); box-shadow: 0 18px 34px rgba(42,48,88,.13); transform: translateY(-4px); }
/* Use proportional course thumbnail frames instead of fixed-height strips. */
.sc-v2-course-art { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #dfe5ff; }
.sc-v2-course-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .3s ease; }
@media (max-width: 768px) {
    .sc-v2-course-art { aspect-ratio: 4 / 3; }
}
.sc-v2-course-card:hover .sc-v2-course-art img { transform: scale(1.04); }
.sc-v2-course-art span { position: absolute; top: 10px; left: 10px; padding: 5px 8px; border-radius: 999px; color: #fff; background: rgba(23,35,61,.82); font-size: 10px; font-weight: 800; }
.sc-v2-course-body { padding: 12px; }
.sc-v2-course-body small, .sc-v2-upcoming-card small { color: var(--sc-v2-purple); font-size: 10px; font-weight: 800; }
.sc-v2-course-body h3, .sc-v2-upcoming-card h3 { margin: 6px 0 12px; color: var(--sc-v2-ink); font-size: 14px; font-weight: 800; line-height: 1.22; }
.sc-v2-course-meta { display: flex; align-items: center; justify-content: space-between; color: var(--sc-v2-muted); font-size: 12px; }
.sc-v2-course-meta span { display: inline-flex; align-items: center; gap: 5px; }
.sc-v2-course-meta strong { color: var(--sc-v2-purple); font-size: 15px; }
.sc-v2-upcoming-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sc-v2-upcoming-card { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--sc-v2-line); border-radius: 18px; color: var(--sc-v2-ink); background: #fff; transition: .2s ease; }
.sc-v2-upcoming-card:hover { color: var(--sc-v2-ink); box-shadow: 0 13px 25px rgba(42,48,88,.10); transform: translateY(-2px); }
.sc-v2-upcoming-card img { width: 110px; height: 110px; border-radius: 15px; object-fit: cover; }
.sc-v2-upcoming-card h3 { margin-bottom: 12px; font-size: 15px; }
.sc-v2-upcoming-card span { display: inline-flex; align-items: center; gap: 5px; color: var(--sc-v2-muted); font-size: 12px; }
.sc-v2-split-section { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding-top: 88px; }
.sc-v2-split-card { position: relative; display: flex; min-height: 330px; overflow: hidden; align-items: center; padding: 34px; border-radius: 26px; }
.sc-v2-split-card > div { position: relative; z-index: 1; max-width: 255px; }
.sc-v2-split-card h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.05em; line-height: 1.08; }
.sc-v2-split-card p { margin: 16px 0 24px; color: var(--sc-v2-muted); font-size: 14px; line-height: 1.6; }
.sc-v2-split-card img { position: absolute; right: -60px; bottom: -35px; width: 63%; height: 245px; border-radius: 24px; object-fit: cover; transform: rotate(-4deg); box-shadow: 0 16px 30px rgba(42,48,88,.12); }
.sc-v2-split-card-purple { background: #f0eaff; }
.sc-v2-split-card-yellow { background: #fff3d9; }
.sc-v2-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 40px; margin-bottom: 0; padding: 38px 44px; border-radius: 26px; color: #fff; background: linear-gradient(120deg, #251743 0%, #6f35d8 100%); }
.sc-v2-cta h2 { margin: 0; color: #fff; font-size: 32px; font-weight: 800; letter-spacing: -.05em; }
.sc-v2-cta p { margin: 10px 0 0; color: rgba(255,255,255,.72); }
.sc-v2-cta .sc-v2-kicker { color: #f8c6a1; }
.sc-v2-cta .btn { background: #fff !important; color: var(--sc-v2-purple) !important; box-shadow: none; }

.sc-v2-editorial { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 80px; align-items: center; padding-top: 100px; }
.sc-v2-editorial-intro h2 { max-width: 430px; margin: 0; color: var(--sc-v2-ink); font-size: 44px; font-weight: 800; letter-spacing: -.06em; line-height: 1.04; }
.sc-v2-editorial-intro p { max-width: 450px; margin: 18px 0 25px; color: var(--sc-v2-muted); font-size: 15px; line-height: 1.7; }
.sc-v2-editorial-list { border-top: 1px solid var(--sc-v2-line); }
.sc-v2-editorial-list > div { display: grid; grid-template-columns: 42px 1fr 24px; gap: 18px; align-items: start; padding: 23px 0; border-bottom: 1px solid var(--sc-v2-line); }
.sc-v2-editorial-list > div > span { color: var(--sc-v2-purple); font-size: 12px; font-weight: 800; }
.sc-v2-editorial-list h3 { margin: 0; color: var(--sc-v2-ink); font-size: 18px; font-weight: 800; }
.sc-v2-editorial-list p { margin: 7px 0 0; color: var(--sc-v2-muted); font-size: 13px; line-height: 1.5; }
.sc-v2-editorial-list > div > svg { color: var(--sc-v2-purple); }

.sc-v2-difference { width: 100%; max-width: none; padding: 94px 3.5% 92px; background: linear-gradient(180deg, #010140 0%, #020447 56%, #020849 100%); }
.sc-wide-site .sc-v2-difference { position: relative; width: 100%; max-width: none; margin-right: 0; margin-left: 0; overflow: hidden; }
.sc-v2-home.sc-v2-home--wide .sc-v2-difference { position: relative; overflow: hidden; }
.sc-v2-difference::before,
.sc-v2-difference::after { position: absolute; border-radius: 999px; content: ''; pointer-events: none; }
.sc-v2-difference::before { top: -180px; right: -90px; width: 420px; height: 420px; background: rgba(40, 182, 229, .18); }
.sc-v2-difference::after { bottom: -240px; left: -110px; width: 480px; height: 480px; border: 44px solid rgba(40, 182, 229, .18); }
.sc-v2-difference-heading { max-width: 850px; margin: 0 auto 34px; text-align: center; }
.sc-v2-difference-wave { display: block; height: 25px; color: #f26f21; font-size: 38px; font-weight: 900; line-height: 18px; transform: rotate(-4deg); }
.sc-v2-difference-heading .sc-v2-kicker { display: block; color: #fff; }
.sc-v2-difference-heading h2 { margin: 9px 0 0; color: #fff; font-size: 36px; font-weight: 800; letter-spacing: -.055em; line-height: 1.1; }
.sc-v2-difference-heading p { max-width: 760px; margin: 18px auto 0; color: rgba(255,255,255,.74); font-size: 15px; line-height: 1.65; }
.sc-v2-benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sc-v2-difference-heading,
.sc-v2-benefit-grid { position: relative; z-index: 1; }
.sc-v2-benefit-card { cursor: pointer; position: relative; display: flex; align-items: center; gap: 22px; min-height: 142px; padding: 25px 52px 25px 28px; overflow: hidden; border: 1px solid var(--sc-v2-line); border-radius: 14px; background: linear-gradient(135deg, #fff 0%, #fff 65%, #f1fbfe 100%); box-shadow: 0 8px 17px rgba(3,4,94,.04); color: inherit; text-decoration: none; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease, background .25s ease; }
.sc-v2-benefit-card::before { position: absolute; right: -34px; bottom: -48px; width: 120px; height: 120px; border-radius: 50%; background: rgba(144,224,239,.18); content: ''; transition: transform .3s ease, background .3s ease; }
.sc-v2-benefit-card:hover, .sc-v2-benefit-card:focus-visible { border-color: var(--sc-v2-blue); background: linear-gradient(135deg, #fff 0%, #f5fdff 55%, var(--sc-v2-lavender) 100%); box-shadow: 0 18px 32px rgba(0,119,182,.16); transform: translateY(-6px); text-decoration: none; }
.sc-v2-benefit-card:hover::before, .sc-v2-benefit-card:focus-visible::before { background: rgba(72,202,228,.25); transform: scale(1.45); }
.sc-v2-benefit-card:focus-visible { outline: 3px solid rgba(0,180,216,.35); outline-offset: 3px; }
.sc-v2-benefit-card img { position: relative; z-index: 1; flex: 0 0 58px; width: 58px; height: 58px; object-fit: contain; transition: transform .25s ease; }
.sc-v2-benefit-card:hover img, .sc-v2-benefit-card:focus-visible img { transform: scale(1.12) rotate(-4deg); }
.sc-v2-benefit-card > div { position: relative; z-index: 1; flex: 1; }
.sc-v2-benefit-card h3 { margin: 0; color: var(--sc-v2-ink); font-size: 17px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.sc-v2-benefit-card p { margin: 10px 0 0; color: var(--sc-v2-muted); font-size: 13px; line-height: 1.55; }
.sc-v2-benefit-arrow { position: absolute; z-index: 2; top: 21px; right: 20px; width: 18px; height: 18px; color: var(--sc-v2-purple); opacity: 0; transform: translate(-5px, 5px); transition: opacity .25s ease, transform .25s ease; }
.sc-v2-benefit-card:hover .sc-v2-benefit-arrow, .sc-v2-benefit-card:focus-visible .sc-v2-benefit-arrow { opacity: 1; transform: translate(0, 0); }

.sc-v2-testimonials { margin-top: 96px; padding: 82px 0 92px; background: #faf9ff; }
.sc-v2-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sc-v2-testimonial-card { position: relative; min-height: 245px; padding: 28px; border: 1px solid var(--sc-v2-line); border-radius: 22px; background: #fff; box-shadow: 0 14px 30px rgba(42,48,88,.05); }
.sc-v2-quote { color: #f1c4a6; font-family: Georgia, serif; font-size: 66px; line-height: .55; }
.sc-v2-testimonial-card > p { min-height: 90px; margin: 20px 0 25px; color: var(--sc-v2-ink); font-size: 14px; line-height: 1.7; }
.sc-v2-testimonial-person { display: flex; align-items: center; gap: 10px; }
.sc-v2-testimonial-person img { width: 39px; height: 39px; border-radius: 50%; object-fit: cover; }
.sc-v2-testimonial-person strong, .sc-v2-testimonial-person small { display: block; }
.sc-v2-testimonial-person strong { color: var(--sc-v2-ink); font-size: 12px; }
.sc-v2-testimonial-person small { max-width: 130px; margin-top: 3px; overflow: hidden; color: var(--sc-v2-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.sc-v2-testimonial-person > span { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: #e89a35; font-size: 12px; font-weight: 800; }

/* Keep the lower homepage sections connected to the same deep-ocean visual system. */
.sc-v2-home {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 8% 28%, transparent 0 170px, rgba(40,182,229,.16) 172px 214px, transparent 216px),
        radial-gradient(circle at 92% 62%, rgba(40,182,229,.13) 0 190px, transparent 192px),
        linear-gradient(180deg, #010140 0%, #020447 56%, #020849 100%);
}

.sc-v2-home .sc-v2-difference,
.sc-v2-home .sc-v2-stats-wrap {
    background: transparent;
}

.sc-v2-home .sc-v2-difference::before,
.sc-v2-home .sc-v2-difference::after,
.sc-v2-home .sc-v2-stats-wrap::before,
.sc-v2-home .sc-v2-stats-wrap::after {
    display: none;
}

.sc-v2-home .sc-v2-discover,
.sc-v2-home .sc-v2-tutor-recommendations,
.sc-v2-home .sc-v2-featured,
.sc-v2-home .sc-v2-testimonials,
.sc-v2-home .sc-v2-split-section {
    background: transparent;
}

.sc-v2-home .sc-v2-section-heading h2,
.sc-v2-home .sc-v2-editorial-intro h2,
.sc-v2-home .sc-v2-editorial-list h3 {
    color: #fff;
}

.sc-v2-home .sc-v2-section-heading p,
.sc-v2-home .sc-v2-editorial-intro p,
.sc-v2-home .sc-v2-editorial-list p {
    color: rgba(255,255,255,.74);
}

.sc-v2-home .sc-v2-section-heading .sc-v2-kicker {
    color: #28b6e5;
}

.sc-v2-home .sc-v2-section-heading .sc-v2-text-link,
.sc-v2-home .sc-v2-editorial-list > div > svg {
    color: #48CAE4;
}

/* Homepage palette: deep blue at the entry and closing moments, warm neutrals between. */
.sc-v2-home {
    background: #fff;
}

.sc-v2-home .sc-v2-hero {
    background: #00002B;
}

.sc-v2-home .sc-v2-difference {
    color: var(--sc-v2-ink);
    background: #fff;
}

.sc-v2-home .sc-v2-difference-heading .sc-v2-kicker {
    color: var(--sc-v2-purple);
}

.sc-v2-home .sc-v2-difference-heading h2,
.sc-v2-home .sc-v2-difference-heading p {
    color: var(--sc-v2-ink);
}

.sc-v2-home .sc-v2-difference-heading p {
    color: var(--sc-v2-muted);
}

.sc-v2-home .sc-v2-stats-wrap {
    color: var(--sc-v2-ink);
    background: #fffaf4;
}

.sc-v2-home .sc-v2-stats-heading h2 {
    color: var(--sc-v2-ink);
}

.sc-v2-home .sc-v2-stats-heading .sc-v2-kicker {
    color: var(--sc-v2-purple);
}

.sc-v2-home .sc-v2-discover,
.sc-v2-home .sc-v2-tutor-recommendations,
.sc-v2-home .sc-v2-split-section {
    background: #fff;
}

.sc-v2-home .sc-v2-featured {
    background: #eaf7ff;
}

.sc-v2-home .sc-v2-testimonials {
    background: #fff;
}

.sc-v2-home .sc-v2-section-heading h2,
.sc-v2-home .sc-v2-editorial-intro h2,
.sc-v2-home .sc-v2-editorial-list h3 {
    color: var(--sc-v2-ink);
}

.sc-v2-home .sc-v2-section-heading p,
.sc-v2-home .sc-v2-editorial-intro p,
.sc-v2-home .sc-v2-editorial-list p {
    color: var(--sc-v2-muted);
}

.sc-v2-home .sc-v2-cta {
    background: linear-gradient(120deg, #03045e 0%, #023e8a 100%);
    margin-bottom: 0;
}

.sc-v2-home--dark-header::after {
    display: block;
    height: 28px;
    background: #fff;
    content: '';
}

.sc-v2-home .sc-v2-cta .btn {
    background: #48CAE4 !important;
    color: #03045e !important;
}

/* Keep the lower homepage CTA and footer on the same alignment as the page sections. */
main.sc-v2-home > .sc-v2-cta {
    width: var(--sc-v2-content-width);
    max-width: var(--sc-public-max-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: 44px;
    padding-left: 44px;
}

main.sc-v2-home + .footer > .container,
main.sc-v2-home + .footer .footer-copyright-card > .container {
    width: var(--sc-public-content-width);
    max-width: var(--sc-public-max-width);
    margin-right: auto;
    margin-left: auto;
}

/* Give the footer copy a little breathing room below the homepage CTA. */
main.sc-v2-home + .footer > .container {
    padding-top: 28px;
}

main.sc-v2-home + .footer > .container .row {
    row-gap: 24px;
}

main.sc-v2-home + .footer > .container .row > [class*="col-"] > .mt-20 {
    margin-top: 24px !important;
}

main.sc-v2-home + .footer > .container .row p {
    margin-bottom: 8px;
    line-height: 1.6;
}

main.sc-v2-home + .footer > .container .row li + li {
    margin-top: 7px;
}

main.sc-v2-home + .footer,
main.sc-v2-home + .footer * {
    font-family: 'SugarClass Montserrat', Montserrat, Arial, sans-serif;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .sc-v2-hero-grid,
    .sc-v2-home--wide .sc-v2-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .sc-v2-hero-copy,
    .sc-v2-home--wide .sc-v2-hero-copy {
        max-width: 720px;
    }

    .sc-v2-hero-art,
    .sc-v2-home--wide .sc-v2-hero-art {
        width: min(100%, 760px);
        min-height: 460px;
        justify-self: center;
    }

    .sc-v2-hero-media,
    .sc-v2-home--wide .sc-v2-hero-media {
        height: 460px;
    }

    .sc-v2-hero-media-image img,
    .sc-v2-hero-media-slide img,
    .sc-v2-home--wide .sc-v2-hero-media-image img,
    .sc-v2-home--wide .sc-v2-hero-media-slide img {
        height: 460px;
    }
}

@media (max-width: 991px) {
    .sc-v2-home--wide .sc-v2-hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .sc-v2-home--wide .sc-v2-hero-art { min-height: 330px; }
    .sc-v2-home--wide .sc-v2-hero-media { height: 330px; }
    .sc-v2-home--wide .sc-v2-hero-media-image img { height: 330px; }
    .sc-v2-home--wide .sc-v2-hero-media-video video { width: 100%; height: 290px; border-width: 5px; border-radius: 25px; }
    .sc-v2-home--wide .sc-v2-hero-media-slide-video video { width: 205px; height: 300px; border-width: 5px; border-radius: 25px; }
    .sc-v2-home--wide .sc-v2-hero-media-slide img { height: 290px; }
    .sc-v2-home--wide .sc-v2-hero-media-slide-qna img { width: 96%; height: 310px; }
    .sc-v2-home--wide .sc-v2-hero-media-html iframe { width: 205px; height: 300px; border-width: 5px; border-radius: 25px; }
    .sc-v2-home--wide .sc-v2-course-grid, .sc-v2-home--wide .sc-v2-upcoming-grid { grid-template-columns: repeat(2, 1fr); }
    .sc-v2-home--wide .sc-v2-category-grid--photo { grid-template-columns: repeat(2, 1fr); }
    .sc-v2-hero { padding: 55px 0 86px; }
    .sc-v2-hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .sc-v2-hero-copy { max-width: none; }
    .sc-v2-hero-art { min-height: 330px; }
    .sc-v2-hero-media { height: 330px; }
    .sc-v2-hero-media-image img { height: 330px; }
    .sc-v2-hero-media-video video { width: 100%; height: 290px; border-width: 5px; border-radius: 25px; }
    .sc-v2-hero-media-slide-video video { width: 205px; max-width: none; height: 300px; border-width: 5px; border-radius: 25px; }
    .sc-v2-hero-media-slide-video .sc-v2-hero-media-label,
    .sc-v2-hero-media-html .sc-v2-hero-media-label { right: auto; left: calc(50% - 102px); }
    .sc-v2-hero-media-slide img { height: 290px; }
    .sc-v2-hero-media-slide-grades img { width: 92%; height: 260px; margin-left: 0; }
    .sc-v2-hero-media-slide-qna img { width: 96%; height: 310px; }
    .sc-v2-hero-media-html iframe { width: 205px; height: 300px; border-width: 5px; border-radius: 25px; }
    .sc-v2-floating-note-one { left: 12px; }
    .sc-v2-floating-note-two { right: 12px; }
    .sc-v2-stats { grid-template-columns: repeat(2, 1fr); }
    .sc-v2-course-grid, .sc-v2-upcoming-grid { grid-template-columns: repeat(2, 1fr); }
    .sc-v2-category-grid--photo { grid-template-columns: repeat(2, 1fr); }
    .sc-v2-editorial { gap: 38px; }
    .sc-v2-benefit-grid { grid-template-columns: repeat(2, 1fr); }
    .sc-v2-testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .sc-v2-hero::before { display: none; }
    .sc-v2-home--wide .sc-v2-course-grid, .sc-v2-home--wide .sc-v2-upcoming-grid, .sc-v2-home--wide .sc-v2-category-grid--photo { grid-template-columns: 1fr; }
    .sc-v2-hero h1 { font-size: 46px; }
    .sc-v2-hero h1.sc-v2-hero-title--long { font-size: 28px; line-height: 1.2; white-space: normal; }
    .sc-v2-hero-copy p { font-size: 16px; }
    .sc-v2-search { align-items: stretch; border-radius: 18px; flex-wrap: wrap; padding: 10px; }
    .sc-v2-search input { flex-basis: calc(100% - 35px); }
    .sc-v2-search .btn { width: 100%; }
    .sc-v2-hero-art { min-height: 245px; }
    .sc-v2-hero-media { height: 300px; }
    .sc-v2-hero-media-image img { width: 100%; height: 300px; margin-left: 0; border-radius: 0; }
    .sc-v2-hero-media-video video { width: 100%; height: 245px; border-width: 4px; border-radius: 20px; }
    .sc-v2-hero-media-slide-video video { width: 170px; max-width: none; height: 245px; border-width: 4px; border-radius: 20px; }
    .sc-v2-hero-media-slide-video .sc-v2-hero-media-label,
    .sc-v2-hero-media-html .sc-v2-hero-media-label { right: auto; left: calc(50% - 85px); }
    .sc-v2-hero-media-slide img { height: 245px; border-width: 4px; border-radius: 20px; }
    .sc-v2-hero-media-slide-grades img { width: 94%; height: 225px; margin-left: 0; }
    .sc-v2-hero-media-slide-qna img { width: 100%; height: 260px; }
    .sc-v2-hero-media-html iframe { width: 170px; height: 245px; border-width: 4px; border-radius: 20px; }
    .sc-v2-hero-media-label { left: 8px; bottom: 15px; padding: 8px 10px; font-size: 10px; }
    .sc-v2-floating-note { padding: 9px 10px; font-size: 10px; }
    .sc-v2-floating-note-one { top: 16px; left: 8px; }
    .sc-v2-floating-note-two { right: 8px; bottom: 16px; }
    .sc-v2-stats-wrap { margin-top: 0; padding-top: 56px; }
    .sc-v2-stats-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
    .sc-v2-stats-heading h2 { font-size: 26px; }
    .sc-v2-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .sc-v2-stat-card { min-height: 114px; padding: 16px; }
    .sc-v2-stat-card strong { font-size: 28px; }
    .sc-v2-section { padding-top: 58px; }
    .sc-v2-discover { padding-top: 62px; }
    .sc-v2-section-heading { align-items: flex-start; flex-direction: column; }
    .sc-v2-section-heading h2 { font-size: 27px; }
    .sc-v2-category-grid, .sc-v2-course-grid, .sc-v2-upcoming-grid, .sc-v2-split-section, .sc-v2-editorial, .sc-v2-benefit-grid, .sc-v2-testimonial-grid { grid-template-columns: 1fr; }
    .sc-v2-tutor-card { width: min(310px, 82vw); flex-basis: min(310px, 82vw); }
    .sc-v2-category-photo-card { height: auto; aspect-ratio: 16 / 9; }
    .sc-v2-category-photo-card img { display: block; height: 100%; object-fit: contain; }
    .sc-v2-category-photo-card:hover, .sc-v2-category-photo-card:hover img { transform: none; }
    .sc-v2-hero-proof { align-items: flex-start; }
    .sc-v2-art-sticker-top { top: 8px; right: 12px; }
    .sc-v2-featured { margin-top: 58px; padding-bottom: 60px; }
    .sc-v2-split-section { padding-top: 60px; }
    .sc-v2-split-card { min-height: 300px; padding: 25px; }
    .sc-v2-split-card img { right: -72px; width: 66%; }
    .sc-v2-cta { align-items: flex-start; flex-direction: column; margin-top: 32px; margin-bottom: 0; padding: 28px; }
    .sc-v2-home--dark-header::after { height: 20px; }
    .sc-v2-cta h2 { font-size: 28px; }
    .sc-v2-editorial { gap: 40px; padding-top: 68px; }
    .sc-v2-editorial-intro h2 { font-size: 35px; }
    .sc-v2-difference { padding-top: 64px; }
    .sc-v2-difference-heading h2 { font-size: 30px; }
    .sc-v2-benefit-grid { gap: 14px; }
    .sc-v2-benefit-card { gap: 16px; padding: 20px; }
    .sc-v2-testimonials { margin-top: 64px; padding: 58px 0 64px; }
}

/* Keep the hero artwork in a square frame while showing the full wide screenshot. */
.sc-v2-home .sc-v2-hero-media-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
}

@media (prefers-reduced-motion: reduce) {
    .sc-v2-hero-particles span,
    .sc-v2-hero-media-image img,
    .sc-v2-hero-art-glow {
        animation: none !important;
        transition-duration: .01ms !important;
    }
    .sc-v2-hero-media-video { display: none; }
    .sc-v2-hero-media-layer { transition: none; }
}

/* Use one content boundary for every homepage section while backgrounds remain full-width. */
.sc-v2-home > .container,
.sc-v2-home .sc-v2-hero > .container,
.sc-v2-home .sc-v2-featured > .container,
.sc-v2-home .sc-v2-testimonials > .container {
    width: var(--sc-v2-content-width);
    max-width: var(--sc-public-max-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
    box-sizing: border-box;
}

/* Let the dark hero overlap the header edge so the two areas read as one surface. */
.sc-v2-home--dark-header .sc-v2-hero {
    margin-top: -1px;
}

/* Keep the success statistics section compact and on a clean white surface. */
.sc-v2-home .sc-v2-stats-wrap {
    padding-top: 44px;
    padding-bottom: 52px;
    background: #fff;
}

.sc-v2-home .sc-v2-stats-heading {
    margin-bottom: 16px;
}

.sc-v2-home .sc-v2-stat-card {
    min-height: 128px;
    padding: 18px;
}

.sc-v2-home .sc-v2-stat-card strong {
    margin-top: 9px;
    font-size: 34px;
}

.sc-v2-home .sc-v2-stat-card small {
    margin-top: 6px;
}

/* Give the next section a clear visual start below the hero. */
.sc-v2-home .sc-v2-difference {
    padding-top: 112px;
    padding-bottom: 56px;
    background: #fff;
}

.sc-v2-home .sc-v2-difference-heading {
    margin-bottom: 22px;
}

/* Reduce the gap between the hero and the next section on larger screens. */
@media (min-width: 992px) {
    .sc-v2-home .sc-v2-hero {
        padding-bottom: 36px;
    }

    .sc-v2-home .sc-v2-difference {
        padding-top: 48px;
    }
}

@media (max-width: 575px) {
    .sc-v2-home .sc-v2-difference {
        padding-top: 72px;
    }

    .sc-v2-home .sc-v2-stats-wrap {
        padding-top: 40px;
        padding-bottom: 44px;
    }

    .sc-v2-home .sc-v2-stat-card {
        min-height: 108px;
        padding: 14px;
    }

    .sc-v2-home .sc-v2-difference {
        padding-top: 72px;
        padding-bottom: 44px;
    }
}


@media (max-width: 575px) {
    main.sc-v2-home > .sc-v2-cta {
        padding-right: 28px;
        padding-left: 28px;
    }


}
