/* ════════════════════════════════════════════════════════════════════
   GeXOn Training Center — site stylesheet.

   Self-contained: every style the site uses lives in this one file.

   Palette is sampled from the Training Center logo, not invented:
     navy  #173358  (wordmark / GXO letters)
     teal  #28C09C  (ribbon)
     green #148C70  (tagline) — darkened to #0F7A60 for text on white
   Contrast (WCAG 2.2): navy on white 12.7:1 · teal-700 on white 5.3:1 ·
   navy on teal 5.5:1 · teal on navy-900 6.8:1 · #28C09C on white is only
   2.3:1, so bright teal is never used for text on light surfaces.

   Edit this file in src/static/; build.py adds a content-hash ?v= to every
   page that links it, so the year-long cache is busted automatically.
   ════════════════════════════════════════════════════════════════════ */

:root {
  color-scheme: light;

  /* Brand */
  --navy-950: #0B1A30;
  --navy-900: #0F2340;
  --navy-800: #173358;
  --navy-700: #22436F;
  --teal-500: #28C09C;
  --teal-400: #5FD3B4;
  --teal-700: #0F7A60;
  --teal-100: #D3F2E8;
  --teal-50:  #EAF8F3;

  /* Learning-area wayfinding — chips, icons and thin rules only. */
  --data-600: #0F7A60;  --data-50: #E6F7F1;
  --bi-600:   #B45309;  --bi-50:   #FEF3E2;
  --ai-600:   #4F46E5;  --ai-50:   #EEF0FF;

  /* Neutrals */
  --white:    #FFFFFF;
  --grey-50:  #F7F9FB;
  --grey-100: #EEF1F5;
  --grey-200: #DCE2EA;
  --grey-400: #8A96A8;
  --grey-600: #4A5A73;
  --ink:      #13233D;

  --red-600:   #C7362F;
  --green-600: #15803D;

  /* Semantic */
  --bg:           var(--white);
  --bg-soft:      var(--grey-50);
  --bg-tint:      var(--teal-50);
  --text:         var(--ink);
  --text-muted:   var(--grey-600);
  --border:       var(--grey-200);
  --link:         var(--teal-700);
  --focus:        var(--teal-700);

  /* Type — Space Grotesk / Inter on a Major Third scale */
  --font-display: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;
  --text-xs: .75rem; --text-sm: .875rem; --text-base: 1rem; --text-lg: 1.125rem;
  --text-xl: 1.25rem; --text-2xl: 1.5rem; --text-3xl: 1.875rem; --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem;

  --container-max: 1200px;
  --container-pad: 1.25rem;
  --nav-height: 76px;

  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px; --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm:   0 1px 2px rgba(15, 35, 64, .06);
  --shadow-card: 0 2px 8px rgba(15, 35, 64, .06), 0 1px 2px rgba(15, 35, 64, .04);
  --shadow-lift: 0 22px 44px -14px rgba(15, 35, 64, .22), 0 4px 12px rgba(15, 35, 64, .08);

  --ease-premium: cubic-bezier(.16, 1, .3, 1);
  --duration-lift: 380ms;
  --duration-snap: 220ms;
  --stagger-step: 60ms;

  --mesh-light:
    radial-gradient(ellipse 55% 60% at 8% 0%, rgba(40, 192, 156, .14), transparent 60%),
    radial-gradient(ellipse 45% 50% at 100% 30%, rgba(23, 51, 88, .07), transparent 60%);
  --mesh-dark:
    radial-gradient(ellipse 60% 55% at 10% 10%, rgba(40, 192, 156, .20), transparent 60%),
    radial-gradient(ellipse 60% 60% at 95% 100%, rgba(79, 70, 229, .16), transparent 60%);
}

/* ── Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-800);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-4);
}
h1 { font-size: clamp(2.1rem, 4.6vw, var(--text-5xl)); }
h2 { font-size: clamp(1.65rem, 3.2vw, var(--text-4xl)); }
h3 { font-size: var(--text-xl); }
p  { margin: 0 0 var(--space-4); }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.2rem; }
strong { color: inherit; font-weight: 600; }
code, .mono { font-family: var(--font-mono); font-size: .92em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .section--navy :focus-visible, .footer :focus-visible, .cta-band :focus-visible { outline-color: var(--teal-400); }

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 1000;
  background: var(--navy-800); color: var(--white); padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--space-4); color: var(--white); }

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

/* ── Layout ───────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.container--narrow { max-width: 820px; }
.section { padding: var(--space-20) 0; }
.section--tight { padding: var(--space-12) 0; }
/* `.container.section` (course pages): keep the container gutter that the
   section shorthand above would otherwise reset to 0 on phones. */
.container.section { padding-left: var(--container-pad); padding-right: var(--container-pad); }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--navy {
  background-color: var(--navy-900); background-image: var(--mesh-dark);
  color: rgba(255, 255, 255, .86);
}
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy a:not(.btn) { color: var(--teal-400); }

.section-header { max-width: 720px; margin: 0 auto var(--space-12); text-align: center; }
.section-header--left { margin-left: 0; text-align: left; }
.section-header p { color: var(--text-muted); font-size: var(--text-lg); margin: 0; }
.section--navy .section-header p { color: rgba(255, 255, 255, .78); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-700); margin-bottom: var(--space-3);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section--navy .eyebrow, .cta-band .eyebrow { color: var(--teal-400); }

.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.lede { font-size: var(--text-lg); color: var(--text-muted); }
.muted { color: var(--text-muted); }
.small { font-size: var(--text-sm); }
.center { text-align: center; }
.mt-8 { margin-top: var(--space-8); }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 46px; padding: 0 var(--space-6);
  font-family: var(--font-body); font-size: var(--text-base); font-weight: 600; line-height: 1;
  border-radius: var(--radius-full); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--duration-snap) var(--ease-premium), box-shadow var(--duration-snap) var(--ease-premium),
              background-color var(--duration-snap) ease, color var(--duration-snap) ease, border-color var(--duration-snap) ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--navy-800); color: var(--white); }
.btn--primary:hover { background: var(--navy-900); color: var(--white); box-shadow: 0 14px 28px -12px rgba(15, 35, 64, .55); }
.btn--accent { background: var(--teal-500); color: var(--navy-900); }
.btn--accent:hover { background: var(--teal-400); color: var(--navy-900); box-shadow: 0 14px 28px -12px rgba(40, 192, 156, .6); }
.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); color: var(--white); border-color: var(--white); }
.btn--lg { min-height: 54px; padding: 0 var(--space-8); font-size: var(--text-lg); }
.btn--sm { min-height: 38px; padding: 0 var(--space-4); font-size: var(--text-sm); }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; cursor: progress; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; text-decoration: none; color: var(--teal-700);
}
.link-arrow::after { content: "→"; transition: transform var(--duration-snap) var(--ease-premium); }
.link-arrow:hover::after { transform: translateX(4px); }
.section--navy .link-arrow { color: var(--teal-400); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* ── Navbar ───────────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-snap) ease, box-shadow var(--duration-snap) ease;
}
.navbar.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px -18px rgba(15, 35, 64, .5); }
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
  height: var(--nav-height);
}
.navbar__logo { display: flex; align-items: center; flex: none; }
.navbar__logo img { height: 46px; width: auto; }
.navbar__nav { display: flex; align-items: center; gap: var(--space-1); }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-md);
  font-size: var(--text-sm); font-weight: 600; color: var(--navy-800); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav__link:hover { color: var(--teal-700); background: var(--teal-50); }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--teal-700); }
.nav__link[aria-current="page"]::after, .nav__link.is-active::after {
  content: ""; position: absolute; left: var(--space-3); right: var(--space-3); bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--teal-500);
}
.nav__link svg { width: 14px; height: 14px; transition: transform var(--duration-snap) ease; }
.navbar__actions { display: flex; align-items: center; gap: var(--space-3); }
.nav-dropdown { position: relative; }
.nav-dropdown__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 320px;
  transform: translate(-50%, 6px); opacity: 0; visibility: hidden;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift); padding: var(--space-2);
  transition: opacity var(--duration-snap) ease, transform var(--duration-snap) var(--ease-premium), visibility 0s linear var(--duration-snap);
}
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity var(--duration-snap) ease, transform var(--duration-snap) var(--ease-premium), visibility 0s;
}
.nav-dropdown.is-open .nav__link svg { transform: rotate(180deg); }
.nav-dropdown__item {
  display: grid; grid-template-columns: 34px 1fr; gap: 2px var(--space-3); align-items: center;
  padding: var(--space-3); border-radius: var(--radius-md); text-decoration: none; color: var(--navy-800);
}
.nav-dropdown__item:hover { background: var(--grey-50); color: var(--navy-800); }
.nav-dropdown__item .area-icon { grid-row: span 2; width: 34px; height: 34px; }
.nav-dropdown__item-label { font-weight: 600; font-size: var(--text-sm); }
.nav-dropdown__item-desc { font-size: var(--text-xs); color: var(--text-muted); grid-column: 2; }
.nav-dropdown__all {
  display: block; margin-top: var(--space-1); padding: var(--space-3); border-top: 1px solid var(--grey-100);
  font-size: var(--text-sm); font-weight: 600; text-decoration: none;
}

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--white); cursor: pointer; align-items: center; justify-content: center; color: var(--navy-800);
}
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
  position: fixed; inset: var(--nav-height) 0 0 0; z-index: 190;
  background: var(--white); overflow-y: auto; padding: var(--space-6) var(--container-pad) var(--space-12);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity var(--duration-snap) ease, transform var(--duration-snap) var(--ease-premium), visibility 0s linear var(--duration-snap);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-nav a {
  display: block; padding: var(--space-3) 0; border-bottom: 1px solid var(--grey-100);
  font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: var(--navy-800); text-decoration: none;
}
.mobile-nav a.mobile-nav__sub { font-family: var(--font-body); font-size: var(--text-base); font-weight: 500; padding-left: var(--space-4); color: var(--grey-600); }
.mobile-nav a[aria-current="page"] { color: var(--teal-700); }
.mobile-nav .btn { margin-top: var(--space-6); border-bottom: 0; font-family: var(--font-body); font-size: var(--text-base); color: var(--white); }
body.nav-open { overflow: hidden; }

@media (max-width: 1020px) {
  .navbar__nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .navbar__logo img { height: 40px; }
}
@media (max-width: 420px) {
  .navbar__actions .btn { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background-color: var(--white); background-image: var(--mesh-light);
  padding: var(--space-16) 0 var(--space-20);
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: var(--space-12); align-items: center; }
.hero h1 { margin-bottom: var(--space-5); }
.hero h1 .hl { color: var(--teal-700); }
.hero__lede { font-size: var(--text-lg); color: var(--text-muted); max-width: 600px; margin-bottom: var(--space-8); }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5);
  margin: var(--space-8) 0 0; padding: 0; list-style: none; font-size: var(--text-sm); color: var(--grey-600);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--teal-700); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero { padding: var(--space-10) 0 var(--space-16); }
}

/* Hero visual: the Data → Analytics → BI → AI path as a live-looking panel */
.path-visual {
  position: relative; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lift); padding: var(--space-6);
}
.path-visual__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-5); }
.path-visual__title { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--grey-600); }
.path-visual__dots { display: flex; gap: 5px; }
.path-visual__dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--grey-200); }
.path-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.path-steps li {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: var(--space-3);
  padding: var(--space-3); border-radius: var(--radius-md); background: var(--grey-50);
}
.path-steps .step-no {
  width: 40px; height: 40px; border-radius: var(--radius-md); display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 600; font-size: var(--text-sm);
}
.path-steps strong { display: block; color: var(--navy-800); font-size: var(--text-sm); }
.path-steps small { color: var(--grey-600); font-size: var(--text-xs); }
.path-steps .bar { width: 72px; height: 6px; border-radius: 6px; background: var(--grey-200); overflow: hidden; }
.path-steps .bar i { display: block; height: 100%; border-radius: 6px; }
.path-visual__foot {
  margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px dashed var(--grey-200);
  display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-sm); color: var(--grey-600);
}
.path-visual__foot svg { width: 20px; height: 20px; color: var(--teal-700); flex: none; }

/* Area colour helpers */
.is-data .step-no, .area-icon.is-data { background: var(--data-50); color: var(--data-600); }
.is-bi   .step-no, .area-icon.is-bi   { background: var(--bi-50);   color: var(--bi-600); }
.is-ai   .step-no, .area-icon.is-ai   { background: var(--ai-50);   color: var(--ai-600); }
.is-data .bar i { background: var(--teal-500); }
.is-bi   .bar i { background: #E9A23B; }
.is-ai   .bar i { background: #7C74F0; }

.area-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md); display: grid; place-items: center; flex: none;
}
.area-icon svg { width: 55%; height: 55%; }

/* ── Chips ────────────────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--radius-full);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  background: var(--grey-100); color: var(--grey-600); white-space: nowrap;
}
.chip svg { width: 14px; height: 14px; }
.chip--data { background: var(--data-50); color: var(--data-600); }
.chip--bi   { background: var(--bi-50);   color: var(--bi-600); }
.chip--ai   { background: var(--ai-50);   color: var(--ai-600); }
.chip--level { background: var(--white); border: 1px solid var(--border); color: var(--grey-600); }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.tool-pills { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.tool-pills li {
  padding: 6px 12px; border-radius: var(--radius-md); border: 1px solid var(--border);
  background: var(--white); font-size: var(--text-sm); font-weight: 500; color: var(--navy-800);
}

/* ── Cards ────────────────────────────────────────────────────────── */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-8); box-shadow: var(--shadow-card);
  transition: transform var(--duration-lift) var(--ease-premium), box-shadow var(--duration-lift) var(--ease-premium), border-color var(--duration-lift) ease;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--grey-400); }
.card h3 { margin-bottom: var(--space-3); }
.card p { color: var(--text-muted); }
.card > :last-child { margin-bottom: 0; }
.card__foot { margin-top: auto; padding-top: var(--space-5); }
.section--navy .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.section--navy .card p { color: rgba(255, 255, 255, .78); }

/* Learning-area card: coloured top rule */
.area-card { border-top: 4px solid var(--teal-500); }
.area-card.is-bi { border-top-color: #E9A23B; }
.area-card.is-ai { border-top-color: #7C74F0; }
.area-card .area-icon { margin-bottom: var(--space-5); }
.area-card ul { color: var(--grey-600); font-size: var(--text-sm); padding-left: 1.1rem; }
.area-card li { margin-bottom: 4px; }

/* Course card */
.course-card { padding: var(--space-6); gap: var(--space-3); }
.course-card > .chip { align-self: flex-start; }
.course-card h3 { font-size: var(--text-lg); margin: 0; }
.course-card h3 a { color: inherit; text-decoration: none; }
.course-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.course-card p { font-size: var(--text-sm); margin: 0; }
.course-card__meta {
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin: 0; padding: 0; list-style: none;
  font-size: var(--text-xs); color: var(--grey-600); font-family: var(--font-mono);
}
.course-card__meta li { display: inline-flex; align-items: center; gap: 5px; }
.course-card__meta svg { width: 14px; height: 14px; }
.course-card__cta { margin-top: auto; padding-top: var(--space-3); font-size: var(--text-sm); }
.course-card--soon { box-shadow: none; background: var(--grey-50); }
.course-card--soon h3 a::after { display: none; }
.course-card--soon .course-card__cta { position: relative; z-index: 1; }

/* Tool logos: the products a course teaches, on a tinted cover (cards) or in the course hero */
.tool-logos { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.tool-logos li { display: grid; place-items: center; width: 52px; height: 52px; background: var(--white); border-radius: var(--radius-md);
  box-shadow: 0 0 0 1px rgba(15, 35, 64, .06), 0 2px 6px rgba(15, 35, 64, .08); }
.tool-logos img { display: block; width: 30px; height: 30px; }
.course-card__cover {
  display: flex; align-items: center; min-height: 104px;
  margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) var(--space-1); padding: var(--space-6);
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
  --cover-tint: var(--data-50);
  background: radial-gradient(circle at 1px 1px, rgba(23, 51, 88, .09) 1px, transparent 0) 0 0 / 14px 14px,
              linear-gradient(135deg, var(--cover-tint), var(--white) 85%);
}
.course-card__cover--bi { --cover-tint: var(--bi-50); }
.course-card__cover--ai { --cover-tint: var(--ai-50); }
.tool-logos--hero { margin: var(--space-5) 0 var(--space-4); }
.tool-logos--hero li { width: 64px; height: 64px; }
.tool-logos--hero img { width: 38px; height: 38px; }
.footer__trademarks { flex-basis: 100%; margin: var(--space-2) 0 0; font-size: var(--text-xs); opacity: .7; }

/* Numbered feature list */
.feature { display: flex; gap: var(--space-4); }
.feature__no {
  flex: none; width: 44px; height: 44px; border-radius: var(--radius-md);
  display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700);
  font-family: var(--font-mono); font-weight: 600;
}
.section--navy .feature__no { background: rgba(40, 192, 156, .14); color: var(--teal-400); }
.feature__no svg { width: 22px; height: 22px; }
.feature h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.feature p { color: var(--text-muted); margin: 0; font-size: var(--text-sm); }
.section--navy .feature p { color: rgba(255, 255, 255, .78); }

/* Learning-path rows */
.path-row {
  display: grid; grid-template-columns: 220px 1fr; gap: var(--space-6); align-items: center;
  padding: var(--space-6); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.path-row + .path-row { margin-top: var(--space-4); }
.path-row h3 { font-size: var(--text-lg); margin: var(--space-2) 0 0; }
.path-row p { margin: var(--space-1) 0 0; font-size: var(--text-sm); color: var(--text-muted); }
.path-flow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.path-flow li {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: 600; color: var(--navy-800);
}
.path-flow li span {
  padding: 8px 12px; border-radius: var(--radius-md); background: var(--grey-50); border: 1px solid var(--grey-200);
}
.path-flow li a span { text-decoration: none; }
.path-flow li a { text-decoration: none; }
.path-flow li a span { background: var(--teal-50); border-color: var(--teal-100); color: var(--teal-700); }
.path-flow li:not(:last-child)::after { content: "→"; color: var(--grey-400); font-weight: 400; }
@media (max-width: 760px) { .path-row { grid-template-columns: 1fr; gap: var(--space-4); } }

/* Stage steps (Assess → Design → Train → Apply → Measure) */
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); counter-reset: stage; }
.stages li {
  position: relative; padding: var(--space-5); border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--border); counter-increment: stage;
}
.stages li::before {
  content: "0" counter(stage); display: block; margin-bottom: var(--space-3);
  font-family: var(--font-mono); font-size: var(--text-xs); color: var(--teal-700); letter-spacing: .08em;
}
.stages h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.stages p { font-size: var(--text-sm); color: var(--text-muted); margin: 0; }
.section--navy .stages li { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.section--navy .stages li::before { color: var(--teal-400); }
.section--navy .stages p { color: rgba(255, 255, 255, .78); }
@media (max-width: 1020px) { .stages { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }

/* Split block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--space-8); } }

.checklist { list-style: none; padding: 0; margin: 0 0 var(--space-6); display: grid; gap: var(--space-3); }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F7A60' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checklist--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--space-3) var(--space-8); }
.section--navy .checklist li::before { background-color: rgba(40, 192, 156, .16); }

/* Parent-brand strip */

/* Audience cards */
.audience-card { padding: var(--space-6); }
.audience-card .chip { align-self: flex-start; margin-bottom: var(--space-4); }
.audience-card h3 { font-size: var(--text-lg); }
.audience-card p { font-size: var(--text-sm); }

/* ── Breadcrumbs ──────────────────────────────────────────────────── */
.breadcrumbs { font-size: var(--text-sm); color: var(--grey-600); margin-bottom: var(--space-6); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--grey-400); }
.breadcrumbs a { color: var(--grey-600); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal-700); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--navy-800); font-weight: 500; }

/* ── Page hero (inner pages) ──────────────────────────────────────── */
.page-hero { background-color: var(--white); background-image: var(--mesh-light); padding: var(--space-12) 0 var(--space-16); border-bottom: 1px solid var(--grey-100); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.85rem); max-width: 860px; }
.page-hero .lede { max-width: 760px; }

/* ── Course page ──────────────────────────────────────────────────── */
.course-hero { background-color: var(--white); background-image: var(--mesh-light); padding: var(--space-10) 0 var(--space-12); border-bottom: 1px solid var(--grey-100); }
.course-hero h1 { font-size: clamp(2rem, 4vw, 2.85rem); margin-top: var(--space-3); }
.course-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px;
  margin: var(--space-8) 0 0; background: var(--grey-200); border: 1px solid var(--grey-200); border-radius: var(--radius-lg); overflow: hidden;
}
.course-facts div { background: var(--white); padding: var(--space-4) var(--space-5); }
.course-facts dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-600); margin-bottom: 4px; }
.course-facts dd { margin: 0; font-weight: 600; color: var(--navy-800); font-size: var(--text-sm); }

.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-12); align-items: start; }
.course-main > section { padding: var(--space-10) 0; border-bottom: 1px solid var(--grey-100); }
.course-main > section:first-child { padding-top: 0; }
.course-main > section:last-child { border-bottom: 0; }
.course-main h2 { font-size: var(--text-3xl); }
.course-aside { position: sticky; top: calc(var(--nav-height) + 24px); }
.enroll-card { padding: var(--space-6); border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--white); box-shadow: var(--shadow-lift); }
.enroll-card h2 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.enroll-card p { font-size: var(--text-sm); color: var(--text-muted); }
.enroll-card .btn + .btn { margin-top: var(--space-3); }
.enroll-card__list { list-style: none; margin: var(--space-5) 0 0; padding: var(--space-5) 0 0; border-top: 1px solid var(--grey-100); display: grid; gap: var(--space-2); font-size: var(--text-sm); color: var(--grey-600); }
.enroll-card__list li { display: flex; gap: var(--space-2); }
.enroll-card__list svg { width: 16px; height: 16px; color: var(--teal-700); flex: none; margin-top: 3px; }
@media (max-width: 1020px) {
  .course-layout { grid-template-columns: 1fr; }
  .course-aside { position: static; order: -1; }
}

.two-col-list { columns: 2 260px; column-gap: var(--space-8); padding-left: 1.1rem; }
.two-col-list li { break-inside: avoid; margin-bottom: var(--space-2); }

/* Curriculum accordion */
.curriculum { display: grid; gap: var(--space-3); }
.module {
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white);
  transition: border-color var(--duration-snap) ease, box-shadow var(--duration-snap) ease;
}
.module[open] { border-color: var(--teal-100); box-shadow: var(--shadow-card); }
.module summary {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-4);
  padding: var(--space-4) var(--space-5); cursor: pointer; list-style: none;
}
.module summary::-webkit-details-marker { display: none; }
.module__no {
  font-family: var(--font-mono); font-size: var(--text-xs); color: var(--teal-700);
  background: var(--teal-50); padding: 4px 8px; border-radius: var(--radius-sm); white-space: nowrap;
}
.module__title { font-weight: 600; color: var(--navy-800); }
.module__count { font-size: var(--text-xs); color: var(--grey-600); font-family: var(--font-mono); }
.module summary::after {
  content: "+"; grid-column: 3; grid-row: 1; justify-self: end; margin-left: var(--space-3);
  font-size: 1.3rem; line-height: 1; color: var(--grey-600); transition: transform var(--duration-snap) ease;
}
.module summary .module__count { grid-column: 3; grid-row: 1; margin-right: 28px; }
.module[open] summary::after { transform: rotate(45deg); }
.module__body { padding: 0 var(--space-5) var(--space-5) var(--space-5); }
.module__body h4 { font-size: var(--text-sm); font-family: var(--font-body); font-weight: 600; margin: var(--space-4) 0 var(--space-2); color: var(--navy-800); }
.module__body h4:first-child { margin-top: 0; }
.module__body ul { margin: 0; padding-left: 1.1rem; columns: 2 240px; column-gap: var(--space-6); font-size: var(--text-sm); color: var(--grey-600); }
.module__body li { break-inside: avoid; margin-bottom: 4px; }
.curriculum-tools { display: flex; justify-content: flex-end; margin-bottom: var(--space-3); }
.curriculum-tools button { background: none; border: 0; color: var(--teal-700); font-weight: 600; font-size: var(--text-sm); cursor: pointer; padding: 4px; }
@media (max-width: 560px) {
  .module summary { grid-template-columns: 1fr auto; }
  .module__no { grid-column: 1; justify-self: start; }
  .module__title { grid-column: 1; }
  .module summary .module__count { display: none; }
  .module summary::after { grid-column: 2; grid-row: 1 / span 2; }
}

/* Data table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.data-table th, .data-table td { text-align: left; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--grey-100); vertical-align: top; }
.data-table th { background: var(--grey-50); color: var(--navy-800); font-weight: 600; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td:first-child { font-weight: 600; color: var(--navy-800); min-width: 180px; }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq { display: grid; gap: var(--space-3); max-width: 860px; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); }
.faq summary {
  display: flex; justify-content: space-between; gap: var(--space-4); align-items: center;
  padding: var(--space-5); cursor: pointer; list-style: none; font-weight: 600; color: var(--navy-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--teal-700); transition: transform var(--duration-snap) ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 var(--space-5) var(--space-5); color: var(--text-muted); }
.faq details > div p:last-child { margin: 0; }

/* ── Trainings delivered (fed from /api/sessions.php) ──── */
.training-log-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.training-log-card { padding: 0; overflow: hidden; }
.training-log-card > *:not(img) { padding-left: var(--space-6); padding-right: var(--space-6); }
.training-log-card__cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--grey-100); }
.training-log-card__title { font-size: var(--text-lg); margin: var(--space-5) 0 var(--space-1); }
.training-log-card__org { font-size: var(--text-sm); color: var(--grey-600); margin-bottom: var(--space-3); }
.training-log-card__desc { font-size: var(--text-sm); color: var(--text-muted); }
.training-log-card__desc > :last-child { margin-bottom: 0; }
.training-log-card__outcome {
  margin: var(--space-4) var(--space-6) var(--space-6) !important; padding: var(--space-3) var(--space-4) !important;
  border-left: 3px solid var(--teal-500); background: var(--teal-50); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--text-sm); color: var(--navy-800);
}
.training-log-card > :last-child:not(blockquote) { padding-bottom: var(--space-6); }

/* ── CTA band ─────────────────────────────────────────────────────── */
.cta-band {
  background-color: var(--navy-900); background-image: var(--mesh-dark); color: rgba(255, 255, 255, .86);
  padding: var(--space-16) 0; text-align: center;
}
.cta-band h2 { color: var(--white); max-width: 760px; margin: 0 auto var(--space-4); }
.cta-band p { max-width: 640px; margin: 0 auto var(--space-8); font-size: var(--text-lg); }
.cta-band .btn-row { justify-content: center; }
.cta-band__alt { margin: var(--space-6) 0 0 !important; font-size: var(--text-sm) !important; }
.cta-band__alt a { color: var(--teal-400); }

/* ── Forms ────────────────────────────────────────────────────────── */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-8); box-shadow: var(--shadow-card); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: var(--space-6) var(--space-5); } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field > .label, fieldset.field > legend { font-size: var(--text-sm); font-weight: 600; color: var(--navy-800); }
.field .req { color: var(--red-600); margin-left: 2px; }
.field .hint { font-size: var(--text-xs); color: var(--grey-600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  border: 1px solid var(--grey-200); border-radius: var(--radius-md); background: var(--white);
  transition: border-color var(--duration-snap) ease, box-shadow var(--duration-snap) ease;
}
.field textarea { min-height: 120px; resize: vertical; }
/* The text-input sizing above must not reach checkboxes and radios. */
.field input[type="checkbox"], .field input[type="radio"] { width: auto; min-height: 0; padding: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 3px rgba(40, 192, 156, .25); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-600); }
.field__error { font-size: var(--text-xs); color: var(--red-600); min-height: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field > legend { padding: 0; margin-bottom: 6px; }
.options { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.option span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-4);
  border: 1px solid var(--grey-200); border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: 500; background: var(--white);
  transition: all var(--duration-snap) ease;
}
.option input:checked + span { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.option input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.field > label.consent { font-weight: 400; color: var(--grey-600); }
.consent { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); color: var(--grey-600); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal-700); flex: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); font-size: var(--text-sm); }
.form-status.is-error { display: block; background: #FDECEB; color: #8E231E; border: 1px solid #F5C2BF; }
.form-status.is-success { display: block; background: var(--teal-50); color: var(--navy-800); border: 1px solid var(--teal-100); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.form-note { font-size: var(--text-xs); color: var(--grey-600); margin: 0; }
.form-success-panel { text-align: center; padding: var(--space-8) var(--space-4); }
.form-success-panel .area-icon { margin: 0 auto var(--space-5); background: var(--teal-50); color: var(--teal-700); }
.form-success-panel h3 { font-size: var(--text-2xl); }

/* ── Modal (download course content) ──────────────────────────────── */
dialog.modal {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  padding: 0; border: 0; border-radius: var(--radius-xl); box-shadow: 0 40px 80px -20px rgba(11, 26, 48, .45);
}
dialog.modal::backdrop { background: rgba(11, 26, 48, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal__head { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-6) var(--space-6) 0; }
.modal__head h2 { font-size: var(--text-xl); margin: 0; }
.modal__head p { font-size: var(--text-sm); color: var(--text-muted); margin: var(--space-2) 0 0; }
.modal__close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--white); cursor: pointer; font-size: 1.3rem; line-height: 1; color: var(--navy-800); }
.modal__body { padding: var(--space-6); }
.modal__body .form-grid { gap: var(--space-4); }

/* ── Footer ───────────────────────────────────────────────────────── */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .78); padding: var(--space-16) 0 var(--space-8); font-size: var(--text-sm); }
.footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer a:hover { color: var(--teal-400); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: var(--space-10); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { height: 52px; width: auto; margin-bottom: var(--space-4); }
.footer__brand p { max-width: 340px; }
.footer__heading { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-400); margin-bottom: var(--space-4); font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.footer__social { display: flex; gap: var(--space-2); margin-top: var(--space-5); }
.footer__social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.footer__social a:hover { background: var(--teal-500); color: var(--navy-900); }
.footer__social svg { width: 17px; height: 17px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4);
  margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--text-xs);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: var(--space-5); }

/* ── Floating WhatsApp + scroll-top ───────────────────────────────── */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .35);
  transition: transform var(--duration-snap) var(--ease-premium);
}
.wa-fab:hover { transform: translateY(-3px) scale(1.04); color: #fff; }
.wa-fab svg { width: 28px; height: 28px; }

/* ── Reveal on scroll ─────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-premium), transform 700ms var(--ease-premium); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-premium), transform 600ms var(--ease-premium); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: calc(var(--stagger-step) * 1); }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: calc(var(--stagger-step) * 2); }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: calc(var(--stagger-step) * 3); }
.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: calc(var(--stagger-step) * 4); }
.js .reveal-stagger.is-visible > *:nth-child(n+6) { transition-delay: calc(var(--stagger-step) * 5); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ── 404 ──────────────────────────────────────────────────────────── */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: var(--space-16) 0; background-color: var(--white); background-image: var(--mesh-light); }
.notfound__code { font-family: var(--font-mono); color: var(--teal-700); letter-spacing: .1em; }

@media print {
  .navbar, .mobile-nav, .wa-fab, .cta-band, .footer, .course-aside, .curriculum-tools { display: none !important; }
  .module:not([open]) .module__body { display: block; }
  body { color: #000; }
}

/* ════════════════════════════════════════════════════════════════════
   v2 — batches, counselling, course finder, certificate check, payment
   ════════════════════════════════════════════════════════════════════ */

/* ── Status chips ─────────────────────────────────────────────────── */
.chip--soon    { background: var(--grey-100); color: var(--grey-600); }
.chip--updated { background: var(--white); border: 1px solid var(--border); color: var(--grey-600); font-weight: 500; }
.chip--free    { background: var(--teal-50); color: var(--teal-700); }
.chip--seats   { background: var(--white); border: 1px solid var(--border); color: var(--grey-600); }
.chip--seats.is-few  { border-color: var(--bi-600); color: var(--bi-600); }
.chip--seats.is-full { background: var(--grey-100); }

/* ── Notices ──────────────────────────────────────────────────────── */
.notice { padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--grey-50); font-size: var(--text-sm); color: var(--grey-600); margin-bottom: var(--space-8); }
.notice strong { color: var(--navy-800); }
.notice--soon, .notice--ok { border-color: var(--teal-100); background: var(--teal-50); }
.notice--bad  { border-color: #F5C6C3; background: #FDF2F1; }
.notice--bad strong { color: var(--red-600); }

/* ── Legal pages (privacy, terms) ──── */
.legal h2 { font-size: var(--text-xl); margin: var(--space-10) 0 var(--space-3); }
.legal h2:first-of-type { margin-top: 0; }
.legal ul { padding-left: var(--space-5); margin: 0 0 var(--space-4); }
.legal li { display: list-item; list-style: disc; margin-bottom: var(--space-2); }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 var(--space-4); font-size: var(--text-sm); }
.legal th, .legal td { text-align: left; vertical-align: top; padding: var(--space-3); border-bottom: 1px solid var(--border); }
.legal th { color: var(--navy-800); }

/* ── Instructor (course page) ─────────────────────────────────────── */
.instructor { display: flex; gap: var(--space-4); align-items: flex-start; margin-top: var(--space-5); }
.instructor__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.instructor__name { font-size: var(--text-lg); margin: 0; }
.instructor__role { font-size: var(--text-sm); color: var(--teal-700); margin: 2px 0 var(--space-2); }

/* ── Upcoming batches ─────────────────────────────────────────────── */
.batch-filters { display: grid; gap: var(--space-3); margin-bottom: var(--space-8); }
.batch-filters[hidden] { display: none; }
.batch-filters__group { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.batch-filters__label { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--grey-600); min-width: 64px; }
.filter-btn { min-height: 36px; padding: 0 var(--space-4); border-radius: var(--radius-full); border: 1px solid var(--border); background: var(--white); color: var(--navy-800); font: 500 var(--text-sm) var(--font-body); cursor: pointer; }
.filter-btn:hover { border-color: var(--grey-400); }
.filter-btn[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.filter-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.batch-list { display: grid; gap: var(--space-3); }
.batch-list[hidden], .batch[hidden] { display: none; }
.batch { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: var(--space-5); align-items: center; padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.batch.is-highlighted { border-color: var(--teal-700); box-shadow: 0 0 0 3px rgba(40, 192, 156, .2); }
.batch__date { display: grid; place-items: center; min-height: 64px; border-radius: var(--radius-md); background: var(--navy-800); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); text-align: center; line-height: 1.1; padding: var(--space-2); }
.batch__title { font-size: var(--text-lg); margin: var(--space-2) 0 var(--space-1); }
.batch__title a { color: var(--navy-800); text-decoration: none; }
.batch__title a:hover { color: var(--teal-700); text-decoration: underline; }
.batch__meta { margin: 0; font-size: var(--text-sm); color: var(--grey-600); }
@media (max-width: 640px) {
  .batch { grid-template-columns: 64px minmax(0, 1fr); gap: var(--space-4); }
  .batch__cta { grid-column: 1 / -1; width: 100%; }
}

/* ── Course finder ────────────────────────────────────────────────── */
.finder { max-width: 820px; }
.finder__q { border: 0; padding: 0; margin: 0 0 var(--space-8); min-width: 0; }
.finder__q legend { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; color: var(--navy-800); margin-bottom: var(--space-3); padding: 0; }
.finder__step { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--teal-700); letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: var(--space-1); }
.finder-result { margin-top: var(--space-8); }
.finder-result[hidden] { display: none; }
.finder-result h2 { font-size: var(--text-2xl); }
.finder-result__why { color: var(--grey-600); }
.finder-result__path { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: var(--space-4) 0 var(--space-6); padding: 0; list-style: none; font-size: var(--text-sm); }
.finder-result__path li { padding: 4px 12px; border-radius: var(--radius-full); border: 1px solid var(--border); background: var(--white); }
.finder-result__path li.is-now { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); font-weight: 600; }

/* ── Certificate check & payment ──────────────────────────────────── */
.verify-form { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: flex-end; }
.verify-form .field { flex: 1 1 280px; }
.verify-form input { font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.result-card { margin-top: var(--space-8); padding: var(--space-6) var(--space-8); border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--white); box-shadow: var(--shadow-card); }
.result-card[hidden] { display: none; }
.result-card--ok  { border-top: 4px solid var(--teal-700); }
.result-card--bad { border-top: 4px solid var(--red-600); }
.result-card__status { display: flex; align-items: center; gap: var(--space-2); font-weight: 700; font-size: var(--text-lg); margin: 0 0 var(--space-4); }
.result-card--ok .result-card__status { color: var(--teal-700); }
.result-card--bad .result-card__status { color: var(--red-600); }
.result-card__status svg { width: 22px; height: 22px; flex: none; }
.result-card dl { display: grid; grid-template-columns: max-content 1fr; gap: var(--space-2) var(--space-6); margin: 0; font-size: var(--text-sm); }
.result-card dt { color: var(--grey-600); }
.result-card dd { margin: 0; color: var(--navy-800); font-weight: 600; }
@media (max-width: 560px) {
  .result-card { padding: var(--space-5); }
  .result-card dl { grid-template-columns: 1fr; gap: 0; }
  .result-card dd { margin-bottom: var(--space-3); }
}
.pay-amount { font-family: var(--font-display); font-size: var(--text-4xl); font-weight: 700; color: var(--navy-800); margin: var(--space-2) 0 var(--space-6); }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-3); margin-top: var(--space-6); }
.pay-method { min-height: 56px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--white); font: 600 var(--text-base) var(--font-body); color: var(--navy-800); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: var(--space-3); }
.pay-method:hover:not(:disabled) { border-color: var(--navy-800); box-shadow: var(--shadow-card); }
.pay-method:disabled { opacity: .6; cursor: progress; }
.pay-method:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pay-method__mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: #fff; font-size: 13px; font-weight: 800; }
.pay-method--esewa .pay-method__mark { background: #41A124; }
.pay-method--khalti .pay-method__mark { background: #5C2D91; }

/* ── Home: learning for yourself / training a team ───────────────── */
.audience-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-6); max-width: 620px; }
.audience-split a { display: block; padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--white); text-decoration: none; color: var(--navy-800); box-shadow: var(--shadow-sm); transition: border-color var(--duration-snap), transform var(--duration-snap) var(--ease-premium); }
.audience-split a:hover { border-color: var(--teal-700); transform: translateY(-2px); }
.audience-split strong { display: block; font-family: var(--font-display); font-size: var(--text-lg); }
.audience-split span { font-size: var(--text-sm); color: var(--grey-600); }
@media (max-width: 560px) { .audience-split { grid-template-columns: 1fr; } }
