:root {
  --navy: #0B2C5B;
  --navy-dark: #071E3D;
  --cyan: #2E9FD6;
  --cyan-2: #3DB5E6;
  --gold: #E8B923;
  --ink: #102033;
  --text: #243044;
  --muted: #5c6b80;
  --line: #e4eaf2;
  --soft: #f4f8fb;
  --white: #fff;
  --ok: #157a3a;
  --err: #b42318;
  --max: 1140px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 44, 91, 0.08);
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Libre Baskerville", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(100% - 2.4rem, var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(120deg, #071E3D 0%, #0B2C5B 55%, #13457a 100%);
  box-shadow: 0 8px 24px rgba(7, 30, 61, 0.28);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 1rem;
}
.logo { display: flex; align-items: center; gap: .75rem; }
.logo-img {
  width: 92px;
  height: auto;
  background: #fff;
  border-radius: 12px;
  padding: 5px 6px 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,.22);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong {
  font-family: var(--display);
  font-size: 1.35rem;
  color: #fff;
}
.logo-text small {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .15rem;
  justify-content: flex-end;
}
.site-nav > a,
.nav-drop-btn {
  color: rgba(255,255,255,.9);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  padding: .5rem .65rem;
  border-radius: 8px;
  cursor: pointer;
}
.site-nav > a:hover,
.nav-drop-btn:hover,
.site-nav > a.is-active,
.nav-drop.is-active > .nav-drop-btn { background: rgba(255,255,255,.14); color: #fff; }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-dark) !important;
  font-weight: 700 !important;
}
.nav-ghost { opacity: .85; }
.nav-drop { position: relative; display: inline-flex; }
.nav-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  padding: .4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 80;
  flex-direction: column;
}
.nav-drop:hover > .nav-drop-menu,
.nav-drop.is-open > .nav-drop-menu { display: flex; }
.nav-drop-menu a {
  display: block;
  padding: .65rem .75rem;
  border-radius: 8px;
  color: var(--ink);
  font-size: .85rem;
  font-weight: 600;
}
.nav-drop-menu a:hover, .nav-drop-menu a.is-active {
  background: rgba(46,159,214,.12);
  color: var(--navy);
}
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: rgba(255,255,255,.12);
  border: 0; border-radius: 8px;
  padding: 10px 9px;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }

.hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: #fff;
  background: var(--navy-dark);
}
.hero-slides { position: relative; min-height: 520px; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transition: opacity .6s ease;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; position: relative; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,30,61,.88) 0%, rgba(11,44,91,.55) 48%, rgba(7,30,61,.35) 100%),
    var(--hero-img, none) center/cover no-repeat;
}
.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: 3.5rem 0 4.5rem;
  max-width: 720px;
}
.hero-kicker {
  display: inline-block;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .7rem;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 .8rem;
  font-weight: 700;
}
.hero p { margin: 0 0 1.4rem; font-size: 1.08rem; color: rgba(255,255,255,.88); max-width: 38rem; }
.hero-controls {
  position: absolute; left: 0; right: 0; bottom: 1.2rem;
  display: flex; align-items: center; gap: .6rem; z-index: 2;
}
.hero-nav, .hero-dot {
  border: 0; cursor: pointer;
}
.hero-nav {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff; font-size: 1.2rem;
}
.hero-dots { display: flex; gap: .4rem; }
.hero-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.35);
}
.hero-dot.is-active { background: var(--gold); }

.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  padding: .72rem 1.15rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: .92rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-cyan { background: var(--cyan); color: #fff; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-ghost { background: var(--soft); color: var(--navy); border-color: var(--line); }
.price-tag {
  font-weight: 700;
  color: var(--navy);
  margin: .15rem 0 .45rem;
}
.icon-card .price-tag { font-size: 1.45rem; color: var(--gold); }

.section { padding: 4rem 0; }
.section-soft { background: var(--soft); }
.section-navy { background: var(--navy); color: #fff; }
.section-label {
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}
.section-navy .section-label { color: var(--gold); }
.section-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin: 0 0 .6rem;
}
.section-navy .section-title { color: #fff; }
.lead { color: var(--muted); max-width: 40rem; margin: 0 0 1.6rem; }
.section-navy .lead { color: rgba(255,255,255,.78); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -2.2rem;
  position: relative;
  z-index: 3;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
}
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--navy);
}
.stat span { color: var(--muted); font-size: .86rem; }

.grid-3, .grid-2, .grid-2-even, .cards {
  display: grid;
  gap: 1.1rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.1fr .9fr; }
.grid-2-even { grid-template-columns: 1fr 1fr; }
.cards { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; height: 170px; object-fit: cover; }
.card-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card-cat {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
}
.card h3 { margin: 0; font-size: 1.05rem; color: var(--navy); font-family: var(--display); }
.card p { margin: 0; color: var(--muted); font-size: .92rem; flex: 1; }
.card .btn { align-self: flex-start; margin-top: .4rem; }

.icon-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.icon-card .step {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; margin-bottom: .7rem;
}
.icon-card h3 { margin: 0 0 .35rem; color: var(--navy); font-size: 1.05rem; }

.page-hero {
  background:
    linear-gradient(120deg, rgba(7,30,61,.92), rgba(11,44,91,.78)),
    url("../images/hero-leadership.jpg") center/cover no-repeat;
  color: #fff;
  padding: 3.2rem 0 2.8rem;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: .2rem 0 .5rem;
}
.page-hero p { margin: 0; max-width: 38rem; color: rgba(255,255,255,.86); }

.prose { max-width: 46rem; }
.prose h2 { font-family: var(--display); color: var(--navy); margin: 1.6rem 0 .5rem; }
.prose p { margin: 0 0 1rem; }
.prose ul { padding-left: 1.15rem; }
.prose li { margin: .35rem 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  padding: .55rem 0 .55rem 1.6rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: .85rem;
  width: .7rem; height: .7rem; border-radius: 2px;
  background: var(--cyan);
}

.form, .auth-card form { display: grid; gap: .85rem; }
label { font-size: .82rem; font-weight: 700; color: var(--navy); }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(46,159,214,.35);
  border-color: var(--cyan);
}
.auth-wrap {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 2.5rem 1.2rem;
  background: var(--soft);
}
.auth-card {
  width: min(100%, 440px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem 1.5rem 1.7rem;
  box-shadow: var(--shadow);
}
.auth-card h1 { font-family: var(--display); color: var(--navy); margin: 0 0 .3rem; }
.muted { color: var(--muted); }
.alert {
  padding: .85rem 1rem;
  border-radius: 10px;
  margin: 1rem 0;
  font-size: .92rem;
}
.alert-ok { background: #e8f7ee; color: var(--ok); border: 1px solid #b7e4c7; }
.alert-err { background: #fdecea; color: var(--err); border: 1px solid #f5c2c0; }

.learn-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.4rem;
  align-items: start;
}
.learn-side {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.1rem;
}
.learn-side a {
  display: block;
  padding: .55rem .65rem;
  border-radius: 8px;
  color: rgba(255,255,255,.86);
  font-size: .9rem;
  font-weight: 600;
}
.learn-side a.is-active, .learn-side a:hover { background: rgba(255,255,255,.12); color: #fff; }
.learn-side h2 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: .2rem 0 .7rem; }
.progress-bar { height: 8px; background: #e6eef6; border-radius: 99px; overflow: hidden; }
.progress-bar > span { display: block; height: 100%; background: var(--cyan); }

.lesson-body { font-size: 1.05rem; }
.lesson-body p { margin: 0 0 1rem; }
.q-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: .85rem;
}
.q-block h3 { margin: 0 0 .7rem; font-size: 1rem; color: var(--navy); }
.q-opt {
  display: flex; gap: .6rem; align-items: flex-start;
  padding: .45rem .3rem;
  border-radius: 8px;
}
.q-opt:hover { background: var(--soft); }
.q-opt input { width: auto; margin-top: .25rem; }
.test-top {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin-bottom: 1rem;
}
.timer {
  font-weight: 800;
  color: var(--navy);
  background: #fff3cd;
  border: 1px solid #ffe08a;
  padding: .4rem .7rem;
  border-radius: 8px;
}
.result-hero {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px solid var(--line);
}
.result-hero .score {
  font-family: var(--display);
  font-size: 3rem;
  color: var(--navy);
  margin: .2rem 0;
}
.pass { color: var(--ok) !important; }
.fail { color: var(--err) !important; }

.site-footer {
  background: #061428;
  color: rgba(255,255,255,.82);
  padding: 2.8rem 0 1.2rem;
  margin-top: 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr 1.1fr;
  gap: 1.5rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img {
  width: 110px;
  margin-bottom: .6rem;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
}
.footer-brand strong { display: block; color: #fff; font-family: var(--display); }
.footer-col h4 {
  margin: 0 0 .6rem;
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-col a, .footer-col p { display: block; margin: .35rem 0; font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-top: 1rem; font-size: .82rem; color: rgba(255,255,255,.55);
}
.table-wrap { overflow: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th, table.data td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--line); }
table.data th { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }

.teach-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.live-stage {
  background: #071E3D;
  color: #fff;
  border-radius: 14px;
  min-height: 360px;
  padding: 1.2rem;
  overflow: hidden;
}
.live-stage img,
.live-stage .pdf-frame {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  background: #000;
  border: 0;
}
.live-copy h2 {
  font-family: var(--display);
  margin: .8rem 0 .4rem;
}
.live-audio-panel {
  background: #0e2444;
  color: #fff;
  border-radius: 14px;
  padding: 1.2rem 1.25rem;
}
.live-audio-label {
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .78rem;
  margin: 0 0 .5rem;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,.7);
  animation: livePulse 1.6s infinite;
}
@keyframes livePulse {
  70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}
.live-audio-status { margin: 0 0 .9rem; }
.live-audio-panel audio { display: none; }
.live-audio-panel .btn-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.speaker-label { min-height: 1.2em; margin: 0 0 .6rem; color: var(--gold, #E8B923); font-weight: 600; }
.live-audio-panel.has-hand { box-shadow: 0 0 0 2px var(--gold, #E8B923); }

@media (max-width: 960px) {
  .stats, .grid-3, .cards, .footer-grid, .learn-layout, .grid-2, .grid-2-even, .teach-grid {
    grid-template-columns: 1fr;
  }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 86px; left: 0; right: 0;
    background: var(--navy-dark);
    padding: .8rem 1.2rem 1.2rem;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  .nav-drop-menu { position: static; box-shadow: none; }
  .header-inner { position: relative; }
}
