/* ==========================================================================
   AI Mastery Institute design system
   Violet #6C3BFF on white. Charcoal type. Lavender only as a tint.
   ========================================================================== */

/* ----------------------------------------------------------------- tokens */
:root {
  /* brand */
  --violet:        #6C3BFF;
  --violet-deep:   #4B1FB8;
  --violet-ink:    #2E1173;
  --violet-hover:  #5B2BEE;
  --violet-tint:   #F4F0FF;
  --violet-tint-2: #EBE4FF;
  --lavender:      #FAF8FF;

  /* neutrals */
  --white:   #FFFFFF;
  --ink:     #14121C;   /* headings          16.9:1 on white */
  --body:    #4A4658;   /* body copy          8.0:1 on white */
  --muted:   #6B6779;   /* meta / captions    5.3:1 on white */
  --line:    #E9E5F5;
  --line-2:  #DDD6F0;
  --surface: #FFFFFF;

  /* semantic */
  --success: #0A7350;

  /* radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* elevation: soft, violet-cast, never grey mush */
  --sh-1: 0 1px 2px rgba(20,18,28,.04), 0 2px 8px rgba(76,44,180,.05);
  --sh-2: 0 2px 6px rgba(20,18,28,.05), 0 12px 28px rgba(76,44,180,.09);
  --sh-3: 0 4px 12px rgba(20,18,28,.06), 0 24px 56px rgba(76,44,180,.14);
  --sh-cta: 0 6px 18px rgba(108,59,255,.28);

  /* rhythm */
  --sp-1: 8px;  --sp-2: 12px; --sp-3: 16px; --sp-4: 24px;
  --sp-5: 32px; --sp-6: 48px; --sp-7: 64px; --sp-8: 96px;

  --wrap: 1180px;
  --nav-h: 72px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --fast: 160ms;
  --mid:  260ms;

  --font-h: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-b: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ------------------------------------------------------------ base reset */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-h);
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.12;
  letter-spacing: -.022em;
  font-weight: 800;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 1.35rem + 4.4vw, 4.15rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.85rem, 1.15rem + 2.7vw, 2.9rem);  letter-spacing: -.028em; }
h3 { font-size: clamp(1.2rem, 1.06rem + .55vw, 1.42rem); font-weight: 700; }
h4 { font-size: 1.06rem; font-weight: 700; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
:where(p, li) { text-wrap: pretty; }

a { color: var(--violet-deep); text-decoration: none; }
a:hover { color: var(--violet); }

img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }
strong { color: var(--ink); font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-6) 0; }

button { font: inherit; cursor: pointer; }

/* focus: always visible, never removed */
:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--violet-tint-2); color: var(--violet-ink); }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 200;
  background: var(--violet); color: #fff; padding: 12px 20px;
  border-radius: var(--r-sm); font-weight: 650;
  transition: top var(--fast) var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* -------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.wrap-narrow { max-width: 820px; }

section { position: relative; }
.sec { padding-block: clamp(56px, 4rem + 3vw, 104px); }
.sec-sm { padding-block: clamp(40px, 3rem + 2vw, 68px); }
.sec-tint { background: var(--lavender); }
.sec-tint-2 { background: linear-gradient(180deg, #fff 0%, var(--violet-tint) 55%, #fff 100%); }
.sec + .sec-tint, .sec-tint + .sec { border-top: 1px solid var(--line); }

.grid { display: grid; gap: var(--sp-4); }
.g-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 980px) { .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- section heading */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-h);
  font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase;
  color: var(--violet-deep);
  background: var(--violet-tint);
  border: 1px solid var(--violet-tint-2);
  padding: 6px 14px; border-radius: var(--r-pill);
  margin-bottom: var(--sp-3);
}
.eyebrow svg { width: 14px; height: 14px; flex: none; }
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet); flex: none;
}

.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head p { font-size: 1.08rem; color: var(--body); margin-bottom: 0; }
.lead { font-size: clamp(1.04rem, .98rem + .35vw, 1.22rem); color: var(--body); }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-h); font-weight: 700; font-size: 1rem;
  padding: 15px 26px; min-height: 52px;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  text-align: center; cursor: pointer;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease),
              background-color var(--fast) var(--ease), color var(--fast) var(--ease),
              border-color var(--fast) var(--ease);
  will-change: transform;
}
.btn svg { flex: none; }

.btn-primary { background: var(--violet); color: #fff; box-shadow: var(--sh-cta); }
.btn-primary:hover { background: var(--violet-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(108,59,255,.34); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary { background: #fff; color: var(--violet-deep); border-color: var(--line-2); box-shadow: var(--sh-1); }
.btn-secondary:hover { color: var(--violet-deep); border-color: var(--violet); background: var(--violet-tint); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--violet-deep); border-color: transparent; padding-inline: 8px; }
.btn-ghost:hover { color: var(--violet); background: var(--violet-tint); }

.btn-onviolet { background: #fff; color: var(--violet-deep); }
.btn-onviolet:hover { background: #fff; color: var(--violet-ink); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: rgba(255,255,255,.13); color: #fff; border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.btn-block { width: 100%; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-h); font-weight: 700; font-size: .95rem;
  color: var(--violet-deep);
}
.arrow-link svg { transition: transform var(--fast) var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------- cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  box-shadow: var(--sh-1);
  transition: transform var(--mid) var(--ease), box-shadow var(--mid) var(--ease),
              border-color var(--mid) var(--ease);
}
.card-link { display: flex; flex-direction: column; color: inherit; height: 100%; }
.card-link:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.card-link:hover h3 { color: var(--violet-deep); }
.card h3 { transition: color var(--fast) var(--ease); }
.card p { color: var(--body); font-size: .96rem; margin-bottom: 0; }

.ico {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: var(--sp-3);
  background: var(--violet-tint); color: var(--violet-deep);
  border: 1px solid var(--violet-tint-2);
  transition: background var(--mid) var(--ease), color var(--mid) var(--ease);
}
.ico svg { width: 22px; height: 22px; }
.card-link:hover .ico { background: var(--violet); color: #fff; border-color: var(--violet); }

/* ---------------------------------------------------------------- chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .84rem; font-weight: 600; color: var(--violet-ink);
  background: var(--violet-tint); border: 1px solid var(--violet-tint-2);
  padding: 6px 13px; border-radius: var(--r-pill);
  font-family: var(--font-b);
}
.chip svg { width: 14px; height: 14px; flex: none; }
.path-sep svg { width: 14px; height: 14px; }
.chip-plain { background: #fff; border-color: var(--line); color: var(--body); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.meta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 600; color: var(--muted);
}
.meta svg { width: 15px; height: 15px; flex: none; color: var(--violet); }
.meta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.lvl { font-family: var(--font-h); font-weight: 700; font-size: .74rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px; }
.lvl-beginner     { background: #E6F7EF; color: #0A6B49; }
.lvl-intermediate { background: #FFF2DE; color: #8A5200; }
.lvl-advanced     { background: #FDE9EC; color: #9B1B33; }
.lvl-all          { background: var(--violet-tint); color: var(--violet-ink); }
.lvl-ask          { background: #F1F0F5; color: #5A5668; }

/* ================================================================== NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--mid) var(--ease), box-shadow var(--mid) var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 20px rgba(76,44,180,.06); }
.nav-in { display: flex; align-items: center; gap: var(--sp-4); height: var(--nav-h); }

.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: linear-gradient(140deg, var(--violet) 0%, var(--violet-deep) 100%);
  display: grid; place-items: center;
  box-shadow: 0 3px 10px rgba(108,59,255,.32);
}
.logo-mark svg { width: 21px; height: 21px; color: #fff; }
.logo-txt { font-family: var(--font-h); font-weight: 800; font-size: 1.02rem;
  color: var(--ink); letter-spacing: -.02em; line-height: 1.15; }
.logo-txt span { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
  font-family: var(--font-h); font-size: .915rem; font-weight: 600; color: var(--body);
  padding: 9px 12px; border-radius: var(--r-sm);
  transition: color var(--fast) var(--ease), background var(--fast) var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--violet-deep); background: var(--violet-tint); }
.nav-links a[aria-current="page"] { color: var(--violet-deep); background: var(--violet-tint); }
.nav-cta { margin-left: var(--sp-2); flex: none; }
.nav-cta .btn { padding: 11px 22px; min-height: 44px; font-size: .93rem; }

.burger {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  align-items: center; justify-content: center; color: var(--ink);
}
.burger svg { width: 22px; height: 22px; }
.burger .x { display: none; }
.burger[aria-expanded="true"] .m { display: none; }
.burger[aria-expanded="true"] .x { display: block; }

.mobile-menu {
  display: none; border-top: 1px solid var(--line); background: #fff;
  max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; padding: 12px 20px 20px; margin: 0; }
.mobile-menu li { margin: 0; }
.mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-h); font-weight: 650; font-size: 1.05rem; color: var(--ink);
  padding: 15px 4px; border-bottom: 1px solid var(--line); min-height: 54px;
}
.mobile-menu a[aria-current="page"] { color: var(--violet-deep); }
.mobile-menu .btn { margin-top: 18px; }

@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: inline-flex; }
}

/* --------------------------------------------------- mobile sticky CTA */
.sticky-cta {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn { flex: 1; min-height: 50px; font-size: .95rem; padding-inline: 12px; }
.sticky-cta .btn-icon { flex: 0 0 50px; padding: 0; }
@media (max-width: 780px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 74px; }
}

/* ================================================================= HERO */
.hero { position: relative; overflow: hidden; padding-block: clamp(44px, 5vw, 84px) clamp(48px, 5vw, 88px); }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 780px; z-index: -2;
  background:
    radial-gradient(58% 46% at 78% 12%, rgba(108,59,255,.13), transparent 66%),
    radial-gradient(46% 40% at 8% 4%,  rgba(75,31,184,.10), transparent 66%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(108,59,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,59,255,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 22%, #000 0%, transparent 78%);
  mask-image: radial-gradient(70% 55% at 50% 22%, #000 0%, transparent 78%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,1fr);
  gap: clamp(32px, 4vw, 60px); align-items: center;
}
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: var(--sp-3); }
.hero h1 .grad {
  background: linear-gradient(96deg, var(--violet) 0%, var(--violet-deep) 62%, #7C4DFF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(1.04rem, .97rem + .42vw, 1.2rem); color: var(--body); max-width: 56ch; margin-bottom: var(--sp-4); }

.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }
@media (max-width: 480px) { .hero-cta .btn { width: 100%; } }

.trust-strip { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.trust-strip .t {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .86rem; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 7px 14px; box-shadow: var(--sh-1);
}
.trust-strip svg { width: 15px; height: 15px; color: var(--success); flex: none; }

/* hero illustration */
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 24px 56px rgba(76,44,180,.16)); }

/* ------------------------------------------------------- local trust bar */
.local-bar {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: var(--sp-5);
  align-items: center;
  background: linear-gradient(120deg, var(--violet-tint) 0%, #fff 62%);
  border: 1px solid var(--violet-tint-2); border-radius: var(--r-xl);
  padding: clamp(22px, 3vw, 34px);
}
@media (max-width: 860px) { .local-bar { grid-template-columns: 1fr; } }
.local-bar h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); margin-bottom: 6px; }
.local-bar .areas { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 18px; }
.map-mini {
  width: 260px; max-width: 100%; border-radius: var(--r-md);
  border: 1px solid var(--violet-tint-2); background: #fff; overflow: hidden;
  box-shadow: var(--sh-1);
}

/* ------------------------------------------------------------- courses */
.course-card { display: flex; flex-direction: column; height: 100%; }
.course-card .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.course-card h3 { margin-bottom: 8px; }
.course-card .desc { flex: 1; }
.course-card .skills { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; }
.course-card .skills .s {
  font-size: .78rem; font-weight: 600; color: var(--body);
  background: var(--lavender); border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px;
}
.course-card .foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
}

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--sp-5); }
.filter {
  font-family: var(--font-h); font-weight: 650; font-size: .9rem;
  color: var(--body); background: #fff; border: 1px solid var(--line);
  padding: 10px 18px; min-height: 44px; border-radius: var(--r-pill);
  transition: all var(--fast) var(--ease);
}
.filter:hover { border-color: var(--violet); color: var(--violet-deep); background: var(--violet-tint); }
.filter[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: #fff; box-shadow: var(--sh-cta); }
.filter-empty { padding: var(--sp-6); text-align: center; color: var(--muted); }

/* ------------------------------------------------------- learning paths */
.path {
  position: relative; display: grid; grid-template-columns: auto minmax(0,1fr);
  gap: var(--sp-4); align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(22px, 2.6vw, 34px);
  box-shadow: var(--sh-1);
  transition: transform var(--mid) var(--ease), box-shadow var(--mid) var(--ease), border-color var(--mid) var(--ease);
  overflow: hidden;
}
.path::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: linear-gradient(180deg, var(--violet), var(--violet-deep));
  opacity: 0; transition: opacity var(--mid) var(--ease);
}
.path:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.path:hover::before { opacity: 1; }
.path-num {
  font-family: var(--font-h); font-weight: 800; font-size: 2.1rem; line-height: 1;
  color: var(--violet-tint-2); letter-spacing: -.04em;
}
.path h3 { margin-bottom: 4px; }
.path .arrow-to { font-size: .84rem; font-weight: 700; color: var(--violet-deep); letter-spacing: .01em; margin-bottom: 12px; }
.path-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0; }
.path-step {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lavender); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 7px 14px;
  font-size: .87rem; font-weight: 600; color: var(--ink);
  transition: all var(--fast) var(--ease);
}
a.path-step:hover { border-color: var(--violet); background: var(--violet-tint); color: var(--violet-ink); }
.path-sep { color: var(--line-2); flex: none; }
@media (max-width: 560px) { .path { grid-template-columns: 1fr; gap: var(--sp-2); } }

.outcome {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--violet-tint); border: 1px solid var(--violet-tint-2);
  border-radius: var(--r-md); padding: 14px 16px; margin-top: 4px;
}
.outcome svg { width: 18px; height: 18px; color: var(--violet-deep); flex: none; margin-top: 3px; }
.outcome p { font-size: .93rem; color: var(--violet-ink); margin: 0; }

/* ------------------------------------------------------------- process */
.process { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0; position: relative; }
.process::before {
  content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, var(--violet-tint-2), var(--violet), var(--violet-tint-2));
  transform: scaleX(var(--line-scale, 0)); transform-origin: left;
  transition: transform 1100ms var(--ease);
}
.process.in { --line-scale: 1; }
.step { text-align: center; padding: 0 12px; position: relative; }
.step-dot {
  width: 54px; height: 54px; margin: 0 auto 16px;
  border-radius: 50%; background: #fff; border: 2px solid var(--violet-tint-2);
  display: grid; place-items: center; position: relative; z-index: 1;
  font-family: var(--font-h); font-weight: 800; font-size: .95rem; color: var(--violet-deep);
  box-shadow: 0 4px 14px rgba(76,44,180,.10);
  transition: all var(--mid) var(--ease);
}
.step:hover .step-dot { background: var(--violet); border-color: var(--violet); color: #fff; transform: scale(1.06); }
.step h4 { margin-bottom: 6px; }
.step p { font-size: .89rem; color: var(--muted); }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: var(--sp-3); text-align: left; }
  .process::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--violet-tint-2), var(--violet), var(--violet-tint-2));
    transform: scaleY(var(--line-scale, 0)); transform-origin: top; }
  .step { display: grid; grid-template-columns: 54px 1fr; gap: 16px; text-align: left; padding: 0; align-items: start; }
  .step-dot { margin: 0; }
}

/* ------------------------------------------------------------- founder */
.founder {
  display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; } }
.portrait {
  position: relative; aspect-ratio: 4/5; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(155deg, var(--violet-tint) 0%, var(--violet-tint-2) 100%);
  border: 1px solid var(--violet-tint-2); display: grid; place-items: center;
  box-shadow: var(--sh-2);
}
.portrait .ph { text-align: center; padding: 24px; }
.portrait .ph .ring {
  width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 18px;
  background: #fff; border: 2px solid var(--violet-tint-2); display: grid; place-items: center;
  font-family: var(--font-h); font-weight: 800; font-size: 2rem; color: var(--violet-deep);
  box-shadow: var(--sh-1);
}
.portrait .ph p { font-size: .85rem; color: var(--muted); margin: 0; }
.portrait .badge {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: rgba(255,255,255,.95); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 12px 16px; backdrop-filter: blur(8px);
}
.portrait .badge strong { display: block; font-family: var(--font-h); font-size: 1.02rem; }
.portrait .badge span { font-size: .82rem; color: var(--muted); }

.quote-block {
  border-left: 3px solid var(--violet); padding: 4px 0 4px 20px;
  font-family: var(--font-h); font-size: clamp(1.06rem, 1rem + .4vw, 1.24rem);
  font-weight: 650; color: var(--ink); line-height: 1.45; margin: var(--sp-4) 0;
}

/* --------------------------------------------------------- testimonials */
.tcard { display: flex; flex-direction: column; height: 100%; }
.tcard .qm { width: 26px; height: 26px; color: var(--violet-tint-2); margin-bottom: 12px; }
.tcard blockquote { margin: 0 0 18px; font-size: 1rem; color: var(--ink); line-height: 1.6; flex: 1; }
.tcard .who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--violet) 0%, var(--violet-deep) 100%);
  color: #fff; font-family: var(--font-h); font-weight: 750; font-size: .92rem;
}
.tcard .who strong { display: block; font-family: var(--font-h); font-size: .96rem; color: var(--ink); }
.tcard .who span { font-size: .82rem; color: var(--muted); }

.vid-ph {
  aspect-ratio: 16/10; border-radius: var(--r-md);
  background: linear-gradient(150deg, var(--violet-tint) 0%, var(--violet-tint-2) 100%);
  border: 1px dashed var(--line-2); display: grid; place-items: center; text-align: center; padding: 20px;
}
.vid-ph .play {
  width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  margin: 0 auto 12px; box-shadow: var(--sh-1); color: var(--violet-deep);
}
.vid-ph p { font-size: .86rem; color: var(--muted); margin: 0; }

/* -------------------------------------------------------- certificate */
.cert-wrap { perspective: 1400px; }
.cert {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-md);
  box-shadow: var(--sh-3); padding: clamp(24px, 3.2vw, 42px); position: relative; overflow: hidden;
  transform: rotate(-1.1deg); transition: transform var(--mid) var(--ease);
}
.cert:hover { transform: rotate(0deg) translateY(-4px); }
.cert::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid var(--violet-tint-2);
  border-radius: 10px; pointer-events: none;
}
.cert::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--violet), var(--violet-deep), var(--violet));
}
.cert-in { position: relative; text-align: center; }
.cert-brand { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.cert-brand .logo-mark { width: 32px; height: 32px; border-radius: 9px; }
.cert-brand .logo-mark svg { width: 17px; height: 17px; }
.cert-brand b { font-family: var(--font-h); font-size: .95rem; color: var(--ink); letter-spacing: -.01em; }
.cert-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.cert-name {
  font-family: var(--font-h); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); font-weight: 800;
  color: var(--ink); letter-spacing: -.02em; margin-bottom: 4px;
}
.cert-line { width: 180px; max-width: 60%; height: 1px; background: var(--line-2); margin: 14px auto; }
.cert-course { font-family: var(--font-h); font-weight: 700; color: var(--violet-deep); font-size: 1.05rem; }
.cert-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-top: 22px; }
.cert-meta div { text-align: center; }
.cert-meta span { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cert-meta b { font-family: var(--font-h); font-size: .92rem; color: var(--ink); }
.cert-seal {
  position: absolute; right: 5%; top: 7%; width: 68px; height: 68px; border-radius: 50%;
  background: var(--violet-tint); border: 2px solid var(--violet-tint-2);
  display: grid; place-items: center; color: var(--violet-deep); transform: rotate(-8deg);
}
.cert-seal svg { width: 28px; height: 28px; }
@media (max-width: 620px) { .cert-seal { display: none; } }
.form-note svg { display: inline; vertical-align: -3px; margin-right: 4px; }

/* --------------------------------------------------------------- FAQ */
.acc { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.acc + .acc { margin-top: 10px; }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; cursor: pointer; list-style: none;
  font-family: var(--font-h); font-weight: 700; font-size: 1.02rem; color: var(--ink);
  min-height: 60px; transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: var(--lavender); color: var(--violet-deep); }
.acc summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--violet); border-bottom: 2px solid var(--violet);
  transform: rotate(45deg) translate(-2px,-2px);
  transition: transform var(--mid) var(--ease);
}
.acc[open] summary { color: var(--violet-deep); background: var(--lavender); }
.acc[open] summary::after { transform: rotate(-135deg) translate(-3px,-3px); }
.acc .acc-body { padding: 0 22px 22px; }
.acc .acc-body p { color: var(--body); font-size: .98rem; margin: 0; }
.acc[open] .acc-body { animation: accIn var(--mid) var(--ease); }
@keyframes accIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------- final CTA */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: linear-gradient(128deg, var(--violet-deep) 0%, var(--violet) 52%, #7A4CFF 100%);
  color: #fff; padding: clamp(40px, 5.5vw, 76px) clamp(24px, 4vw, 60px); text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .38;
  background:
    radial-gradient(40% 60% at 12% 8%, rgba(255,255,255,.28), transparent 60%),
    radial-gradient(46% 66% at 88% 96%, rgba(255,255,255,.18), transparent 62%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.08rem; max-width: 60ch; margin: 0 auto 28px; }
.cta-band .btn-row { justify-content: center; }
@media (max-width: 480px) { .cta-band .btn { width: 100%; } }

/* ------------------------------------------------------------- page hero */
.phero {
  position: relative; overflow: hidden;
  padding-block: clamp(46px, 5vw, 84px) clamp(38px, 4vw, 64px);
  background: linear-gradient(180deg, var(--violet-tint) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.phero::after {
  content: ""; position: absolute; inset: 0; opacity: .55;
  background-image:
    linear-gradient(rgba(108,59,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,59,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(64% 70% at 50% 0%, #000, transparent 76%);
  mask-image: radial-gradient(64% 70% at 50% 0%, #000, transparent 76%);
}
.phero > * { position: relative; }
.phero h1 { font-size: clamp(2.05rem, 1.4rem + 2.6vw, 3.2rem); margin-bottom: var(--sp-3); }
.phero .lead { max-width: 64ch; }

.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: var(--sp-3); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: 7px; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs a { color: var(--muted); font-weight: 500; }
.crumbs a:hover { color: var(--violet-deep); }

/* ---------------------------------------------------------------- forms */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(22px, 3vw, 36px); box-shadow: var(--sh-2);
}
.field { margin-bottom: var(--sp-3); }
.field label { display: block; font-family: var(--font-h); font-weight: 650; font-size: .92rem; color: var(--ink); margin-bottom: 7px; }
.field .hint { font-weight: 500; color: var(--muted); font-size: .82rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-b); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  padding: 13px 15px; min-height: 50px;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6779' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 42px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(108,59,255,.14);
}
.field input::placeholder, .field textarea::placeholder { color: #9C98A8; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 14px; }

/* choice chips (enroll wizard) */
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice span {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-h); font-weight: 650; font-size: .95rem; color: var(--body);
  background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-pill);
  padding: 12px 20px; min-height: 48px; cursor: pointer;
  transition: all var(--fast) var(--ease);
}
.choice span:hover { border-color: var(--violet); color: var(--violet-deep); background: var(--violet-tint); }
.choice input:checked + span { background: var(--violet); border-color: var(--violet); color: #fff; box-shadow: var(--sh-cta); }
.choice input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 3px; }

.stepnum {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--violet); color: #fff; font-family: var(--font-h); font-weight: 750; font-size: .88rem;
  margin-right: 11px; flex: none;
}
.step-head { display: flex; align-items: center; margin-bottom: 14px; }
.step-head h3 { margin: 0; font-size: 1.12rem; }

/* quick contact tiles */
.qtile {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px; box-shadow: var(--sh-1); color: inherit; min-height: 112px;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.qtile:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--violet); color: inherit; }
.qtile .ico { width: 38px; height: 38px; margin: 0 0 4px; border-radius: 11px; }
.qtile .ico svg { width: 18px; height: 18px; }
.qtile b { font-family: var(--font-h); font-size: .98rem; color: var(--ink); }
.qtile span { font-size: .85rem; color: var(--muted); word-break: break-word; }

.map-embed {
  width: 100%; aspect-ratio: 16/9; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); background: var(--lavender);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --------------------------------------------------------- info panels */
.panel {
  background: var(--lavender); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--sp-4);
}
.panel-violet {
  background: linear-gradient(135deg, var(--violet-tint) 0%, #fff 100%);
  border-color: var(--violet-tint-2);
}
.note {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border: 1px dashed var(--line-2); border-radius: var(--r-md);
  padding: 16px 18px;
}
.note svg { width: 19px; height: 19px; color: var(--violet); flex: none; margin-top: 3px; }
.note p { font-size: .92rem; color: var(--body); margin: 0; }

.kv { display: grid; gap: 12px; }
.kv > div { display: flex; gap: 12px; align-items: flex-start; }
.kv svg { width: 18px; height: 18px; color: var(--violet); flex: none; margin-top: 4px; }
.kv b { display: block; font-family: var(--font-h); font-size: .95rem; color: var(--ink); }
.kv span { font-size: .93rem; color: var(--body); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; margin: 0; font-size: .97rem; }
.check-list svg { width: 18px; height: 18px; color: var(--success); flex: none; margin-top: 4px; }

/* modules accordion numbering */
.module summary { gap: 14px; justify-content: flex-start; }
.module summary .mn {
  font-family: var(--font-h); font-weight: 800; font-size: .8rem; letter-spacing: .06em;
  color: var(--violet-deep); background: var(--violet-tint); border-radius: 6px;
  padding: 5px 9px; flex: none;
}
.module summary .mt { flex: 1; }

/* ------------------------------------------------------------- footer */
.footer { background: #100E18; color: #A8A4B8; padding-block: clamp(48px, 5vw, 72px) 0; margin-top: 0; }
.footer a { color: #C9C4DC; }
.footer a:hover { color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: minmax(0,1.5fr) repeat(3, minmax(0,1fr));
  gap: var(--sp-5);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .logo-txt { color: #fff; }
.footer .logo-txt span { color: #8B87A0; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 11px; font-size: .94rem; }
.footer .fdesc { font-size: .95rem; margin: 18px 0; max-width: 34ch; }
.footer .fkv { display: grid; gap: 10px; font-size: .93rem; }
.footer .fkv div { display: flex; gap: 10px; align-items: flex-start; }
.footer .fkv svg { width: 16px; height: 16px; color: #8B6BFF; flex: none; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #C9C4DC;
  transition: all var(--fast) var(--ease);
}
.socials a:hover { background: var(--violet); border-color: var(--violet); color: #fff; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: var(--sp-6); padding-block: 24px; border-top: 1px solid rgba(255,255,255,.09);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  font-size: .87rem;
}
.areas-inline { display: flex; flex-wrap: wrap; gap: 7px; }
.areas-inline .a {
  font-size: .84rem; padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); color: #C9C4DC;
}

/* --------------------------------------------------------- scroll reveal */
/* Hidden only once the script has confirmed it can reveal them again, so a JS
   failure, a blocked script or a stalled observer leaves the page fully visible. */
.js-reveal .rv { opacity: 0; transform: translateY(20px); }
.rv.in {
  opacity: 1; transform: none;
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  transition-delay: var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .rv { opacity: 1 !important; transform: none !important; }
  .process::before { transform: none !important; }
  .cert { transform: none; }
}

/* ------------------------------------------------------------ printing */
@media print {
  .nav, .sticky-cta, .footer, .cta-band { display: none !important; }
  body { padding-bottom: 0; }
}
