/* Demotes the main marketing site's plain (unlayered) CSS into an explicit
   "legacy" cascade layer, loaded before any Tailwind-based sub-app's
   compiled CSS (admin.css, portal.css, etc.). Per the CSS Cascade Layers
   spec, unlayered rules always beat layered ones regardless of source
   order or specificity — so without this, bare-element resets like
   `button { background: none }` or `h1..h6 { color: var(--dark) }` were
   silently winning over every Tailwind utility class (bg-primary,
   text-foreground, ...) in /admin, /student, /teacher, and /developers,
   which all share this same root layout. Wrapping the imports in
   layer(legacy) here — rather than editing the 5 files themselves — keeps
   the main site's own rendering completely unchanged while letting the
   Tailwind sub-apps' own layers (base/components/utilities, declared later
   in the document once each sub-app's compiled CSS loads) rank higher and
   actually apply. */
@import url("/assets/css/style.css") layer(legacy);
@import url("/assets/css/home-pro.css") layer(legacy);
@import url("/assets/css/pages.css") layer(legacy);
@import url("/assets/css/course.css") layer(legacy);
@import url("/assets/css/learn.css") layer(legacy);
@import url("/assets/css/course-skin.css") layer(legacy);
@import url("/assets/css/webinar-skin.css") layer(legacy);

/* Homepage v2 — loaded last so it refines the files above. */
@import url("/assets/css/home-v2.css") layer(legacy);