/* EduBoard — public student-portal website.
   Colours, fonts and corner radius arrive as CSS variables from the server
   (an inline <style>:root{…} per centre); the fallbacks below keep unthemed
   pages (404 etc.) looking right. Mobile-first, no frameworks, no JS needed. */

:root {
  --p: #3730a3; --p-600: #2f2991; --p-700: #262183; --p-200: #c7c4f5; --p-100: #e0def9; --p-50: #f1f0fc;
  --on-p: #ffffff; --p-text: #3730a3;
  --a: #f59e0b; --a-100: #fef0d3; --on-a: #111827;
  --r: 14px; --rb: 10px;
  --font-head: "Sora", system-ui, sans-serif; --font-body: "Inter", system-ui, sans-serif;
  --hdr-bg: #ffffff; --hdr-fg: #0f172a; --hero-fg: #ffffff;
  --hero-from: #1d1a6a; --hero-to: #5b3fa8;
  --ink: #0f172a; --ink-2: #334155; --muted: #64748b; --line: #e2e8f0; --bg-alt: #f8fafc;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 4px 16px rgba(15, 23, 42, .08);
  --shadow-lg: 0 18px 50px rgba(15, 23, 42, .14);
  --ok: #15803d; --ok-bg: #e4f5e9;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.05rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--p-text); text-underline-offset: 3px; }
ul, ol { padding: 0; }
:focus-visible { outline: 3px solid var(--p); outline-offset: 2px; border-radius: 4px; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 820px; }
.ic { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -0.2em; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; box-shadow: var(--shadow); }
.skip-link:focus { left: 12px; }

/* ---------- Announcement bar ---------- */
.announce { background: var(--a); color: var(--on-a); font-size: 14px; font-weight: 600; text-align: center; }
.announce p { margin: 0; padding: 9px 0; }
.announce a { color: inherit; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--hdr-bg); color: var(--hdr-fg); box-shadow: 0 1px 0 rgba(15, 23, 42, .08); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; min-width: 0; }
.brand-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: #fff; flex-shrink: 0; }
.brand-initials { display: inline-grid; place-items: center; background: var(--p); color: var(--on-p); font: 800 15px var(--font-head); }
.brand-name { font: 700 1.05rem var(--font-head); letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 34ch; }
.hdr-menu { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { color: inherit; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; opacity: .86; transition: background .15s, opacity .15s; }
.site-nav a:hover { opacity: 1; background: rgba(127, 127, 127, .14); }
.site-nav a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--a); border-radius: 0; }
.hdr-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ""; transition: transform .2s, top .2s; }
.nav-burger span::before { position: absolute; top: -7px; }
.nav-burger span::after { position: absolute; top: 7px; }
.nav-toggle:focus-visible + .nav-burger { outline: 3px solid var(--a); }
.nav-toggle:checked + .nav-burger span { background: transparent; }
.nav-toggle:checked + .nav-burger span::before { top: 0; transform: rotate(45deg); }
.nav-toggle:checked + .nav-burger span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 15px var(--font-body); line-height: 1; padding: 12px 20px; min-height: 44px; border-radius: var(--rb); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .15s, background .15s, filter .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 26px; font-size: 16px; min-height: 52px; }
.btn-sm { padding: 8px 14px; font-size: 13.5px; min-height: 36px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--p); color: var(--on-p); box-shadow: 0 6px 18px -6px var(--p); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-accent { background: var(--a); color: var(--on-a); box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .45); }
.btn-accent:hover { filter: brightness(1.06); }
.btn-soft { background: var(--p-50); color: var(--p-text); }
.btn-soft:hover { background: var(--p-100); }
.btn-outline { background: transparent; color: var(--p-text); border-color: var(--p); }
.btn-outline:hover { background: var(--p-50); }
.btn-hdr { background: var(--p); color: var(--on-p); }
.btn-hdr-ghost { background: transparent; color: var(--hdr-fg); border-color: rgba(127, 127, 127, .4); }
.hdr-primary .btn-hdr, .hdr-dark .btn-hdr { background: var(--a); color: var(--on-a); }
.btn-outline-hero { background: transparent; color: var(--hero-fg); border-color: currentColor; }
.btn-outline-hero:hover { background: rgba(255, 255, 255, .14); }
.hero-light .btn-outline-hero { color: var(--p-text); border-color: var(--p); }
.hero-light .btn-outline-hero:hover { background: var(--p-100); }

/* ---------- Chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 5px; font: 700 11.5px var(--font-body); letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--p-100); color: var(--p-text); }
.chip-price { background: var(--a-100); color: #7a4a05; }
.chip-free { background: var(--ok-bg); color: var(--ok); }
.chip-lock { background: #eef2ff; color: #4338ca; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--hero-fg); background: linear-gradient(135deg, var(--hero-from), var(--p) 58%, var(--hero-to)); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 320px at 88% 8%, rgba(255, 255, 255, .16), transparent 70%), radial-gradient(420px 300px at 6% 100%, rgba(255, 255, 255, .1), transparent 70%); pointer-events: none; }
.hero-light { background: linear-gradient(180deg, var(--p-50), #fff); color: var(--ink); }
.hero-light::before { background: radial-gradient(520px 320px at 90% 0%, var(--p-100), transparent 70%); }
.hero-image { background-size: cover; background-position: center; }
.hero-image::before { background: linear-gradient(90deg, rgba(10, 14, 30, .86), rgba(10, 14, 30, .5)); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding-top: 76px; padding-bottom: 96px; }
.hero h1 { color: inherit; margin-bottom: 18px; text-wrap: balance; }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); opacity: .92; max-width: 56ch; margin-bottom: 28px; }
.hero-badge { display: inline-block; font: 700 12.5px var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); margin-bottom: 20px; }
.hero-light .hero-badge { background: var(--p-100); border-color: var(--p-200); color: var(--p-text); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; margin: 26px 0 0; font-weight: 600; font-size: 14.5px; opacity: .95; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-center .hero-in { grid-template-columns: 1fr; text-align: center; padding-top: 92px; padding-bottom: 108px; }
.hero-center .hero-copy { max-width: 800px; margin: 0 auto; }
.hero-center .hero-sub { margin-left: auto; margin-right: auto; }
.hero-center .hero-cta, .hero-center .hero-points { justify-content: center; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--r) + 6px); box-shadow: var(--shadow-lg); border: 4px solid rgba(255, 255, 255, .55); }
.hero-panel { background: #fff; color: var(--ink); border-radius: calc(var(--r) + 6px); padding: 22px; box-shadow: var(--shadow-lg); }
.hp-title { font: 700 13px var(--font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.hero-panel ul { list-style: none; margin: 0; display: grid; gap: 10px; }
.hero-panel a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; padding: 12px; border: 1px solid var(--line); border-radius: var(--rb); transition: border-color .15s, transform .15s, box-shadow .15s; }
.hero-panel a:hover { border-color: var(--p); transform: translateX(3px); box-shadow: var(--shadow-sm); }
.hp-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--p-100); color: var(--p-text); flex-shrink: 0; }
.hp-tx { display: grid; min-width: 0; flex: 1; }
.hp-tx b { font: 700 15px var(--font-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-tx small { color: var(--muted); font-size: 13px; }
.hp-arrow { color: var(--muted); }

/* ---------- Stats ---------- */
.stats { padding: 36px 0 4px; }
.stats-overlap { margin-top: -48px; padding: 0; position: relative; z-index: 2; }
.stats-grid { list-style: none; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: calc(var(--r) + 2px); box-shadow: var(--shadow-lg); padding: 26px 14px; }
.stats-grid li { text-align: center; padding: 4px 10px; }
.stats-grid li + li { border-left: 1px solid var(--line); }
.stats-grid b { display: block; font: 800 clamp(1.7rem, 3.4vw, 2.4rem) var(--font-head); color: var(--p-text); line-height: 1.1; }
.stats-grid span { color: var(--muted); font-size: 14px; font-weight: 600; }

/* ---------- Sections ---------- */
.sec { padding: 76px 0; }
.sec-tight { padding: 40px 0 64px; }
.sec-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.sec-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.sec-more { text-align: center; margin: 34px 0 0; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); padding: 24px; }
.card h2 { font-size: 1.25rem; }

.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.course-card { position: relative; display: flex; flex-direction: column; gap: 12px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--p-200); }
.cc-top { display: flex; justify-content: space-between; gap: 8px; }
.cc-title { margin: 0; font-size: 1.15rem; }
.cc-title a { color: var(--ink); text-decoration: none; }
.cc-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.cc-desc { color: var(--muted); font-size: 14.5px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cc-meta { list-style: none; margin: auto 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.cc-meta li { display: inline-flex; align-items: center; gap: 6px; }
.cc-meta .ic { color: var(--p-text); }
.cc-btn { position: relative; z-index: 1; }
.course-card[hidden] { display: none; }

.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.feat { text-align: left; }
.feat-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--p-100); color: var(--p-text); margin-bottom: 14px; font-size: 22px; }
.feat h3 { margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 14.5px; margin: 0; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; align-items: start; }
.prose p { color: var(--ink-2); max-width: 70ch; }
.prose-lg p { font-size: 1.06rem; line-height: 1.8; }
.about-card { text-align: center; }
.about-card .brand-logo { width: 64px; height: 64px; margin: 0 auto 12px; display: grid; font-size: 22px; border: 1px solid var(--line); }
.about-card h2, .about-card h3 { margin-bottom: 12px; }
.about-facts { list-style: none; margin: 0 0 18px; display: grid; gap: 10px; text-align: left; color: var(--ink-2); font-size: 14.5px; }
.about-facts li { display: flex; gap: 10px; align-items: flex-start; }
.about-facts .ic { color: var(--p-text); margin-top: 3px; }

.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.quote { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; position: relative; }
.quote blockquote::before { content: "“"; font: 800 3.4rem/1 var(--font-head); color: var(--p-200); display: block; height: 28px; }
.quote blockquote p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote figcaption span:last-child { display: grid; line-height: 1.3; }
.quote small { color: var(--muted); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--p); color: var(--on-p); font: 700 14px var(--font-head); flex-shrink: 0; }

.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--rb); transition: border-color .15s, box-shadow .15s; }
.faq-item[open] { border-color: var(--p-200); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font: 600 16px var(--font-head); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 400 26px/1 var(--font-body); color: var(--p-text); }
.faq-item[open] summary::after { content: "−"; }
.faq-a { padding: 0 20px 6px; color: var(--ink-2); }

.cta-band { background: linear-gradient(135deg, var(--hero-from), var(--p) 60%, var(--hero-to)); color: var(--hero-fg); padding: 56px 0; }
.cta-band h2, .cta-band p { color: inherit; }
.cta-band p { opacity: .92; margin: 0; max-width: 56ch; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 26px; flex-wrap: wrap; }
.cta-in h2 { margin-bottom: 8px; }

/* ---------- Inner pages ---------- */
.page-head { background: linear-gradient(180deg, var(--p-50), #fff); padding: 30px 0 18px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin-bottom: 8px; }
.page-head p { color: var(--muted); font-size: 1.05rem; max-width: 70ch; margin: 0 0 8px; }
.crumbs ol { list-style: none; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 4px; font-size: 13.5px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; opacity: .6; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filters[hidden], [data-empty][hidden] { display: none; }
.filter { font: 600 14px var(--font-body); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; }
.filter:hover { border-color: var(--p); }
.filter.is-active { background: var(--p); border-color: var(--p); color: var(--on-p); }
.empty { text-align: center; color: var(--muted); padding: 30px 0; }
.empty-card { text-align: center; max-width: 560px; margin: 20px auto; padding: 44px 28px; }
.empty-card .ic { width: 38px; height: 38px; color: var(--p-text); margin-bottom: 10px; }

.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; }
.course-main { display: grid; gap: 22px; }
.buy-box { position: sticky; top: 88px; text-align: center; box-shadow: var(--shadow); padding: 28px 24px; }
.bb-price { font: 800 2.3rem var(--font-head); color: var(--p-text); line-height: 1.1; }
.bb-sub { color: var(--muted); margin-bottom: 20px; font-weight: 600; }
.bb-alt { display: block; margin-top: 14px; font-size: 14px; font-weight: 600; }
.bb-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.tick-list { list-style: none; margin: 0; display: grid; gap: 12px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; }
.tick-list .ic { color: var(--p-text); margin-top: 3px; }
.exam-list { list-style: none; margin: 0; }
.exam-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.exam-row:first-child { border-top: 0; padding-top: 4px; }
.er-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--p-50); color: var(--p-text); flex-shrink: 0; }
.er-main { flex: 1; min-width: 0; }
.er-main b { display: block; font-weight: 600; }
.er-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 13px; margin-top: 2px; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.contact-card h2 { font-size: 1.1rem; margin-bottom: 6px; }
.contact-card p { margin: 0 0 12px; color: var(--ink-2); }
.contact-social { margin-top: 36px; text-align: center; }
.contact-social h2 { font-size: 1.15rem; }

/* ---------- Social icons ---------- */
.social { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background .15s, transform .15s; }
.social a:hover { background: var(--p); transform: translateY(-2px); }
.social-lg { justify-content: center; }
.social-lg a { background: var(--p-100); color: var(--p-text); width: 46px; height: 46px; }
.social-lg a:hover { background: var(--p); color: var(--on-p); }

/* ---------- Footer ---------- */
.site-footer { background: #0b1220; color: #cbd5e1; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
.foot-brand .brand { color: #fff; margin-bottom: 14px; }
.foot-brand p { font-size: 14.5px; max-width: 38ch; color: #94a3b8; }
.site-footer h2 { font: 700 12.5px var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: #fff; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; }
.site-footer nav li, .foot-contact li { margin-bottom: 9px; font-size: 14.5px; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ic { margin-top: 4px; color: var(--a); }
.foot-bar { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: 13.5px; color: #94a3b8; }
.foot-bar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Generic (portal-not-found) ---------- */
body.generic { display: grid; place-items: center; min-height: 100vh; background: var(--bg-alt); }
.generic-box { text-align: center; padding: 40px 28px; max-width: 460px; }

/* ---------- Dashboard live preview ---------- */
.is-preview .site-header { position: static; }
.is-preview .skip-link { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; padding-bottom: 80px; }
  .about-grid, .course-layout { grid-template-columns: 1fr; }
  .buy-box { position: static; order: -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-burger { display: inline-flex; }
  .hdr-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 14px; padding: 14px 22px 22px; background: var(--hdr-bg); color: var(--hdr-fg); box-shadow: 0 18px 30px rgba(15, 23, 42, .18); }
  .nav-toggle:checked ~ .hdr-menu { display: flex; }
  .site-nav { flex-direction: column; }
  .site-nav a { padding: 12px 8px; }
  .site-nav a[aria-current="page"] { box-shadow: none; background: rgba(127, 127, 127, .14); border-radius: 8px; }
  .hdr-cta { flex-direction: column; align-items: stretch; }
  .hdr-cta .btn { width: 100%; }
  .brand-name { max-width: 22ch; }
}
@media (max-width: 640px) {
  .sec { padding: 56px 0; }
  .stats-grid li + li { border-left: 0; }
  .hero-cta .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; padding-top: 40px; }
  .stats-overlap { margin-top: -36px; }
  .course-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .announce, .cta-band, .buy-box { display: none; } }
