/* ==========================================================================
   TAZ Learning — main stylesheet
   Brand tokens are the exact values from the TAZ Learning Corporate Brand Identity.
   Derived shades exist only for accessible text/states (docs/TAZLEARNING_BRAND_GUIDE.md).
   ========================================================================== */

@font-face {
  font-family: "Inter"; /* exact family name the brand-kit logo SVGs request */
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand */
  --brand-primary-teal: #00b894;
  --brand-primary-blue: #2563eb;
  --brand-dark-navy: #0f2d4a;
  --brand-teal-light: #14d8bb;
  --brand-blue-light: #60a5fa;
  --brand-light-gray: #e5e7eb;
  --brand-very-light: #f8fafc;

  /* Derived */
  --teal-700: #007a63; /* 5.3:1 on white — teal text and links */
  --teal-50: #e6f8f4;
  --navy-900: #0b2238;
  --navy-800: #13375a;
  --ink: var(--brand-dark-navy);
  --body: #334155;
  --muted: #5b6b80;
  --on-dark: rgb(255 255 255 / 0.74);
  --on-dark-soft: rgb(255 255 255 / 0.62);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-control: 0.5rem;
  --radius-card: 0.75rem;
  --radius-panel: 1.25rem;
  --shadow-card: 0 1px 2px rgb(15 45 74 / 0.06), 0 1px 1px rgb(15 45 74 / 0.04);
  --shadow-lift: 0 12px 32px -12px rgb(15 45 74 / 0.22), 0 2px 6px rgb(15 45 74 / 0.06);
  --shadow-photo: 0 30px 80px -30px rgb(0 0 0 / 0.6);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --header-h: 4rem;
  --gutter: 1rem;
}
@media (width >= 40rem) {
  :root { --gutter: 1.5rem; }
}
@media (width >= 64rem) {
  :root { --gutter: 2rem; --header-h: 4.5rem; }
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--body);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { flex: 1; outline: none; }
[hidden] { display: none !important; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--brand-primary-blue); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-teal-light); color: var(--brand-dark-navy); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

.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;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.75rem 1rem; border-radius: var(--radius-control);
  background: var(--brand-dark-navy); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: var(--gutter); }
@media (width >= 112rem) {
  .container { max-width: 90rem; } /* large displays */
}

/* ---------- Type scale: 48/56 · 36/44 · 28/36 · 18/28 · 16/24 · 14/20 ---------- */
.h1 { font-size: 2.125rem; line-height: 2.625rem; font-weight: 700; letter-spacing: -0.025em; }
.h2 { font-size: 1.75rem; line-height: 2.25rem; font-weight: 700; letter-spacing: -0.02em; }
.h3 { font-size: 1.375rem; line-height: 1.875rem; font-weight: 600; letter-spacing: -0.01em; }
.h4 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }
.lead { font-size: 1.0625rem; line-height: 1.75rem; }
.small { font-size: 0.875rem; line-height: 1.25rem; }
@media (width >= 48rem) {
  .h1 { font-size: 2.75rem; line-height: 3.25rem; }
  .h2 { font-size: 2.25rem; line-height: 2.75rem; }
  .h3 { font-size: 1.75rem; line-height: 2.25rem; }
  .lead { font-size: 1.125rem; }
}
@media (width >= 80rem) {
  .h1 { font-size: 3rem; line-height: 3.5rem; }
}
/* Echoes the wide tracking of LEARN | DEVELOP | THRIVE */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; line-height: 1rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before { content: ""; width: 1.5rem; height: 1px; background: var(--brand-primary-teal); }
.text-gradient {
  background: linear-gradient(90deg, var(--brand-teal-light), var(--brand-blue-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Icons ---------- */
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--lg { width: 1.5rem; height: 1.5rem; }

/* ---------- Buttons ----------
   Primary = navy text on brand teal (5.5:1). White on #00B894 is 2.5:1 and fails WCAG AA. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: var(--radius-control); font-weight: 600; white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn--sm { height: 2.25rem; padding-inline: 0.875rem; font-size: 0.875rem; }
.btn--md { height: 2.75rem; padding-inline: 1.25rem; font-size: 0.9375rem; }
.btn--lg { height: 3rem; padding-inline: 1.5rem; font-size: 1rem; }
.btn--primary { background: var(--brand-primary-teal); color: var(--brand-dark-navy); box-shadow: 0 1px 0 rgb(15 45 74 / 0.12); }
.btn--primary:hover { background: var(--brand-teal-light); }
.btn--secondary { background: var(--brand-dark-navy); color: #fff; }
.btn--secondary:hover { background: var(--navy-800); }
.btn--outline { border: 1px solid rgb(15 45 74 / 0.2); background: #fff; color: var(--brand-dark-navy); }
.btn--outline:hover { border-color: rgb(15 45 74 / 0.4); background: var(--brand-very-light); }
.btn--outline-dark { border: 1px solid rgb(255 255 255 / 0.35); color: #fff; }
.btn--outline-dark:hover { border-color: rgb(255 255 255 / 0.7); background: rgb(255 255 255 / 0.08); }
.btn-row { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
@media (width >= 40rem) {
  .btn-row { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Brand assets ---------- */
/* Original logo artwork (tightly cropped PNG/WebP with transparency) */
.brand-asset { display: block; line-height: 0; }
.brand-asset img { width: auto; }
.brand-asset--header img, .brand-asset--drawer img { height: 2.125rem; }
@media (width >= 40rem) {
  .brand-asset--header img { height: 2.5rem; }
}
.brand-asset--footer img { height: 3.5rem; } /* source is 396px wide: stays sharp on 2x screens */

.leaf { position: absolute; pointer-events: none; user-select: none; }
.growth-line { position: absolute; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: #fff; border-bottom: 1px solid var(--brand-light-gray);
}
.site-header__inner { position: relative; display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.site-header__logo { flex-shrink: 0; border-radius: 4px; }
.nav { display: none; flex: 1; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 0.125rem; }
.nav__trigger {
  display: inline-flex; align-items: center; gap: 0.25rem;
  height: 2.5rem; padding-inline: 0.75rem; border-radius: var(--radius-control);
  font-size: 0.9375rem; font-weight: 500; color: var(--brand-dark-navy);
  transition: background-color 0.15s;
}
.nav__trigger:hover, .nav__trigger[aria-expanded="true"] { background: var(--brand-very-light); }
.nav__trigger[aria-current="page"] { color: var(--teal-700); }
.nav__chev { color: var(--muted); transition: transform 0.2s var(--ease); }
.nav__trigger[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.site-header__actions { display: flex; align-items: center; gap: 0.35rem; margin-left: auto; }
.site-header__lms {
  border-color: rgb(15 45 74 / 0.18);
  color: var(--brand-dark-navy);
  font-size: 0.8125rem;
  padding-inline: 0.75rem;
  gap: 0.35rem;
}
.site-header__lms:hover {
  border-color: var(--brand-primary-teal);
  color: var(--teal-700);
  background: var(--brand-very-light);
}
.menu-button {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius-control); color: var(--brand-dark-navy);
}
.menu-button:hover { background: var(--brand-very-light); }
@media (width < 30rem) {
  .site-header__lms { display: none; }
}
@media (width < 22.5rem) {
  .site-header__cta { display: none; } /* still available in the menu */
}
@media (width >= 40rem) {
  .site-header__cta { height: 2.5rem; padding-inline: 1rem; font-size: 0.9375rem; }
  .site-header__lms { height: 2.5rem; padding-inline: 0.875rem; font-size: 0.875rem; }
  .site-header__actions { gap: 0.5rem; }
}
@media (width >= 64rem) {
  .nav { display: flex; }
  .site-header__actions .menu-button { display: none; }
}

/* Mega menu */
.mega { position: absolute; inset-inline: 0; top: 100%; padding: 0.5rem var(--gutter) 0; }
.mega[hidden] { display: none; }
.mega__panel {
  display: grid; grid-template-columns: 1fr 3fr; gap: 2rem;
  padding: 2rem; border: 1px solid var(--brand-light-gray); border-radius: var(--radius-panel);
  background: #fff; box-shadow: var(--shadow-lift);
  animation: mega-in 0.18s var(--ease);
}
@keyframes mega-in { from { opacity: 0; transform: translateY(-4px); } }
.mega__intro { padding-right: 2rem; border-right: 1px solid var(--brand-light-gray); }
.mega__text { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.5rem; color: var(--muted); }
.mega__all {
  display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 1.5rem;
  font-size: 0.875rem; font-weight: 600; color: var(--brand-dark-navy);
}
.mega__all:hover { color: var(--teal-700); }
.mega__links { display: grid; gap: 0.25rem 1.5rem; }
.mega__links--2 { grid-template-columns: repeat(2, 1fr); }
.mega__links--3 { grid-template-columns: repeat(3, 1fr); }
.mega__link { display: flex; gap: 0.75rem; padding: 0.75rem; border-radius: var(--radius-control); transition: background-color 0.15s; }
.mega__link:hover { background: var(--brand-very-light); }
.mega__icon {
  display: grid; place-items: center; flex-shrink: 0; width: 2.25rem; height: 2.25rem; margin-top: 0.125rem;
  border-radius: 0.5rem; background: var(--teal-50); color: var(--teal-700);
  transition: background-color 0.15s, color 0.15s;
}
.mega__icon .icon { width: 1.125rem; height: 1.125rem; }
.mega__link:hover .mega__icon { background: var(--brand-primary-teal); color: var(--brand-dark-navy); }
.mega__label { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--brand-dark-navy); }
.mega__desc { display: block; margin-top: 0.125rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted); }

/* Mobile drawer (native <dialog>: focus trap + Esc for free) */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: 100%; max-width: 24rem; height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0; background: #fff; color: var(--body);
  box-shadow: -20px 0 60px rgb(15 45 74 / 0.25);
  flex-direction: column;
}
.drawer[open] { display: flex; animation: drawer-in 0.25s var(--ease); }
@keyframes drawer-in { from { transform: translateX(100%); } }
.drawer::backdrop { background: rgb(15 45 74 / 0.45); backdrop-filter: blur(2px); }
.drawer__top {
  display: flex; align-items: center; justify-content: space-between;
  height: 4rem; padding-inline: 1rem; border-bottom: 1px solid var(--brand-light-gray);
}
.drawer__nav { flex: 1; overflow-y: auto; padding: 0.75rem 0.5rem; }
.drawer__link, .drawer__group summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 3rem;
  padding-inline: 0.75rem; border-radius: var(--radius-control);
  font-weight: 600; color: var(--brand-dark-navy); cursor: pointer; list-style: none;
}
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__link:hover, .drawer__group summary:hover { background: var(--brand-very-light); }
.drawer__chev { color: var(--muted); transition: transform 0.2s; }
.drawer__group[open] .drawer__chev { transform: rotate(180deg); }
.drawer__group ul { margin: 0 0 0.5rem 0.75rem; padding-left: 0.5rem; border-left: 1px solid var(--brand-light-gray); }
.drawer__group ul a {
  display: flex; align-items: center; min-height: 2.75rem; padding-inline: 0.75rem;
  border-radius: var(--radius-control); font-size: 0.9375rem;
}
.drawer__group ul a:hover { background: var(--brand-very-light); color: var(--brand-dark-navy); }
.drawer__group .drawer__all { font-weight: 600; color: var(--teal-700); }
.drawer__actions { display: grid; gap: 0.5rem; padding: 1rem; border-top: 1px solid var(--brand-light-gray); }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: 5rem; }
@media (width >= 64rem) {
  .section { padding-block: 7rem; }
}
.section--mist { background: var(--brand-very-light); }
.section--dark, .section--darker { isolation: isolate; overflow: hidden; background: var(--brand-dark-navy); color: var(--on-dark); }
.section--darker { background: var(--navy-900); }
.section--dark h2, .section--dark h3, .section--darker h2, .section--darker h3 { color: #fff; }
.section--dark .eyebrow, .section--darker .eyebrow { color: var(--brand-teal-light); }
.section--dark .eyebrow::before, .section--darker .eyebrow::before { background: var(--brand-teal-light); }

.section-head { display: flex; flex-direction: column; gap: 1.5rem; }
.section-head__text { max-width: 42rem; }
.section-head__text h2 { margin-top: 0.75rem; }
.section-head__text p { margin-top: 1rem; color: var(--muted); }
.section--dark .section-head__text p, .section--darker .section-head__text p { color: var(--on-dark); }
.section-head--center { align-items: center; text-align: center; }
.section-head--center .section-head__text { margin-inline: auto; }
@media (width >= 48rem) {
  .section-head:not(.section-head--center) { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

/* Leaf silhouette on photo frames — two opposite corners fully rounded */
.leaf-frame { position: relative; overflow: hidden; border-radius: 4.5rem 1rem 4.5rem 1rem; background: var(--navy-800); }
@media (width >= 40rem) {
  .leaf-frame { border-radius: 9rem 1.25rem 9rem 1.25rem; }
}
.leaf-frame img, .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero (dark) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--brand-dark-navy); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60rem 40rem at 85% 20%, rgb(37 99 235 / 0.28), transparent 60%),
    radial-gradient(50rem 36rem at 10% 110%, rgb(0 184 148 / 0.22), transparent 60%);
}
.hero__leaf-bg { display: none; left: -12rem; bottom: -6rem; width: 30rem; z-index: -1; opacity: 0.12; transform: rotate(-150deg); }
.hero__inner { display: grid; align-items: center; gap: 3rem; padding-block: 3rem 5rem; }
.hero h1 { margin-top: 1.25rem; max-width: 36rem; color: #fff; }
.hero .eyebrow { color: var(--brand-teal-light); }
.hero .eyebrow::before { background: var(--brand-teal-light); }
.hero__lead { margin-top: 1.5rem; max-width: 36rem; color: var(--on-dark); }
.hero__popular { margin-top: 2.5rem; }
.hero__popular > p { font-size: 0.875rem; font-weight: 500; color: var(--on-dark-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.chip {
  display: inline-flex; align-items: center; height: 2.25rem; padding-inline: 0.875rem;
  border: 1px solid rgb(255 255 255 / 0.16); border-radius: 999px; background: rgb(255 255 255 / 0.05);
  font-size: 0.875rem; font-weight: 500; color: rgb(255 255 255 / 0.92);
  transition: border-color 0.15s, background-color 0.15s;
}
.chip:hover { border-color: var(--brand-teal-light); background: rgb(255 255 255 / 0.1); color: #fff; }
.hero__media { position: relative; }
.hero__leaf { top: -3.5rem; right: -3rem; width: 12rem; transform: rotate(4deg); }
.hero__photo img { object-position: 28% center; } /* keep the subject in the leaf frame */
.hero__photo { aspect-ratio: 4 / 3; box-shadow: var(--shadow-photo); outline: 1px solid rgb(255 255 255 / 0.1); outline-offset: -1px; }
.hero__card {
  position: relative; max-width: 18rem; margin: -4rem 0 0 1rem; padding: 1.25rem;
  border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow-lift);
}
.hero__card-title { font-size: 0.875rem; font-weight: 600; color: var(--brand-dark-navy); }
.checks { display: grid; gap: 0.5rem; margin-top: 0.75rem; font-size: 0.875rem; }
.checks li { display: flex; align-items: flex-start; gap: 0.5rem; }
.check-dot {
  display: grid; place-items: center; flex-shrink: 0; width: 1rem; height: 1rem; margin-top: 0.125rem;
  border-radius: 999px; background: var(--brand-primary-teal); color: var(--brand-dark-navy);
}
.check-dot .icon { width: 0.75rem; height: 0.75rem; }
@media (width >= 40rem) {
  .hero__inner { padding-top: 4rem; }
  .hero__leaf { width: 16rem; }
  .hero__photo { aspect-ratio: 5 / 4; }
  .hero__card { position: absolute; bottom: -1.5rem; left: -0.5rem; margin: 0; }
}
@media (width >= 64rem) {
  .hero__leaf-bg { display: block; }
  .hero__inner { grid-template-columns: 1fr 1fr; gap: 2rem; padding-block: 5rem 7rem; }
  .hero__media { padding-left: 1.5rem; }
  .hero__photo { aspect-ratio: 5 / 6; }
  .hero__card { left: -1.5rem; }
}

/* Value strip — continues the dark hero */
.values { background: var(--navy-900); border-top: 1px solid rgb(255 255 255 / 0.1); }
.values__list { display: grid; gap: 2rem; padding-block: 3rem; }
.values__item { display: flex; gap: 1rem; }
.values__item h3 { font-size: 1rem; font-weight: 600; color: #fff; }
.values__item p { margin-top: 0.25rem; font-size: 0.9375rem; line-height: 1.5rem; color: var(--on-dark-soft); }
.tile-icon {
  display: grid; place-items: center; flex-shrink: 0; width: 2.75rem; height: 2.75rem;
  border-radius: 0.75rem; background: rgb(255 255 255 / 0.06); color: var(--brand-teal-light);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
}
@media (width >= 40rem) {
  .values__list { grid-template-columns: repeat(2, 1fr); }
}
@media (width >= 64rem) {
  .values__list { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; padding-block: 3.5rem; }
}

/* ---------- Category cards ---------- */
.cat-grid { display: grid; gap: 1rem; margin-top: 3rem; }
@media (width >= 40rem) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (width >= 64rem) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (width >= 80rem) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-grid > li { display: flex; }
.cat-card {
  display: flex; flex-direction: column; width: 100%; padding: 1.5rem;
  border: 1px solid var(--brand-light-gray); border-radius: var(--radius-card); background: #fff;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.cat-card:hover { transform: translateY(-2px); border-color: rgb(0 184 148 / 0.6); box-shadow: var(--shadow-lift); }
.cat-card__icon {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 0.75rem;
  background: var(--brand-very-light); color: var(--brand-dark-navy); transition: background-color 0.3s;
}
.cat-card__icon .icon { width: 1.5rem; height: 1.5rem; }
.cat-card:hover .cat-card__icon { background: var(--brand-primary-teal); }
.cat-card h3 { margin-top: 1.25rem; }
.cat-card p { flex: 1; margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.5rem; color: var(--muted); }
.cat-card__more {
  display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem;
  font-size: 0.875rem; font-weight: 600; color: var(--teal-700);
}
.cat-card__more .icon { transition: transform 0.3s var(--ease); }
.cat-card:hover .cat-card__more .icon { transform: translate(2px, -2px); }
.cat-card--feature { border-color: transparent; background: var(--brand-dark-navy); }
.cat-card--feature h3 { color: #fff; }
.cat-card--feature p { color: var(--on-dark); }
.cat-card--feature .cat-card__icon { background: rgb(255 255 255 / 0.1); color: var(--brand-teal-light); }
.cat-card--feature:hover .cat-card__icon { background: rgb(255 255 255 / 0.16); }
.cat-card--feature .cat-card__more { color: var(--brand-teal-light); }

/* ---------- How it works (dark) ---------- */
.steps-wrap { position: relative; margin-top: 3.5rem; }
.steps-wrap .growth-line { display: none; inset-inline: 0; top: -1.5rem; width: 100%; height: 7rem; }
.steps { position: relative; display: grid; gap: 1.25rem; }
.step {
  padding: 1.75rem; border: 1px solid rgb(255 255 255 / 0.1); border-radius: var(--radius-card);
  background: rgb(255 255 255 / 0.04); backdrop-filter: blur(2px);
}
.step__num { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.16em; color: var(--brand-teal-light); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: 1rem; }
.step p { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.5rem; color: var(--on-dark-soft); }
@media (width >= 40rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (width >= 64rem) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .steps-wrap .growth-line { display: block; }
}
.section__leaf-a { right: -6rem; top: -7rem; width: 26rem; opacity: 0.18; transform: rotate(8deg); }
.section__leaf-b { left: -8rem; bottom: -10rem; width: 22rem; opacity: 0.12; transform: rotate(200deg); }
@media (width >= 40rem) {
  .section__leaf-a { width: 34rem; }
  .section__leaf-b { width: 28rem; }
}

/* ---------- Corporate solutions ---------- */
.solutions { display: grid; gap: 3rem; }
.solutions__intro h2 { margin-top: 0.75rem; }
.solutions__intro .lead { margin-top: 1rem; color: var(--muted); }
.solutions__intro .btn { margin-top: 2rem; }
.solutions__photo { display: none; position: relative; aspect-ratio: 4 / 3; margin-top: 2.5rem; overflow: hidden; border-radius: var(--radius-panel); }
.sol-grid { display: grid; gap: 1rem; }
.sol-grid > li { display: flex; }
.sol-card {
  display: flex; flex-direction: column; width: 100%; padding: 1.75rem;
  border: 1px solid transparent; border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow-card);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.sol-card:hover { border-color: var(--brand-light-gray); box-shadow: var(--shadow-lift); }
.sol-card__icon {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; color: #fff;
  background: linear-gradient(135deg, var(--brand-primary-teal), var(--brand-primary-blue));
}
.sol-card h3 { margin-top: 1.25rem; }
.sol-card p { flex: 1; margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.5rem; color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 1.25rem; font-size: 0.875rem; font-weight: 600; color: var(--brand-dark-navy); }
.link-arrow .icon { transition: transform 0.2s; }
a:hover > .link-arrow { color: var(--teal-700); }
a:hover > .link-arrow .icon { transform: translateX(2px); }
@media (width >= 40rem) { .sol-grid { grid-template-columns: repeat(2, 1fr); } }
@media (width >= 64rem) {
  .solutions { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .solutions__sticky { position: sticky; top: calc(var(--header-h) + 2.5rem); }
  .solutions__photo { display: block; }
}

/* ---------- Why TAZ Learning (darker) ---------- */
.why::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(44rem 32rem at 0% 50%, rgb(0 184 148 / 0.16), transparent 65%);
}
.why__grid { display: grid; align-items: center; gap: 3.5rem; }
.why__media { position: relative; order: 2; }
.why__leaf { left: -2rem; bottom: -2.5rem; width: 10rem; opacity: 0.9; transform: rotate(190deg); }
.why__photo img { object-position: 60% center; }
.why__photo { aspect-ratio: 4 / 3; box-shadow: var(--shadow-photo); outline: 1px solid rgb(255 255 255 / 0.1); outline-offset: -1px; }
.why__copy h2 { margin-top: 0.75rem; }
.why__copy .lead { margin-top: 1rem; color: var(--on-dark); }
.reasons { display: grid; gap: 1.75rem; margin-top: 2.5rem; }
.reasons h3 { margin-top: 0.75rem; font-size: 1rem; font-weight: 600; }
.reasons p { margin-top: 0.375rem; font-size: 0.9375rem; line-height: 1.5rem; color: var(--on-dark-soft); }
.tick {
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 999px;
  background: rgb(0 184 148 / 0.15); box-shadow: inset 0 0 0 1px rgb(0 184 148 / 0.3); color: var(--brand-teal-light);
}
.tick .icon { width: 1rem; height: 1rem; }
@media (width >= 40rem) {
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .why__leaf { width: 13rem; }
}
@media (width >= 64rem) {
  .why__grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .why__media { order: 0; }
  .why__photo { aspect-ratio: 4 / 5; }
}

/* ---------- Company size ---------- */
.size-grid { display: grid; gap: 1rem; max-width: 64rem; margin: 3rem auto 0; }
.size-grid > li { display: flex; }
.size-card {
  display: flex; flex-direction: column; width: 100%; padding: 1.75rem;
  border: 1px solid var(--brand-light-gray); border-radius: var(--radius-card); background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.size-card:hover { border-color: rgb(0 184 148 / 0.6); box-shadow: var(--shadow-lift); }
.size-card > .icon { width: 1.75rem; height: 1.75rem; color: var(--teal-700); }
.size-card h3 { margin-top: 1rem; }
.size-card p { flex: 1; margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.5rem; color: var(--muted); }
@media (width >= 48rem) { .size-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- CTA band ---------- */
.cta-section { padding-block: 4rem; }
@media (width >= 64rem) { .cta-section { padding-block: 6rem; } }
.cta-band {
  position: relative; overflow: hidden; padding: 3.5rem 1.5rem; border-radius: var(--radius-panel);
  background: linear-gradient(135deg, var(--brand-dark-navy) 0%, var(--brand-dark-navy) 55%, var(--navy-800) 100%);
}
.cta-band__leaf-a { right: -4rem; top: -5rem; width: 18rem; opacity: 0.55; transform: rotate(6deg); }
.cta-band__leaf-b { display: none; bottom: -6rem; right: 10rem; width: 14rem; opacity: 0.2; transform: rotate(180deg); }
.cta-band__body { position: relative; max-width: 42rem; }
.cta-band h2 { color: #fff; }
.cta-band .lead { margin-top: 1rem; color: var(--on-dark); }
@media (width >= 40rem) {
  .cta-band { padding-inline: 3rem; }
  .cta-band__leaf-a { width: 24rem; }
}
@media (width >= 48rem) { .cta-band__leaf-b { display: block; } }
@media (width >= 64rem) { .cta-band { padding: 4rem; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--brand-dark-navy); color: var(--on-dark); }
.site-footer__leaf { right: -5rem; top: -6rem; width: 28rem; opacity: 0.1; transform: rotate(10deg); }
.site-footer__inner { position: relative; padding-block: 4rem; }
.site-footer__grid { display: grid; gap: 3rem; }
.site-footer__brand > p { max-width: 24rem; margin-top: 1.5rem; font-size: 0.9375rem; line-height: 1.75rem; }
.site-footer__contact { display: grid; gap: 0.375rem; margin-top: 1.5rem; font-size: 0.9375rem; }
.site-footer__contact span { color: #fff; }
.site-footer__contact a:hover, .site-footer__nav a:hover { color: var(--brand-teal-light); }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.site-footer__social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.625rem; background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.12); transition: transform 0.15s, background-color 0.15s, border-color 0.15s; }
.site-footer__social a:hover { transform: translateY(-2px); background: rgb(255 255 255 / 0.12); border-color: rgb(255 255 255 / 0.28); }
.site-footer__social svg { width: 1.5rem; height: 1.5rem; display: block; }
@media (prefers-reduced-motion: reduce) { .site-footer__social a { transition: none; } .site-footer__social a:hover { transform: none; } }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.site-footer__nav h3 { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; color: #fff; }
.site-footer__nav ul { display: grid; gap: 0.5rem; margin-top: 1rem; }
.site-footer__nav a { display: inline-block; padding-block: 0.125rem; font-size: 0.9375rem; line-height: 1.5rem; transition: color 0.15s; }
.site-footer__bottom {
  display: flex; flex-direction: column; gap: 1rem; margin-top: 3.5rem; padding-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / 0.1); font-size: 0.875rem;
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-footer__bottom a { display: inline-block; padding-block: 0.125rem; }
.site-footer__bottom a:hover { color: #fff; }
@media (width >= 40rem) {
  .site-footer__nav { grid-template-columns: repeat(4, 1fr); }
  .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (width >= 64rem) {
  .site-footer__inner { padding-block: 5rem; }
  .site-footer__grid { grid-template-columns: 4fr 8fr; }
}

/* ---------- 404 ---------- */
.error-hero { position: relative; overflow: hidden; background: var(--brand-very-light); }
.error-hero__leaf { right: -6rem; top: -4rem; width: 22rem; opacity: 0.14; transform: rotate(10deg); }
.error-hero .container { position: relative; padding-block: 6rem; }
.error-hero h1 { max-width: 42rem; margin-top: 1rem; }
.error-hero .lead { max-width: 36rem; margin-top: 1.25rem; color: var(--muted); }
@media (width >= 40rem) { .error-hero__leaf { width: 30rem; } }
@media (width >= 64rem) { .error-hero .container { padding-block: 9rem; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.muted { color: var(--muted); }
.section--tight { padding-block: 3rem; }
.section--tight-top { padding-top: 3rem; }
.split { display: grid; gap: 3rem; }
@media (width >= 64rem) {
  .split { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
  .split--center { align-items: center; }
}
.btn-row--center { justify-content: center; }

/* Page hero (dark) */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--brand-dark-navy); color: var(--on-dark); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(56rem 36rem at 90% 0%, rgb(37 99 235 / 0.26), transparent 60%), radial-gradient(44rem 30rem at 0% 120%, rgb(0 184 148 / 0.2), transparent 60%);
}
.page-hero__leaf { right: -8rem; top: -8rem; width: 26rem; opacity: 0.16; z-index: -1; transform: rotate(8deg); }
.page-hero__inner { display: grid; align-items: center; gap: 3rem; padding-block: 3rem 4rem; }
.page-hero--compact .page-hero__inner { padding-block: 2.5rem 3.5rem; }
.page-hero h1 { margin-top: 1rem; max-width: 46rem; color: #fff; }
.page-hero .eyebrow { margin-top: 1.25rem; color: var(--brand-teal-light); }
.page-hero .eyebrow::before { background: var(--brand-teal-light); }
.page-hero__copy > .eyebrow:first-child { margin-top: 0; }
.page-hero__lead { margin-top: 1.25rem; max-width: 40rem; color: var(--on-dark); }
.page-hero__media { position: relative; }
.page-hero__media-leaf { top: -2.5rem; right: -2rem; width: 10rem; transform: rotate(4deg); }
.page-hero__photo { aspect-ratio: 4 / 3; box-shadow: var(--shadow-photo); outline: 1px solid rgb(255 255 255 / 0.1); outline-offset: -1px; }
@media (width >= 64rem) {
  .page-hero__inner { padding-block: 4.5rem 5.5rem; }
  .page-hero--media .page-hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
  .page-hero__inner:has(> .path-summary) { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; }
  .page-hero--compact .page-hero__inner { padding-block: 3.5rem 4.5rem; }
  .page-hero__photo { aspect-ratio: 5 / 4; }
}

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: 0.875rem; color: var(--on-dark-soft); }
.crumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.crumbs li + li::before { content: "/"; opacity: 0.5; }
.crumbs a { color: var(--on-dark); transition: color 0.15s; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: #fff; }

/* Lists */
.check-list { display: grid; gap: 0.75rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.check-list--cols { margin-top: 2rem; }
@media (width >= 40rem) { .check-list--cols { grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; } }
.tick--sm { width: 1.5rem; height: 1.5rem; flex-shrink: 0; background: var(--teal-50); box-shadow: none; color: var(--teal-700); }
.tick--sm .icon { width: 0.875rem; height: 0.875rem; }
.section--dark .tick--sm, .page-hero .tick--sm { background: rgb(0 184 148 / 0.18); color: var(--brand-teal-light); }
.dot-list { display: grid; gap: 0.5rem; margin-top: 0.75rem; }
.dot-list li { position: relative; padding-left: 1.125rem; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 0.6rem; width: 0.375rem; height: 0.375rem; border-radius: 999px; background: var(--brand-primary-teal); }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.tag-list li { padding: 0.25rem 0.75rem; border: 1px solid var(--brand-light-gray); border-radius: 999px; background: #fff; font-size: 0.875rem; font-weight: 500; color: var(--brand-dark-navy); }
.cert-note { margin-top: 1rem; font-size: 0.8125rem; line-height: 1.25rem; color: var(--muted); }
.info-card { align-self: start; padding: 1.75rem; border: 1px solid var(--brand-light-gray); border-radius: var(--radius-card); background: var(--brand-very-light); }
.info-card__sub { margin-top: 1.5rem; }
.cert-block { margin-top: 2.5rem; padding: 1.75rem; border-radius: var(--radius-card); background: #fff; border: 1px solid var(--brand-light-gray); }

/* Badges */
.badge {
  display: inline-flex; align-items: center; height: 1.5rem; padding-inline: 0.625rem; border-radius: 999px;
  background: var(--teal-50); color: var(--teal-700); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
}
.badge--soft { background: var(--brand-very-light); color: var(--brand-dark-navy); border: 1px solid var(--brand-light-gray); }
.badge--sample { background: #fff4e5; color: #8a4b00; }

/* Link cards */
.link-cards { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (width >= 48rem) { .link-cards { grid-template-columns: repeat(2, 1fr); } }
@media (width >= 64rem) { .link-cards--light { grid-template-columns: repeat(3, 1fr); } }
.link-card {
  display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1.25rem 1.5rem;
  border: 1px solid rgb(255 255 255 / 0.12); border-radius: var(--radius-card); background: rgb(255 255 255 / 0.04);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.link-card:hover { border-color: var(--brand-teal-light); background: rgb(255 255 255 / 0.08); }
.link-card > span:nth-child(2) { flex: 1; display: grid; gap: 0.125rem; }
.link-card strong { color: #fff; }
.link-card span span { font-size: 0.9375rem; color: var(--on-dark-soft); }
.link-card > .icon { color: var(--brand-teal-light); }
.link-cards--light .link-card { border-color: var(--brand-light-gray); background: #fff; }
.link-cards--light .link-card:hover { border-color: rgb(0 184 148 / 0.6); background: #fff; box-shadow: var(--shadow-lift); }
.link-cards--light .link-card strong { color: var(--brand-dark-navy); }
.link-cards--light .link-card span span { color: var(--muted); }
.link-cards--light .link-card > .icon { color: var(--teal-700); }
.tile-icon--light { background: var(--teal-50); color: var(--teal-700); box-shadow: none; }

/* Feature grid */
.feature-grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (width >= 48rem) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (width >= 64rem) { .feature-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (width >= 48rem) and (width < 64rem) { .feature-grid--4 { grid-template-columns: repeat(2, 1fr); } }
.feature { padding: 1.75rem; border-radius: var(--radius-card); border: 1px solid var(--brand-light-gray); background: #fff; transition: box-shadow 0.3s, transform 0.3s var(--ease); }
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.feature__num { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.16em; color: var(--teal-700); }
.feature__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; color: #fff; background: linear-gradient(135deg, var(--brand-primary-teal), var(--brand-primary-blue)); }
.feature h3 { margin-top: 1rem; }
.feature p { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.5rem; color: var(--muted); }
.sol-grid--3 { margin-top: 3rem; }
@media (width >= 64rem) { .sol-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.sol-grid--3 .sol-card { border-color: var(--brand-light-gray); }

/* Course cards */
.course-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (width >= 40rem) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (width >= 64rem) { .course-grid:not(.course-grid--2) { grid-template-columns: repeat(3, 1fr); } }
.catalog .course-grid { margin-top: 1rem; }
.course-grid > li { display: flex; }
.course-card {
  position: relative; display: flex; flex-direction: column; width: 100%; padding: 1.5rem;
  border: 1px solid var(--brand-light-gray); border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow-card);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.course-card:hover { transform: translateY(-2px); border-color: rgb(0 184 148 / 0.6); box-shadow: var(--shadow-lift); }
.course-card__top { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.course-card h3 { margin-top: 0.875rem; }
.course-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.course-card > p { flex: 1; margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.5rem; color: var(--muted); }
.course-card__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 1rem; font-size: 0.8125rem; color: var(--body); }
.course-card__meta li { display: inline-flex; align-items: center; gap: 0.375rem; }
.course-card__meta .icon { color: var(--teal-700); }
.course-card__meta--plain { gap: 0.25rem 0.5rem; }
.course-card__meta--plain li + li::before { content: "·"; margin-right: 0.5rem; color: var(--muted); }
.course-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--brand-light-gray); }
.course-card__actions .link-arrow { margin-top: 0; }
.course-card__pricing { position: relative; z-index: 1; font-size: 0.8125rem; font-weight: 600; color: var(--teal-700); }
.course-card__pricing:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Empty state */
.empty-state { margin-top: 2rem; padding: 3rem 1.5rem; border: 1px dashed rgb(15 45 74 / 0.2); border-radius: var(--radius-panel); background: #fff; text-align: center; }
.empty-state__icon { display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); }
.empty-state__icon .icon { width: 1.75rem; height: 1.75rem; }
.empty-state h3 { margin-top: 1rem; }
.empty-state p { max-width: 36rem; margin: 0.75rem auto 0; color: var(--muted); }

/* Catalog */
.area-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.area-pill {
  display: inline-flex; align-items: center; gap: 0.5rem; height: 2.5rem; padding-inline: 1rem;
  border: 1px solid var(--brand-light-gray); border-radius: 999px; background: #fff;
  font-size: 0.875rem; font-weight: 500; color: var(--brand-dark-navy);
  transition: border-color 0.15s, background-color 0.15s, transform 0.2s var(--ease);
}
.area-pill .icon { width: 1rem; height: 1rem; color: var(--teal-700); }
.area-pill:hover { border-color: var(--brand-primary-teal); background: var(--teal-50); transform: translateY(-1px); }
.catalog__search { position: relative; }
.catalog__search input {
  width: 100%; height: 3.5rem; padding: 0 1rem 0 3rem; border: 1px solid var(--brand-light-gray); border-radius: var(--radius-card);
  background: #fff; font: inherit; font-size: 1rem; color: var(--brand-dark-navy); box-shadow: var(--shadow-card);
}
.catalog__search input:focus { outline: 3px solid var(--brand-primary-blue); outline-offset: 1px; }
.catalog__search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.catalog__body { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (width >= 64rem) { .catalog__body { grid-template-columns: 16rem 1fr; gap: 2rem; align-items: start; } }
.catalog__filters { border: 1px solid var(--brand-light-gray); border-radius: var(--radius-card); background: #fff; }
.catalog__filters summary { display: flex; align-items: center; gap: 0.5rem; padding: 1rem 1.25rem; font-weight: 600; color: var(--brand-dark-navy); cursor: pointer; list-style: none; }
.catalog__filters summary::-webkit-details-marker { display: none; }
.catalog__filter-count { display: inline-grid; place-items: center; min-width: 1.25rem; height: 1.25rem; border-radius: 999px; background: var(--brand-primary-teal); color: var(--brand-dark-navy); font-size: 0.75rem; }
.filters { display: grid; gap: 1.25rem; padding: 0 1.25rem 1.25rem; }
.filters fieldset { border: 0; padding: 0; min-width: 0; }
.filters legend { margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--brand-dark-navy); }
.filter-options { display: grid; gap: 0.375rem; }
@media (width >= 64rem) {
  .catalog__filters { position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .catalog__filters summary { pointer-events: none; }
}
.catalog__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.25rem; }
.catalog__count { font-weight: 600; color: var(--brand-dark-navy); }
.catalog__sort { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted); }

/* Course detail */
.fact-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2rem; }
.fact-row li { display: flex; align-items: center; gap: 0.75rem; color: #fff; }
.fact-row .icon { width: 1.5rem; height: 1.5rem; color: var(--brand-teal-light); }
.fact-row small { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-soft); }
.course-layout, .article__layout { display: grid; gap: 3rem; }
@media (width >= 64rem) {
  .course-layout, .article__layout { grid-template-columns: 1fr 22rem; gap: 4rem; align-items: start; }
  .course-aside, .article__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.pricing-card { display: grid; gap: 0.75rem; padding: 1.75rem; border-radius: var(--radius-panel); background: var(--brand-dark-navy); color: var(--on-dark); box-shadow: var(--shadow-lift); }
.pricing-card h2 { color: #fff; }
.pricing-card .eyebrow { color: var(--brand-teal-light); }
.pricing-card .eyebrow::before { background: var(--brand-teal-light); }
.pricing-card .btn--outline { background: transparent; border-color: rgb(255 255 255 / 0.35); color: #fff; }
.pricing-card .btn--outline:hover { background: rgb(255 255 255 / 0.08); }
.modules { display: grid; gap: 0.75rem; }
.modules li { display: flex; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--brand-light-gray); border-radius: var(--radius-card); }
.modules__num { font-weight: 700; color: var(--teal-700); font-variant-numeric: tabular-nums; }
.prose .modules h3 { margin: 0; font-size: 1rem; }
.prose .modules p { margin: 0.25rem 0 0; font-size: 0.9375rem; color: var(--muted); }

/* Prose */
.prose { color: var(--body); font-size: 1.0625rem; line-height: 1.8; max-width: 44rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: 1.5rem; line-height: 2rem; letter-spacing: -0.01em; }
.prose h3 { margin-top: 1.5em; font-size: 1.125rem; }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.25rem; }
.prose ul:not([class]) { list-style: disc; }
.prose ol:not([class]) { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--brand-primary-teal); }
.prose a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--brand-dark-navy); }
.prose strong { color: var(--brand-dark-navy); }
.prose--lead { font-size: 1.125rem; }
.article__meta { font-size: 0.875rem; color: var(--muted); }
.prose > .article__meta:first-child { margin-top: 0; }
.faq-title { margin-bottom: 1rem; }

/* FAQ */
.faq { display: grid; gap: 0.75rem; }
.faq__item { border: 1px solid var(--brand-light-gray); border-radius: var(--radius-card); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.faq__item[open] { border-color: rgb(0 184 148 / 0.5); box-shadow: var(--shadow-card); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.125rem 1.25rem; font-weight: 600; color: var(--brand-dark-navy); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex-shrink: 0; color: var(--teal-700); transition: transform 0.25s var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__answer { padding: 0 1.25rem 1.25rem; color: var(--body); line-height: 1.7; }
.faq-page { display: grid; gap: 2.5rem; }
.faq-page__nav ul { display: grid; gap: 0.5rem; margin-top: 1rem; }
.faq-page__nav a { display: inline-block; padding-block: 0.125rem; color: var(--brand-dark-navy); font-weight: 500; }
.faq-page__nav a:hover { color: var(--teal-700); }
.faq-page__groups > h2 { margin: 2.5rem 0 1rem; }
.faq-page__groups > h2:first-child { margin-top: 0; }
.faq-page__more { margin-top: 3rem; padding: 1.75rem; border-radius: var(--radius-card); background: var(--brand-very-light); }
.faq-page__more p { margin-top: 0.5rem; }
.faq-page__more a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
@media (width >= 64rem) {
  .faq-page { grid-template-columns: 14rem 1fr; gap: 4rem; }
  .faq-page__nav { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* Learning paths */
.path-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (width >= 48rem) { .path-grid { grid-template-columns: repeat(2, 1fr); } }
@media (width >= 80rem) { .path-grid { grid-template-columns: repeat(3, 1fr); } }
.path-grid > li { display: flex; }
.path-card {
  display: flex; flex-direction: column; width: 100%; padding: 1.75rem; border: 1px solid var(--brand-light-gray);
  border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow-card);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.path-card:hover { transform: translateY(-2px); border-color: rgb(0 184 148 / 0.6); box-shadow: var(--shadow-lift); }
.path-card__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: var(--brand-dark-navy); color: var(--brand-teal-light); }
.path-card .badge { align-self: flex-start; margin-top: 1.25rem; }
.path-card h3 { margin-top: 0.75rem; }
.path-card > p { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.5rem; color: var(--muted); }
.path-card__stages { display: grid; gap: 0.5rem; flex: 1; margin-top: 1.25rem; align-content: start; }
.path-card__stages li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--brand-dark-navy); }
.path-card__stages span {
  display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 999px; flex-shrink: 0;
  border: 1.5px solid var(--brand-primary-teal); font-size: 0.75rem; font-weight: 700; color: var(--teal-700);
}
.path-summary { padding: 1.75rem; border-radius: var(--radius-panel); background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.12); }
.path-summary h2 { color: #fff; }
.path-summary h2 + * { margin-top: 0.5rem; }
.path-summary h2:not(:first-child) { margin-top: 1.5rem; }
.path-summary .check-list { color: #fff; }
.stages { position: relative; display: grid; gap: 1.25rem; margin-top: 3rem; }
.stages::before { content: ""; position: absolute; left: 1.375rem; top: 1rem; bottom: 1rem; width: 2px; background: linear-gradient(var(--brand-primary-teal), var(--brand-primary-blue)); opacity: 0.35; }
.stage { position: relative; display: grid; grid-template-columns: 2.75rem 1fr; gap: 1.25rem; }
.stage__marker span {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; position: relative;
  background: linear-gradient(135deg, var(--brand-primary-teal), var(--brand-primary-blue)); color: #fff; font-weight: 700; box-shadow: 0 0 0 6px #fff;
}
.stage__body { padding: 1.5rem; border: 1px solid var(--brand-light-gray); border-radius: var(--radius-card); background: #fff; }
.stage__body .check-list { margin-top: 1rem; }

/* Resources + posts */
.resource-grid, .post-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (width >= 48rem) { .resource-grid, .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (width >= 64rem) { .resource-grid, .post-grid { grid-template-columns: repeat(3, 1fr); } }
.resource-grid > li, .post-grid > li { display: flex; }
.resource-card, .post-card {
  position: relative; display: flex; flex-direction: column; width: 100%; padding: 1.75rem;
  border: 1px solid var(--brand-light-gray); border-radius: var(--radius-card); background: #fff; box-shadow: var(--shadow-card);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.resource-card:hover, .post-card:hover { transform: translateY(-2px); border-color: rgb(0 184 148 / 0.6); box-shadow: var(--shadow-lift); }
.resource-card__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 0.75rem; background: var(--teal-50); color: var(--teal-700); }
.resource-card__type { margin-top: 1.25rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-700); }
.resource-card h3 { margin-top: 0.5rem; }
.resource-card > p:not([class]) { flex: 1; margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.5rem; color: var(--muted); }
.resource-card__for { margin-top: 1rem; font-size: 0.8125rem; color: var(--muted); }
.resource-card .btn { align-self: flex-start; margin-top: 1.25rem; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; font-size: 0.8125rem; color: var(--muted); }
.post-card h3 { margin-top: 1rem; }
.post-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card > p:not([class]) { flex: 1; margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.5rem; color: var(--muted); }

/* Forms */
.form-layout { display: grid; gap: 3rem; }
@media (width >= 64rem) { .form-layout { grid-template-columns: 20rem 1fr; gap: 4rem; align-items: start; } }
.form-layout__intro { display: grid; gap: 1rem; align-content: start; }
.form-layout__contact { padding-top: 1.5rem; border-top: 1px solid var(--brand-light-gray); color: var(--muted); }
.form-layout__contact a, .form-card .muted a, .contact-card__email a { color: var(--teal-700); font-weight: 600; }
.next-steps { display: grid; gap: 1.25rem; margin-top: 0.5rem; }
.next-steps li { display: flex; gap: 1rem; }
.next-steps li > span { display: grid; place-items: center; flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); font-weight: 700; }
.next-steps h3 { font-size: 1rem; }
.next-steps p { margin-top: 0.25rem; font-size: 0.9375rem; color: var(--muted); }
.form-card { padding: 1.5rem; border: 1px solid var(--brand-light-gray); border-radius: var(--radius-panel); background: #fff; box-shadow: var(--shadow-lift); }
@media (width >= 40rem) { .form-card { padding: 2.5rem; } }
.form-card > .h3 + .muted { margin-top: 0.5rem; }
.lead-form { display: grid; gap: 1.5rem; }
.form-card > .h3 ~ .lead-form { margin-top: 1.5rem; }
.form-section { border: 0; padding: 0; min-width: 0; }
.form-section legend { width: 100%; padding-bottom: 0.75rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--brand-light-gray); font-size: 1.125rem; font-weight: 600; color: var(--brand-dark-navy); }
.form-grid { display: grid; gap: 1.25rem; }
@media (width >= 40rem) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.375rem; align-content: start; border: 0; padding: 0; min-width: 0; }
.field label, .checks-group legend { font-size: 0.875rem; font-weight: 600; color: var(--brand-dark-navy); }
.checks-group legend { margin-bottom: 0.625rem; }
.req { color: #b91c1c; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea, .catalog__sort select, .filters select {
  width: 100%; min-height: 2.875rem; padding: 0.625rem 0.875rem; border: 1px solid #cbd5e1; border-radius: var(--radius-control);
  background: #fff; font: inherit; color: var(--brand-dark-navy); transition: border-color 0.15s, box-shadow 0.15s;
}
.catalog__sort select { width: auto; min-height: 2.25rem; padding-block: 0.25rem; }
.field textarea { resize: vertical; min-height: 7rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #94a3b8; }
.field input:focus, .field select:focus, .field textarea:focus, .filters select:focus, .catalog__sort select:focus { outline: none; border-color: var(--brand-primary-blue); box-shadow: 0 0 0 3px rgb(37 99 235 / 0.25); }
.field [aria-invalid="true"] { border-color: #b91c1c; box-shadow: 0 0 0 3px rgb(185 28 28 / 0.12); }
.field__hint { font-size: 0.8125rem; color: var(--muted); }
.field__error { font-size: 0.8125rem; font-weight: 500; color: #b91c1c; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0.5rem; }
.checkbox { display: flex; align-items: center; gap: 0.625rem; min-height: 2.25rem; font-size: 0.9375rem; cursor: pointer; }
.checkbox input { width: 1.125rem; height: 1.125rem; flex-shrink: 0; accent-color: var(--teal-700); }
.checkbox-grid .checkbox { padding: 0.375rem 0.75rem; border: 1px solid var(--brand-light-gray); border-radius: var(--radius-control); transition: border-color 0.15s, background-color 0.15s; }
.checkbox-grid .checkbox:has(input:checked) { border-color: var(--brand-primary-teal); background: var(--teal-50); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { font-size: 0.8125rem; color: var(--muted); }
.form-consent a { color: var(--teal-700); text-decoration: underline; }
.form-status { padding: 0.875rem 1rem; border-radius: var(--radius-control); font-size: 0.9375rem; }
.form-status--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.form-success { padding: 1.5rem; border-radius: var(--radius-card); background: var(--teal-50); }
.form-success p { margin-top: 0.5rem; }
.form-success a { color: var(--teal-700); font-weight: 600; text-decoration: underline; }
.lead-form__submit { justify-self: start; }
.lead-form__submit.is-loading { opacity: 0.7; cursor: progress; }
.lead-form__submit.is-loading .icon { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (width < 40rem) { .lead-form__submit { justify-self: stretch; } }

/* Contact */
.contact-layout { display: grid; gap: 2rem; }
@media (width >= 64rem) { .contact-layout { grid-template-columns: 22rem 1fr; gap: 3rem; align-items: start; } }
.contact-layout__side { display: grid; gap: 1rem; }
.contact-card { display: grid; gap: 0.75rem; justify-items: start; padding: 1.75rem; border: 1px solid var(--brand-light-gray); border-radius: var(--radius-card); background: var(--brand-very-light); }
.contact-card p { color: var(--muted); }
.contact-card__email { display: inline-flex; align-items: center; gap: 0.5rem; }
.contact-card__email .icon { color: var(--teal-700); }

/* About */
.mission { max-width: 52rem; margin-inline: auto; text-align: center; }
.mission h2 { margin-top: 1rem; font-size: 1.75rem; line-height: 2.375rem; }
@media (width >= 48rem) { .mission h2 { font-size: 2.25rem; line-height: 3rem; } }
.mission__tagline { display: inline-flex; gap: 1rem; margin-top: 2rem; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--brand-teal-light); }

/* Legal */
.legal { max-width: 52rem; }
.notice { margin-bottom: 2rem; padding: 1rem 1.25rem; border-left: 4px solid #b45309; border-radius: var(--radius-control); background: #fffbeb; color: #78350f; font-size: 0.9375rem; }
.table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.table th, .table td { padding: 0.75rem; border-bottom: 1px solid var(--brand-light-gray); text-align: left; vertical-align: top; }
.table th { color: var(--brand-dark-navy); }

/* Thank-you */
.thanks__icon { display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--brand-primary-teal); color: var(--brand-dark-navy); }
.thanks__icon .icon { width: 1.75rem; height: 1.75rem; }
.thanks__ref { margin-top: 1rem; color: var(--on-dark); }
.thanks__ref strong { color: #fff; }
.page-hero__inner--single { grid-template-columns: 1fr; }

/* Header states */
.site-header { transition: box-shadow 0.25s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px -12px rgb(15 45 74 / 0.35); }
.nav__trigger.is-current { color: var(--teal-700); }

/* ==========================================================================
   Motion: subtle, purposeful, and fully disabled for reduced-motion users
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Page-load entrance: staggered fade-up of hero content */
  .js .enter { opacity: 0; transform: translateY(14px); animation: enter 0.7s var(--ease) forwards; }
  .js .enter:nth-child(2) { animation-delay: 0.08s; }
  .js .enter:nth-child(3) { animation-delay: 0.16s; }
  .js .enter:nth-child(4) { animation-delay: 0.24s; }
  .js .enter:nth-child(5) { animation-delay: 0.32s; }
  .js .enter:nth-child(6) { animation-delay: 0.4s; }
  .js .hero__media.enter, .js .page-hero__media.enter { animation-duration: 0.9s; animation-delay: 0.15s; }
  @keyframes enter { to { opacity: 1; transform: none; } }

  /* Scroll reveal (IntersectionObserver adds .in), staggered inside grids */
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js li.reveal:nth-child(2) { transition-delay: 0.06s; }
  .js li.reveal:nth-child(3) { transition-delay: 0.12s; }
  .js li.reveal:nth-child(4) { transition-delay: 0.18s; }
  .js li.reveal:nth-child(5) { transition-delay: 0.24s; }
  .js li.reveal:nth-child(6) { transition-delay: 0.3s; }
  .js li.reveal:nth-child(n + 7) { transition-delay: 0.34s; }

  /* Growth line draws itself when the process steps scroll into view */
  .js .draw path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) 0.2s; }
  .js .draw.in path { stroke-dashoffset: 0; }

  /* Ambient brand leaves */
  .drift { animation: drift 16s ease-in-out infinite alternate; }
  @keyframes drift { from { translate: 0 0; rotate: 0deg; } to { translate: -14px 18px; rotate: -4deg; } }
  .float { animation: float 7s ease-in-out infinite alternate; }
  @keyframes float { from { translate: 0 0; } to { translate: 0 -12px; } }
  .float-card { animation: float-card 6s ease-in-out 1s infinite alternate; }
  @keyframes float-card { from { translate: 0 0; } to { translate: 0 -8px; } }

  /* Micro-interactions */
  .icon--arrow { transition: transform 0.25s var(--ease); }
  a:hover .icon--arrow, button:hover .icon--arrow { transform: translateX(3px); }
  .btn { transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
  .btn--primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgb(0 184 148 / 0.6); }
  .btn--primary:active { transform: translateY(0); }
  .cat-card__icon .icon, .sol-card__icon .icon, .path-card__icon .icon, .resource-card__icon .icon, .feature__icon .icon { transition: transform 0.35s var(--ease); }
  .cat-card:hover .cat-card__icon .icon, .sol-card:hover .sol-card__icon .icon, .path-card:hover .path-card__icon .icon,
  .resource-card:hover .resource-card__icon .icon, .feature:hover .feature__icon .icon { transform: scale(1.12) rotate(-6deg); }
  .text-gradient { background-size: 200% 100%; animation: sheen 8s ease-in-out infinite alternate; }
  @keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
  .faq__item[open] .faq__answer { animation: fade-down 0.25s var(--ease); }
  @keyframes fade-down { from { opacity: 0; transform: translateY(-4px); } }
}

/* ==========================================================================
   Homepage extras: live badge, topic ribbon, card spotlight, course CTA
   ========================================================================== */
.hero__photo-wrap, .hero__live, .hero__card { transition: transform 0.35s var(--ease); will-change: transform; }
.hero__live {
  position: absolute; top: 1.25rem; left: 1.25rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.875rem;
  border-radius: 999px; background: rgb(15 45 74 / 0.82); backdrop-filter: blur(6px);
  color: #fff; font-size: 0.8125rem; font-weight: 600; box-shadow: 0 8px 24px -10px rgb(0 0 0 / 0.5);
}
@media (width >= 64rem) { .hero__live { left: 2.75rem; top: 2rem; } }
.pulse-dot { position: relative; width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--brand-teal-light); }

/* Topic ribbon */
.marquee {
  display: flex; overflow: hidden; border-top: 1px solid rgb(255 255 255 / 0.08); padding-block: 1rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; flex-shrink: 0; gap: 0.75rem; padding-right: 0.75rem; }
.marquee a {
  display: inline-flex; align-items: center; gap: 0.5rem; height: 2.25rem; padding-inline: 1rem; white-space: nowrap;
  border: 1px solid rgb(255 255 255 / 0.12); border-radius: 999px; color: rgb(255 255 255 / 0.85); font-size: 0.875rem; font-weight: 500;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.marquee a .icon { color: var(--brand-teal-light); }
.marquee a:hover { border-color: var(--brand-teal-light); color: #fff; background: rgb(255 255 255 / 0.06); }

/* Course card call to action (listing only; details on request) */
.course-card h3 { flex: 1; }
.course-card__cta { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--teal-700); }
.course-card__cta::after { content: ""; position: absolute; inset: -100vmax; } /* whole card clickable */
.course-card { overflow: hidden; }
.course-card__cta:hover { color: var(--brand-dark-navy); }
.course-card__cta:focus-visible { outline-offset: 4px; }
.checkbox--card { align-items: flex-start; padding: 0.875rem 1rem; border: 1px solid var(--brand-light-gray); border-radius: var(--radius-card); background: var(--brand-very-light); }
.checkbox--card input { margin-top: 0.2rem; }
.checkbox--card:has(input:checked) { border-color: var(--brand-primary-teal); background: var(--teal-50); }

/* Card spotlight: soft brand glow that follows the pointer (set by main.js) */
.cat-card, .sol-card, .path-card, .course-card, .resource-card, .post-card, .feature { position: relative; isolation: isolate; }
.cat-card::before, .sol-card::before, .path-card::before, .course-card::before, .resource-card::before, .post-card::before, .feature::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 0%), rgb(20 216 187 / 0.12), transparent 60%);
  pointer-events: none;
}
.cat-card--feature::before { background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 0%), rgb(20 216 187 / 0.2), transparent 60%); }

@media (prefers-reduced-motion: no-preference) {
  .cat-card:hover::before, .sol-card:hover::before, .path-card:hover::before, .course-card:hover::before,
  .resource-card:hover::before, .post-card:hover::before, .feature:hover::before { opacity: 1; }

  /* Hero background glow drifts slowly */
  .hero::before { inset: -20%; animation: glow-drift 18s ease-in-out infinite alternate; }
  @keyframes glow-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }

  /* Live badge pulse */
  .pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: pulse 1.8s ease-out infinite; }
  @keyframes pulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(3); opacity: 0; } }

  /* Topic ribbon scrolls; pauses on hover or keyboard focus */
  .marquee__track { animation: marquee 40s linear infinite; }
  .marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-100%); } }

  /* Process steps light up in sequence once drawn */
  .js .steps .step.in { animation: step-glow 1.2s var(--ease) both; }
  .js .steps .step.in:nth-child(2) { animation-delay: 0.35s; }
  .js .steps .step.in:nth-child(3) { animation-delay: 0.7s; }
  .js .steps .step.in:nth-child(4) { animation-delay: 1.05s; }
  @keyframes step-glow {
    0% { border-color: rgb(255 255 255 / 0.1); box-shadow: none; }
    40% { border-color: rgb(20 216 187 / 0.7); box-shadow: 0 0 0 4px rgb(20 216 187 / 0.08), 0 20px 40px -20px rgb(20 216 187 / 0.5); }
    100% { border-color: rgb(255 255 255 / 0.1); box-shadow: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee__track[aria-hidden] { display: none; }
}
