/* =====================================================================
   AutomatorsX LMS — Page System (v2)
   Unique design signatures per page, all scoped by body class.
   Depends on: style.css (tokens, buttons, forms) + landing.css.
   ===================================================================== */

/* ---------- Extended Tokens --------------------------------------- */
:root {
  --ink-900:        #070714;
  --ink-800:        #0f1020;
  --ink-700:        #1b1d35;
  --ink-500:        #4b5170;
  --paper:          #f6f5f1;
  --paper-2:        #eceae3;
  --cream:          #faf8f2;
  --brand-1:        #4361ee;
  --brand-2:        #7c3aed;
  --brand-3:        #ec4899;
  --brand-4:        #f59e0b;
  --brand-5:        #10b981;
  --line-soft:      #eceef4;
  --mono:           ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display:        "Fraunces", "Playfair Display", Georgia, serif;
}

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,800;1,9..144,600&family=Inter:wght@400;500;600;700;800&display=swap");

body.ax-page-v2,
body[class*="page-"] {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Ghost buttons inside dark hero sections — keep white text readable on hover */
.batch-hero__actions .btn--ghost,
.page-hdr__actions .btn--ghost,
.home-hero .btn--ghost,
.home-cta .btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
.batch-hero__actions .btn--ghost:hover,
.page-hdr__actions .btn--ghost:hover,
.home-hero .btn--ghost:hover,
.home-cta .btn--ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.4);
  color: #fff;
}

/* Full-width — no max-width cap on any page, just responsive padding */
body.ax-page-v2 .ax-container,
body[class*="page-"] .ax-container {
  max-width: none;
  padding-left: clamp(1.25rem, 5vw, 5rem);
  padding-right: clamp(1.25rem, 5vw, 5rem);
}

/* Flash message bar — floats above page content, full width with padding */
.ax-flash-wrap {
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  position: relative;
  z-index: 10;
}
.ax-flash-wrap:empty { display: none; }

/* =====================================================================
   NAV V2 — one unified header on every page (light glass, dark ink)
   ===================================================================== */
.ax-nav,
body.is-landing .ax-nav,
body[class*="page-"] .ax-nav {
  background: #fff !important;
  border-bottom: 1px solid rgba(15, 23, 42, .08) !important;
  height: 72px;
  --nav-h: 72px;
}
.ax-nav.is-scrolled,
body.is-landing .ax-nav.is-scrolled,
body[class*="page-"] .ax-nav.is-scrolled {
  background: #fff !important;
  box-shadow: 0 10px 24px -18px rgba(15, 23, 42, .18);
}
.ax-nav .ax-brand,
body.is-landing .ax-nav .ax-brand { color: var(--ink-900); }
.ax-nav .ax-nav__link,
body.is-landing .ax-nav .ax-nav__link { color: var(--ink-500); }
.ax-nav .ax-nav__link:hover,
body.is-landing .ax-nav .ax-nav__link:hover {
  background: rgba(15, 23, 42, .06);
  color: var(--ink-900);
}
.ax-nav .ax-nav__link.is-active,
body.is-landing .ax-nav .ax-nav__link.is-active {
  background: rgba(67, 97, 238, .1);
  color: var(--brand-1);
}
.ax-nav .ax-nav__user,
body.is-landing .ax-nav .ax-nav__user {
  background: rgba(15, 23, 42, .05);
  color: var(--ink-900);
}

.ax-nav__inner { height: 100%; }
.ax-brand { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.ax-brand__mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: conic-gradient(from 220deg at 60% 40%, #4361ee, #7c3aed, #ec4899, #f59e0b, #4361ee);
  box-shadow: 0 8px 20px -6px rgba(124, 58, 237, .55), inset 0 0 0 1px rgba(255,255,255,.15);
  position: relative;
  color: transparent;
}
.ax-brand__mark::after {
  content: ""; position: absolute; inset: 5px; border-radius: 7px;
  background: rgba(10, 10, 25, .9);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.ax-brand__mark::before {
  content: "A"; position: absolute; inset: 0;
  display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 800; font-size: 1rem;
  z-index: 2;
}

.ax-nav__links { gap: .35rem; }
.ax-nav__link {
  font-size: .92rem; font-weight: 500; letter-spacing: -.005em;
  padding: .55rem .9rem; border-radius: 999px;
  transition: background .15s, color .15s;
}
.ax-nav__link:hover { background: rgba(15, 23, 42, .06); }
.ax-nav__link.is-active { background: rgba(67, 97, 238, .1); color: var(--ax-brand); }
.ax-nav__cta {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2)) !important;
  color: #fff !important;
  padding: .62rem 1.1rem !important;
  font-weight: 600;
  box-shadow: 0 10px 24px -10px rgba(124, 58, 237, .5);
}
.ax-nav__cta:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(124, 58, 237, .6); }
/* old user pill kept for back-compat but hidden — replaced by dropdown */
.ax-nav__user { display: none; }
.ax-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: conic-gradient(from 220deg, var(--brand-2), var(--brand-3), var(--brand-4), var(--brand-1));
  display: grid; place-items: center;
  color: #fff; font-size: .78rem; font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Notifications Bell ------------------------------------ */
.ax-nav__bell {
  position: relative;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: var(--ink-500);
  transition: background .15s, color .15s;
  text-decoration: none;
}
.ax-nav__bell:hover { background: rgba(15,23,42,.06); color: var(--ink-900); }
.ax-nav__bell .ax-nav__badge {
  position: absolute; top: 3px; right: 3px;
  min-width: 17px; height: 17px;
  background: var(--brand-3); color: #fff;
  font-size: .62rem; font-weight: 700;
  border-radius: 99px; padding: 0 4px;
  display: grid; place-items: center;
  border: 2px solid #fff;
}

/* ---------- Profile Dropdown -------------------------------------- */
.ax-nav__profile { position: relative; }
.ax-nav__profile-btn {
  display: flex; align-items: center; gap: .5rem;
  padding: .3rem .55rem .3rem .35rem;
  border-radius: 999px;
  border: none; cursor: pointer;
  background: rgba(15,23,42,.05);
  font-size: .88rem; font-weight: 500;
  color: var(--ink-900);
  transition: background .15s;
  font-family: inherit;
}
.ax-nav__profile-btn:hover { background: rgba(15,23,42,.1); }
.ax-nav__profile-name { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-nav__chevron {
  color: var(--ink-500);
  transition: transform .2s;
  flex-shrink: 0;
}
.ax-nav__profile.is-open .ax-nav__chevron { transform: rotate(180deg); }

.ax-dropdown {
  position: absolute; top: calc(100% + .6rem); right: 0;
  width: 240px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 16px;
  box-shadow: 0 20px 60px -12px rgba(15,23,42,.18), 0 4px 16px -4px rgba(15,23,42,.1);
  padding: .5rem;
  z-index: 200;
  opacity: 0; visibility: hidden;
  transform: translateY(6px) scale(.97);
  transform-origin: top right;
  transition: opacity .15s, transform .15s, visibility .15s;
}
.ax-nav__profile.is-open .ax-dropdown {
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1);
}

.ax-dropdown__header {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem .65rem .8rem;
}
.ax-dropdown__av {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(from 220deg, var(--brand-2), var(--brand-3), var(--brand-4), var(--brand-1));
  display: grid; place-items: center;
  color: #fff; font-size: .9rem; font-weight: 700;
}
.ax-dropdown__name { font-size: .9rem; font-weight: 600; color: var(--ink-900); line-height: 1.2; }
.ax-dropdown__email { font-size: .75rem; color: var(--ink-500); margin-top: .1rem; }

.ax-dropdown__divider {
  height: 1px; background: rgba(15,23,42,.07);
  margin: .3rem 0;
}

.ax-dropdown__item {
  display: flex; align-items: center; gap: .65rem;
  padding: .58rem .75rem;
  border-radius: 10px;
  font-size: .88rem; font-weight: 500;
  color: var(--ink-700);
  text-decoration: none;
  transition: background .12s, color .12s;
}
.ax-dropdown__item svg { color: var(--ink-500); flex-shrink: 0; }
.ax-dropdown__item:hover { background: rgba(67,97,238,.07); color: var(--brand-1); }
.ax-dropdown__item:hover svg { color: var(--brand-1); }
.ax-dropdown__item--danger { color: #dc2626; }
.ax-dropdown__item--danger svg { color: #dc2626; }
.ax-dropdown__item--danger:hover { background: rgba(220,38,38,.07); color: #dc2626; }

.ax-dropdown__badge {
  margin-left: auto;
  background: var(--brand-3); color: #fff;
  font-size: .68rem; font-weight: 700;
  padding: .1rem .45rem; border-radius: 99px;
}

/* =====================================================================
   HOME — editorial aurora  (body.page-home)
   ===================================================================== */
body.page-home { background: #07081a; color: #e2e8f0; }
body.page-home main { padding-top: 0; }
body.page-home .ax-main { padding: 0; }

.home-stage {
  position: relative; overflow: hidden;
  padding: 5.5rem 0 5rem;
  background:
    radial-gradient(1200px 700px at 15% 0%, rgba(124, 58, 237, .35), transparent 60%),
    radial-gradient(900px 600px at 90% 30%, rgba(236, 72, 153, .25), transparent 55%),
    radial-gradient(1000px 500px at 50% 100%, rgba(67, 97, 238, .3), transparent 55%),
    #07081a;
}

/* Hero container — full viewport width, no max-width cap */
.home-stage .ax-container {
  max-width: none !important;
  padding-left: clamp(1.5rem, 5vw, 5rem) !important;
  padding-right: clamp(1.5rem, 5vw, 5rem) !important;
}

/* 2-col hero grid */
.home-stage__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.home-stage__left { min-width: 0; }
.home-stage__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

/* Hero visual panel */
.hero-panel {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-panel__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}
.hero-stat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 1rem .9rem;
  backdrop-filter: blur(10px);
  text-align: center;
}
.hero-stat__val {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.65rem;
  color: #fff;
  line-height: 1;
  background: linear-gradient(110deg, #f59e0b, #ec4899);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stat__label {
  font-size: .72rem;
  color: rgba(255,255,255,.48);
  margin-top: .35rem;
  line-height: 1.3;
}

.hero-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  backdrop-filter: blur(16px);
}
.hero-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .9rem;
}
.hero-card__badge {
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  color: var(--brand-4);
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: 999px;
  padding: .2rem .65rem;
}
.hero-card__live {
  font-size: .72rem; color: var(--brand-5); font-weight: 600;
}
.hero-card__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: .3rem;
}
.hero-card__sub {
  font-size: .78rem;
  color: rgba(255,255,255,.48);
  margin-bottom: 1rem;
}
.hero-card__bar {
  height: 5px;
  background: rgba(255,255,255,.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: .7rem;
}
.hero-card__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-2), var(--brand-3));
  border-radius: 99px;
}
.hero-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: rgba(255,255,255,.48);
}
.hero-card__cta {
  color: var(--brand-3);
  font-weight: 600;
  cursor: pointer;
}

.hero-feed {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
  backdrop-filter: blur(10px);
}
.hero-feed__label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.hero-feed__item {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  padding: .4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.hero-feed__item:last-child { border-bottom: none; }
.hero-feed__avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.hero-feed__t {
  color: rgba(255,255,255,.35);
  font-size: .75rem;
}

@media (max-width: 900px) {
  .home-stage__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .home-stage__right {
    justify-content: center;
  }
  .hero-panel { max-width: 100%; }
}
.home-stage::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.home-stage::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 20% 80%, rgba(16,185,129,.12), transparent 60%);
  pointer-events: none;
}

.home-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem .9rem .45rem .45rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .05em;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.home-eyebrow__pill {
  padding: .15rem .55rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-4), var(--brand-3));
  color: #0a0a14; font-weight: 700; font-size: .7rem;
}
/* Live registration open pill — pulsing red */
.home-eyebrow__pill--live {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  display: inline-flex; align-items: center; gap: .35rem;
  animation: pill-pulse .5s ease-in-out infinite alternate;
}
@keyframes pill-pulse {
  from { box-shadow: 0 0 0 0 rgba(239,68,68,.6); }
  to   { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}

/* =====================================================================
   BATCH REGISTRATION BANNER — homepage hero
   ===================================================================== */
.home-batch-banner {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.home-batch-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(67,97,238,.15), rgba(124,58,237,.15), transparent);
  pointer-events: none;
}
.home-batch-banner__pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,.5);
  flex-shrink: 0;
  animation: batch-pulse 1.4s ease-in-out infinite;
}
@keyframes batch-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.home-batch-banner__body {
  flex: 1; min-width: 0;
  position: relative; z-index: 1;
}
.home-batch-banner__kicker {
  font-family: var(--mono);
  font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: #22c55e; font-weight: 700;
  margin-bottom: .25rem;
}
.home-batch-banner__title {
  font-family: var(--display);
  font-weight: 600; font-size: 1rem;
  color: #fff; line-height: 1.2;
}
.home-batch-banner__meta {
  display: flex; align-items: center; gap: .75rem;
  margin-top: .35rem; flex-wrap: wrap;
  font-size: .78rem; color: rgba(255,255,255,.6);
}
.home-batch-banner__days {
  background: rgba(245,158,11,.15);
  color: #f59e0b;
  padding: .1rem .5rem; border-radius: 999px;
  font-weight: 600; font-family: var(--mono); font-size: .7rem;
}
.home-batch-banner__seats {
  background: rgba(34,197,94,.1);
  color: #22c55e;
  padding: .1rem .5rem; border-radius: 999px;
  font-weight: 600; font-family: var(--mono); font-size: .7rem;
}
.home-batch-banner__seats--low {
  background: rgba(239,68,68,.15);
  color: #ef4444;
  animation: batch-pulse 1.4s ease-in-out infinite;
}
.home-batch-banner__cta {
  flex-shrink: 0;
  position: relative; z-index: 1;
  padding: .55rem 1.2rem;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff; font-weight: 700; font-size: .85rem;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 8px 20px -8px rgba(67,97,238,.6);
}
.home-batch-banner__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(67,97,238,.7);
  color: #fff;
}



.home-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  color: #fff;
  margin: 1.4rem 0 1.2rem;
}
.home-title em {
  font-style: italic;
  background: linear-gradient(110deg, #f59e0b 0%, #ec4899 40%, #7c3aed 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home-title sup {
  display: inline-block;
  font-family: var(--mono);
  font-size: .22em; font-weight: 500; letter-spacing: .05em;
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
  padding: .15em .45em;
  vertical-align: super;
  margin-left: .3em;
}

.home-lede {
  font-size: 1.12rem; line-height: 1.65; max-width: 48ch;
  color: rgba(226, 232, 240, .82);
  margin: 0 0 2.2rem;
}
.home-lede strong { color: #fff; }

.home-cta { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.home-cta .btn { min-height: 52px; padding: 0 1.4rem; font-size: 1rem; border-radius: 12px; }
.home-cta .btn--primary {
  background: linear-gradient(135deg, var(--brand-3), var(--brand-2));
  box-shadow: 0 20px 40px -14px rgba(124, 58, 237, .65), inset 0 -2px 0 rgba(0,0,0,.2);
  color: #fff;
}
.home-cta .btn--primary:hover { transform: translateY(-2px); }
.home-cta .btn--outline {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.16); color: #fff;
  backdrop-filter: blur(8px);
}
.home-cta .btn--outline:hover { background: rgba(255,255,255,.08); }

.home-ticker {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 2.4rem; padding-top: 1.8rem;
  border-top: 1px dashed rgba(255,255,255,.12);
  font-size: .84rem; color: rgba(255,255,255,.55);
}
.home-ticker__item { display: inline-flex; align-items: center; gap: .45rem; }
.home-ticker__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-5); box-shadow: 0 0 0 3px rgba(16,185,129,.2);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }

/* Marquee logos */
.home-marquee {
  background: #050614;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 1.6rem 0;
  overflow: hidden;
}
.home-marquee__track {
  display: flex; gap: 3.5rem; align-items: center;
  animation: marquee 35s linear infinite;
  white-space: nowrap;
}
.home-marquee__item {
  font-family: var(--display); font-weight: 600; font-size: 1.3rem;
  color: rgba(255,255,255,.35); letter-spacing: -.02em;
  display: inline-flex; align-items: center; gap: .5rem;
}
.home-marquee__item::before { content: "◆"; color: var(--brand-3); font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Section: numbers */
.home-numbers {
  background: #fff; color: var(--ax-ink);
  padding: 5rem 0;
  position: relative;
}
.home-numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.home-numbers__cell {
  padding: 2rem 1.5rem; border-right: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: .3rem;
}
.home-numbers__cell:last-child { border-right: 0; }
.home-numbers__n {
  font-family: var(--display); font-size: 3.2rem; font-weight: 600;
  line-height: 1; letter-spacing: -.03em; color: var(--ink-900);
}
.home-numbers__n em {
  font-family: var(--mono); font-size: .45em; font-style: normal;
  font-weight: 500; color: var(--brand-2); margin-left: .2em;
}
.home-numbers__label {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--ax-muted); font-weight: 600; margin-top: .5rem;
}
.home-numbers__desc { font-size: .88rem; color: var(--ink-500); }

/* Section heads */
.home-sec {
  background: var(--cream);
  color: var(--ax-ink);
  padding: 6rem 0;
  position: relative;
}
.home-sec--dark { background: var(--ink-900); color: #e2e8f0; }
.home-sec--dark h2 { color: #fff; }

.home-sec__head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
  align-items: end;
}
.home-sec__kicker {
  font-family: var(--mono); font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-2); font-weight: 600;
}
.home-sec--dark .home-sec__kicker { color: var(--brand-3); }
.home-sec__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1;
  letter-spacing: -.02em; margin: .6rem 0 0;
}
.home-sec__desc { font-size: 1.05rem; color: var(--ink-500); max-width: 54ch; }
.home-sec--dark .home-sec__desc { color: rgba(226, 232, 240, .7); }

/* Programs grid */
.home-programs {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
}
.home-program {
  grid-column: span 4;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.home-program:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 60px -30px rgba(15, 23, 42, .25);
}
.home-program--feature { grid-column: span 6; }
.home-program--feature .home-program__art { aspect-ratio: 16/9; }

.home-program__art {
  aspect-ratio: 4/3;
  position: relative;
  background: linear-gradient(135deg, #1b1d35, #4361ee 60%, #7c3aed);
  display: grid; place-items: center;
  color: #fff;
}
.home-program__art::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.2), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, .35), transparent 50%);
}
.home-program__mark {
  position: relative;
  font-family: var(--display); font-size: 3.5rem; font-weight: 600;
  font-style: italic;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.home-program__badge {
  position: absolute; top: 1rem; left: 1rem;
  padding: .3rem .7rem; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--ink-900);
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.home-program__body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.home-program__title {
  font-family: var(--display); font-weight: 600; font-size: 1.35rem;
  letter-spacing: -.01em; margin: 0 0 .5rem;
}
.home-program__desc { color: var(--ink-500); font-size: .93rem; flex: 1; margin: 0 0 1.2rem; }
.home-program__meta {
  display: flex; gap: 1rem; font-size: .8rem; color: var(--ink-500);
  padding-top: .8rem; border-top: 1px dashed var(--line-soft);
  margin-bottom: 1rem;
}
.home-program__foot { display: flex; justify-content: space-between; align-items: center; }
.home-program__price {
  font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--ink-900);
}

/* Pillars */
.home-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.08); }
.home-pillar {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.home-pillar:last-child { border-right: 0; }
.home-pillar__num {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  color: rgba(255,255,255,.4); margin-bottom: 1.5rem;
}
.home-pillar__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-1));
  display: grid; place-items: center; font-size: 1.4rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 14px 30px -12px rgba(124,58,237,.6);
}
.home-pillar:nth-child(2) .home-pillar__icon { background: linear-gradient(135deg, var(--brand-3), var(--brand-4)); box-shadow: 0 14px 30px -12px rgba(236,72,153,.6); }
.home-pillar:nth-child(3) .home-pillar__icon { background: linear-gradient(135deg, var(--brand-5), var(--brand-1)); box-shadow: 0 14px 30px -12px rgba(16,185,129,.6); }
.home-pillar h3 {
  font-family: var(--display); font-weight: 600; font-size: 1.5rem;
  color: #fff; margin: 0 0 .6rem;
}
.home-pillar p { color: rgba(226, 232, 240, .65); font-size: .95rem; line-height: 1.65; }

/* Mentor showcase */
.home-mentor {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  background: #fff;
  border-radius: 28px;
  padding: 3rem;
  box-shadow: 0 50px 100px -40px rgba(15, 23, 42, .3);
}
.home-mentor__portrait {
  aspect-ratio: 4/5;
  border-radius: 20px;
  background:
    linear-gradient(45deg, rgba(124, 58, 237, .2), rgba(236, 72, 153, .2)),
    repeating-linear-gradient(135deg, #1b1d35 0 40px, #222547 40px 80px);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.home-mentor__portrait::after {
  content: "LE";
  font-family: var(--display);
  font-size: 9rem; font-weight: 600; font-style: italic;
  color: rgba(255,255,255,.95);
  text-shadow: 0 6px 30px rgba(0,0,0,.4);
}
/* LE portrait variant — animated conic gradient ring */
.home-mentor__portrait--le {
  background:
    conic-gradient(from 220deg at 50% 50%, #4361ee, #7c3aed, #ec4899, #f59e0b, #10b981, #4361ee),
    repeating-linear-gradient(135deg, #1b1d35 0 40px, #222547 40px 80px);
  animation: portrait-spin 8s linear infinite;
  background-size: 100% 100%, auto;
}
@keyframes portrait-spin {
  to { background-position: 200% center, 0 0; }
}
.home-mentor__badge {
  position: absolute; bottom: 1.2rem; left: 1.2rem;
  background: rgba(255,255,255,.95); color: var(--ink-900);
  padding: .6rem 1rem; border-radius: 12px;
  font-size: .8rem; font-weight: 600;
  display: flex; align-items: center; gap: .5rem;
}
.home-mentor__badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-5); box-shadow: 0 0 0 3px rgba(16,185,129,.25);
}
.home-mentor__body h2 {
  font-family: var(--display); font-weight: 600; font-size: 2.4rem;
  line-height: 1.1; letter-spacing: -.02em; margin: .5rem 0 1rem;
}
.home-mentor__sig {
  font-family: var(--display); font-style: italic; font-size: 1.6rem;
  color: var(--brand-2);
  margin-top: 1.5rem;
  border-top: 1px solid var(--line-soft); padding-top: 1rem;
}
.home-mentor__credits {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem;
  margin-top: 1.5rem;
}
.home-mentor__credit {
  padding: .7rem 1rem; background: var(--paper);
  border-radius: 10px; font-size: .85rem; font-weight: 500;
  display: flex; align-items: center; gap: .6rem;
}

/* Testimonials slab */
.home-tests {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.home-test {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 1.8rem;
  backdrop-filter: blur(10px);
  transition: background .2s, transform .2s;
}
.home-test:hover { background: rgba(255,255,255,.07); transform: translateY(-3px); }
.home-test--hero {
  grid-row: span 2;
  background: linear-gradient(155deg, rgba(124,58,237,.18), rgba(236,72,153,.12));
  border-color: rgba(236, 72, 153, .2);
}
.home-test__mark {
  font-family: var(--display); font-size: 3.5rem; line-height: 1;
  color: var(--brand-3); opacity: .4;
}
.home-test p {
  font-family: var(--display); font-weight: 500; font-size: 1.1rem;
  line-height: 1.5; color: #fff;
  margin: 0 0 1.5rem;
}
.home-test--hero p { font-size: 1.5rem; }
.home-test__who {
  display: flex; align-items: center; gap: .8rem;
  padding-top: 1rem; border-top: 1px dashed rgba(255,255,255,.12);
}
.home-test__av {
  width: 40px; height: 40px; border-radius: 50%;
  background: conic-gradient(from 120deg, var(--brand-3), var(--brand-4));
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: .9rem;
}
.home-test__name { color: #fff; font-weight: 600; font-size: .92rem; }
.home-test__role { color: rgba(226, 232, 240, .55); font-size: .78rem; }

/* FAQ */
.home-faq { max-width: 780px; margin: 0 auto; }
.home-faq__item {
  border-bottom: 1px solid var(--line-soft);
  padding: 1.4rem 0;
}
.home-faq__item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  font-family: var(--display); font-weight: 600; font-size: 1.25rem;
  letter-spacing: -.01em;
}
.home-faq__item summary::-webkit-details-marker { display: none; }
.home-faq__item summary::after {
  content: "+"; font-family: var(--mono); font-weight: 500; font-size: 1.5rem;
  color: var(--brand-2); transition: transform .2s;
}
.home-faq__item[open] summary::after { transform: rotate(45deg); }
.home-faq__body {
  color: var(--ink-500); font-size: 1rem; line-height: 1.65;
  padding-top: 1rem; max-width: 60ch;
}

/* Final CTA */
.home-final {
  padding: 6rem 0;
  background:
    radial-gradient(800px 500px at 50% 100%, rgba(236,72,153,.3), transparent 60%),
    linear-gradient(180deg, #07081a, #0f1020);
  text-align: center;
}
.home-final__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  letter-spacing: -.03em; line-height: 1.05;
  color: #fff; max-width: 22ch; margin: 0 auto 1.5rem;
}
.home-final__title em {
  font-style: italic; color: var(--brand-3);
}
.home-final__sub {
  font-size: 1.1rem; color: rgba(226,232,240,.7);
  max-width: 50ch; margin: 0 auto 2.5rem;
}

/* =====================================================================
   COURSES CATALOG — magazine grid with filter chips
   ===================================================================== */
body.page-courses { background: var(--paper); }
body.page-courses .ax-main { padding: 0; }

.cat-hero {
  padding: 6rem 0 4rem;
  background:
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.cat-hero::before {
  content: ""; position: absolute; right: -100px; top: -60px;
  width: 500px; height: 500px;
  background: radial-gradient(circle at center, rgba(124,58,237,.1), transparent 60%);
  filter: blur(40px);
}
.cat-hero__kicker {
  font-family: var(--mono); font-size: .82rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-2); font-weight: 600;
}
.cat-hero__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1.05;
  letter-spacing: -.03em; margin: .5rem 0 1rem; max-width: 18ch;
}
.cat-hero__title em { font-style: italic; color: var(--brand-2); }
.cat-hero__lede { font-size: 1.1rem; max-width: 60ch; color: var(--ink-500); }

.cat-filter {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  padding: 1.2rem 0;
  position: sticky; top: 72px; z-index: 20;
  backdrop-filter: blur(10px); background: rgba(255,255,255,.92);
}
.cat-filter__row {
  display: flex; gap: .5rem; flex-wrap: wrap;
}
.cat-chip {
  padding: .55rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: #fff;
  font-size: .88rem; font-weight: 500;
  color: var(--ink-500); cursor: pointer;
  transition: border .15s, color .15s, background .15s;
  display: inline-flex; align-items: center; gap: .4rem;
}
.cat-chip:hover { border-color: var(--brand-2); color: var(--brand-2); }
.cat-chip.is-active {
  background: var(--ink-900); border-color: var(--ink-900); color: #fff;
}
.cat-chip__count { font-family: var(--mono); font-size: .78rem; opacity: .75; }

.cat-board { padding: 3.5rem 0 6rem; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.cat-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: transform .2s, box-shadow .2s;
  border: 1px solid transparent;
}
.cat-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-soft);
  box-shadow: 0 40px 60px -30px rgba(15,23,42,.2);
}
.cat-card__number {
  position: absolute; top: 1.2rem; right: 1.3rem; z-index: 2;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .08em;
  color: rgba(255,255,255,.7);
}
.cat-card__art {
  aspect-ratio: 5/3;
  background: linear-gradient(135deg, #1b1d35, #4361ee, #7c3aed);
  position: relative;
  display: grid; place-items: center;
  color: #fff; padding: 1.5rem;
}
.cat-card__art img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cat-card__art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.4) 100%);
}
.cat-card__mark {
  position: relative; z-index: 2;
  font-family: var(--display); font-size: 3rem; font-weight: 600;
  font-style: italic; opacity: .9;
}
.cat-card__tag {
  position: absolute; bottom: 1rem; left: 1.2rem; z-index: 2;
  padding: .3rem .7rem; border-radius: 999px;
  background: rgba(255,255,255,.95); color: var(--ink-900);
  font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.cat-card__body { padding: 1.5rem 1.6rem 1.7rem; }
.cat-card__title {
  font-family: var(--display); font-weight: 600;
  font-size: 1.4rem; letter-spacing: -.015em;
  line-height: 1.2; margin: 0 0 .6rem;
}
.cat-card__desc { color: var(--ink-500); font-size: .92rem; line-height: 1.55; margin: 0 0 1.2rem; min-height: 3em; }
.cat-card__meta {
  display: flex; gap: 1rem; font-size: .78rem;
  font-family: var(--mono); color: var(--ink-500);
  padding: .8rem 0; border-top: 1px dashed var(--line-soft);
}
.cat-card__foot { display: flex; justify-content: space-between; align-items: center; padding-top: .8rem; }
.cat-card__price {
  font-family: var(--display); font-weight: 600; font-size: 1.5rem;
  color: var(--ink-900);
}
.cat-card__arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink-900); color: #fff;
  display: grid; place-items: center;
  transition: transform .2s, background .2s;
  font-size: 1.2rem;
}
.cat-card:hover .cat-card__arrow { transform: translateX(5px); background: var(--brand-2); }

.cat-empty {
  text-align: center; padding: 5rem 2rem;
  background: #fff; border: 1px dashed var(--line-soft); border-radius: 20px;
}

/* =====================================================================
   COURSE DETAIL — cinematic (body.page-course)
   ===================================================================== */
body.page-course { background: #fafafa; }
body.page-course .ax-main { padding: 0; }

.crs-hero {
  position: relative;
  padding: 7rem 0 5rem;
  background: #0a0a14;
  color: #e2e8f0;
  overflow: hidden;
}
.crs-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 80% 30%, rgba(124,58,237,.35), transparent 55%),
    radial-gradient(600px 400px at 10% 80%, rgba(67,97,238,.3), transparent 60%);
}
.crs-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; align-items: center; }
.crs-hero__back {
  font-family: var(--mono); font-size: .82rem; letter-spacing: .06em;
  color: rgba(255,255,255,.6); display: inline-flex; align-items: center; gap: .4rem;
  margin-bottom: 1rem;
}
.crs-hero__cat {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .4rem .9rem .4rem .4rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px; font-size: .8rem;
}
.crs-hero__cat__num {
  font-family: var(--mono); font-size: .72rem;
  padding: .15rem .5rem; border-radius: 999px;
  background: var(--brand-3); color: #fff;
}
.crs-hero__title {
  font-family: var(--display); font-weight: 600; font-style: italic;
  font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05;
  letter-spacing: -.025em; color: #fff;
  margin: 1.2rem 0 1.2rem;
}
.crs-hero__lede {
  font-size: 1.15rem; line-height: 1.6;
  color: rgba(226,232,240,.82); max-width: 50ch;
}
.crs-hero__stats {
  display: flex; gap: 2rem; flex-wrap: wrap;
  margin-top: 2rem; padding-top: 1.8rem;
  border-top: 1px dashed rgba(255,255,255,.12);
}
.crs-hero__stat { display: flex; flex-direction: column; gap: .2rem; }
.crs-hero__stat__n {
  font-family: var(--display); font-weight: 600; font-size: 1.8rem;
  color: #fff; line-height: 1;
}
.crs-hero__stat__l {
  font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.crs-hero__card {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 1.8rem;
  position: relative;
}
.crs-hero__card__thumb {
  width: 100%; aspect-ratio: 16/10;
  border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  display: grid; place-items: center; margin-bottom: 1.2rem;
  color: #fff; font-family: var(--display); font-size: 2rem; font-weight: 600; font-style: italic;
}
.crs-hero__card__thumb img { width: 100%; height: 100%; object-fit: cover; }

.crs-body { padding: 4rem 0 5rem; }
.crs-body__grid {
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 3rem; align-items: start;
}
.crs-prose h2 {
  font-family: var(--display); font-weight: 600;
  font-size: 2rem; letter-spacing: -.015em;
  margin: 2.5rem 0 1.2rem;
}
.crs-prose h2:first-child { margin-top: 0; }
.crs-prose p { font-size: 1.02rem; line-height: 1.75; color: var(--ink-500); }

.crs-ribbon {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.crs-ribbon__item {
  padding: .7rem 1.1rem; background: #fff;
  border: 1px solid var(--line-soft); border-radius: 12px;
  font-size: .88rem; color: var(--ink-500);
  display: flex; align-items: center; gap: .5rem;
}
.crs-ribbon__item strong { color: var(--ink-900); font-weight: 600; }

.crs-curr { margin-top: 1.5rem; }
.crs-mod {
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: 14px; margin-bottom: .8rem; overflow: hidden;
  transition: border .15s;
}
.crs-mod[open] { border-color: var(--brand-2); }
.crs-mod summary {
  cursor: pointer; list-style: none;
  padding: 1.1rem 1.4rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.crs-mod summary::-webkit-details-marker { display: none; }
.crs-mod__num {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em;
  padding: .2rem .55rem; border-radius: 4px;
  background: var(--paper-2); color: var(--ink-500);
}
.crs-mod[open] .crs-mod__num { background: var(--brand-2); color: #fff; }
.crs-mod__title { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.crs-mod__count { font-family: var(--mono); font-size: .78rem; color: var(--ink-500); }
.crs-mod__list { list-style: none; padding: 0 1.4rem 1.2rem; margin: 0; }
.crs-mod__list li {
  padding: .7rem 0; border-top: 1px dashed var(--line-soft);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: .92rem; color: var(--ink-500);
}
.crs-mod__list li::before {
  content: "▶"; color: var(--brand-2); font-size: .6em; margin-right: .5rem;
}

.crs-sidebar {
  position: sticky; top: 6rem;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: 0 30px 60px -30px rgba(15,23,42,.15);
}
.crs-sidebar__head {
  padding: 1.8rem;
  background: linear-gradient(135deg, var(--ink-900), var(--ink-700));
  color: #fff;
}
.crs-sidebar__price {
  font-family: var(--display); font-weight: 600; font-style: italic;
  font-size: 3rem; line-height: 1; letter-spacing: -.02em;
}
.crs-sidebar__note { font-size: .85rem; color: rgba(255,255,255,.7); margin-top: .5rem; }
.crs-sidebar__body { padding: 1.5rem 1.8rem; }
.crs-sidebar__list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.crs-sidebar__list li {
  padding: .6rem 0; font-size: .92rem; color: var(--ink-500);
  display: flex; align-items: center; gap: .6rem;
  border-bottom: 1px dashed var(--line-soft);
}
.crs-sidebar__list li:last-child { border-bottom: 0; }
.crs-sidebar__list li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand-5); flex-shrink: 0;
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px var(--brand-5);
}
.crs-sidebar__cta { padding: 1rem 1.8rem 1.8rem; }
.crs-sidebar__cta .btn {
  min-height: 56px; font-size: 1rem;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  box-shadow: 0 20px 40px -14px rgba(124,58,237,.55);
}
.crs-sidebar__guar {
  text-align: center; font-size: .78rem; color: var(--ink-500);
  margin-top: .8rem;
}

/* =====================================================================
   COURSE DETAIL — sales page enhancements
   ===================================================================== */

/* Sticky enrollment bar */
.crs-sticky {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(7,7,20,.97);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: .85rem 0;
  transform: translateY(-110%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  backdrop-filter: blur(16px);
}
.crs-sticky.is-visible { transform: translateY(0); }
.crs-sticky__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.crs-sticky__name {
  font-family: var(--display); font-weight: 600; font-size: .98rem;
  color: #fff; flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0;
}
.crs-sticky__right { display: flex; align-items: center; gap: 1.2rem; flex-shrink: 0; }
.crs-sticky__price {
  font-family: var(--display); font-weight: 600; font-style: italic;
  font-size: 1.5rem; color: #fff; line-height: 1;
}
.crs-sticky .btn { min-height: 40px; padding: 0 1.4rem; font-size: .88rem; }

/* Social proof bar */
.crs-proof {
  background: #fff; border-bottom: 1px solid var(--line-soft);
  padding: 1.6rem 0;
}
.crs-proof__inner {
  display: flex; align-items: stretch; justify-content: center;
  flex-wrap: wrap;
}
.crs-proof__item {
  display: flex; align-items: center; gap: .75rem;
  padding: .5rem 2.2rem;
  border-right: 1px solid var(--line-soft);
}
.crs-proof__item:last-child { border-right: 0; }
.crs-proof__icon { font-size: 1.5rem; line-height: 1; }
.crs-proof__body { display: flex; flex-direction: column; gap: .05rem; }
.crs-proof__num {
  font-family: var(--display); font-weight: 600; font-size: 1.25rem;
  line-height: 1; color: var(--ink-900); letter-spacing: -.015em;
}
.crs-proof__label {
  font-size: .72rem; color: var(--ink-500);
  text-transform: uppercase; letter-spacing: .08em;
}

/* Outcomes / What you'll get */
.crs-outcomes {
  padding: 5.5rem 0;
  background: var(--ink-900);
  position: relative; overflow: hidden;
}
.crs-outcomes::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px at 90% 0%, rgba(124,58,237,.3), transparent 55%),
    radial-gradient(500px at 5% 100%, rgba(67,97,238,.2), transparent 55%);
}
.crs-outcomes__head {
  position: relative; z-index: 2;
  text-align: center; margin-bottom: 3.5rem;
}
.crs-outcomes__kicker {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-3); font-weight: 600;
  display: block; margin-bottom: .6rem;
}
.crs-outcomes__title {
  font-family: var(--display); font-weight: 600; font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.02em;
  color: #fff; margin: 0;
}
.crs-outcomes__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.crs-outcome {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; padding: 1.7rem;
  backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s, transform .25s;
}
.crs-outcome:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(124,58,237,.45);
  transform: translateY(-3px);
}
.crs-outcome__icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(124,58,237,.4), rgba(236,72,153,.35));
  border: 1px solid rgba(255,255,255,.1);
  display: grid; place-items: center;
  font-size: 1.3rem; margin-bottom: 1.1rem;
}
.crs-outcome__title {
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  color: #fff; margin: 0 0 .45rem; line-height: 1.3;
}
.crs-outcome__text {
  font-size: .875rem; color: rgba(255,255,255,.58); line-height: 1.65; margin: 0;
}

/* How it works (3 steps) */
.crs-how {
  padding: 5rem 0;
  background: #fafafa; border-bottom: 1px solid var(--line-soft);
}
.crs-how__head { text-align: center; margin-bottom: 3.5rem; }
.crs-how__kicker {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-2); font-weight: 600; margin-bottom: .6rem;
  display: block;
}
.crs-how__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -.02em; margin: 0;
}
.crs-how__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.crs-step {
  text-align: center; padding: 2.2rem 1.8rem;
  background: #fff; border-radius: 20px;
  border: 1px solid var(--line-soft);
  box-shadow: 0 4px 20px rgba(15,23,42,.06);
  transition: transform .2s, box-shadow .2s;
}
.crs-step:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15,23,42,.1); }
.crs-step__num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  display: grid; place-items: center; margin: 0 auto 1.3rem;
  font-family: var(--mono); font-weight: 700; font-size: 1.1rem; color: #fff;
  box-shadow: 0 12px 28px -8px rgba(124,58,237,.5);
}
.crs-step__title {
  font-family: var(--display); font-weight: 600; font-size: 1.18rem;
  margin: 0 0 .65rem; line-height: 1.25; letter-spacing: -.01em;
}
.crs-step__text { font-size: .91rem; color: var(--ink-500); line-height: 1.7; margin: 0; }

/* Who is this for */
.crs-for {
  padding: 5rem 0;
  background: #fff; border-bottom: 1px solid var(--line-soft);
}
.crs-for__head { text-align: center; margin-bottom: 3rem; }
.crs-for__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -.02em; margin: 0;
}
.crs-for__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.crs-for__col {
  border-radius: 20px; padding: 2rem;
  border: 1px solid transparent;
}
.crs-for__col--yes {
  background: rgba(16,185,129,.05);
  border-color: rgba(16,185,129,.25);
}
.crs-for__col--no {
  background: rgba(239,68,68,.03);
  border-color: rgba(239,68,68,.15);
}
.crs-for__col__head {
  font-family: var(--display); font-weight: 600; font-size: 1.2rem;
  margin: 0 0 1.3rem; display: flex; align-items: center; gap: .55rem;
}
.crs-for__col--yes .crs-for__col__head { color: #065f46; }
.crs-for__col--no .crs-for__col__head { color: #991b1b; }
.crs-for__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .85rem; }
.crs-for__list li {
  font-size: .95rem; color: var(--ink-500);
  padding-left: 1.65rem; position: relative; line-height: 1.55;
}
.crs-for__col--yes .crs-for__list li::before {
  content: "✓"; position: absolute; left: 0;
  color: #10b981; font-weight: 700; font-size: .88rem; top: .05rem;
}
.crs-for__col--no .crs-for__list li::before {
  content: "✕"; position: absolute; left: 0;
  color: #ef4444; font-weight: 700; font-size: .88rem; top: .05rem;
}

/* FAQ */
.crs-faq {
  padding: 5rem 0;
  background: var(--paper);
}
.crs-faq__head { text-align: center; margin-bottom: 3rem; }
.crs-faq__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -.02em; margin: 0;
}
.crs-faq__list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: .55rem; }
.crs-faq__item {
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: 14px; overflow: hidden; transition: border-color .15s;
}
.crs-faq__item[open] { border-color: var(--brand-2); }
.crs-faq__item summary {
  cursor: pointer; list-style: none;
  padding: 1.25rem 1.6rem;
  font-family: var(--display); font-weight: 600; font-size: 1.02rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  user-select: none; color: var(--ink-900);
}
.crs-faq__item summary::-webkit-details-marker { display: none; }
.crs-faq__item summary::after {
  content: "+"; font-size: 1.5rem; color: var(--brand-2);
  font-weight: 300; flex-shrink: 0; line-height: 1; transition: transform .2s;
}
.crs-faq__item[open] summary::after { content: "−"; }
.crs-faq__body {
  padding: 0 1.6rem 1.3rem;
  font-size: .95rem; color: var(--ink-500); line-height: 1.72;
}

/* Final CTA banner */
.crs-final {
  padding: 7rem 0;
  background: var(--ink-900);
  position: relative; overflow: hidden;
  text-align: center;
}
.crs-final::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px at 50% -10%, rgba(124,58,237,.4), transparent 55%),
    radial-gradient(500px at 10% 110%, rgba(67,97,238,.2), transparent 55%);
}
.crs-final::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 70%);
}
.crs-final__inner { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; }
.crs-final__kicker {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-3); font-weight: 600;
  display: block; margin-bottom: .9rem;
}
.crs-final__title {
  font-family: var(--display); font-weight: 600; font-style: italic;
  font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.05; letter-spacing: -.025em;
  color: #fff; margin: 0 0 1rem;
}
.crs-final__sub { font-size: 1.08rem; color: rgba(255,255,255,.7); margin-bottom: 2.8rem; line-height: 1.65; }
.crs-final .btn--primary {
  min-height: 60px; font-size: 1.1rem; padding: 0 3rem;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  box-shadow: 0 20px 60px -14px rgba(124,58,237,.7);
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}
.crs-final__guar { font-size: .8rem; color: rgba(255,255,255,.45); margin-top: 1.2rem; }

/* Mobile sticky bottom bar */
.crs-mob-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  padding: .9rem 1.2rem calc(.9rem + env(safe-area-inset-bottom));
  background: rgba(7,7,20,.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,.1);
}
.crs-mob-bar__inner { display: flex; align-items: center; gap: 1rem; }
.crs-mob-bar__price {
  font-family: var(--display); font-weight: 600; font-style: italic;
  font-size: 1.7rem; color: #fff; line-height: 1; flex-shrink: 0;
}
.crs-mob-bar .btn--primary {
  flex: 1; min-height: 52px; font-size: 1rem;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  box-shadow: 0 10px 30px -8px rgba(124,58,237,.65);
}

/* Enhanced hero — rating row */
.crs-hero__rating {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: .9rem;
}
.crs-hero__stars { color: #fbbf24; font-size: 1rem; letter-spacing: -.05em; }
.crs-hero__rating-num {
  font-family: var(--mono); font-size: .82rem;
  color: rgba(255,255,255,.7);
}

/* Responsive */
@media (max-width: 1024px) {
  .crs-outcomes__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .crs-how__steps { grid-template-columns: 1fr; }
  .crs-for__grid { grid-template-columns: 1fr; }
  .crs-sticky__name { display: none; }
}
@media (max-width: 768px) {
  .crs-mob-bar { display: block; }
  body.page-course { padding-bottom: 90px; }
  .crs-outcomes__grid { grid-template-columns: 1fr; }
  .crs-proof__item { padding: .5rem 1rem; }
}
@media (max-width: 480px) {
  .crs-proof__item:nth-child(n+3) { border-right: 0; }
  .crs-sticky__price { display: none; }
}

/* =====================================================================
   FORUM pages — category / post / new-post  (body.page-forum)
   ===================================================================== */
body.page-forum { background: var(--paper); }
.forum-wrap {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

/* =====================================================================
   COMMUNITY — pulse feed  (body.page-community)
   ===================================================================== */
body.page-community { background: var(--paper); }
body.page-community .ax-main { padding: 0; }

.com-hero {
  padding: 4rem 0 3rem;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  position: relative; overflow: hidden;
}
.com-hero::before {
  content: ""; position: absolute; right: -200px; top: -100px;
  width: 600px; height: 600px;
  background:
    conic-gradient(from 45deg at center, var(--brand-1), var(--brand-2), var(--brand-3), var(--brand-4), var(--brand-1));
  border-radius: 50%;
  opacity: .08;
  filter: blur(40px);
}
.com-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: center; }
.com-hero__kicker {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-2); font-weight: 600;
}
.com-hero__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.05;
  letter-spacing: -.025em; margin: .5rem 0 1rem;
}
.com-hero__title em { font-style: italic; color: var(--brand-2); }
.com-hero__lede { font-size: 1.05rem; color: var(--ink-500); max-width: 52ch; }

.com-pulse {
  background: #fafafa; border: 1px solid var(--line-soft);
  border-radius: 20px; padding: 1.5rem 1.8rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.com-pulse__head { display: flex; justify-content: space-between; align-items: center; }
.com-pulse__title { font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin: 0; }
.com-pulse__live {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-5); font-weight: 700;
}
.com-pulse__live::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-5); box-shadow: 0 0 0 3px rgba(16,185,129,.25);
  animation: pulse 2s infinite;
}
.com-pulse__bars {
  display: flex; align-items: flex-end; gap: 4px; height: 60px;
}
.com-pulse__bar {
  flex: 1; background: linear-gradient(180deg, var(--brand-2), var(--brand-3));
  border-radius: 3px 3px 0 0; min-width: 6px;
  opacity: .75;
}
.com-pulse__meta {
  font-family: var(--mono); font-size: .75rem;
  color: var(--ink-500); display: flex; gap: 1rem;
}

.com-body { padding: 3rem 0 5rem; }
.com-group-label {
  font-family: var(--mono); font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 600;
  margin: 2.5rem 0 1rem;
  display: flex; align-items: center; gap: .8rem;
}
.com-group-label::after {
  content: ""; flex: 1; height: 1px; background: var(--line-soft);
}
.com-group-label:first-child { margin-top: 0; }

.com-list { display: grid; gap: .8rem; }
.com-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem; align-items: center;
  padding: 1.3rem 1.5rem;
  background: #fff; border: 1px solid transparent;
  border-radius: 16px;
  transition: transform .15s, border .15s, box-shadow .15s;
}
.com-row:hover {
  border-color: var(--brand-2);
  transform: translateX(4px);
  box-shadow: 0 20px 40px -25px rgba(15,23,42,.15);
}
.com-row__avatar {
  width: 50px; height: 50px; border-radius: 14px;
  background: conic-gradient(from 120deg, var(--brand-2), var(--brand-3), var(--brand-4), var(--brand-1));
  display: grid; place-items: center;
  color: #fff; font-family: var(--display); font-weight: 600; font-style: italic;
  font-size: 1.3rem;
  box-shadow: 0 10px 20px -10px rgba(124,58,237,.5);
}
.com-row--batch .com-row__avatar {
  background: conic-gradient(from 200deg, var(--brand-4), var(--brand-3), var(--brand-1));
}
.com-row__body { min-width: 0; }
.com-row__name {
  font-family: var(--display); font-weight: 600; font-size: 1.2rem;
  letter-spacing: -.01em; line-height: 1.2;
  margin: 0 0 .25rem;
}
.com-row__meta { font-size: .82rem; color: var(--ink-500); }
.com-row__stats {
  display: flex; flex-direction: column; align-items: flex-end; gap: .25rem;
  font-size: .78rem; color: var(--ink-500);
}
.com-row__stats strong {
  font-family: var(--display); font-size: 1.4rem; color: var(--ink-900); font-weight: 600;
}
.com-row__arrow {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper); color: var(--ink-900);
  display: grid; place-items: center;
  transition: transform .15s, background .15s;
  margin-left: .6rem;
}
.com-row:hover .com-row__arrow { background: var(--brand-2); color: #fff; transform: translateX(3px); }

.com-empty {
  text-align: center; padding: 4rem 2rem;
  background: #fff; border: 1px dashed var(--line-soft); border-radius: 20px;
}

/* =====================================================================
   AUTH — split brand stage  (body.page-auth)
   ===================================================================== */
body.page-auth { background: #0a0a14; color: #fff; overflow-x: hidden; }
body.page-auth .ax-main { padding: 0; }
/* auth nav — keep glass but no bottom border so it blends into the dark stage */
body.page-auth .ax-nav { border-bottom: 0 !important; }

.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
}
.auth-stage {
  padding: 4rem 4rem 3rem;
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 500px at 10% 20%, rgba(124,58,237,.4), transparent 55%),
    radial-gradient(500px 400px at 90% 90%, rgba(236,72,153,.35), transparent 55%),
    #070714;
  display: flex; flex-direction: column; justify-content: space-between;
}
.auth-stage::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%);
}
.auth-stage__content { position: relative; z-index: 2; }
.auth-stage__kicker {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 500;
}
.auth-stage__quote {
  font-family: var(--display); font-weight: 500; font-style: italic;
  font-size: 2.3rem; line-height: 1.2; letter-spacing: -.02em;
  margin: 2rem 0 0; color: #fff;
}
.auth-stage__quote::before { content: "“"; color: var(--brand-3); font-size: 1.2em; line-height: 0; margin-right: .1em; }
.auth-stage__quote::after { content: "”"; color: var(--brand-3); font-size: 1.2em; line-height: 0; margin-left: .1em; }
.auth-stage__attrib {
  margin-top: 1.5rem; font-size: .9rem; color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: .6rem;
}
.auth-stage__attrib__av {
  width: 36px; height: 36px; border-radius: 50%;
  background: conic-gradient(from 120deg, var(--brand-2), var(--brand-3));
  display: grid; place-items: center; color: #fff; font-weight: 700;
}
.auth-stage__badges {
  position: relative; z-index: 2;
  display: flex; gap: .6rem; flex-wrap: wrap;
}
.auth-stage__badge {
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .4rem .8rem; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
}

.auth-panel {
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 4rem 3rem;
}
.auth-form {
  width: 100%; max-width: 420px;
  color: var(--ink-900);
}
.auth-form__kicker {
  font-family: var(--mono); font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-2); font-weight: 600;
  margin-bottom: .6rem;
}
.auth-form h1 {
  font-family: var(--display); font-weight: 600;
  font-size: 2.4rem; line-height: 1.1; letter-spacing: -.02em;
  color: var(--ink-900); margin: 0 0 .6rem;
}
.auth-form h1 em { font-style: italic; color: var(--brand-2); }
.auth-form__lede { color: var(--ink-500); font-size: .98rem; margin-bottom: 2rem; }

.auth-form .form-control {
  border-radius: 12px; padding: .9rem 1rem;
  border: 1px solid var(--line-soft);
  background: var(--paper);
  transition: all .15s;
}
.auth-form .form-control:focus {
  background: #fff; border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(124,58,237,.12);
}
.auth-form .form-label {
  font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-500);
}
.auth-form .btn--primary {
  background: var(--ink-900); color: #fff;
  min-height: 54px; border-radius: 12px;
  font-weight: 600; font-size: 1rem;
  transition: all .15s;
}
.auth-form .btn--primary:hover {
  background: var(--brand-2);
  transform: translateY(-1px);
  box-shadow: 0 20px 40px -14px rgba(124,58,237,.5);
}
.auth-form__foot {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px dashed var(--line-soft);
  text-align: center; font-size: .92rem; color: var(--ink-500);
}
.auth-form__foot a { color: var(--brand-2); font-weight: 600; }

.auth-form__divider {
  text-align: center; color: var(--ink-500);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em;
  margin: 1.2rem 0;
  display: flex; align-items: center; gap: .8rem;
}
.auth-form__divider::before, .auth-form__divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line-soft);
}

/* Single-pane minimal auth variants (forgot/reset/verify) */
body.page-auth-min {
  background:
    radial-gradient(900px 600px at 20% -10%, rgba(124,58,237,.12), transparent 55%),
    radial-gradient(900px 600px at 90% 100%, rgba(236,72,153,.1), transparent 55%),
    var(--paper);
  color: var(--ink-900);
}
body.page-auth-min .ax-main { padding: 0; min-height: calc(100vh - 72px); display: grid; place-items: center; }

.auth-min {
  width: 100%; max-width: 460px;
  margin: 3rem auto;
  padding: 3rem;
  background: #fff; border-radius: 24px;
  border: 1px solid var(--line-soft);
  box-shadow: 0 40px 80px -40px rgba(15,23,42,.25);
  position: relative;
}
.auth-min::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: 24px; padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(124,58,237,.4), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.auth-min__icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  display: grid; place-items: center; color: #fff;
  font-size: 1.8rem; font-weight: 700;
  box-shadow: 0 20px 40px -14px rgba(124,58,237,.5);
  margin-bottom: 1.5rem;
}
.auth-min h1 {
  font-family: var(--display); font-weight: 600;
  font-size: 2rem; letter-spacing: -.02em;
  margin: 0 0 .5rem;
}
.auth-min p { color: var(--ink-500); }
.auth-min .form-control {
  border-radius: 12px; padding: .9rem 1rem; background: var(--paper);
}
.auth-min .btn--primary {
  background: var(--ink-900); color: #fff;
  min-height: 52px; border-radius: 12px; font-weight: 600;
}
.auth-min .btn--primary:hover { background: var(--brand-2); }
.auth-min__foot { text-align: center; margin-top: 1.5rem; font-size: .9rem; color: var(--ink-500); }

/* =====================================================================
   CHECKOUT — premium receipt (body.page-checkout)
   ===================================================================== */
body.page-checkout { background: var(--paper); }
body.page-checkout .ax-main { padding: 0; }

.co-head {
  background: #fff; border-bottom: 1px solid var(--line-soft);
  padding: 3rem 0 2rem;
}
.co-head__kicker {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-5); font-weight: 600;
  display: inline-flex; align-items: center; gap: .5rem;
}
.co-head__kicker::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-5); box-shadow: 0 0 0 3px rgba(16,185,129,.2);
}
.co-head__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.02em;
  margin: .5rem 0 .3rem;
}
.co-head__sub { color: var(--ink-500); }

.co-body { padding: 3rem 0 5rem; }
.co-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem; align-items: start;
}
.co-methods { display: flex; flex-direction: column; gap: 1rem; }
.co-method {
  background: #fff; border-radius: 18px;
  border: 1px solid var(--line-soft);
  padding: 1.6rem 1.8rem;
  transition: border .15s, box-shadow .15s;
}
.co-method--primary {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(124,58,237,.08);
}
.co-method__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.co-method__title {
  font-family: var(--display); font-weight: 600; font-size: 1.3rem;
  margin: 0 0 .3rem;
}
.co-method__sub { font-size: .88rem; color: var(--ink-500); margin: 0; }
.co-method__logo {
  padding: .4rem .8rem; background: var(--paper);
  border-radius: 8px; font-family: var(--mono); font-size: .8rem; font-weight: 700;
  color: var(--ink-900);
}

.co-summary {
  position: sticky; top: 6rem;
  background: #fff; border-radius: 20px;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(15,23,42,.15);
}
.co-summary__head {
  padding: 1.8rem;
  background:
    linear-gradient(135deg, var(--ink-900), var(--ink-700));
  color: #fff; position: relative; overflow: hidden;
}
.co-summary__head::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0; height: 14px;
  background:
    radial-gradient(circle at 7px 14px, transparent 6px, var(--paper) 7px);
  background-size: 14px 14px;
}
.co-summary__kicker { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.co-summary__item { font-family: var(--display); font-weight: 600; font-size: 1.5rem; margin: .4rem 0 .8rem; line-height: 1.2; }
.co-summary__price {
  font-family: var(--display); font-weight: 600; font-style: italic;
  font-size: 3rem; line-height: 1; letter-spacing: -.02em;
  color: var(--brand-4);
}

.co-summary__body { padding: 1.5rem 1.8rem 1.8rem; }
.co-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: .7rem 0; border-bottom: 1px dashed var(--line-soft);
  font-size: .9rem;
}
.co-line:last-child { border-bottom: 0; padding-bottom: 0; }
.co-line__label { color: var(--ink-500); }
.co-line__value { color: var(--ink-900); font-weight: 500; }
.co-line--total {
  padding-top: 1rem; margin-top: .5rem;
  border-top: 2px solid var(--ink-900); border-bottom: 0;
  font-family: var(--display); font-weight: 600; font-size: 1.2rem;
}
.co-trust {
  margin-top: 1.5rem;
  padding: 1rem; background: var(--paper); border-radius: 12px;
  display: flex; align-items: center; gap: .8rem;
  font-size: .82rem; color: var(--ink-500);
}
.co-trust__icon {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--brand-5); color: #fff;
  display: grid; place-items: center; font-size: .9rem;
  flex-shrink: 0;
}

/* =====================================================================
   ABOUT — founder/story layout (body.page-about)
   ===================================================================== */
body.page-about { background: var(--paper); color: var(--ink-900); }
body.page-about .ax-main { padding: 0; }

.ab-hero {
  padding: 6rem 0 4rem;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}
.ab-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.ab-hero__kicker {
  font-family: var(--mono); font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-2); font-weight: 600;
}
.ab-hero__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05;
  letter-spacing: -.03em; margin: .6rem 0 1.2rem; max-width: 20ch;
}
.ab-hero__title em { font-style: italic; color: var(--brand-2); }
.ab-hero__lede {
  font-size: 1.15rem; line-height: 1.6; color: var(--ink-500);
  max-width: 50ch;
}

.ab-hero__art {
  aspect-ratio: 5/6;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(124,58,237,.2), rgba(236,72,153,.2)),
    repeating-linear-gradient(135deg, #1b1d35 0 50px, #222547 50px 100px);
  position: relative;
  overflow: hidden;
}
.ab-hero__art::after {
  content: "A"; position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-style: italic;
  font-size: 18rem; color: rgba(255,255,255,.95);
  text-shadow: 0 8px 40px rgba(0,0,0,.3);
}
.ab-hero__stamp {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: rgba(255,255,255,.95); color: var(--ink-900);
  padding: .7rem 1rem; border-radius: 12px;
  font-size: .82rem; font-weight: 600;
  font-family: var(--mono);
}

/* Story timeline */
.ab-story {
  padding: 5rem 0;
  background: var(--paper);
}
.ab-story__grid {
  display: grid; grid-template-columns: 1fr 2fr; gap: 4rem;
}
.ab-story__head {
  position: sticky; top: 8rem; align-self: start;
}
.ab-story__head h2 {
  font-family: var(--display); font-weight: 600; font-size: 2.2rem;
  letter-spacing: -.02em; line-height: 1.1;
}

.ab-timeline { display: flex; flex-direction: column; gap: 1.5rem; }
.ab-step {
  padding: 2rem; background: #fff; border-radius: 16px;
  border: 1px solid var(--line-soft);
  position: relative;
}
.ab-step__num {
  font-family: var(--display); font-weight: 600; font-style: italic;
  font-size: 3rem; line-height: 1;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ab-step h3 {
  font-family: var(--display); font-weight: 600; font-size: 1.5rem;
  letter-spacing: -.015em; margin: .5rem 0 .6rem;
}
.ab-step p { color: var(--ink-500); line-height: 1.65; }

/* Principles */
.ab-princs {
  padding: 5rem 0;
  background: var(--ink-900); color: #e2e8f0;
}
.ab-princs__head { text-align: center; margin-bottom: 3rem; }
.ab-princs__head h2 {
  font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.02em; color: #fff; max-width: 18ch; margin: 0 auto;
}
.ab-princs__head h2 em { font-style: italic; color: var(--brand-3); }

.ab-princs__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.ab-princ {
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.02);
}
.ab-princ__dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand-3);
  box-shadow: 0 0 0 4px rgba(236,72,153,.2);
  margin-bottom: 1rem;
}
.ab-princ:nth-child(2) .ab-princ__dot { background: var(--brand-4); box-shadow: 0 0 0 4px rgba(245,158,11,.2); }
.ab-princ:nth-child(3) .ab-princ__dot { background: var(--brand-5); box-shadow: 0 0 0 4px rgba(16,185,129,.2); }
.ab-princ:nth-child(4) .ab-princ__dot { background: var(--brand-1); box-shadow: 0 0 0 4px rgba(67,97,238,.2); }
.ab-princ h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: #fff; margin: 0 0 .5rem; }
.ab-princ p { font-size: .9rem; color: rgba(226,232,240,.65); line-height: 1.6; }

/* =====================================================================
   CONTACT (body.page-contact)
   ===================================================================== */
body.page-contact { background: var(--paper); }
body.page-contact .ax-main { padding: 0; }

.cn-hero { padding: 5rem 0 3rem; background: #fff; border-bottom: 1px solid var(--line-soft); text-align: center; }
.cn-hero__kicker { font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); font-weight: 600; }
.cn-hero__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.025em;
  margin: .5rem 0 1rem;
}
.cn-hero__title em { font-style: italic; color: var(--brand-2); }
.cn-hero__lede { font-size: 1.1rem; color: var(--ink-500); max-width: 52ch; margin: 0 auto; }

.cn-body { padding: 4rem 0 5rem; }
.cn-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 3rem; align-items: start;
}

.cn-form {
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: 24px; padding: 2.5rem;
  box-shadow: 0 30px 60px -30px rgba(15,23,42,.12);
}
.cn-form h2 { font-family: var(--display); font-weight: 600; font-size: 1.8rem; margin: 0 0 1.5rem; }
.cn-form .form-control { border-radius: 12px; padding: .9rem 1rem; background: var(--paper); }
.cn-form .form-control:focus { background: #fff; }
.cn-form .btn--primary {
  background: var(--ink-900); min-height: 54px; border-radius: 12px;
  font-weight: 600; font-size: 1rem;
}
.cn-form .btn--primary:hover { background: var(--brand-2); }

.cn-side { display: flex; flex-direction: column; gap: 1.2rem; }
.cn-card {
  padding: 1.8rem; border-radius: 18px;
  background: #fff; border: 1px solid var(--line-soft);
  position: relative; overflow: hidden;
}
.cn-card--hero {
  background: linear-gradient(135deg, var(--ink-900), var(--ink-700));
  color: #fff; border-color: transparent;
}
.cn-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  display: grid; place-items: center; color: #fff; font-size: 1.3rem;
  margin-bottom: 1rem;
}
.cn-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; margin: 0 0 .4rem; }
.cn-card p { color: var(--ink-500); font-size: .92rem; margin: 0 0 .8rem; }
.cn-card--hero p { color: rgba(255,255,255,.7); }
.cn-card a { color: var(--brand-2); font-weight: 600; }
.cn-card--hero a { color: var(--brand-3); }

/* =====================================================================
   LEGAL (Privacy / Terms) (body.page-legal)
   ===================================================================== */
body.page-legal { background: var(--paper); }
body.page-legal .ax-main { padding: 0; }

.lg-hero { padding: 5rem 0 2rem; background: #fff; border-bottom: 1px solid var(--line-soft); }
.lg-hero__kicker { font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); font-weight: 600; }
.lg-hero__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -.025em;
  margin: .5rem 0 .6rem;
}
.lg-hero__updated {
  font-family: var(--mono); font-size: .85rem; color: var(--ink-500);
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .85rem; background: var(--paper);
  border-radius: 999px;
}

.lg-body { padding: 4rem 0 6rem; }
.lg-grid { display: grid; grid-template-columns: 280px 1fr; gap: 4rem; align-items: start; }

.lg-toc {
  position: sticky; top: 6rem;
  padding: 1.5rem;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 16px;
}
.lg-toc__label { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; margin-bottom: .8rem; }
.lg-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.lg-toc li {
  counter-increment: toc;
  padding: .5rem 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: .9rem;
}
.lg-toc li:last-child { border-bottom: 0; }
.lg-toc a { color: var(--ink-500); display: flex; gap: .8rem; }
.lg-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: .78rem; color: var(--brand-2); font-weight: 600; }
.lg-toc a:hover { color: var(--brand-2); }

.lg-prose { max-width: 70ch; counter-reset: lg; }
.lg-prose h2 {
  counter-increment: lg;
  font-family: var(--display); font-weight: 600;
  font-size: 1.8rem; letter-spacing: -.015em;
  margin: 3rem 0 1rem; padding-bottom: .6rem;
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: baseline; gap: 1rem;
  scroll-margin-top: 6rem;
}
.lg-prose h2:first-child { margin-top: 0; }
.lg-prose h2::before {
  content: counter(lg, decimal-leading-zero);
  font-family: var(--mono); font-size: 1rem; font-weight: 500; color: var(--brand-2);
}
.lg-prose h3 {
  font-family: var(--display); font-weight: 600;
  font-size: 1.2rem; margin: 1.6rem 0 .6rem;
}
.lg-prose p { font-size: 1rem; line-height: 1.7; color: var(--ink-500); margin-bottom: 1rem; }
.lg-prose ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.lg-prose li { line-height: 1.7; color: var(--ink-500); margin-bottom: .4rem; }
.lg-prose strong { color: var(--ink-900); }
.lg-prose a { color: var(--brand-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* =====================================================================
   STUDENT DASHBOARD V2 (body.page-dash)
   ===================================================================== */
body.page-dash { background: var(--paper); }
body.page-dash .ax-main { padding: 0; }

.dash-hero2 {
  padding: 3rem 0 3rem;
  background:
    radial-gradient(600px 400px at 10% 100%, rgba(124,58,237,.08), transparent 55%),
    radial-gradient(500px 300px at 90% 0%, rgba(236,72,153,.08), transparent 55%),
    #fff;
  border-bottom: 1px solid var(--line-soft);
}
.dash-hero2__inner {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: center;
}
.dash-hero2__greet {
  font-family: var(--mono); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 500;
}
.dash-hero2__name {
  font-family: var(--display); font-weight: 600; font-style: italic;
  font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.05; letter-spacing: -.025em;
  margin: .4rem 0 .6rem;
}
.dash-hero2__date { font-family: var(--mono); font-size: .85rem; color: var(--ink-500); }

.dash-resume {
  background: linear-gradient(135deg, var(--ink-900), var(--ink-700));
  color: #fff; border-radius: 20px;
  padding: 1.8rem;
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center;
  box-shadow: 0 30px 60px -30px rgba(15,23,42,.4);
  position: relative; overflow: hidden;
}
.dash-resume::before {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(236,72,153,.3), transparent 60%);
  filter: blur(30px);
  pointer-events: none; z-index: 0;
}
.dash-resume > * { position: relative; z-index: 1; }
.dash-resume__icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-3), var(--brand-4));
  display: grid; place-items: center; color: #fff; font-size: 1.6rem;
  flex-shrink: 0;
}
.dash-resume__kicker {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.6); font-weight: 500;
}
.dash-resume__title {
  font-family: var(--display); font-weight: 600; font-size: 1.4rem;
  color: #fff; margin: .2rem 0 .3rem;
}
.dash-resume__next { font-size: .85rem; color: rgba(255,255,255,.7); }
.dash-resume__btn {
  padding: 0 1.5rem; min-height: 48px;
  background: #fff; color: var(--ink-900);
  border-radius: 12px; font-weight: 600;
  display: inline-flex; align-items: center; gap: .5rem;
  white-space: nowrap;
  position: relative; z-index: 2;
  text-decoration: none;
}
.dash-resume__btn:hover { background: var(--brand-4); color: var(--ink-900); }

.dash-kpis-wrap {
  background: var(--paper);
  padding: 1.75rem 0 0;
  border-bottom: 1px solid var(--line-soft);
}
.dash-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding-bottom: 1.75rem;
}
.dash-kpi {
  background: #fff; border-radius: 18px;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line-soft);
  box-shadow: 0 20px 40px -30px rgba(15,23,42,.15);
  position: relative; overflow: hidden;
}
.dash-kpi::before {
  content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 40%;
  background: linear-gradient(90deg, var(--brand-2), var(--brand-3));
}
.dash-kpi:nth-child(2)::before { background: linear-gradient(90deg, var(--brand-3), var(--brand-4)); }
.dash-kpi:nth-child(3)::before { background: linear-gradient(90deg, var(--brand-4), var(--brand-5)); }
.dash-kpi:nth-child(4)::before { background: linear-gradient(90deg, var(--brand-5), var(--brand-1)); }
.dash-kpi__label { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; }
.dash-kpi__value {
  font-family: var(--display); font-weight: 600;
  font-size: 2.4rem; line-height: 1; letter-spacing: -.02em;
  color: var(--ink-900); margin-top: .4rem;
}
.dash-kpi__delta { font-family: var(--mono); font-size: .82rem; color: var(--ink-500); margin-top: .3rem; }

.dash-body { padding: 4rem 0 5rem; }
.dash-sec-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 1.5rem;
}
.dash-sec-head h2 {
  font-family: var(--display); font-weight: 600; font-size: 1.8rem;
  letter-spacing: -.015em; margin: 0;
}
.dash-sec-head a { font-size: .9rem; color: var(--brand-2); font-weight: 500; }

.dash-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }
.dash-crs {
  background: #fff; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.dash-crs:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -30px rgba(15,23,42,.2);
}
.dash-crs__art {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  position: relative; overflow: hidden;
  display: grid; place-items: center; color: #fff;
  font-family: var(--display); font-style: italic; font-size: 1.6rem; font-weight: 600; padding: 1rem; text-align: center;
}
.dash-crs__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dash-crs__pct {
  position: absolute; top: .8rem; right: .8rem; z-index: 2;
  padding: .3rem .7rem; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--ink-900);
  font-family: var(--mono); font-size: .78rem; font-weight: 700;
}
.dash-crs__body { padding: 1.3rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.dash-crs__title {
  font-family: var(--display); font-weight: 600; font-size: 1.15rem;
  letter-spacing: -.01em; margin: 0 0 .3rem;
}
.dash-crs__batch {
  display: inline-flex; padding: .2rem .6rem; background: var(--paper-2);
  border-radius: 4px; font-family: var(--mono); font-size: .72rem;
  color: var(--ink-500); letter-spacing: .04em;
  margin-bottom: .8rem; align-self: flex-start;
}
.dash-crs__progress {
  height: 6px; background: var(--paper-2); border-radius: 999px; overflow: hidden;
  margin: .8rem 0 .4rem;
}
.dash-crs__progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--brand-2), var(--brand-3));
}
.dash-crs__pmeta {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: .75rem; color: var(--ink-500);
}
.dash-crs__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1rem; margin-top: auto;
  border-top: 1px dashed var(--line-soft);
}
.dash-crs__last { font-size: .78rem; color: var(--ink-500); }
.dash-crs__go {
  padding: .5rem 1rem;
  background: var(--ink-900); color: #fff;
  border-radius: 10px; font-weight: 600; font-size: .85rem;
}
.dash-crs__go:hover { background: var(--brand-2); color: #fff; }

.dash-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.dash-panel {
  background: #fff; border-radius: 20px;
  border: 1px solid var(--line-soft);
  padding: 1.8rem;
}
.dash-panel__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.dash-panel h3 { font-family: var(--display); font-weight: 600; font-size: 1.25rem; margin: 0; letter-spacing: -.01em; }
.dash-panel__link { font-size: .85rem; color: var(--brand-2); font-weight: 500; }

.dash-batch {
  padding: 1rem 0; border-bottom: 1px dashed var(--line-soft);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.dash-batch:last-child { border-bottom: 0; padding-bottom: 0; }
.dash-batch__title { font-family: var(--display); font-weight: 600; font-size: 1rem; margin: 0 0 .2rem; }
.dash-batch__meta { font-family: var(--mono); font-size: .78rem; color: var(--ink-500); }
.dash-batch__pill {
  padding: .3rem .7rem; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  background: rgba(16,185,129,.12); color: #047857;
}
.dash-batch__pill--upcoming { background: rgba(245,158,11,.12); color: #92400e; }

.dash-notif {
  padding: .9rem 0; border-bottom: 1px dashed var(--line-soft);
  display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: start;
}
.dash-notif:last-child { border-bottom: 0; }
.dash-notif__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--paper-2); margin-top: 6px;
}
.dash-notif--unread .dash-notif__dot {
  background: var(--brand-2); box-shadow: 0 0 0 3px rgba(124,58,237,.2);
}
.dash-notif__title { font-weight: 500; font-size: .92rem; }
.dash-notif__msg { font-size: .82rem; color: var(--ink-500); margin-top: .2rem; }
.dash-notif__time { font-family: var(--mono); font-size: .72rem; color: var(--ink-500); white-space: nowrap; }

.dash-empty {
  text-align: center; padding: 3.5rem 2rem;
  background: #fff; border: 1px dashed var(--line-soft); border-radius: 20px;
}

/* =====================================================================
   INNER-PAGE HEADER — shared branded strip for all logged-in sub-pages
   (profile, notifications, progress, forum inner pages)
   ===================================================================== */
.page-hdr {
  padding: 3rem 0 2.2rem;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.page-hdr::before {
  content: ""; position: absolute; right: -120px; top: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,.07), transparent 60%);
  filter: blur(30px); pointer-events: none;
}
.page-hdr__back {
  font-family: var(--mono); font-size: .82rem; letter-spacing: .04em;
  color: var(--ink-500); display: inline-flex; align-items: center; gap: .4rem;
  margin-bottom: .8rem; position: relative; z-index: 2;
}
.page-hdr__back:hover { color: var(--brand-2); }
.page-hdr__kicker {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-2); font-weight: 600;
  position: relative; z-index: 2;
}
.page-hdr__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.1;
  letter-spacing: -.02em; margin: .3rem 0 .4rem;
  position: relative; z-index: 2;
}
.page-hdr__sub {
  font-size: .95rem; color: var(--ink-500);
  max-width: 52ch; position: relative; z-index: 2;
}
.page-hdr__actions {
  display: flex; gap: .6rem; flex-wrap: wrap;
  margin-top: 1rem; position: relative; z-index: 2;
}
.page-hdr__row {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1.5rem; flex-wrap: wrap; position: relative; z-index: 2;
}

/* Inner-page body section */
.page-body {
  padding: 3rem 0 4rem;
}

/* =====================================================================
   NOTIFICATION LIST COMPONENT
   ===================================================================== */
.notif-list {
  display: flex; flex-direction: column; gap: 0;
}
.notif-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem; align-items: start;
  padding: 1.2rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  transition: background .12s;
  text-decoration: none; color: inherit;
}
.notif-item:first-child { border-radius: 16px 16px 0 0; }
.notif-item:last-child { border-radius: 0 0 16px 16px; border-bottom: 0; }
.notif-item:only-child { border-radius: 16px; }
.notif-item:hover { background: var(--paper); }
.notif-item--unread {
  background: rgba(124,58,237,.03);
  border-left: 3px solid var(--brand-2);
}
.notif-item__icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.1rem; flex-shrink: 0;
  background: var(--paper); color: var(--ink-500);
}
.notif-item--unread .notif-item__icon {
  background: rgba(124,58,237,.1); color: var(--brand-2);
}
.notif-item__body { min-width: 0; }
.notif-item__title {
  font-weight: 600; font-size: .92rem; color: var(--ink-900);
  margin: 0 0 .15rem;
}
.notif-item__msg {
  font-size: .85rem; color: var(--ink-500); line-height: 1.5;
  margin: 0;
}
.notif-item__link {
  font-size: .82rem; color: var(--brand-2); font-weight: 500;
  margin-top: .3rem; display: inline-block;
}
.notif-item__time {
  font-family: var(--mono); font-size: .72rem; color: var(--ink-500);
  white-space: nowrap; padding-top: .15rem;
}

.notif-wrap {
  border: 1px solid var(--line-soft); border-radius: 16px;
  overflow: hidden; box-shadow: 0 20px 40px -30px rgba(15,23,42,.1);
}

.notif-empty {
  text-align: center; padding: 4rem 2rem;
  background: #fff; border: 1px dashed var(--line-soft);
  border-radius: 20px;
}
.notif-empty__icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-5), var(--brand-1));
  display: grid; place-items: center; color: #fff;
  font-size: 1.8rem; margin: 0 auto 1rem;
}

/* =====================================================================
   PROFILE PAGE LAYOUT
   ===================================================================== */
.profile-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; align-items: start;
}
.profile-card {
  background: #fff; border-radius: 20px;
  border: 1px solid var(--line-soft);
  padding: 2rem;
  box-shadow: 0 20px 40px -30px rgba(15,23,42,.1);
}
.profile-card__head {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px dashed var(--line-soft);
}
.profile-card__avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: conic-gradient(from 220deg, var(--brand-2), var(--brand-3), var(--brand-4), var(--brand-1));
  display: grid; place-items: center;
  color: #fff; font-family: var(--display); font-weight: 700;
  font-size: 1.4rem; flex-shrink: 0;
}
.profile-card__info { min-width: 0; }
.profile-card__name {
  font-family: var(--display); font-weight: 600; font-size: 1.15rem;
  color: var(--ink-900); margin: 0 0 .15rem;
}
.profile-card__email {
  font-family: var(--mono); font-size: .82rem; color: var(--ink-500);
}
.profile-card__section-title {
  font-family: var(--display); font-weight: 600; font-size: 1.15rem;
  color: var(--ink-900); margin: 0 0 .3rem;
  display: flex; align-items: center; gap: .5rem;
}
.profile-card__section-sub {
  font-size: .85rem; color: var(--ink-500); margin: 0 0 1.5rem;
}

/* =====================================================================
   BATCH / COHORT PAGE — extracted from inline styles
   ===================================================================== */
.batch-hero {
  background: #0f0f14; color: #fff;
  padding: 3rem 0;
}
.batch-hero__kicker {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.5);
}
.batch-hero__title {
  font-family: var(--display); font-size: 2rem;
  margin: .3rem 0 .5rem;
}
.batch-hero__meta {
  color: rgba(255,255,255,.75); font-size: 1rem;
}
.batch-hero__actions {
  display: flex; gap: .6rem; margin-top: 1.2rem; flex-wrap: wrap;
}

.batch-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 2rem; align-items: flex-start;
}

.batch-section {
  padding: 2.5rem 0;
  background: var(--paper);
}

.batch-live {
  background: linear-gradient(135deg, #4361ee, #7c3aed);
  color: #fff; border-radius: 16px;
  padding: 1.8rem; margin-bottom: 1.5rem;
  position: relative; overflow: hidden;
}
.batch-live::before {
  content: ""; position: absolute; right: -30px; top: -30px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(236,72,153,.3), transparent 60%);
  filter: blur(20px); pointer-events: none;
}
.batch-live > * { position: relative; z-index: 1; }
.batch-live__kicker {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.65);
}
.batch-live__title {
  font-family: var(--display); font-size: 1.6rem;
  margin: .4rem 0;
}
.batch-live__meta {
  color: rgba(255,255,255,.85); font-size: .95rem;
}
.batch-live__desc {
  color: rgba(255,255,255,.85); margin-top: .8rem; line-height: 1.6;
}
.batch-live__actions { margin-top: 1.2rem; }
.batch-live__join {
  background: #fff; color: #4361ee; border-color: #fff; font-weight: 700;
}
.batch-live__note {
  color: rgba(255,255,255,.7); font-size: .88rem;
}

.batch-player {
  background: #0f0f14; border-radius: 16px;
  overflow: hidden; margin-bottom: 1.5rem;
}
.batch-player__wrap {
  position: relative; padding-top: 56.25%;
}
.batch-player__wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.batch-player__empty {
  padding: 3rem; color: #fff; text-align: center;
}
.batch-player__info {
  padding: 1.2rem 1.5rem; color: #fff;
}
.batch-player__title {
  font-family: var(--display); margin: 0 0 .3rem;
}
.batch-player__sub {
  color: rgba(255,255,255,.6); font-size: .85rem;
}
.batch-player__desc {
  color: rgba(255,255,255,.8); margin: .8rem 0 0; line-height: 1.6;
}

.batch-recordings {
  background: #fff; border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--line-soft);
}
.batch-recordings__head {
  display: flex; justify-content: space-between;
  align-items: baseline; margin-bottom: 1rem;
}
.batch-recordings__title {
  font-family: var(--display); margin: 0; font-size: 1.4rem;
}
.batch-recordings__count {
  font-family: var(--mono); font-size: .78rem; color: var(--ink-500);
}
.batch-recordings__empty {
  color: var(--ink-500); margin: 0;
}
.batch-recordings__list {
  list-style: none; padding: 0; margin: 0;
}

.batch-rec {
  display: flex; align-items: center; gap: 1rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.batch-rec:last-child { border-bottom: 0; }
.batch-rec__num {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px;
  background: var(--paper); color: var(--ink-700);
  display: grid; place-items: center; font-weight: 700;
}
.batch-rec__num--active {
  background: #4361ee; color: #fff;
}
.batch-rec__body { flex: 1; min-width: 0; }
.batch-rec__title { font-weight: 600; }
.batch-rec__meta {
  color: var(--ink-500); font-size: .82rem;
}
.batch-rec__action { flex-shrink: 0; }
.batch-rec__now {
  font-family: var(--mono); font-size: .74rem;
  color: #4361ee; letter-spacing: .1em;
}

.batch-sidebar-card {
  background: #fff; border-radius: 16px;
  padding: 1.3rem;
  border: 1px solid var(--line-soft);
  margin-bottom: 1rem;
}
.batch-sidebar-card__title {
  font-family: var(--display); margin: 0 0 .7rem;
  font-size: 1.1rem;
}
.batch-sidebar-card__empty {
  color: var(--ink-500); margin: 0; font-size: .9rem;
}
.batch-sidebar-card__list {
  list-style: none; padding: 0; margin: 0;
}

.batch-session {
  padding: .7rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.batch-session:last-child { border-bottom: 0; }
.batch-session__title {
  font-weight: 600; font-size: .92rem;
}
.batch-session__time {
  color: var(--ink-500); font-size: .8rem;
  font-family: var(--mono);
}
.batch-session__link {
  font-size: .82rem; color: #4361ee;
}
.batch-session__status {
  font-size: .82rem; color: var(--ink-500);
}

/* =====================================================================
   FORUM INNER PAGES — breadcrumb + form polish
   ===================================================================== */
body.page-forum .page-hdr { padding-bottom: 1.8rem; }
body.page-forum .page-hdr__title { font-size: clamp(1.6rem, 3vw, 2.4rem); }

.forum-filter {
  display: flex; gap: .75rem; flex-wrap: wrap;
  align-items: flex-end;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: 16px; padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px -20px rgba(15,23,42,.06);
}
.forum-filter .form-group { margin: 0; }

.forum-form-card {
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: 20px; padding: 2rem;
  box-shadow: 0 20px 40px -30px rgba(15,23,42,.1);
  max-width: 780px;
}

/* =====================================================================
   PROGRESS PAGE — enhanced module/lesson list
   ===================================================================== */
.progress-course-card {
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: 20px; padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 20px 40px -30px rgba(15,23,42,.1);
}
.progress-course-card__head {
  display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap; gap: 1rem;
}
.progress-course-card__title {
  font-family: var(--display); font-weight: 600;
  font-size: 1.5rem; letter-spacing: -.015em;
  margin: 0 0 .3rem;
}
.progress-course-card__enrolled {
  font-size: .85rem; color: var(--ink-500);
}
.progress-course-card__stats {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  font-size: .85rem; color: var(--ink-500);
  margin-top: 1rem;
}
.progress-course-card__stats strong { color: var(--ink-900); }

.progress-filter {
  display: flex; gap: .75rem; flex-wrap: wrap;
  align-items: flex-end;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: 16px; padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px -20px rgba(15,23,42,.06);
}
.progress-filter .form-group { margin: 0; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1024px) {
  .home-sec__head,
  .ab-hero__inner, .com-hero__inner,
  .crs-hero__inner, .crs-body__grid,
  .ab-story__grid, .cn-grid, .co-grid,
  .auth-split, .lg-grid,
  .dash-hero2__inner, .dash-split,
  .home-mentor,
  .profile-grid, .batch-grid { grid-template-columns: 1fr; gap: 2rem; }

  .home-programs { grid-template-columns: repeat(6, 1fr); }
  .home-program, .home-program--feature { grid-column: span 6; }
  .home-numbers__grid { grid-template-columns: repeat(2, 1fr); }
  .home-numbers__cell:nth-child(2) { border-right: 0; }
  .home-numbers__cell:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .home-pillars { grid-template-columns: 1fr; }
  .home-pillar { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .home-tests { grid-template-columns: 1fr 1fr; }
  .home-test--hero { grid-column: span 2; grid-row: auto; }

  .ab-princs__grid { grid-template-columns: repeat(2, 1fr); }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); margin-top: 1.5rem; padding: 0; }
  .dash-body .ax-container, .dash-hero2 .ax-container { padding: 0 1.25rem; }
  .auth-stage { padding: 3rem 2rem; }

  .lg-toc { position: static; }
}

@media (max-width: 640px) {
  .home-programs { grid-template-columns: 1fr; }
  .home-program, .home-program--feature { grid-column: span 1; }
  .home-numbers__grid { grid-template-columns: 1fr; }
  .home-numbers__cell { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .home-tests { grid-template-columns: 1fr; }
  .home-test--hero { grid-column: auto; }
  .ab-princs__grid { grid-template-columns: 1fr; }
  .dash-kpis { grid-template-columns: 1fr; }
  .dash-resume { grid-template-columns: 1fr; text-align: center; }
  .dash-courses { grid-template-columns: 1fr; }
  .co-summary__price, .crs-sidebar__price { font-size: 2.2rem; }
  .home-title { font-size: 2.4rem; }
  .crs-hero { padding: 5rem 0 3rem; }
  .com-row { grid-template-columns: auto 1fr; }
  .com-row__stats { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; border-top: 1px dashed var(--line-soft); padding-top: .8rem; align-items: center; }
  .com-row__stats strong { font-size: 1.1rem; }
  .ab-meet__grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   ABOUT — "Meet Liaqat" section  (body.page-about)
   ===================================================================== */
.ab-meet {
  padding: 5rem 0;
  background: #fff;
  border-top: 1px solid var(--line-soft);
}
.ab-meet__grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: center;
}
.ab-meet__portrait {
  aspect-ratio: 3/4;
  border-radius: 24px;
  background:
    conic-gradient(from 220deg at 50% 50%, #4361ee, #7c3aed, #ec4899, #f59e0b, #10b981, #4361ee 360deg),
    repeating-linear-gradient(135deg, #1b1d35 0 40px, #222547 40px 80px);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 40px 80px -30px rgba(67, 97, 238, .45);
}
.ab-meet__av {
  font-family: var(--display);
  font-size: 8rem;
  font-weight: 600;
  font-style: italic;
  color: rgba(255,255,255,.95);
  text-shadow: 0 6px 30px rgba(0,0,0,.4);
  position: relative;
  z-index: 2;
}
.ab-meet__badge {
  position: absolute;
  bottom: 1.2rem; left: 1.2rem;
  background: rgba(255,255,255,.95);
  color: var(--ink-900);
  padding: .6rem 1rem;
  border-radius: 12px;
  font-size: .82rem;
  font-weight: 600;
  z-index: 2;
}
.ab-meet__lede {
  font-size: 1.1rem;
  color: var(--ink-500);
  line-height: 1.65;
  max-width: 56ch;
  margin: 0 0 2rem;
}
.ab-meet__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--paper);
  border-radius: 16px;
  border: 1px solid var(--line-soft);
}
.ab-meet__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .25rem;
}
.ab-meet__stat-n {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ab-meet__stat-l {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-500);
  font-weight: 600;
}
.ab-meet__products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
}
.ab-meet__product {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 1.2rem;
  background: var(--paper);
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  transition: border-color .15s, box-shadow .15s;
}
.ab-meet__product:hover {
  border-color: var(--brand-2);
  box-shadow: 0 10px 30px -15px rgba(67, 97, 238, .25);
}
.ab-meet__product-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
}
.ab-meet__product-name {
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-900);
  margin-bottom: .2rem;
}
.ab-meet__product-desc {
  font-size: .78rem;
  color: var(--ink-500);
  line-height: 1.4;
}

/* About body h2 fix — em italic in dark section */
.ab-story__head h2 em { font-style: italic; color: var(--brand-2); }
.ab-meet__body h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: .5rem 0 1rem;
}

/* Story blockquote */
.ab-story__quote {
  margin: 1.5rem 0 0;
  padding: 1.2rem 1.5rem;
  background: var(--paper);
  border-left: 3px solid var(--brand-2);
  border-radius: 0 12px 12px 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-700);
  line-height: 1.5;
}
.ab-story__quote cite {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--brand-2);
  margin-top: .6rem;
  font-weight: 600;
}

/* Company section heading */
.ab-meet__companies { margin-top: 1.5rem; }
.ab-meet__company-head {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
  margin-bottom: .8rem;
}

/* Product tag badge (AzanX AI Company) */
.ab-meet__product-tag {
  display: inline-block;
  padding: .15rem .5rem;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-left: .4rem;
  vertical-align: middle;
}

/* Product card as link */
a.ab-meet__product {
  text-decoration: none;
  color: inherit;
}
a.ab-meet__product:hover {
  border-color: var(--brand-2);
  box-shadow: 0 10px 30px -15px rgba(67, 97, 238, .25);
}
a.ab-meet__product .ab-meet__product-name { color: var(--brand-2); }



/* =====================================================================
   ENHANCED FOOTER — social icon polish
   ===================================================================== */
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  text-decoration: none;
  transition: background .15s, color .15s, transform .15s;
}
.footer-social a:hover {
  background: var(--brand-2);
  border-color: var(--brand-2);
  color: #fff;
  transform: translateY(-2px);
}

/* =====================================================================
   ENHANCED DASHBOARD — micro-animations & counter effect
   ===================================================================== */
.dash-kpi {
  transition: transform .2s, box-shadow .2s;
}
.dash-kpi:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 50px -25px rgba(15,23,42,.2);
}
.dash-kpi__value {
  transition: color .3s;
}

/* Animated entry for KPI values */
@keyframes kpi-count-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dash-kpi__value { animation: kpi-count-in .4s ease-out both; }
.dash-kpi:nth-child(2) .dash-kpi__value { animation-delay: .08s; }
.dash-kpi:nth-child(3) .dash-kpi__value { animation-delay: .16s; }
.dash-kpi:nth-child(4) .dash-kpi__value { animation-delay: .24s; }

/* Dashboard hero enhanced */
.dash-hero2 {
  transition: box-shadow .3s;
}
.dash-hero2__name {
  background: linear-gradient(135deg, var(--ink-900), var(--brand-2));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Course card shimmer on hover */
.dash-crs:hover .dash-crs__progress span {
  background: linear-gradient(90deg, var(--brand-2), var(--brand-3), var(--brand-4));
  background-size: 200% 100%;
  animation: progress-shimmer 1.5s linear infinite;
}
@keyframes progress-shimmer {
  to { background-position: -200% center; }
}

/* =====================================================================
   CERTIFICATES PAGE — showcase card
   ===================================================================== */
.cert-card {
  background: linear-gradient(135deg, var(--ink-900) 0%, #1b1d35 100%);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  padding: 2.5rem;
  color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 60px -20px rgba(15,23,42,.4);
  transition: transform .2s, box-shadow .2s;
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 80px -20px rgba(15,23,42,.5);
}
.cert-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(400px 300px at 80% 20%, rgba(124,58,237,.35), transparent 55%),
    radial-gradient(300px 250px at 10% 80%, rgba(236,72,153,.25), transparent 55%);
  pointer-events: none;
}
.cert-card > * { position: relative; z-index: 1; }
.cert-card__seal {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: conic-gradient(from 220deg, var(--brand-2), var(--brand-3), var(--brand-4), var(--brand-1));
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--display); font-size: 1.6rem; font-weight: 700;
  box-shadow: 0 12px 30px -8px rgba(124,58,237,.6);
  margin-bottom: 1.5rem;
}
.cert-card__title {
  font-family: var(--display); font-weight: 600; font-size: 1.8rem;
  letter-spacing: -.02em; line-height: 1.2;
  color: #fff; margin: 0 0 .5rem;
}
.cert-card__course {
  font-size: 1rem; color: rgba(255,255,255,.7);
  margin: 0 0 1.5rem;
}
.cert-card__meta {
  display: flex; gap: 2rem; flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(255,255,255,.12);
  font-family: var(--mono); font-size: .78rem;
  color: rgba(255,255,255,.55);
}
.cert-card__meta strong { color: #fff; display: block; font-size: .92rem; margin-bottom: .2rem; }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 1.5rem;
}
.cert-empty {
  text-align: center; padding: 5rem 2rem;
  background: #fff; border: 1px dashed var(--line-soft);
  border-radius: 20px;
}
.cert-empty__icon {
  width: 80px; height: 80px; border-radius: 20px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  display: grid; place-items: center;
  color: #fff; font-size: 2rem;
  margin: 0 auto 1.2rem;
  box-shadow: 0 20px 40px -14px rgba(124,58,237,.5);
}

/* =====================================================================
   ENHANCED PROGRESS PAGE — progress bar animation
   ===================================================================== */
.progress-bar span {
  transition: width .6s cubic-bezier(.25, .46, .45, .94);
}
.progress-course-card {
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.progress-course-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px -25px rgba(15,23,42,.18);
}
/* Progress ring accent on left border */
.progress-course-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand-2), var(--brand-3));
  border-radius: 4px 0 0 4px;
}

/* Lesson status icons */
.progress-lesson--done a { color: var(--ink-900); }
.progress-lesson--done .progress-lesson__icon { color: var(--brand-5); font-weight: 700; }
.progress-lesson--in-progress .progress-lesson__icon { color: var(--brand-4); }
.progress-lesson--not-started .progress-lesson__icon { color: var(--paper-2); }

/* Enhanced module summary */
.progress-module > summary {
  font-family: var(--display); font-weight: 600;
}

/* =====================================================================
   HOME NUMBERS — enhanced counter entrance
   ===================================================================== */
@keyframes count-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.home-numbers__cell {
  animation: count-up .5s ease-out both;
}
.home-numbers__cell:nth-child(2) { animation-delay: .1s; }
.home-numbers__cell:nth-child(3) { animation-delay: .2s; }
.home-numbers__cell:nth-child(4) { animation-delay: .3s; }

/* =====================================================================
   NAVIGATION — enhanced mobile menu
   ===================================================================== */
@media (max-width: 780px) {
  .ax-nav__toggle {
    display: inline-flex;
    background: var(--paper);
    border-radius: var(--r-sm);
    width: 40px; height: 40px;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
  }
  .ab-meet__grid { grid-template-columns: 1fr; gap: 2rem; }
  .ab-meet__portrait { aspect-ratio: 1; max-width: 280px; margin: 0 auto; }
  .ab-meet__stats { grid-template-columns: repeat(2, 1fr); }
  .ab-meet__products { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   SMOOTH PAGE ENTRY ANIMATION — all sections
   ===================================================================== */
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.home-stage, .cat-hero, .crs-hero, .ab-hero,
.dash-hero2, .page-hdr, .auth-split {
  animation: page-fade-in .4s ease-out both;
}


/* =====================================================================
   GLOBAL SCROLL REVEAL UTILITY
   ===================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease-out, transform .5s ease-out;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================================
   PAGE HEADER — shared component for forum/category, profile, etc.
   ===================================================================== */
.page-hdr {
  background: linear-gradient(135deg, var(--ink-900) 0%, #0d0f23 100%);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 3rem 0 2.5rem;
}
.page-hdr__back {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--mono);
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .15s;
  margin-bottom: 1.2rem;
}
.page-hdr__back:hover { color: rgba(255,255,255,.8); }
.page-hdr__row {
  display: flex; align-items: center;
  gap: 1.5rem; justify-content: space-between; flex-wrap: wrap;
}
.page-hdr__kicker {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-2); font-weight: 600;
  margin-bottom: .5rem;
}
.page-hdr__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -.025em; line-height: 1.1;
  color: #fff; margin: 0 0 .5rem;
}
.page-hdr__sub {
  color: rgba(255,255,255,.55); font-size: 1rem;
  margin: 0; line-height: 1.5; max-width: 60ch;
}
.page-hdr__actions {
  display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem;
}

/* =====================================================================
   PAGE BODY — generic light section wrapper
   ===================================================================== */
.page-body {
  padding: 2.5rem 0 4rem;
  background: var(--paper);
  min-height: 60vh;
}

/* =====================================================================
   BATCH DASHBOARD — page-batch
   ===================================================================== */

/* ── Hero ─────────────────────────────────────────────────────────── */
.batch-hero {
  background: #07070f;
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.batch-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 88% 50%, rgba(124,58,237,.16), transparent),
    radial-gradient(ellipse 35% 55% at 5% 85%, rgba(67,97,238,.12), transparent);
  pointer-events: none;
}
.batch-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.batch-hero__layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  position: relative; z-index: 1;
}
@media (max-width: 800px) {
  .batch-hero__layout { grid-template-columns: 1fr; }
}
.batch-hero__kicker {
  font-family: var(--mono); font-size: .67rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand-2); font-weight: 700;
  margin-bottom: .7rem;
  display: flex; align-items: center; gap: .55rem;
}
.batch-hero__kicker::before {
  content: "";
  display: inline-block; width: 18px; height: 2px;
  background: var(--brand-2); border-radius: 1px; flex-shrink: 0;
}
.batch-hero__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.8rem);
  letter-spacing: -.03em; line-height: 1.06;
  color: #fff; margin: 0 0 1rem;
}
.batch-hero__chips {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin-bottom: 1.9rem;
}
.batch-chip {
  display: inline-flex; align-items: center;
  padding: .3rem .8rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  font-family: var(--mono); font-size: .73rem;
  color: rgba(255,255,255,.85); letter-spacing: .02em;
}
.batch-chip--dim {
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.45);
  border-color: rgba(255,255,255,.07);
}
.batch-hero__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.batch-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1.15rem;
  border-radius: 10px;
  font-size: .84rem; font-weight: 600;
  text-decoration: none; border: 1px solid transparent;
  transition: opacity .15s, transform .1s, box-shadow .15s;
}
.batch-cta:hover { opacity: .88; transform: translateY(-1px); }
.batch-cta--wa {
  background: #25D366; color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,.28);
}
.batch-cta--tg {
  background: #229ED9; color: #fff;
  box-shadow: 0 4px 16px rgba(34,158,217,.28);
}
.batch-cta--outline {
  background: transparent;
  border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
}
.batch-cta--outline:hover {
  border-color: rgba(255,255,255,.4);
  color: #fff; opacity: 1;
}

/* Stats panel (hero right) */
.batch-hero__stats {
  display: flex; gap: 2rem; align-items: flex-end;
  padding: 1.5rem 2rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; flex-shrink: 0;
}
.batch-stat { text-align: center; }
.batch-stat__n {
  display: block;
  font-family: var(--display); font-weight: 600;
  font-size: 2.6rem; line-height: 1;
  color: #fff; letter-spacing: -.04em; margin-bottom: .22rem;
}
.batch-stat__l {
  font-family: var(--mono); font-size: .63rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.38); white-space: nowrap;
}

/* ── Body layout ──────────────────────────────────────────────────── */
.batch-body {
  background: var(--paper);
  padding: 2.5rem 0 5rem;
  min-height: 60vh;
}
.batch-grid {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 1.75rem;
  align-items: start;
}
@media (max-width: 960px) {
  .batch-grid { grid-template-columns: 1fr; }
}
.batch-main { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }

/* ── Next live session ────────────────────────────────────────────── */
.batch-live {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  overflow: hidden;
  border-left-width: 4px;
  border-left-style: solid;
}
.batch-live--live     { border-left-color: #22c55e; }
.batch-live--soon     { border-left-color: #f59e0b; }
.batch-live--upcoming { border-left-color: var(--brand-1); }

.batch-live__hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 1.5rem;
  border-bottom: 1px solid var(--line-soft);
  background: #fafafa;
}
.batch-live__badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--mono); font-size: .67rem;
  letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; padding: .22rem .65rem;
  border-radius: 100px; border: 1px solid;
}
.batch-live__badge--live     { background: rgba(34,197,94,.1);  color: #16a34a; border-color: rgba(34,197,94,.25); }
.batch-live__badge--soon     { background: rgba(245,158,11,.1); color: #d97706; border-color: rgba(245,158,11,.25); }
.batch-live__badge--upcoming { background: rgba(67,97,238,.1);  color: var(--brand-1); border-color: rgba(67,97,238,.2); }
.batch-live__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; flex-shrink: 0;
  animation: dot-pulse 1.5s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}
.batch-live__eta {
  font-family: var(--mono); font-size: .74rem; color: var(--ink-500);
}
.batch-live__body {
  display: grid;
  grid-template-columns: auto 1fr;
}
@media (max-width: 620px) {
  .batch-live__body { grid-template-columns: 1fr; }
}
.batch-live__time {
  padding: 1.6rem 1.6rem 1.6rem 1.5rem;
  border-right: 1px solid var(--line-soft);
  min-width: 175px;
  background: #fafafa;
  display: flex; flex-direction: column; justify-content: center;
}
.batch-live__time-day {
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-500); margin-bottom: .3rem;
}
.batch-live__time-date {
  font-family: var(--display); font-weight: 600;
  font-size: 1rem; color: var(--ink-900);
  line-height: 1.35; margin-bottom: .55rem;
  letter-spacing: -.01em;
}
.batch-live__time-dur {
  display: inline-block;
  font-family: var(--mono); font-size: .68rem; color: var(--ink-500);
  background: var(--line-soft);
  padding: .15rem .5rem; border-radius: 4px;
}
.batch-live__content { padding: 1.5rem; }
.batch-live__title {
  font-family: var(--display); font-weight: 600;
  font-size: 1.45rem; letter-spacing: -.02em;
  color: var(--ink-900); margin: 0 0 .6rem; line-height: 1.25;
}
.batch-live__desc {
  font-size: .92rem; color: var(--ink-500);
  line-height: 1.65; margin: 0 0 1.1rem;
}
.batch-live__actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.batch-live__join {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.3rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff; font-weight: 600; font-size: .87rem;
  border-radius: 10px; text-decoration: none;
  box-shadow: 0 4px 16px rgba(34,197,94,.35);
  animation: join-pulse 2.5s ease-in-out infinite;
  transition: transform .1s;
}
.batch-live__join:hover { transform: translateY(-1px); }
@keyframes join-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(34,197,94,.35); }
  50%       { box-shadow: 0 6px 24px rgba(34,197,94,.55); }
}
.batch-live__note {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--mono); font-size: .77rem; color: var(--ink-500);
}

/* ── Recording player ─────────────────────────────────────────────── */
.batch-player {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 20px; overflow: hidden;
}
.batch-player__stage {
  position: relative; padding-bottom: 56.25%;
  background: #06060f;
}
.batch-player__stage iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.batch-player__unavail {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .6rem;
  color: rgba(255,255,255,.3);
  font-family: var(--mono); font-size: .82rem; text-align: center; padding: 2rem;
}
.batch-player__info { padding: 1.25rem 1.5rem; }
.batch-player__now {
  font-family: var(--mono); font-size: .64rem;
  letter-spacing: .15em; text-transform: uppercase;
  font-weight: 700; color: var(--brand-2); margin-bottom: .4rem;
}
.batch-player__title {
  font-family: var(--display); font-weight: 600;
  font-size: 1.2rem; color: var(--ink-900);
  margin: 0 0 .35rem; letter-spacing: -.015em;
}
.batch-player__meta {
  font-family: var(--mono); font-size: .74rem;
  color: var(--ink-500); margin-bottom: .6rem;
}
.batch-player__desc {
  font-size: .9rem; color: var(--ink-700); line-height: 1.6; margin: 0;
}

/* ── Recordings library ───────────────────────────────────────────── */
.batch-recordings {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 20px; overflow: hidden;
}
.batch-recordings__hd {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--line-soft);
}
.batch-recordings__title {
  font-family: var(--display); font-weight: 600;
  font-size: 1.1rem; color: var(--ink-900); margin: 0 0 .15rem;
}
.batch-recordings__sub {
  font-family: var(--mono); font-size: .69rem;
  color: var(--ink-500); margin: 0;
}
.batch-recordings__badge {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--paper); border: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: .78rem; font-weight: 700;
  color: var(--ink-700); flex-shrink: 0;
}
.batch-recordings__empty {
  display: flex; flex-direction: column; align-items: center;
  padding: 3rem 1.5rem; text-align: center;
  color: var(--ink-500); font-size: .9rem; line-height: 1.6;
}
.batch-recordings__empty p { margin: .75rem 0 0; max-width: 320px; }
.batch-recordings__list { list-style: none; margin: 0; padding: 0; }
.batch-rec {
  display: flex; align-items: center; gap: 1rem;
  padding: .9rem 1.5rem;
  border-bottom: 1px solid var(--line-soft);
  transition: background .12s;
}
.batch-rec:last-child { border-bottom: none; }
.batch-rec:not(.batch-rec--active):hover { background: var(--paper); }
.batch-rec--active { background: rgba(124,58,237,.04); }
.batch-rec__play {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line-soft);
  color: var(--ink-500);
  transition: border-color .15s, background .15s, color .15s;
}
.batch-rec--active .batch-rec__play {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  border-color: transparent; color: #fff;
}
.batch-rec:not(.batch-rec--active):hover .batch-rec__play {
  border-color: var(--brand-1); color: var(--brand-1);
}
.batch-rec__body { flex: 1; min-width: 0; }
.batch-rec__title {
  font-size: .92rem; font-weight: 600; color: var(--ink-900);
  margin-bottom: .18rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.batch-rec--active .batch-rec__title { color: var(--brand-2); }
.batch-rec__meta { font-family: var(--mono); font-size: .7rem; color: var(--ink-500); }
.batch-rec__action { flex-shrink: 0; }
.batch-rec__btn {
  display: inline-block;
  padding: .28rem .75rem;
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: 8px; font-size: .8rem; font-weight: 600;
  color: var(--ink-700); text-decoration: none;
  transition: border-color .12s, color .12s, background .12s;
}
.batch-rec__btn:hover {
  border-color: var(--brand-1); color: var(--brand-1);
  background: rgba(67,97,238,.06);
}
.batch-rec__playing {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--mono); font-size: .67rem; letter-spacing: .08em;
  text-transform: uppercase; font-weight: 700; color: var(--brand-2);
}
.batch-rec__eq {
  display: inline-flex; align-items: flex-end; gap: 2px; height: 12px;
}
.batch-rec__eq span {
  display: block; width: 3px; border-radius: 2px;
  background: var(--brand-2);
  animation: eq-bar .9s ease-in-out infinite alternate;
}
.batch-rec__eq span:nth-child(1) { animation-delay: 0s; }
.batch-rec__eq span:nth-child(2) { animation-delay: .22s; }
.batch-rec__eq span:nth-child(3) { animation-delay: .44s; }
@keyframes eq-bar {
  0%   { height: 3px; }
  100% { height: 12px; }
}

/* ── Sidebar ──────────────────────────────────────────────────────── */
.batch-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.batch-sidebar-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 20px; overflow: hidden;
}
.batch-sidebar-card__hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line-soft);
}
.batch-sidebar-card__title {
  font-family: var(--display); font-weight: 600;
  font-size: .95rem; color: var(--ink-900); margin: 0;
}
.batch-sidebar-card__count {
  display: flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 .4rem;
  border-radius: 6px;
  background: var(--paper); border: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: .7rem; font-weight: 700;
  color: var(--ink-500);
}
.batch-sidebar-card__list { list-style: none; margin: 0; padding: 0; }
.batch-sidebar-card__empty {
  padding: 1.25rem;
  font-family: var(--mono); font-size: .79rem; color: var(--ink-500); margin: 0;
}

/* Calendar-style upcoming sessions */
.batch-sched {
  display: flex; align-items: center; gap: .9rem;
  padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--line-soft);
  transition: background .12s;
}
.batch-sched:last-child { border-bottom: none; }
.batch-sched:hover { background: var(--paper); }
.batch-sched__cal {
  display: flex; flex-direction: column; align-items: center;
  width: 44px; flex-shrink: 0;
  background: rgba(67,97,238,.07);
  border: 1px solid rgba(67,97,238,.15);
  border-radius: 10px; padding: .3rem .25rem;
}
.batch-sched__cal-day {
  font-family: var(--mono); font-size: .58rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-1); font-weight: 700; line-height: 1;
  margin-bottom: .12rem;
}
.batch-sched__cal-num {
  font-family: var(--display); font-weight: 700;
  font-size: 1.45rem; color: var(--ink-900); line-height: 1;
  letter-spacing: -.03em;
}
.batch-sched__info { flex: 1; min-width: 0; }
.batch-sched__title {
  font-size: .88rem; font-weight: 600; color: var(--ink-900);
  margin-bottom: .18rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.batch-sched__time {
  font-family: var(--mono); font-size: .7rem; color: var(--ink-500);
}

/* Past sessions sidebar */
.batch-past {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .75rem 1.25rem;
  border-bottom: 1px solid var(--line-soft);
}
.batch-past:last-child { border-bottom: none; }
.batch-past__info { flex: 1; min-width: 0; }
.batch-past__title {
  font-size: .85rem; font-weight: 600; color: var(--ink-700);
  margin-bottom: .1rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.batch-past__date { font-family: var(--mono); font-size: .68rem; color: var(--ink-500); }
.batch-past__watch {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0;
  background: rgba(124,58,237,.08); border: 1px solid rgba(124,58,237,.18);
  color: var(--brand-2); text-decoration: none;
  transition: background .12s, border-color .12s, color .12s;
}
.batch-past__watch:hover {
  background: var(--brand-2); color: #fff; border-color: var(--brand-2);
}
.batch-past__status {
  font-family: var(--mono); font-size: .67rem;
  color: var(--ink-500); font-style: italic; flex-shrink: 0;
}
.batch-past__status--cancelled { color: #ef4444; font-style: normal; }

/* =====================================================================
   COHORT PLAYER LAYOUT — bch-* classes (batch.php redesign)
   ===================================================================== */

/* ── Top bar ──────────────────────────────────────────────────── */
.bch-top {
  background: var(--ink-900);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: .6rem 0;
  position: sticky; top: 0; z-index: 90;
}
.bch-top__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.bch-top__left {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; min-width: 0;
}
.bch-top__back {
  color: rgba(255,255,255,.5); text-decoration: none;
  font-family: var(--mono); font-size: .75rem;
  transition: color .15s; white-space: nowrap;
}
.bch-top__back:hover { color: #fff; }
.bch-top__sep { color: rgba(255,255,255,.2); font-size: .75rem; }
.bch-top__course {
  color: rgba(255,255,255,.7); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px;
}
.bch-top__batch {
  display: inline-flex; align-items: center;
  padding: .2rem .6rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px; color: rgba(255,255,255,.8);
  font-family: var(--mono); font-size: .7rem; white-space: nowrap;
}
.bch-top__right {
  display: flex; align-items: center; gap: .6rem; flex-shrink: 0; flex-wrap: wrap;
}
.bch-top__link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 500; text-decoration: none;
  color: rgba(255,255,255,.55); padding: .3rem .65rem;
  border-radius: 7px; border: 1px solid transparent;
  transition: color .12s, background .12s;
}
.bch-top__link:hover { color: #fff; background: rgba(255,255,255,.07); }
.bch-top__link--wa { color: #4ade80; }
.bch-top__link--wa:hover { background: rgba(74,222,128,.1); }
.bch-top__link--tg { color: #60c8f5; }
.bch-top__link--tg:hover { background: rgba(96,200,245,.1); }
.bch-top__link--admin { border-color: rgba(255,255,255,.12); }

/* ── Split layout ─────────────────────────────────────────────── */
.bch-split {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: calc(100vh - 105px);
  background: var(--paper);
}
@media (max-width: 880px) {
  .bch-split { grid-template-columns: 1fr; }
}

/* ── Sidebar ──────────────────────────────────────────────────── */
.bch-sidebar {
  background: #fff;
  border-right: 1px solid var(--line-soft);
  overflow-y: auto;
  position: sticky; top: 45px;
  max-height: calc(100vh - 45px);
}
.bch-sb-section {
  border-bottom: 1px solid var(--line-soft);
  padding: 0 0 .5rem;
}
.bch-sb-section:last-child { border-bottom: none; }
.bch-sb-section__hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem .4rem;
}
.bch-sb-section__title {
  font-family: var(--mono); font-size: .65rem;
  letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; color: var(--ink-500);
}
.bch-sb-section__count {
  font-family: var(--mono); font-size: .68rem; font-weight: 700;
  color: var(--ink-500); background: var(--paper);
  padding: .1rem .4rem; border-radius: 4px;
  border: 1px solid var(--line-soft);
}
.bch-sb-empty {
  font-family: var(--mono); font-size: .78rem; color: var(--ink-500);
  padding: .4rem 1rem .75rem; margin: 0;
}

/* Live session mini-card in sidebar */
.bch-sb-live {
  margin: 0 .75rem .5rem;
  border-radius: 12px; padding: .85rem;
  border-left: 3px solid var(--brand-1);
  background: rgba(67,97,238,.04); border: 1px solid rgba(67,97,238,.12);
  border-left-width: 3px; border-left-style: solid;
}
.bch-sb-live--live { border-color: rgba(34,197,94,.2); border-left-color: #22c55e; background: rgba(34,197,94,.04); }
.bch-sb-live--soon { border-color: rgba(245,158,11,.2); border-left-color: #f59e0b; background: rgba(245,158,11,.04); }
.bch-sb-live--upcoming { border-color: rgba(67,97,238,.15); border-left-color: var(--brand-1); }
.bch-sb-live__badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 700; color: var(--brand-1);
  margin-bottom: .3rem;
}
.bch-sb-live--live .bch-sb-live__badge { color: #16a34a; }
.bch-sb-live--soon .bch-sb-live__badge { color: #d97706; }
.bch-sb-live__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e; animation: dot-pulse 1.5s ease-in-out infinite;
}
.bch-sb-live__title {
  font-size: .85rem; font-weight: 600; color: var(--ink-900);
  margin-bottom: .25rem; line-height: 1.35;
}
.bch-sb-live__time {
  font-family: var(--mono); font-size: .7rem; color: var(--ink-500);
  margin-bottom: .55rem;
  display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
}
.bch-sb-live__eta {
  background: rgba(67,97,238,.1); color: var(--brand-1);
  border-radius: 4px; padding: .08rem .35rem; font-size: .65rem; font-weight: 700;
}
.bch-sb-live__join {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .8rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff; font-size: .78rem; font-weight: 600;
  border-radius: 7px; text-decoration: none;
  box-shadow: 0 2px 8px rgba(34,197,94,.3);
}
.bch-sb-live__note {
  font-family: var(--mono); font-size: .68rem; color: var(--ink-500);
}
.bch-sb-upcoming {
  list-style: none; margin: 0; padding: 0 .75rem .25rem;
}
.bch-sb-upcoming__item {
  display: flex; flex-direction: column;
  padding: .35rem 0;
  border-top: 1px solid var(--line-soft);
}
.bch-sb-upcoming__day {
  font-family: var(--mono); font-size: .65rem; color: var(--ink-500);
  margin-bottom: .1rem;
}
.bch-sb-upcoming__title {
  font-size: .8rem; font-weight: 600; color: var(--ink-700);
}

/* Content outline list */
.bch-sb-list { list-style: none; margin: 0; padding: 0 .5rem .5rem; }
.bch-sb-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .65rem;
  border-radius: 8px; text-decoration: none;
  color: var(--ink-700); font-size: .84rem;
  transition: background .12s, color .12s;
  min-width: 0;
}
.bch-sb-item:hover { background: var(--paper); color: var(--ink-900); }
.bch-sb-item--active {
  background: rgba(124,58,237,.08);
  color: var(--brand-2); font-weight: 600;
}
.bch-sb-item--active:hover { background: rgba(124,58,237,.1); }
.bch-sb-item__icon {
  width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line-soft);
  color: var(--ink-500);
  transition: background .12s, border-color .12s, color .12s;
}
.bch-sb-item--active .bch-sb-item__icon {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  border-color: transparent; color: #fff;
}
.bch-sb-item__label {
  flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bch-sb-item__dur {
  font-family: var(--mono); font-size: .65rem; color: var(--ink-500);
  flex-shrink: 0; margin-left: auto;
}
.bch-sb-item--active .bch-sb-item__dur { color: var(--brand-2); opacity: .7; }

/* ── Main content area ────────────────────────────────────────── */
.bch-main {
  min-width: 0;
  background: var(--paper);
}

/* Recording player */
.bch-player { background: #fff; border-bottom: 1px solid var(--line-soft); }
.bch-player__stage {
  position: relative; padding-bottom: 56.25%;
  background: #06060f;
}
.bch-player__stage iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.bch-player__unavail {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .6rem; color: rgba(255,255,255,.3);
  font-family: var(--mono); font-size: .82rem; text-align: center; padding: 2rem;
}
.bch-player__info { padding: 1.5rem 2rem 1.25rem; }
.bch-player__kicker {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .15em;
  text-transform: uppercase; font-weight: 700; color: var(--brand-2); margin-bottom: .4rem;
}
.bch-player__title {
  font-family: var(--display); font-weight: 600;
  font-size: 1.6rem; color: var(--ink-900);
  margin: 0 0 .45rem; letter-spacing: -.02em; line-height: 1.2;
}
.bch-player__meta {
  font-family: var(--mono); font-size: .78rem;
  color: var(--ink-500); margin-bottom: .6rem;
}
.bch-player__desc {
  font-size: .93rem; color: var(--ink-700); line-height: 1.65; margin: .5rem 0 0;
}
.bch-player__actions { margin-top: 1rem; }
.bch-player__dl {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem 1rem;
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: 8px; font-size: .84rem; font-weight: 600;
  color: var(--ink-700); text-decoration: none;
  transition: border-color .12s, color .12s;
}
.bch-player__dl:hover { border-color: var(--brand-2); color: var(--brand-2); }
.bch-player__nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  border-top: 1px solid var(--line-soft);
  gap: 1rem;
}
.bch-player__nav-btn {
  font-size: .84rem; font-weight: 600; color: var(--ink-500);
  text-decoration: none; transition: color .12s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 45%;
}
.bch-player__nav-btn:hover { color: var(--brand-2); }
.bch-player__nav-btn--next { margin-left: auto; text-align: right; }

/* Text lesson */
.bch-lesson {
  max-width: 780px; padding: 2.5rem 2.5rem 4rem;
}
.bch-lesson__hd { margin-bottom: 2rem; }
.bch-lesson__kicker {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .15em;
  text-transform: uppercase; font-weight: 700; color: var(--brand-2); margin-bottom: .4rem;
}
.bch-lesson__title {
  font-family: var(--display); font-weight: 600;
  font-size: 2rem; color: var(--ink-900);
  margin: 0; letter-spacing: -.025em; line-height: 1.15;
}
.bch-lesson__body.prose {
  font-size: 1rem; line-height: 1.75; color: var(--ink-700);
}
.bch-lesson__body.prose h1,.bch-lesson__body.prose h2,.bch-lesson__body.prose h3 {
  font-family: var(--display); color: var(--ink-900); letter-spacing: -.02em;
  margin: 2rem 0 .75rem;
}
.bch-lesson__body.prose h2 { font-size: 1.4rem; }
.bch-lesson__body.prose h3 { font-size: 1.15rem; }
.bch-lesson__body.prose p { margin: 0 0 1.1rem; }
.bch-lesson__body.prose ul,.bch-lesson__body.prose ol { padding-left: 1.5rem; margin: 0 0 1.1rem; }
.bch-lesson__body.prose li { margin-bottom: .35rem; }
.bch-lesson__body.prose code {
  font-family: var(--mono); font-size: .85em;
  background: var(--paper); padding: .15rem .4rem;
  border-radius: 4px; border: 1px solid var(--line-soft);
}
.bch-lesson__body.prose pre {
  background: var(--ink-900); color: #e2e8f0;
  padding: 1.25rem 1.5rem; border-radius: 10px;
  overflow-x: auto; font-family: var(--mono); font-size: .85rem;
  line-height: 1.6; margin: 0 0 1.25rem;
}
.bch-lesson__body.prose pre code { background: none; border: none; padding: 0; }
.bch-lesson__body.prose blockquote {
  border-left: 3px solid var(--brand-2);
  padding: .75rem 1.25rem; margin: 0 0 1.25rem;
  background: rgba(124,58,237,.04); border-radius: 0 8px 8px 0;
  color: var(--ink-500);
}
.bch-lesson__body.prose a { color: var(--brand-2); text-decoration: underline; }
.bch-lesson__body.prose img { max-width: 100%; border-radius: 10px; }
.bch-lesson__body.prose hr { border: none; border-top: 1px solid var(--line-soft); margin: 2rem 0; }
.bch-lesson__body.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.25rem; }
.bch-lesson__body.prose th,.bch-lesson__body.prose td {
  padding: .6rem .9rem; text-align: left;
  border: 1px solid var(--line-soft); font-size: .9rem;
}
.bch-lesson__body.prose th { background: var(--paper); font-weight: 600; }

/* Resource download card */
.bch-resource {
  display: flex; flex-direction: column; align-items: flex-start;
  max-width: 540px; padding: 3rem 2.5rem;
}
.bch-resource__icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: rgba(124,58,237,.08); border: 1px solid rgba(124,58,237,.15);
  display: grid; place-items: center; color: var(--brand-2);
  margin-bottom: 1.25rem;
}
.bch-resource__kicker {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .15em;
  text-transform: uppercase; font-weight: 700; color: var(--brand-2); margin-bottom: .4rem;
}
.bch-resource__title {
  font-family: var(--display); font-weight: 600;
  font-size: 1.8rem; color: var(--ink-900);
  margin: 0 0 .6rem; letter-spacing: -.02em;
}
.bch-resource__desc { font-size: .93rem; color: var(--ink-500); line-height: 1.6; margin: 0 0 1rem; }
.bch-resource__meta {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .75rem; color: var(--ink-500);
  margin-bottom: 1.5rem;
}
.bch-resource__dl {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.5rem;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff; font-weight: 600; font-size: .93rem;
  border-radius: 12px; text-decoration: none;
  box-shadow: 0 8px 24px rgba(124,58,237,.3);
  transition: transform .15s, box-shadow .2s, filter .15s;
}
.bch-resource__dl:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(124,58,237,.5);
  filter: brightness(1.18) saturate(1.1);
  color: #fff;
}

/* Welcome / default view */
.bch-welcome {
  padding: 2.5rem;
  max-width: 860px;
}
.bch-welcome__hd { margin-bottom: 2rem; }
.bch-welcome__kicker {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 700; color: var(--brand-2);
  display: flex; align-items: center; gap: .5rem; margin-bottom: .6rem;
}
.bch-welcome__kicker::before {
  content: ""; display: inline-block; width: 14px; height: 2px;
  background: var(--brand-2); border-radius: 1px;
}
.bch-welcome__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -.03em;
  color: var(--ink-900); margin: 0 0 .5rem; line-height: 1.1;
}
.bch-welcome__batch {
  font-family: var(--mono); font-size: .85rem; color: var(--ink-500);
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
}
.bch-welcome__dates { color: var(--ink-500); }
.bch-welcome__stats {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 2rem; padding: 1.25rem 1.5rem;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: 16px;
}
.bch-welcome__stat { text-align: center; min-width: 60px; }
.bch-welcome__stat-n {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: 2rem; color: var(--ink-900); letter-spacing: -.04em; line-height: 1;
  margin-bottom: .2rem;
}
.bch-welcome__stat-l {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-500);
}
.bch-welcome__next { margin-bottom: 2rem; }
.bch-welcome__ctas { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.bch-welcome__cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.25rem;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff; font-weight: 600; font-size: .9rem;
  border-radius: 10px; text-decoration: none;
  box-shadow: 0 4px 16px rgba(124,58,237,.25);
  transition: transform .15s, box-shadow .2s, filter .15s;
}
.bch-welcome__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(124,58,237,.45);
  filter: brightness(1.18) saturate(1.1);
  color: #fff;
}
.bch-welcome__cta--ghost {
  background: #fff; color: var(--ink-700);
  border: 1px solid var(--line-soft);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.bch-welcome__cta--ghost:hover { border-color: var(--brand-2); color: var(--brand-2); box-shadow: none; }

/* Phase 5 — cohort meta + attendance */
.bch-welcome__cohort-meta {
  display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.1rem;
}
.bch-welcome__cohort-pill {
  display: inline-block; padding: .25rem .65rem; border-radius: 20px;
  background: var(--surface-2, #f3f4f6); color: var(--ink-600);
  font-size: .78rem; font-weight: 500; border: 1px solid var(--border);
}
.bch-welcome__attend-bar { margin-top: 1.1rem; }

/* Past-session sidebar items */
.bch-sb-item--past {
  display: flex; align-items: center; padding: .45rem .75rem .45rem .5rem;
  gap: .45rem; width: 100%;
}
.bch-sb-attend-state {
  font-size: .9rem; width: 1rem; text-align: center; flex-shrink: 0;
  color: var(--ink-400); transition: color .15s;
}
.bch-sb-attend-state--on { color: var(--green, #22c55e); }
.bch-sb-attend-btn {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--border); background: transparent;
  cursor: pointer; font-size: .8rem; line-height: 1; color: var(--ink-500);
  display: grid; place-items: center; transition: border-color .15s, background .15s, color .15s;
  padding: 0;
}
.bch-sb-attend-btn:hover { border-color: var(--green, #22c55e); color: var(--green, #22c55e); }
.bch-sb-attend-btn--on {
  background: var(--green, #22c55e); border-color: var(--green, #22c55e); color: #fff;
}
.bch-sb-attend-btn--on:hover { background: #16a34a; border-color: #16a34a; }

@media (max-width: 880px) {
  .bch-sidebar { position: static; max-height: none; border-right: none; border-bottom: 1px solid var(--line-soft); }
  .bch-player__info { padding: 1.25rem 1.25rem 1rem; }
  .bch-lesson { padding: 1.5rem 1.25rem 3rem; }
  .bch-resource { padding: 1.5rem 1.25rem; }
  .bch-welcome { padding: 1.5rem; }
}

/* =====================================================================
   COMMUNITY / FORUM CATEGORY PAGE — page-forum
   ===================================================================== */
.forum-filter {
  display: flex; align-items: flex-end; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 1.5rem;
}
.forum-filter .form-group { margin-bottom: 0; }
.forum-posts { display: flex; flex-direction: column; gap: .75rem; }
.forum-post-row {
  display: flex; align-items: center; gap: 1.25rem;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 1.1rem 1.5rem;
  text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .12s;
}
.forum-post-row:hover {
  border-color: rgba(67,97,238,.25);
  box-shadow: 0 6px 24px -8px rgba(67,97,238,.12);
  transform: translateY(-1px);
}
.forum-post-row__score {
  display: flex; flex-direction: column; align-items: center;
  gap: .1rem; flex-shrink: 0; min-width: 44px; text-align: center;
}
.forum-post-row__score strong {
  font-family: var(--mono); font-size: 1.05rem; font-weight: 700;
  color: var(--ink-900); line-height: 1;
}
.forum-post-row__score span {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-500);
}
.forum-post-row__body { flex: 1; min-width: 0; }
.forum-post-row__title {
  font-weight: 600; font-size: 1rem; color: var(--ink-900);
  margin-bottom: .25rem; line-height: 1.35;
}
.forum-post-row__meta {
  font-size: .8rem; color: var(--ink-500);
  font-family: var(--mono);
}
.forum-post-row + .forum-post-row { margin-top: 0; }

/* Badge styles */
.badge {
  display: inline-block; padding: .15rem .5rem;
  border-radius: 6px; font-family: var(--mono);
  font-size: .65rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--line-soft); color: var(--ink-500);
  vertical-align: middle; margin-right: .25rem;
}
.badge--brand {
  background: rgba(67,97,238,.12); color: var(--brand-1);
}


/* ============================================================
   Blog
   ============================================================ */
.blog-hero {
  padding: 5rem 0 2rem;
  border-bottom: 1px solid var(--ax-line);
}
.blog-hero__kicker {
  font-family: var(--mono);
  font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ax-brand);
  margin-bottom: .8rem;
}
.blog-hero__title {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 .8rem;
  letter-spacing: -.02em;
}
.blog-hero__lede {
  max-width: 720px;
  font-size: 1.05rem;
  color: var(--ink-500);
  line-height: 1.6;
  margin: 0;
}

.blog-filter {
  border-bottom: 1px solid var(--ax-line);
  padding: 1rem 0;
  position: sticky;
  top: 60px;
  background: var(--ax-bg, #050806);
  z-index: 5;
}
.blog-filter__row {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.blog-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .5rem .9rem;
  border: 1px solid var(--ax-line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-300);
  text-decoration: none;
  transition: all .15s ease;
}
.blog-chip:hover { border-color: var(--ax-brand); color: #fff; }
.blog-chip.is-active {
  background: var(--ax-brand); color: #000; border-color: var(--ax-brand);
}
.blog-chip__count {
  font-size: .7rem; opacity: .7;
}

.blog-grid-wrap { padding: 3rem 0 5rem; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--ax-line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--ax-surface, #0a0f0b);
  transition: transform .2s ease, border-color .2s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--ax-brand);
}
.blog-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(67,97,238,.12), rgba(0,0,0,.5));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.blog-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.blog-card__mark {
  font-family: var(--display);
  font-size: 3rem;
  color: var(--ax-brand);
  opacity: .4;
}
.blog-card__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.7);
  pointer-events: none;
}
.blog-card__tag {
  position: absolute; top: .8rem; left: .8rem;
  padding: .25rem .6rem;
  background: rgba(0,0,0,.7);
  color: #fff;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.blog-card__body { padding: 1.2rem 1.3rem 1.4rem; }
.blog-card__title {
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.25;
  margin: 0 0 .5rem;
  color: #fff;
}
.blog-card__excerpt {
  font-size: .9rem;
  color: var(--ink-500);
  line-height: 1.5;
  margin: 0 0 .8rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__meta {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--ink-500);
  display: flex; gap: .4rem; flex-wrap: wrap;
}

.blog-pager {
  display: flex; gap: 1rem; align-items: center; justify-content: center;
  margin-top: 3rem;
}
.blog-empty {
  text-align: center; padding: 4rem 1rem;
  border: 1px dashed var(--ax-line); border-radius: 10px;
}

/* ============================================================
   Blog post — single page (bp-*)
   ============================================================ */
.bp { color: var(--ink-200, #d4d8d2); }

.bp-hero {
  position: relative;
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--ax-line);
  overflow: hidden;
  isolation: isolate;
}
.bp-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
  filter: blur(6px) saturate(1.1);
  transform: scale(1.05);
  z-index: -2;
}
.bp-hero__overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(149,232,26,.12), transparent 60%),
              linear-gradient(180deg, rgba(5,8,6,.55) 0%, rgba(5,8,6,.95) 80%, var(--ax-bg, #050806) 100%);
  z-index: -1;
}
.bp-hero__inner { max-width: 880px; }
.bp-crumb {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  color: var(--ink-500);
  display: flex; gap: .5rem; flex-wrap: wrap;
}
.bp-crumb a { color: var(--ax-brand); text-decoration: none; }
.bp-crumb a:hover { text-decoration: underline; }

.bp-hero__title {
  font-family: var(--display);
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 1rem;
  color: #fff;
}
.bp-hero__lede {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-300, #b9c2b3);
  margin: 0 0 1.6rem;
  max-width: 720px;
}
.bp-hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem;
  font-size: .92rem;
  color: var(--ink-500);
}
.bp-author { display: inline-flex; align-items: center; gap: .5rem; color: #fff; }
.bp-dot { color: var(--ink-500); opacity: .5; }

/* Two-column layout */
.bp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 3rem;
  padding: 3rem 0 4rem;
}
@media (max-width: 960px) {
  .bp-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

.bp-main { min-width: 0; }

.bp-cover {
  margin: 0 0 2rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ax-line);
  background: #000;
}
.bp-cover img { width: 100%; height: auto; display: block; }

.bp-video {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0 0 2rem;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--ax-line);
}
.bp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.bp-body {
  font-size: 1.1rem;
  line-height: 1.78;
  color: var(--ink-200, #d4d8d2);
  font-family: var(--serif, Georgia, "Iowan Old Style", serif);
}
.bp-body p { margin: 0 0 1.5rem; }
.bp-body p:first-of-type::first-letter {
  font-family: var(--display);
  float: left;
  font-size: 4rem;
  line-height: .9;
  padding: .35rem .6rem 0 0;
  color: var(--ax-brand);
  font-weight: 700;
}
.bp-body strong { color: #fff; font-weight: 700; }
.bp-body h2,
.bp-body h3 {
  font-family: var(--display);
  margin: 2.6rem 0 1rem;
  letter-spacing: -.01em;
  color: #fff;
}
.bp-body h2 { font-size: 1.8rem; }
.bp-body h3 { font-size: 1.35rem; }
.bp-body a {
  color: var(--ax-brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.bp-body ul, .bp-body ol { margin: 0 0 1.5rem; padding-left: 1.4rem; }
.bp-body li { margin-bottom: .5rem; }
.bp-body blockquote {
  margin: 1.6rem 0;
  padding: .4rem 0 .4rem 1.2rem;
  border-left: 3px solid var(--ax-brand);
  color: var(--ink-300);
  font-style: italic;
}
.bp-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 1.4rem 0; }
.bp-body pre,
.bp-body code {
  font-family: var(--mono);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--ax-line);
  padding: .12rem .4rem;
  border-radius: 4px;
  font-size: .9em;
  color: var(--ink-200);
}
.bp-body pre {
  padding: 1rem 1.2rem;
  overflow-x: auto;
  margin: 1.6rem 0;
  border-radius: 8px;
  font-size: .88em;
  line-height: 1.6;
}
.bp-body pre code { background: transparent; border: 0; padding: 0; }

/* Share row */
.bp-share {
  display: flex; gap: .5rem; align-items: center; flex-wrap: wrap;
  margin-top: 3rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--ax-line);
  border-bottom: 1px solid var(--ax-line);
}
.bp-share__label {
  font-family: var(--mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-500);
  margin-right: .4rem;
}
.bp-share__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--ax-line);
  border-radius: 8px;
  background: rgba(255,255,255,.02);
  color: var(--ink-300);
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
}
.bp-share__btn:hover {
  border-color: var(--ax-brand);
  color: var(--ax-brand);
  transform: translateY(-1px);
}
.bp-share__btn.is-copied { color: var(--ax-brand); border-color: var(--ax-brand); }
.bp-share__btn.is-copied::after {
  content: "✓ copied";
  position: absolute; transform: translate(-50%, -160%);
  font-size: .7rem; padding: .2rem .5rem;
  background: var(--ax-brand); color: #000; border-radius: 4px;
  white-space: nowrap;
}

/* Author box */
.bp-authorbox {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-top: 2.4rem;
  padding: 1.5rem;
  border: 1px solid var(--ax-line);
  border-radius: 12px;
  background: rgba(255,255,255,.02);
}
.bp-authorbox__av { width: 52px; height: 52px; font-size: 1.4rem; flex-shrink: 0; }
.bp-authorbox__name { font-weight: 700; color: #fff; margin-bottom: .3rem; }
.bp-authorbox__bio { font-size: .92rem; line-height: 1.55; }

/* ============================================================
   Sidebar widgets
   ============================================================ */
.bp-side { position: relative; }
@media (min-width: 961px) {
  .bp-side {
    position: sticky;
    top: 90px;
    align-self: start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding-right: .5rem;
    scrollbar-width: thin;
  }
  .bp-side::-webkit-scrollbar { width: 6px; }
  .bp-side::-webkit-scrollbar-thumb { background: var(--ax-line); border-radius: 3px; }
}

.bp-widget {
  border: 1px solid var(--ax-line);
  border-radius: 12px;
  padding: 1.4rem;
  margin-bottom: 1.4rem;
  background: rgba(255,255,255,.015);
}
.bp-widget__title {
  font-family: var(--display);
  font-size: 1.05rem;
  margin: 0 0 1rem;
  letter-spacing: -.005em;
  color: #fff;
}
.bp-widget__kicker {
  font-family: var(--mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ax-brand);
  margin-bottom: .8rem;
}

/* CTA widget */
.bp-widget--cta {
  background: linear-gradient(155deg, rgba(149,232,26,.08), rgba(67,97,238,.04) 60%, rgba(255,255,255,.015));
  border-color: rgba(149,232,26,.25);
}
.bp-cta__art {
  margin: 0 -.4rem 1rem;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}
.bp-cta__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-cta__title {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0 0 .35rem;
  color: #fff;
}
.bp-cta__batch {
  font-family: var(--mono);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ax-brand);
  margin-bottom: .7rem;
}
.bp-cta__desc { font-size: .9rem; color: var(--ink-300); line-height: 1.5; margin: 0 0 1rem; }
.bp-cta__meta {
  list-style: none; padding: 0; margin: 0 0 1.2rem;
  border-top: 1px solid var(--ax-line);
}
.bp-cta__meta li {
  display: flex; justify-content: space-between; align-items: center;
  padding: .55rem 0;
  border-bottom: 1px solid var(--ax-line);
  font-size: .85rem;
}
.bp-cta__meta li span { color: var(--ink-500); }
.bp-cta__meta li strong { color: #fff; font-weight: 600; }
.bp-cta__btn { width: 100%; justify-content: center; }

/* Related list */
.bp-related-list { list-style: none; padding: 0; margin: 0; }
.bp-related-list li + li { border-top: 1px solid var(--ax-line); }
.bp-related-item {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: .8rem 0;
  text-decoration: none;
  color: inherit;
  transition: opacity .15s ease;
}
.bp-related-list li:first-child .bp-related-item { padding-top: 0; }
.bp-related-list li:last-child .bp-related-item { padding-bottom: 0; }
.bp-related-item:hover h5 { color: var(--ax-brand); }
.bp-related-item__thumb {
  position: relative;
  width: 70px; height: 50px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(67,97,238,.15), rgba(0,0,0,.5));
  display: flex; align-items: center; justify-content: center;
}
.bp-related-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-related-item__mark {
  font-family: var(--display); font-size: 1.3rem; color: var(--ax-brand); opacity: .5;
}
.bp-related-item__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.7);
}
.bp-related-item__body { min-width: 0; flex: 1; }
.bp-related-item__body h5 {
  font-family: var(--display);
  font-size: .95rem;
  line-height: 1.3;
  margin: 0 0 .25rem;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .15s ease;
}
.bp-related-item__meta {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--ink-500);
  letter-spacing: .04em;
}

/* Categories list */
.bp-cats { list-style: none; padding: 0; margin: 0; }
.bp-cats li + li { margin-top: .15rem; }
.bp-cats__link {
  display: flex; justify-content: space-between; align-items: center;
  padding: .55rem .7rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink-300);
  font-size: .9rem;
  transition: all .15s ease;
}
.bp-cats__link:hover { background: rgba(255,255,255,.04); color: #fff; }
.bp-cats__link.is-active {
  background: rgba(149,232,26,.12);
  color: var(--ax-brand);
  font-weight: 600;
}
.bp-cats__count {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--ink-500);
  background: rgba(255,255,255,.05);
  padding: .15rem .45rem;
  border-radius: 999px;
}
.bp-cats__link.is-active .bp-cats__count {
  background: rgba(149,232,26,.18);
  color: var(--ax-brand);
}

/* Newsletter widget */
.bp-widget--news .bp-news__desc { font-size: .85rem; line-height: 1.5; margin: 0 0 .8rem; }
.bp-news__form { display: flex; flex-direction: column; gap: .5rem; }
.bp-news__form .form-control { font-size: .9rem; padding: .55rem .7rem; }
.bp-news__form .btn { width: 100%; justify-content: center; }

/* "Keep reading" footer section */
.bp-more {
  border-top: 1px solid var(--ax-line);
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.015));
}
.bp-more__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.8rem;
  flex-wrap: wrap; gap: 1rem;
}
.bp-more__head h3 {
  font-family: var(--display);
  font-size: 1.7rem;
  margin: 0;
  letter-spacing: -.01em;
}
