@font-face {
    font-family: 'Plato Inter';
    src: url('../fonts/classroom/inter-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}
.mega-page {
    --mega-ink: #172132;
    --mega-blue: #244F6D;
    --mega-deep: #1C4059;
    --mega-paper: #F4F7FA;
    --mega-line: #D6E1EB;
    color: var(--mega-ink);
    font-family: 'Plato Inter', Inter, system-ui, sans-serif;
}
.mega-page ::selection { background: #F6C453; color: #172132; }
.mega-container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.mega-hero { background: var(--mega-paper); border-bottom: 1px solid var(--mega-line); }
.mega-hero-grid { display: grid; gap: 32px; padding-block: 36px; }
.mega-hero-copy { align-self: center; }
.mega-hero-lockup { position: relative; display: table; color: var(--mega-deep); font-size: 38px; margin-bottom: 24px; }
.mega-underline { position: absolute; width: 45%; height: 12px; right: 0; bottom: -5px; }
.mega-page h1 { max-width: 14ch; font-size: 36px; line-height: 1.13; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; margin: 0 0 20px; }
.mega-hero-description { max-width: 48ch; font-size: 16px; line-height: 1.65; margin: 0 0 24px; }
.mega-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; border: 1px solid var(--mega-blue); border-radius: 10px; padding: 12px 20px; background: var(--mega-blue); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.mega-button svg { width: 20px; height: 20px; }
.mega-button:focus-visible { outline: 2px solid var(--mega-blue); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
    .mega-button:hover { background: var(--mega-deep); color: #fff; }
}
.mega-video { position: relative; width: min(100%, 272px); margin: 152px auto 0; }
.mega-host { position: absolute; left: 50%; bottom: calc(100% - 36px); width: auto; height: 204px; transform: translateX(-56%); pointer-events: none; }
.mega-video-frame { position: relative; z-index: 1; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 12px; background: var(--mega-deep); border: 1px solid var(--mega-deep); }
.mega-video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.mega-video figcaption { margin-top: 12px; text-align: center; color: var(--mega-blue); font-size: 13px; line-height: 1.5; }
.mega-page h2 { margin: 0 0 28px; font-size: 28px; line-height: 1.2; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
.mega-features { padding-block: 52px; }
.mega-feature-grid { display: grid; gap: 28px; }
.mega-feature { border-top: 1px solid var(--mega-line); padding-top: 20px; }
.mega-feature svg { width: 96px; height: 64px; margin-bottom: 16px; color: var(--mega-blue); }
.mega-feature h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.35; font-weight: 650; letter-spacing: -.015em; }
.mega-feature p { margin: 0; font-size: 15px; line-height: 1.7; max-width: 65ch; }
.mega-courses { padding-block: 48px; background: var(--mega-paper); border-block: 1px solid var(--mega-line); }
.mega-courses h2 { margin-bottom: 16px; }
.mega-courses-description { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 28px; }
.mega-courses-description p { max-width: 55ch; font-size: 15px; line-height: 1.7; margin: 0; }
.mega-course-grid { display: grid; gap: 20px; }
.mega-faq { padding-block: 52px; }
.mega-faq dl { margin: 0; }
.mega-faq dl > div { border-top: 1px solid var(--mega-line); padding-block: 24px; }
.mega-faq dt { font-size: 17px; line-height: 1.4; font-weight: 650; margin-bottom: 10px; }
.mega-faq dd { max-width: 70ch; margin: 0; font-size: 15px; line-height: 1.75; }
.mega-closing { padding-top: 24px; }
@media (min-width: 640px) {
    .mega-container { width: min(1120px, calc(100% - 64px)); }
    .mega-feature-grid, .mega-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
}
@media (min-width: 960px) {
    .mega-hero-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 80px; padding-block: 52px; }
    .mega-hero-lockup { font-size: 56px; margin-bottom: 32px; }
    .mega-page h1 { font-size: 52px; }
    .mega-hero-description { font-size: 18px; }
    .mega-video { width: 328px; margin-top: 0; }
    .mega-host { display: none; }
    .mega-hero--without-video .mega-hero-grid { grid-template-columns: 1fr; padding-block: 64px; }
    .mega-hero--without-video h1 { max-width: 22ch; }
    .mega-hero--without-video .mega-hero-description { max-width: 65ch; }
    .mega-features, .mega-faq { padding-block: 72px; }
    .mega-page h2 { font-size: 36px; margin-bottom: 36px; }
    .mega-feature-grid, .mega-course-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
    .mega-feature svg { width: 120px; height: 80px; }
    .mega-courses { padding-block: 64px; }
    .mega-courses h2 { margin-bottom: 16px; }
    .mega-faq dl > div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
    .mega-faq dt { margin-bottom: 0; }
    .mega-closing { text-align: right; }
}
@media (min-width: 1200px) {
    .mega-host { display: block; z-index: 2; left: auto; right: calc(100% - 40px); bottom: -53px; height: clamp(350px, 30vw, 400px); transform: none; }
}

