:root {
  --ink: #1c1433;
  --muted: #625b78;
  --purple: #6426f5;
  --purple-dark: #4c16d4;
  --violet: #2a1458;
  --lavender: #f4f0ff;
  --line: #e7e3f2;
  --white: #ffffff;
  --gold: #f5b400;
  --danger: #b42318;
  --ok: #067647;
  --shadow: 0 16px 40px rgba(55, 24, 120, 0.08);
  --radius: 22px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { letter-spacing: -0.04em; line-height: 1.08; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--violet);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 40;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(231, 227, 242, 0.8);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand { flex: none; }
.brand-mark {
  background: #10203f;
  border-radius: 12px;
  padding: 0.28rem 0.45rem;
  display: inline-flex;
}
.brand-mark img { width: 118px; height: 38px; object-fit: contain; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #ece7f6;
  background: var(--white);
  border-radius: 14px;
  color: #24183f;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-scrim, .nav-drawer-head, .nav-sub { display: none; }
.site-nav a, .menu summary {
  font-weight: 600;
  font-size: 0.95rem;
  color: #2c2640;
  padding: 0.4rem 0.72rem;
}
.menu summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
}
.menu-panel { display: grid; padding: 0.2rem 0 0.4rem 0.7rem; }
.menu-panel a:hover, .site-nav a:hover, .menu[open] > summary { color: var(--purple); }
.nav-scroll > a.is-active,
.nav-scroll > .menu.is-active > summary {
  color: var(--purple);
  position: relative;
}
.nav-scroll > a.is-active::after,
.nav-scroll > .menu.is-active > summary::before {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.12rem;
  height: 2px;
  border-radius: 999px;
  background: var(--purple);
}
.nav-scroll > .menu.is-active > summary::after {
  border-color: var(--purple);
}
.menu-panel a { padding: 0.28rem 0; }
.mega { display: grid; gap: 0.8rem; }
.mega-promo, .mega-intro, .mega-help, .mega-course, .mega-perk, .mega-perks article, .mega-side-link {
  border-radius: 18px;
}
.mega-promo {
  background: linear-gradient(180deg, #6d35f6 0%, #5b21e8 100%);
  color: #fff;
  padding: 1.15rem;
  display: grid;
  gap: 0.7rem;
  align-content: start;
}
.mega-promo h2, .mega-intro h2 { font-size: 1.25rem; line-height: 1.25; margin: 0; }
.mega-promo h2 { color: #fff; }
.mega-promo p, .mega-intro p { margin: 0; color: #efe8ff; font-size: 0.92rem; }
.mega-intro p { color: var(--muted); }
.mega-badge, .mega-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.mega-icon { background: #f3edff; color: var(--purple); }
.menu-panel a.mega-demo {
  width: fit-content;
  min-height: 40px;
  padding: 0.45rem 1rem;
  background: #fff;
  color: #4c1d95;
  box-shadow: none;
}
.menu-panel a.mega-course, .menu-panel a.mega-side-link, .menu-panel a.mega-help { padding: 0.85rem; }
.mega-demo:hover { background: #f6f2ff; color: #4c1d95; }
.mega-help {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  background: #fff;
  color: #1c1433;
  padding: 0.85rem;
  margin-top: 0.3rem;
}
.mega-help strong, .mega-course strong, .mega-perks strong, .mega-side-link strong { display: block; font-size: 0.92rem; line-height: 1.3; }
.mega-help small, .mega-course > span:not(.mega-icon), .mega-perks article > span:not(.mega-icon), .mega-side-link small, .mega-label span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
}
.mega-help em, .mega-course em {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.45rem;
  color: var(--purple);
  font-style: normal;
  font-weight: 750;
  font-size: 0.86rem;
}
.mega-help-soft { background: #f6f4fb; }
.mega-intro { display: grid; gap: 0.65rem; align-content: start; padding: 0.35rem 0.2rem 0.2rem; }
.mega-main { display: grid; gap: 0.85rem; }
.mega-perks, .mega-courses { display: grid; gap: 0.65rem; }
.mega-perks article, .mega-course, .mega-side-link {
  background: #fff;
  border: 1px solid #efeaf8;
  padding: 0.8rem;
}
.mega-course, .mega-side-link { display: grid; gap: 0.35rem; align-content: start; }
.mega-course:hover, .mega-side-link:hover, .mega-link:hover { color: var(--purple); }
.mega-course:hover, .mega-perks article:hover, .mega-side-link:hover {
  border-color: #d4c6fb;
  box-shadow: 0 12px 28px rgba(80, 40, 160, 0.08);
}
.mega-kicker { margin: 0; font-weight: 800; color: var(--purple); }
.mega-kicker span {
  margin-right: 0.35rem;
  color: #8b84a3;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mega-label {
  margin: 0 0 0.45rem;
  color: #4c1d95;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 2px solid #6d28d9;
  padding-bottom: 0.35rem;
}
.mega-sub { margin: -0.2rem 0 0.35rem; color: var(--muted); font-size: 0.78rem; }
.mega-col { display: grid; gap: 0.85rem; align-content: start; }
.mega-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  font-weight: 650;
  padding: 0.28rem 0;
  white-space: nowrap;
}
.mega-link .mega-icon { width: 28px; height: 28px; }
.mega-side { align-content: stretch; }
.mega-side-link {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  min-height: 92px;
}
.mega-side-link svg:last-child { color: #9a93ad; }

.header-tools { display: flex; align-items: center; gap: 0.85rem; margin-left: auto; flex: none; }
.nav-toggle + .site-nav + .header-tools, .header-tools { margin-left: 0; }
.header-inner .header-tools { margin-left: auto; }

.btn, .icon-btn, .pager-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  min-height: 44px;
  padding: 0.55rem 1.05rem;
  font-weight: 750;
  cursor: pointer;
}
.btn-primary, .btn-demo, .btn-signin { background: linear-gradient(135deg, rgb(45, 22, 128) 0%, rgb(90, 43, 224) 100%); color: var(--white); }
.btn-primary:hover, .btn-demo:hover, .btn-signin:hover { background: var(--purple-dark); }
.btn-demo {
  min-height: 42px;
  padding: 0.45rem 1rem 0.45rem 1.15rem;
  font-size: 0.92rem;
  gap: 0.35rem;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(100, 38, 245, 0.22);
}
.header-signin { font-weight: 650; color: #24183f; padding: 0.2rem; }
.header-signin:hover { color: var(--purple); }
.user-chip {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  flex: none;
  background: #efe7ff;
  color: #5b21e6;
  font-weight: 800;
  line-height: 1;
}
.user-chip img { width: 100%; height: 100%; object-fit: cover; }
.header-avatar { border: 1px solid #e6def6; }
.drawer-account { display: flex; align-items: center; }
.cart-link {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #24183f;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-ghost { background: var(--white); border-color: #ddd6ee; color: var(--ink); }
.btn-ghost:hover { border-color: #c9bdf0; }
.icon-btn {
  width: 44px;
  padding: 0;
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.kicker {
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lede { color: var(--muted); max-width: 40rem; }
.section { padding: 4.2rem 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.4rem;
}
.section h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }

.logo-rail { padding: 1.2rem 0 0.2rem; text-align: center; }
.logo-rail p {
  color: #8b84a3;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.logo-row, .stat-grid, .course-grid, .service-grid, .path-grid, .quote-grid {
  display: grid;
  gap: 0.9rem;
}
.logo-row { grid-template-columns: repeat(2, 1fr); margin-top: 1rem; }
.logo-tile, .stat-card, .service-card, .path-card, .quote-card, .batch-card, .panel {
  background: var(--white);
  border: 1px solid #eeeaf6;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.logo-tile {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 0.8rem;
  box-shadow: none;
  background: #fbfbfe;
}
.logo-tile img { width: 100%; max-width: 140px; height: 52px; object-fit: contain; mix-blend-mode: multiply; }

.stat-grid { grid-template-columns: 1fr 1fr; margin-top: 1rem; }
.stat-card { padding: 1.15rem 1.2rem; box-shadow: none; }
.stat-card strong {
  display: block;
  color: var(--violet);
  font-size: 2rem;
  letter-spacing: -0.04em;
}
.stat-card p { color: var(--muted); font-size: 0.92rem; }

.program-card img, .service-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--lavender);
}
.program-card, .service-card { overflow: hidden; box-shadow: none; }
.program-card { border: 1px solid #eeeaf6; border-radius: 22px; background: var(--white); }
.card-body, .service-card { padding: 1rem 1.05rem 1.15rem; }
.chip-row, .rating-row, .pill-row { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; }
.chip {
  display: inline-flex;
  border-radius: 999px;
  background: var(--lavender);
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
}
.price { color: var(--violet); font-weight: 800; }
.price s { color: #9a93ad; font-weight: 650; margin-right: 0.35rem; }
.meta { color: var(--muted); font-size: 0.9rem; }

.path-card, .quote-card, .batch-card, .panel { padding: 1.1rem 1.15rem; }
.path-step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lavender);
  color: var(--purple);
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.stars { color: var(--gold); letter-spacing: 0.08em; }

.soft { background: #faf9fd; }
.band-tint { background: #f5f2fc; }
.band-plain { background: var(--white); }

.home-cta {
  background: linear-gradient(120deg, #34148a, #6426f5);
  color: #fff;
  border-radius: 28px;
  padding: 2.4rem 1.6rem;
  display: grid;
  gap: 1.6rem;
  align-items: center;
}
.home-cta .kicker { margin: 0 0 0.85rem; }
.home-cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; margin: 0 0 0.9rem; }
.home-cta p { margin: 0; line-height: 1.6; }
.home-cta .kicker, .home-cta p { color: #efe7ff; }
.home-cta .btn { background: #fff; color: #34148a; width: fit-content; }
.home-cta .home-cta-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.wrap.home-cta .hero-actions { display: grid; gap: 0.85rem; margin-top: 1.25rem; }
@media (min-width: 800px) {
  .home-cta { grid-template-columns: 1.2fr auto; gap: 2rem; padding: 3.4rem 3.2rem; }
}
.cta-band {
  background: linear-gradient(120deg, #2a1458, #6426f5);
  color: var(--white);
  border-radius: 28px;
  padding: 1.6rem;
  display: grid;
  gap: 1rem;
}
.cta-band .btn-primary { background: var(--white); color: var(--violet); }

.site-footer { background: #070709; color: #c8c8d2; padding-top: 3.4rem; }
.footer-inner { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }
.footer-grid { display: grid; gap: 2rem; }
.footer-logo { height: 54px; width: auto; }
.footer-brand p { max-width: 18rem; margin-top: 1rem; color: #b7b7c2; font-size: 0.94rem; }
.footer-atp {
  margin-top: 1.5rem;
  color: #dedee6;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: 0; margin-bottom: 0.9rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-links a, .reach-item, .reach-item a { color: #c7c7d1; font-size: 0.94rem; }
.footer-links a:hover, .reach-item:hover, .reach-item a:hover { color: #fff; }
.reach-list { display: grid; gap: 0.85rem; }
.reach-item { display: flex; gap: 0.7rem; align-items: flex-start; }
.reach-item svg { flex: none; margin-top: 0.15rem; }
.reach-label {
  display: block;
  margin-bottom: 0.1rem;
  color: #8f8f9c;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.reach-address { max-width: 18rem; color: #b7b7c2; font-size: 0.92rem; }
.social-icons { display: flex; gap: 0.55rem; margin-top: 1.15rem; }
.social-icons a {
  width: 36px;
  height: 36px;
  border: 1px solid #3a3a44;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #eee;
}
.social-icons a:hover { border-color: #fff; color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid #26262e;
  margin-top: 2.4rem;
  padding: 1rem 0 1.2rem;
  color: #8e8e9a;
  font-size: 0.82rem;
}
.footer-credit a { color: #c8c8d2; text-decoration: underline; text-underline-offset: 0.18em; }
.footer-credit a:hover { color: #fff; }

.field { display: grid; gap: 0.35rem; margin-bottom: 0.85rem; }
.field span { font-weight: 700; font-size: 0.92rem; }
.input, .select, .textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 14px;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
}
.textarea { min-height: 120px; resize: vertical; }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); background: #fffafa; }
.alert { background: #ecfdf3; color: var(--ok); border-radius: 14px; padding: 0.8rem 1rem; margin-bottom: 1rem; }
.alert-error { background: #fef3f2; color: var(--danger); }
.page-hero { padding: 2.5rem 0 0.4rem; background: linear-gradient(180deg, #f6f1ff 0%, #fff 100%); }
.has-world-map { position: relative; isolation: isolate; overflow: hidden; }
.has-world-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/brand/world-dots.webp") center / cover no-repeat;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  pointer-events: none;
}
.hero.has-world-map::after,
.svc-hero.has-world-map::after,
.corp-hero.has-world-map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(243, 238, 255, 0.82) 0%, rgba(243, 238, 255, 0.5) 48%, rgba(243, 238, 255, 0.18) 100%),
    linear-gradient(180deg, rgba(100, 38, 245, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}
@media (max-width: 799px) {
  .hero.has-world-map::after,
  .svc-hero.has-world-map::after,
  .corp-hero.has-world-map::after {
    background: linear-gradient(180deg, rgba(243, 238, 255, 0.7) 0%, rgba(243, 238, 255, 0.45) 60%, rgba(255, 255, 255, 0.2) 100%);
  }
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); margin: 0.35rem 0; }
.filters { display: grid; gap: 0.7rem; margin: 1rem 0 1.3rem; }
.prose h2 { margin: 1.3rem 0 0.45rem; font-size: 1.35rem; }
.prose ul { margin: 0.3rem 0 0; padding-left: 1.1rem; }
.prose ol { margin: 0.3rem 0 0; padding-left: 1.3rem; }
.prose h4 { margin: 1rem 0 0.35rem; font-size: 1.05rem; }
.prose blockquote { margin: 1rem 0; padding: 0.5rem 1rem; border-left: 3px solid #c4b5fd; color: #4b4563; }
.prose table { width: 100%; margin: 1rem 0; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 0.5rem 0.7rem; border: 1px solid #e6e1f2; text-align: left; vertical-align: top; }
.prose th { background: #f7f4fd; }
.curriculum details { border: 1px solid var(--line); border-radius: 16px; padding: 0.8rem 1rem; margin-bottom: 0.65rem; background: var(--white); }
.curriculum summary { cursor: pointer; font-weight: 800; }
.pager { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.2rem; }
.pager-link { min-width: 44px; background: var(--white); border-color: var(--line); }
.pager-link.is-current { background: var(--violet); color: var(--white); }
.pager-link.is-disabled { opacity: 0.45; }

.notice {
  position: fixed;
  inset: 0;
  background: rgba(16, 10, 32, 0.62);
  display: none;
  place-items: center;
  padding: 1.25rem;
  z-index: 100;
}
.notice.is-open { display: grid; }
body.notice-open { overflow: hidden; }
.notice-card {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 28px;
  padding: 1.5rem 1.35rem 1.25rem;
  text-align: center;
  box-shadow: 0 28px 70px rgba(16, 10, 32, 0.28);
  border-top: 6px solid #f59e0b;
}
.notice-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff6e8;
  color: #c2410c;
}
.notice-card h2 { margin: 0 0 0.4rem; font-size: 1.45rem; color: #1c1433; }
.notice-card > p { margin: 0; color: #4c4660; }
.notice-contacts {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0 1.05rem;
  padding: 0.7rem 0.75rem;
  text-align: left;
  background: #f7f5fb;
  border-radius: 16px;
}
.notice-contacts a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.25rem;
  color: #1c1433;
  font-weight: 700;
}
.notice-contacts a:hover { color: var(--purple); }
.notice-card .btn { width: 100%; min-height: 46px; }
.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(12, 12, 16, 0.92);
  color: #fff;
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(12, 12, 16, 0.92); }
.lightbox [hidden] { display: none !important; }
.lightbox-count {
  position: absolute;
  top: 1.15rem;
  left: 0;
  right: 0;
  z-index: 2;
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
}
.lightbox-close,
.lightbox-arrow {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.lightbox-close { top: 0.7rem; right: 0.7rem; width: 44px; height: 44px; }
.lightbox-arrow { top: 50%; width: 52px; height: 72px; transform: translateY(-50%); }
.lightbox-prev { left: 0.35rem; }
.lightbox-next { right: 0.35rem; }
.lightbox-close:hover,
.lightbox-arrow:hover { color: #fff; opacity: 0.72; }
.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 4.5rem 4.75rem 3.5rem;
}
.lightbox-stage img {
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: min(920px, 100%);
  max-height: calc(100vh - 8rem);
  max-height: calc(100dvh - 8rem);
  object-fit: contain;
  border-radius: 6px;
}
@media (max-width: 799px) {
  .lightbox-stage { padding: 3.6rem 0.75rem 5.5rem; }
  .lightbox-stage img { max-width: 100%; max-height: calc(100dvh - 9.1rem); }
  .lightbox-arrow {
    top: auto;
    bottom: 1.1rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transform: none;
  }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
  pointer-events: none;
}
.cart-drawer.is-open { visibility: visible; pointer-events: auto; }
.cart-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(16, 10, 32, 0.48);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.cart-drawer.is-open .cart-scrim { opacity: 1; }
.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  box-shadow: -18px 0 48px rgba(20, 12, 40, 0.16);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}
.cart-drawer.is-open .cart-panel { transform: none; }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.1rem;
  border-bottom: 1px solid #efeaf8;
}
.cart-head h2 { margin: 0; font-size: 1.25rem; }
.cart-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f6f4fb;
  color: #24183f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 0.35rem;
  border-radius: 999px;
  background: #efe9ff;
  color: #4c16d4;
  font-size: 0.78rem;
  vertical-align: middle;
}
.cart-body { flex: 1; min-height: 0; padding: 1.15rem 1.15rem 1.4rem; overflow: auto; }
.cart-empty { color: var(--muted); margin: 0 0 1rem; }
.cart-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.75rem; }
.drawer-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid #efeaf8;
}
.drawer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 28px;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: #efe9ff;
  color: #4c16d4;
  font-size: 0.72rem;
  font-weight: 800;
}
.drawer-item strong, .drawer-summary h3 { display: block; }
.drawer-item span, .drawer-summary p span { color: var(--muted); font-size: 0.9rem; }
.cart-drawer .cart-remove {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #fff1f2;
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.drawer-summary {
  display: grid;
  gap: 0.55rem;
  flex: none;
  margin: 0;
  padding: 1rem 1.15rem 1.2rem;
  border-top: 1px solid #efeaf8;
  background: #fff;
}
.drawer-summary h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.drawer-summary p, .checkout-summary > p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
}
.drawer-total { padding-top: 0.55rem; border-top: 1px solid #efeaf8; font-size: 1.05rem; }
.drawer-total strong { color: #1b1233; }
.drawer-summary .btn { width: 100%; margin-top: 0.6rem; }
body.cart-open, body.nav-open { overflow: hidden; }
.toast-stack {
  position: fixed;
  top: 5.25rem;
  right: 1rem;
  z-index: 90;
  display: grid;
  gap: 0.55rem;
  width: min(360px, calc(100% - 2rem));
}
.toast {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
  box-shadow: 0 10px 24px rgba(22, 101, 52, 0.08);
  animation: toast-in 0.28s ease;
}
.toast.is-bad {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
  box-shadow: 0 10px 24px rgba(185, 28, 28, 0.08);
}
.toast ul { display: grid; gap: 0.25rem; margin: 0; padding-left: 1.1rem; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .cart-scrim, .cart-panel, .toast { transition: none; animation: none; }
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: radial-gradient(circle at top right, #efe7ff, #f7f5fb 46%);
}
.auth-card {
  width: min(460px, 100%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.auth-card:has(.staff-login) {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 2rem 1.7rem 1.4rem;
  box-shadow: 0 24px 60px rgba(48, 24, 110, 0.1);
  text-align: center;
}
.auth-card:has(.staff-login)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6d28ff, #8b5cf6);
}
.auth-card:has(.staff-login) .brand { display: flex; justify-content: center; margin-bottom: 1.15rem; }
.staff-login h1 { font-size: 1.7rem; letter-spacing: -0.03em; margin-bottom: 1.15rem; }
.staff-login form { text-align: left; }
.staff-login .btn-signin { width: 100%; margin-top: 0.35rem; }
.divider { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.7rem; align-items: center; color: var(--muted); margin: 1rem 0; }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line); }

@media (max-width: 859px) {
  .btn-demo, .header-signin { display: none; }
  .nav-toggle { display: inline-flex; }
  .cart-link { border: 1px solid #ece7f6; border-radius: 14px; background: #fff; }
  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 60;
    border: 0;
    background: rgba(16, 10, 32, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }
  body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
  .nav-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.4rem; }
  .site-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 80;
    width: min(340px, 86vw);
    height: 100dvh;
    margin: 0;
    padding: 1rem 1rem 1.4rem;
    overflow: hidden;
    background: #fff;
    box-shadow: -16px 0 40px rgba(20, 12, 40, 0.12);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0s linear 0.28s;
  }
  .site-nav.is-open { transform: none; visibility: visible; transition: transform 0.28s ease; }
  .nav-scroll { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: auto; }
  .nav-account {
    display: grid;
    flex: none;
    gap: 0.1rem;
    margin-top: 0.4rem;
    padding-top: 0.7rem;
    border-top: 1px solid #efeaf8;
  }
  .nav-account button {
    border: 0;
    background: transparent;
    color: #2c2640;
    font: inherit;
    font-weight: 650;
    text-align: left;
    padding: 0.7rem 0.2rem;
    cursor: pointer;
  }
  .site-nav .menu-panel, .site-nav .mega { display: none; }
  .site-nav .menu[open] > .menu-panel { display: block; padding: 0 0 0.35rem 0.85rem; }
  .site-nav .nav-sub { display: grid; }
  .site-nav .nav-sub a { padding: 0.45rem 0; font-size: 0.92rem; font-weight: 400; color: #3d3654; }
  .site-nav .nav-sub a:hover { color: var(--purple);}
  .site-nav .nav-sub-services { gap: 0.7rem; padding-top: 0.2rem; }
  .site-nav .nav-sub-group { display: grid; }
  .site-nav .nav-sub-label { margin: 0 0 0.15rem; color: #6d6585; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
  .site-nav .nav-sub-group a { padding: 0.4rem 0 0.4rem 0.3125rem; font-weight: 400; color: #2c2640; }
  .site-nav .nav-sub-group a:hover { color: var(--purple);}
  .site-nav .nav-sub .nav-sub-single { font-weight: 500; color: #2c2640; }
  .nav-scroll > a, .menu summary { padding: 0.7rem 0.2rem; }
}

@media (min-width: 860px) {
  .nav-toggle, .nav-scrim, .nav-drawer-head, .nav-account { display: none; }
  .nav-scroll { display: contents; }
  .header-inner { align-items: stretch; }
  .brand, .header-tools { align-self: center; }
  .site-nav, .site-nav.is-open {
    display: flex;
    position: static;
    align-items: stretch;
    justify-content: center;
    flex: 1;
    width: auto;
    height: auto;
    gap: 0.1rem;
    border: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    transform: none;
    visibility: visible;
  }
  .nav-scroll > a {
    display: flex;
    align-items: center;
    white-space: nowrap;
  }
  .menu-mega > summary { white-space: nowrap; }
  .menu-mega { position: static; display: flex; align-items: stretch; }
  .menu-mega > summary { display: flex; align-items: center; }
  .menu-mega > .menu-panel {
    display: none;
    position: absolute;
    top: calc(100% - 10px);
    left: 50%;
    transform: translateX(-50%);
    width: min(var(--max), calc(100vw - 2rem));
    padding: 0.7rem 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    z-index: 40;
  }
  .menu-mega[open] > .menu-panel { display: block; }
  .mega {
    background: #fff;
    border: 1px solid #efeaf8;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(36, 16, 80, 0.16);
    overflow: hidden;
  }
  .mega-certs { grid-template-columns: 280px 1fr; gap: 0; }
  .mega-promo { border-radius: 0; padding: 1.35rem 1.15rem 1.15rem; min-height: 100%; }
  .mega-main { padding: 1rem 1rem 1.1rem; }
  .mega-perks, .mega-courses { grid-template-columns: repeat(4, 1fr); }
  .mega-services {
    grid-template-columns: 0.92fr 1.2fr 1.22fr 0.82fr;
    gap: 0;
    padding: 0.4rem 0;
  }
  .mega-services > * { padding: 0.85rem 1rem; border-right: 1px solid #f0ecf7; }
  .mega-services > :last-child { border-right: 0; }
  .mega-perks article:hover, .mega-course:hover { transform: translateY(-3px); }
  .logo-row { grid-template-columns: repeat(4, 1fr); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .course-grid, .service-grid, .path-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
  .filters { grid-template-columns: 1.4fr 0.8fr 0.6fr auto; align-items: end; }
  .footer-grid { grid-template-columns: 1.35fr 0.7fr 1fr 1.15fr; }
  .cta-band { grid-template-columns: 1fr 1fr; align-items: center; }
}

@media (min-width: 860px) and (max-width: 1180px) {
  .header-inner { width: min(var(--max), calc(100% - 2rem)); gap: 0.45rem; }
  .header-tools { gap: 0.4rem; }
  .site-nav { gap: 0; }
  .nav-scroll > a,
  .menu-mega > summary {
    font-size: 0.8rem;
    padding-inline: 0.28rem;
  }
  .btn-demo {
    min-height: 38px;
    padding: 0.35rem 0.75rem;
    font-size: 0.82rem;
  }
}

@media (min-width: 1100px) {
  .course-grid, .service-grid { grid-template-columns: repeat(3, 1fr); }
}

body.is-auth-page {
  background:
    radial-gradient(ellipse at 18% 30%, rgba(255, 255, 255, 0.9), transparent 36%),
    linear-gradient(180deg, #f3eeff 0%, #f7f5fb 42%, #ffffff 100%);
}
.login-layout {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.2rem 0 3.5rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}
.login-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid #ece7f6;
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3a3158;
}
.login-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
}
.login-copy h1 {
  margin: 1.1rem 0 0.85rem;
  font-size: clamp(2.5rem, 3.4vw, 3.65rem);
  color: #1b1233;
}
.login-copy h1 span { display: block; color: #5b34ee; }
.login-copy > p { color: #625b78; max-width: 34rem; }
.login-points {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid #e6e0f2;
  display: grid;
  gap: 0.95rem;
}
.login-points li { display: flex; gap: 0.75rem; align-items: flex-start; color: #625b78; font-size: 0.92rem; }
.login-points strong { display: block; color: #1c1433; font-size: 0.98rem; }
.point-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.point-icon-check { background: #e9f8ef; color: #12b76a; }
.point-icon-shield { background: #efe9ff; color: #6941e0; }
.login-card {
  position: relative;
  background: #fff;
  border: 1px solid #efeaf8;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(48, 24, 110, 0.1);
  padding: 1.7rem 1.55rem 1.2rem;
  overflow: hidden;
}
.login-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6d28ff, #8b5cf6);
}
.login-card h2 { font-size: 1.7rem; letter-spacing: -0.03em; }
.login-sub { color: var(--muted); margin: 0.3rem 0 1.1rem; font-size: 0.95rem; }
.social-row { display: grid; grid-template-columns: 1fr; gap: 0.7rem; }
.social-btn {
  min-height: 46px;
  border: 1px solid #e6e1f0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 700;
  background: #fff;
}
.social-btn:hover { border-color: #d5ccea; }
.or-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.7rem;
  align-items: center;
  color: #8d86a3;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 1rem 0 0.9rem;
}
.or-line::before, .or-line::after { content: ""; height: 1px; background: #ece8f4; }
.login-field { display: grid; gap: 0.35rem; margin-bottom: 0.85rem; }
.login-field > span, .label-row { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #4c4564; }
.label-row { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; }
.label-row a { color: var(--purple); letter-spacing: 0; text-transform: none; font-size: 0.84rem; font-weight: 700; }
.input-shell { position: relative; display: block; }
.input-shell > svg { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: #8b84a1; }
.input-shell .input { padding-left: 2.6rem; border-radius: 12px; min-height: 48px; }
.input-shell:has(.eye-btn) .input { padding-right: 2.6rem; }
.input-shell .input::placeholder { color: #b0a9c2; }
.eye-btn {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #8b84a1;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
}
.remember { display: flex; align-items: center; gap: 0.5rem; margin: 0.2rem 0 1rem; color: #3d3654; font-weight: 600; }
.remember input { width: 16px; height: 16px; accent-color: var(--purple); }
.btn-signin { width: 100%; min-height: 50px; border-radius: 12px; font-size: 1rem; }
.login-foot { text-align: center; color: #6d657f; font-size: 0.92rem; margin-top: 0.75rem; }
.login-sub strong { color: #1c1433; }
.verify-actions { display: grid; gap: 0.7rem; }
.verify-actions .btn { width: 100%; }
.login-foot a { color: var(--purple); font-weight: 800; }

@media (min-width: 980px) {
  .login-layout { grid-template-columns: 1.05fr 0.9fr; gap: 3.5rem; padding-top: 1.4rem; }
  .login-card { padding: 2rem 1.8rem 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
