/*
  Accumenbridge AI Training Platform
  Original visual system created for this prototype.
*/

:root {
  --ink: #10130f;
  --ink-2: #171b16;
  --paper: #f5f2e9;
  --paper-2: #ebe7dc;
  --white: #ffffff;
  --lime: #c8ff5a;
  --lime-deep: #91cf24;
  --mint: #aaf2d5;
  --violet: #7c6cf2;
  --violet-soft: #d9d4ff;
  --coral: #ff876d;
  --peach: #ffd2b9;
  --sky: #9ed8ff;
  --yellow: #ffdc62;
  --text: #171a16;
  --muted: #6c7067;
  --line: rgba(16, 19, 15, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --shadow-sm: 0 12px 36px rgba(17, 20, 15, 0.10);
  --shadow-md: 0 24px 80px rgba(17, 20, 15, 0.16);
  --shadow-lg: 0 38px 120px rgba(0, 0, 0, 0.30);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --radius-pill: 999px;
  --container: 1240px;
  --header-h: 82px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
  position: relative;
}
.section-tight { padding: 82px 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-violet { background: var(--violet); color: var(--white); }
.section-lime { background: var(--lime); color: var(--ink); }
.section-paper-2 { background: var(--paper-2); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 460px);
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}
.section-heading.centered {
  display: block;
  max-width: 820px;
  text-align: center;
  margin: 0 auto 52px;
}
.section-heading h2,
.page-title {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 740;
}
.section-heading p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--muted);
}
.section-dark .section-heading p,
.section-violet .section-heading p { color: rgba(255,255,255,.72); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  font-size: .74rem;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 780;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.muted { color: var(--muted); }
.on-dark-muted { color: rgba(255,255,255,.7); }

.btn {
  --btn-bg: var(--ink);
  --btn-color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-color);
  font-weight: 750;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 13px 30px rgba(0,0,0,.16); }
.btn:active { transform: translateY(-1px); }
.btn-lime { --btn-bg: var(--lime); --btn-color: var(--ink); }
.btn-white { --btn-bg: var(--white); --btn-color: var(--ink); }
.btn-violet { --btn-bg: var(--violet); --btn-color: var(--white); }
.btn-ghost {
  --btn-bg: transparent;
  --btn-color: currentColor;
  border-color: currentColor;
}
.btn-small { min-height: 42px; padding-inline: 17px; font-size: .88rem; }
.btn-square { width: 48px; min-height: 48px; padding: 0; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.icon-button:hover { background: rgba(16,19,15,.06); transform: translateY(-2px); }
.section-dark .icon-button { border-color: var(--line-light); }
.section-dark .icon-button:hover { background: rgba(255,255,255,.1); }

.announcement {
  background: var(--lime);
  color: var(--ink);
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .82rem;
  font-weight: 720;
  padding: 8px 44px;
  position: relative;
  z-index: 60;
}
.announcement a { text-decoration: underline; text-underline-offset: 3px; }
.announcement-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.15rem;
}

.site-header {
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 242, 233, .88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: height .3s var(--ease), border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled {
  height: 68px;
  border-color: var(--line);
  box-shadow: 0 10px 34px rgba(16,19,15,.06);
  background: rgba(245, 242, 233, .96);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--ink);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 10px;
  border: 3px solid var(--lime);
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
  left: 7px;
}
.brand-mark::before { bottom: 12px; }
.brand-mark::after { bottom: 5px; opacity: .46; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong {
  font-size: .92rem;
  letter-spacing: .075em;
  font-weight: 850;
}
.brand-copy small {
  margin-top: 5px;
  font-size: .61rem;
  color: var(--muted);
  letter-spacing: .035em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 24px;
}
.primary-nav a {
  position: relative;
  font-size: .9rem;
  font-weight: 680;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--ink);
  transition: right .25s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a.active::after { right: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.header-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  font-weight: 700;
}
.header-search svg { width: 19px; height: 19px; }
.mobile-menu-toggle { display: none; }

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 24px;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.mobile-panel.open { transform: translateX(0); }
.mobile-panel-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-panel .brand-copy small { color: rgba(255,255,255,.55); }
.mobile-panel .brand-mark { background: var(--white); }
.mobile-panel .brand-mark::before,
.mobile-panel .brand-mark::after { border-color: var(--ink); }
.mobile-panel nav { align-self: center; display: grid; gap: 20px; }
.mobile-panel nav a { font-size: clamp(2.2rem, 9vw, 4rem); line-height: 1; font-weight: 720; letter-spacing: -.05em; }
.mobile-panel-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.search-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(16,19,15,.68);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.search-drawer.open { opacity: 1; visibility: visible; }
.search-panel {
  width: min(780px, calc(100% - 28px));
  margin: 90px auto 0;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  transform: translateY(-24px) scale(.98);
  transition: transform .35s var(--ease);
}
.search-drawer.open .search-panel { transform: translateY(0) scale(1); }
.search-panel-head { display: flex; gap: 10px; }
.search-field {
  flex: 1;
  min-height: 60px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: 0 18px;
  font-size: 1.05rem;
}
.search-suggestions { padding: 22px 4px 4px; }
.search-suggestions > span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.suggestion-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.suggestion-grid a { display: flex; justify-content: space-between; padding: 16px; border-radius: 16px; background: var(--paper-2); font-weight: 700; }
.suggestion-grid a:hover { background: var(--lime); }

.hero {
  min-height: calc(100vh - 120px);
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 64px 0 86px;
}
.hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,108,242,.35), rgba(124,108,242,0) 68%);
  top: -260px;
  right: -100px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .07;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(440px, 1.04fr);
  align-items: center;
  gap: 72px;
  position: relative;
  z-index: 2;
}
.hero-copy h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(4rem, 7.7vw, 7.6rem);
  line-height: .86;
  letter-spacing: -.075em;
  font-weight: 770;
}
.hero-copy h1 .accent {
  color: var(--lime);
  display: inline-block;
  position: relative;
}
.hero-copy h1 .accent::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 0;
  bottom: -.04em;
  height: .09em;
  background: var(--coral);
  border-radius: 50%;
  transform: rotate(-1deg);
}
.hero-copy > p {
  max-width: 590px;
  margin: 30px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255,255,255,.74);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  color: rgba(255,255,255,.68);
  font-size: .85rem;
}
.avatar-stack { display: flex; }
.avatar-stack img,
.avatar-stack span {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--ink);
  margin-left: -8px;
}
.avatar-stack img:first-child,
.avatar-stack span:first-child { margin-left: 0; }
.avatar-stack span { background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: .72rem; font-weight: 800; }

.hero-stage {
  min-height: 610px;
  position: relative;
  perspective: 1200px;
}
.hero-photo-card {
  position: absolute;
  width: min(86%, 540px);
  height: 540px;
  right: 4%;
  top: 18px;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(2.5deg);
  isolation: isolate;
}
.hero-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,19,15,.82), transparent 48%);
  z-index: 1;
}
.hero-photo-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-caption {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.hero-photo-caption strong { font-size: 1.35rem; display: block; letter-spacing: -.03em; }
.hero-photo-caption span { font-size: .82rem; color: rgba(255,255,255,.7); }
.play-mini {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  border: 0;
  cursor: pointer;
  flex: 0 0 auto;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}
.play-mini::before { content: ""; width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid currentColor; margin-left: 3px; }

.float-card {
  position: absolute;
  z-index: 4;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}
.lesson-float {
  left: 0;
  top: 110px;
  width: 210px;
  padding: 18px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  transform: rotate(-4deg);
  animation: floatY 5.5s ease-in-out infinite;
}
.lesson-float .mini-label { display: flex; justify-content: space-between; color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.lesson-float h3 { margin: 16px 0 8px; font-size: 1.04rem; line-height: 1.15; }
.lesson-float .progress-line { height: 7px; background: var(--paper-2); border-radius: 10px; overflow: hidden; margin-top: 16px; }
.lesson-float .progress-line i { display: block; width: 72%; height: 100%; background: var(--violet); border-radius: inherit; animation: growBar 1.4s var(--ease) both .6s; }

.confidence-float {
  right: -22px;
  bottom: 36px;
  width: 244px;
  padding: 20px;
  color: var(--white);
  background: rgba(124,108,242,.92);
  transform: rotate(-2deg);
  animation: floatY 6.4s ease-in-out infinite reverse;
}
.confidence-float strong { font-size: 2.35rem; letter-spacing: -.06em; }
.confidence-float p { margin: 4px 0 12px; font-size: .82rem; color: rgba(255,255,255,.78); }
.confidence-chart { height: 54px; display: flex; align-items: end; gap: 7px; }
.confidence-chart i { flex: 1; background: rgba(255,255,255,.28); border-radius: 6px 6px 2px 2px; animation: barPulse 2.8s ease-in-out infinite; transform-origin: bottom; }
.confidence-chart i:nth-child(1) { height: 28%; }
.confidence-chart i:nth-child(2) { height: 42%; animation-delay: .12s; }
.confidence-chart i:nth-child(3) { height: 54%; animation-delay: .24s; }
.confidence-chart i:nth-child(4) { height: 66%; animation-delay: .36s; }
.confidence-chart i:nth-child(5) { height: 88%; animation-delay: .48s; background: var(--lime); }

.orbit {
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  right: -18px;
  top: 4px;
  animation: rotate 18s linear infinite;
}
.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--lime);
  top: 16px;
  left: 18px;
  box-shadow: 0 0 0 8px rgba(200,255,90,.1);
}
.orbit::after { top: auto; left: auto; bottom: 5px; right: 31px; background: var(--coral); box-shadow: 0 0 0 8px rgba(255,135,109,.1); }

.hero-bottom-strip {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54px;
  overflow: hidden;
  background: var(--lime);
  color: var(--ink);
  display: flex;
  align-items: center;
  transform: rotate(-.6deg) scale(1.02);
  transform-origin: center;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 850;
  padding-right: 28px;
}
.marquee-track span::after { content: "✦"; font-size: 1.1rem; }

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.topic-card {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
  background: var(--white);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
  cursor: pointer;
}
.topic-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-md); border-color: transparent; }
.topic-card:nth-child(2) { background: var(--mint); }
.topic-card:nth-child(3) { background: var(--violet-soft); }
.topic-card:nth-child(4) { background: var(--peach); }
.topic-card:nth-child(5) { background: var(--sky); }
.topic-card:nth-child(6) { background: var(--yellow); }
.topic-card:nth-child(7) { background: var(--ink); color: var(--white); }
.topic-card:nth-child(8) { background: var(--lime); }
.topic-card h3 { margin: 0; font-size: 1.35rem; line-height: 1.1; letter-spacing: -.035em; }
.topic-card p { margin: 8px 0 0; font-size: .84rem; line-height: 1.5; color: var(--muted); max-width: 190px; }
.topic-card:nth-child(7) p { color: rgba(255,255,255,.64); }
.topic-card .topic-arrow {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform .3s var(--ease), background .3s ease, color .3s ease;
}
.topic-card:hover .topic-arrow { transform: rotate(45deg); background: var(--ink); color: var(--white); }
.topic-card:nth-child(7):hover .topic-arrow { background: var(--lime); color: var(--ink); }
.topic-visual { position: absolute; inset: auto 18px 18px auto; width: 138px; height: 120px; }
.topic-visual .circle { position: absolute; border-radius: 50%; border: 2px solid currentColor; }
.topic-visual .circle.a { width: 72px; height: 72px; right: 0; bottom: 0; }
.topic-visual .circle.b { width: 48px; height: 48px; left: 12px; top: 10px; background: rgba(255,255,255,.5); }
.topic-visual .line { position: absolute; height: 2px; background: currentColor; transform-origin: left; }
.topic-visual .line.a { width: 86px; left: 18px; top: 55px; transform: rotate(25deg); }
.topic-visual .line.b { width: 62px; left: 44px; top: 32px; transform: rotate(-30deg); }
.topic-visual .dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 7px rgba(255,255,255,.35); }
.topic-visual .dot.a { left: 9px; bottom: 8px; }
.topic-visual .dot.b { right: 14px; top: 4px; }
.topic-visual .bars { position: absolute; inset: 22px 8px 10px; display: flex; align-items: end; gap: 8px; }
.topic-visual .bars i { width: 16px; border-radius: 8px 8px 2px 2px; background: currentColor; opacity: .78; }
.topic-visual .bars i:nth-child(1) { height: 30%; }
.topic-visual .bars i:nth-child(2) { height: 62%; }
.topic-visual .bars i:nth-child(3) { height: 45%; }
.topic-visual .bars i:nth-child(4) { height: 88%; }

.path-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.path-copy h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: .95; letter-spacing: -.06em; }
.path-copy > p { font-size: 1.08rem; color: rgba(255,255,255,.68); line-height: 1.65; max-width: 520px; }
.path-copy .btn { margin-top: 12px; }
.path-visual {
  position: relative;
  min-height: 540px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #23281f, #11130f);
  border: 1px solid var(--line-light);
  overflow: hidden;
  padding: 44px;
}
.path-visual::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  right: -130px;
  top: -130px;
  border-radius: 50%;
  background: var(--violet);
  filter: blur(30px);
  opacity: .35;
}
.path-line {
  position: absolute;
  left: 82px;
  top: 80px;
  bottom: 80px;
  width: 2px;
  background: linear-gradient(var(--lime), var(--violet), var(--coral));
}
.path-step {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  transition: background .3s ease, transform .3s var(--ease);
}
.path-step:hover { background: rgba(255,255,255,.12); transform: translateX(8px); }
.path-step:last-child { margin-bottom: 0; }
.path-number { width: 56px; height: 56px; border-radius: 18px; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-weight: 850; }
.path-step:nth-child(3) .path-number { background: var(--mint); }
.path-step:nth-child(4) .path-number { background: var(--violet-soft); }
.path-step:nth-child(5) .path-number { background: var(--coral); }
.path-step h3 { margin: 0 0 5px; font-size: 1.07rem; }
.path-step p { margin: 0; color: rgba(255,255,255,.58); font-size: .82rem; }
.path-duration { font-size: .72rem; padding: 7px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.74); }

.course-rail-wrap { position: relative; }
.course-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 350px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 4px 26px;
}
.course-rail::-webkit-scrollbar { display: none; }
.rail-controls { display: flex; gap: 9px; }
.course-card {
  scroll-snap-align: start;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
  position: relative;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.course-thumb { height: 214px; position: relative; overflow: hidden; background: var(--paper-2); }
.course-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.course-card:hover .course-thumb img { transform: scale(1.055); }
.course-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,19,15,.38), transparent 50%); }
.course-badge { position: absolute; z-index: 2; left: 14px; top: 14px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--ink); padding: 8px 11px; font-size: .68rem; font-weight: 820; text-transform: uppercase; letter-spacing: .08em; backdrop-filter: blur(8px); }
.save-course { position: absolute; z-index: 3; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(16,19,15,.72); color: var(--white); cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(8px); }
.save-course::before { content: ""; width: 12px; height: 15px; border: 2px solid currentColor; border-radius: 2px 2px 4px 4px; clip-path: polygon(0 0,100% 0,100% 100%,50% 72%,0 100%); }
.save-course.saved { background: var(--lime); color: var(--ink); }
.course-preview { position: absolute; z-index: 2; left: 16px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-size: .78rem; font-weight: 760; border: 0; background: transparent; cursor: pointer; }
.course-preview i { width: 32px; height: 32px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.course-preview i::before { content: ""; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid var(--ink); margin-left: 2px; }
.course-body { padding: 20px; }
.course-meta { display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: .74rem; }
.course-meta span + span::before { content: "•"; margin-right: 8px; }
.course-card h3 { margin: 12px 0 8px; font-size: 1.25rem; line-height: 1.18; letter-spacing: -.035em; }
.course-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.course-teacher { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .82rem; }
.course-teacher strong { font-size: .83rem; }
.course-rating { display: flex; align-items: center; gap: 5px; color: var(--muted); }
.course-rating b { color: var(--text); }

.proof-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}
.proof-story h2 { margin: 0; font-size: clamp(3rem, 5vw, 5.4rem); line-height: .94; letter-spacing: -.065em; }
.proof-story p { color: rgba(255,255,255,.68); font-size: 1.08rem; line-height: 1.65; max-width: 560px; }
.proof-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.proof-pills span { border: 1px solid var(--line-light); border-radius: 999px; padding: 9px 13px; font-size: .78rem; color: rgba(255,255,255,.78); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat-card { min-height: 190px; border-radius: var(--radius-md); padding: 24px; color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; }
.stat-card:nth-child(1) { background: var(--lime); }
.stat-card:nth-child(2) { background: var(--mint); transform: translateY(28px); }
.stat-card:nth-child(3) { background: var(--violet-soft); }
.stat-card:nth-child(4) { background: var(--coral); transform: translateY(28px); }
.stat-card strong { font-size: clamp(2.7rem, 5vw, 4.8rem); line-height: .86; letter-spacing: -.08em; }
.stat-card p { margin: 0; max-width: 160px; font-weight: 680; line-height: 1.3; }

.skill-lab {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 42px;
  align-items: stretch;
}
.role-selector { display: flex; flex-direction: column; gap: 12px; }
.role-button {
  border: 1px solid var(--line);
  background: transparent;
  padding: 22px;
  text-align: left;
  border-radius: 20px;
  cursor: pointer;
  transition: background .3s ease, color .3s ease, transform .3s var(--ease), border-color .3s ease;
}
.role-button:hover { transform: translateX(8px); }
.role-button.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.role-button strong { display: block; font-size: 1.08rem; }
.role-button span { display: block; margin-top: 6px; font-size: .82rem; color: var(--muted); }
.role-button.active span { color: rgba(255,255,255,.6); }
.skill-visual {
  min-height: 540px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  padding: 34px;
}
.skill-visual::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 58px, rgba(16,19,15,.08) 59px 60px);
}
.skill-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 138px;
  height: 138px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  font-weight: 780;
  line-height: 1.1;
  box-shadow: 0 0 0 16px rgba(200,255,90,.48), 0 24px 70px rgba(0,0,0,.18);
  z-index: 3;
}
.skill-node {
  --size: 116px;
  position: absolute;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
  font-size: .78rem;
  font-weight: 780;
  line-height: 1.15;
  transition: transform .45s var(--ease), background .4s ease;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
.skill-node:hover { transform: scale(1.09) !important; }
.skill-node.n1 { left: 8%; top: 12%; background: var(--mint); }
.skill-node.n2 { right: 9%; top: 10%; background: var(--violet-soft); }
.skill-node.n3 { right: 5%; bottom: 13%; background: var(--coral); }
.skill-node.n4 { left: 10%; bottom: 10%; background: var(--yellow); }
.skill-node.n5 { left: 43%; top: 2%; --size: 92px; background: var(--sky); }
.skill-node.n6 { left: 42%; bottom: 2%; --size: 94px; background: var(--lime); }
.skill-caption { position: absolute; left: 28px; bottom: 26px; max-width: 240px; font-size: .76rem; line-height: 1.45; color: var(--muted); }

.audience-shell { border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.audience-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.audience-tab { padding: 18px; border: 0; border-right: 1px solid var(--line); background: transparent; cursor: pointer; font-weight: 760; }
.audience-tab:last-child { border-right: 0; }
.audience-tab.active { background: var(--lime); }
.audience-panel { display: none; grid-template-columns: .95fr 1.05fr; min-height: 510px; }
.audience-panel.active { display: grid; animation: fadeUp .45s var(--ease); }
.audience-image { min-height: 510px; overflow: hidden; }
.audience-image img { width: 100%; height: 100%; object-fit: cover; }
.audience-content { padding: clamp(34px, 5vw, 68px); display: flex; flex-direction: column; justify-content: center; }
.audience-content h3 { margin: 0; font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: .98; letter-spacing: -.055em; }
.audience-content p { margin: 22px 0 0; line-height: 1.65; color: var(--muted); font-size: 1.03rem; }
.check-list { display: grid; gap: 13px; margin: 26px 0 30px; }
.check-item { display: flex; align-items: flex-start; gap: 11px; font-weight: 650; }
.check-item::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; flex: 0 0 auto; font-size: .75rem; }

.instructor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.instructor-card { position: relative; min-height: 470px; border-radius: var(--radius-md); overflow: hidden; background: var(--ink); color: var(--white); }
.instructor-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform .7s var(--ease), filter .5s ease; }
.instructor-card:hover img { transform: scale(1.055); filter: saturate(1); }
.instructor-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,19,15,.88), transparent 58%); }
.instructor-info { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px; }
.instructor-info .meet { display: inline-block; border-bottom: 2px solid currentColor; font-size: .64rem; letter-spacing: .14em; font-weight: 840; margin-bottom: 8px; }
.instructor-info h3 { margin: 0; font-size: 1.8rem; line-height: .95; letter-spacing: -.05em; }
.instructor-info p { margin: 8px 0 0; font-size: .78rem; color: rgba(255,255,255,.68); }

.team-feature {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 650px;
  color: var(--white);
  background: var(--ink);
}
.team-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,19,15,.96) 0%, rgba(16,19,15,.78) 48%, rgba(16,19,15,.16) 100%); }
.team-feature-content { position: relative; z-index: 2; width: min(590px, 100%); padding: clamp(38px, 7vw, 86px); }
.team-feature-content h2 { margin: 0; font-size: clamp(3rem, 5vw, 5.5rem); line-height: .92; letter-spacing: -.065em; }
.team-feature-content p { margin: 24px 0 30px; color: rgba(255,255,255,.68); font-size: 1.05rem; line-height: 1.65; }
.team-dashboard-float {
  position: absolute;
  z-index: 3;
  right: 42px;
  bottom: 38px;
  width: min(420px, 36%);
  border-radius: 26px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(15px);
}
.dashboard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dashboard-head strong { font-size: .92rem; }
.dashboard-head span { font-size: .68rem; color: var(--muted); }
.dashboard-bars { display: grid; gap: 12px; }
.dashboard-row { display: grid; grid-template-columns: 80px 1fr 38px; align-items: center; gap: 10px; font-size: .7rem; }
.dashboard-track { height: 8px; background: var(--paper-2); border-radius: 8px; overflow: hidden; }
.dashboard-track i { display: block; height: 100%; border-radius: inherit; background: var(--violet); }
.dashboard-row:nth-child(2) i { background: var(--coral); }
.dashboard-row:nth-child(3) i { background: var(--lime-deep); }

.testimonial-shell { display: grid; grid-template-columns: .42fr .58fr; gap: 54px; align-items: center; }
.testimonial-intro h2 { margin: 0; font-size: clamp(3rem, 5vw, 5rem); line-height: .94; letter-spacing: -.06em; }
.testimonial-intro p { color: var(--muted); line-height: 1.65; }
.testimonial-controls { display: flex; gap: 10px; margin-top: 24px; }
.testimonial-stage { position: relative; min-height: 410px; }
.testimonial-card { display: none; min-height: 410px; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 58px); background: var(--white); border: 1px solid var(--line); flex-direction: column; justify-content: space-between; }
.testimonial-card.active { display: flex; animation: fadeUp .5s var(--ease); }
.quote-mark { font-size: 4.8rem; line-height: .5; color: var(--violet); font-family: Georgia, serif; }
.testimonial-card blockquote { margin: 28px 0 42px; font-size: clamp(1.45rem, 2.6vw, 2.4rem); line-height: 1.2; letter-spacing: -.035em; font-weight: 680; }
.testimonial-person { display: flex; align-items: center; gap: 14px; }
.testimonial-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial-person strong { display: block; }
.testimonial-person span { font-size: .78rem; color: var(--muted); }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 30px; background: var(--white); display: flex; flex-direction: column; min-height: 480px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.plan-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.plan-card.featured { background: var(--ink); color: var(--white); border-color: var(--ink); position: relative; overflow: hidden; }
.plan-card.featured::before { content: "Most flexible"; position: absolute; top: 18px; right: -44px; width: 170px; text-align: center; background: var(--lime); color: var(--ink); font-size: .68rem; font-weight: 820; padding: 7px 0; transform: rotate(38deg); }
.plan-kicker { font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 820; color: var(--muted); }
.plan-card.featured .plan-kicker { color: rgba(255,255,255,.56); }
.plan-card h3 { margin: 16px 0 8px; font-size: 2rem; letter-spacing: -.05em; }
.plan-card > p { margin: 0; color: var(--muted); line-height: 1.55; }
.plan-card.featured > p { color: rgba(255,255,255,.64); }
.plan-list { display: grid; gap: 13px; margin: 28px 0; }
.plan-list span { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.plan-list span::before { content: "✓"; color: var(--lime-deep); font-weight: 900; }
.plan-card.featured .plan-list span::before { color: var(--lime); }
.plan-card .btn { margin-top: auto; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; border: 0; background: transparent; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 26px 0; cursor: pointer; font-size: 1.15rem; font-weight: 730; }
.faq-plus { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: transform .3s var(--ease), background .3s ease; flex: 0 0 auto; }
.faq-plus::before { content: "+"; font-size: 1.2rem; }
.faq-item.open .faq-plus { transform: rotate(45deg); background: var(--lime); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-answer p { margin: 0 0 26px; max-width: 830px; color: var(--muted); line-height: 1.7; }

.site-footer { background: var(--ink); color: var(--white); padding: 76px 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; padding-bottom: 64px; border-bottom: 1px solid var(--line-light); }
.footer-lead h2 { margin: 0; max-width: 620px; font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: .92; letter-spacing: -.06em; }
.footer-lead p { color: rgba(255,255,255,.62); max-width: 520px; line-height: 1.65; }
.footer-cta { display: flex; gap: 10px; margin-top: 28px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.footer-column h3 { margin: 0 0 18px; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.48); }
.footer-column a { display: block; margin: 11px 0; color: rgba(255,255,255,.76); font-size: .88rem; }
.footer-column a:hover { color: var(--lime); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; font-size: .72rem; color: rgba(255,255,255,.46); }
.footer-bottom-links { display: flex; gap: 16px; }

/* Video modal */
.modal-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.82); backdrop-filter: blur(12px); display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.modal-backdrop.open { opacity: 1; visibility: visible; }
.video-modal { width: min(980px, 100%); border-radius: 26px; overflow: hidden; background: var(--ink); color: var(--white); box-shadow: var(--shadow-lg); transform: scale(.95) translateY(18px); transition: transform .35s var(--ease); }
.modal-backdrop.open .video-modal { transform: scale(1) translateY(0); }
.video-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; }
.video-modal-head strong { font-size: .92rem; }
.video-placeholder { aspect-ratio: 16/9; position: relative; overflow: hidden; background: #050605; }
.video-placeholder img { width: 100%; height: 100%; object-fit: cover; opacity: .58; }
.video-placeholder::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, transparent, rgba(0,0,0,.6)); }
.video-play-state { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; text-align: center; }
.video-play-state i { width: 82px; height: 82px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; margin: 0 auto 18px; animation: pulse 2s ease-in-out infinite; }
.video-play-state i::before { content: ""; border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 17px solid var(--ink); margin-left: 4px; }
.video-play-state span { display: block; color: rgba(255,255,255,.74); font-size: .88rem; }

/* Generic page hero */
.page-hero {
  padding: 74px 0 92px;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(200,255,90,.2), transparent 66%); right: -160px; top: -210px; }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .78rem; color: rgba(255,255,255,.54); margin-bottom: 28px; }
.breadcrumbs a:hover { color: var(--lime); }
.page-lede { max-width: 720px; color: rgba(255,255,255,.7); font-size: 1.1rem; line-height: 1.65; }

/* Catalog */
.catalog-hero-grid { display: grid; grid-template-columns: 1fr .65fr; gap: 60px; align-items: end; }
.catalog-search-box { background: var(--white); border-radius: 20px; padding: 9px; display: flex; gap: 8px; box-shadow: var(--shadow-md); }
.catalog-search-box input { flex: 1; border: 0; outline: 0; padding: 0 13px; min-width: 0; }
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }
.catalog-sidebar { position: sticky; top: 100px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.filter-group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter-group:first-child { padding-top: 0; }
.filter-group:last-child { border-bottom: 0; padding-bottom: 0; }
.filter-group h3 { margin: 0 0 12px; font-size: .78rem; text-transform: uppercase; letter-spacing: .11em; }
.filter-option { display: flex; align-items: center; gap: 10px; margin: 10px 0; font-size: .86rem; cursor: pointer; }
.filter-option input { accent-color: var(--violet); width: 16px; height: 16px; }
.catalog-main-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.catalog-main-head strong { font-size: 1.1rem; }
.sort-select { min-height: 42px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); padding: 0 14px; }
.filter-chip-row { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; padding-bottom: 20px; }
.filter-chip { border: 1px solid var(--line); border-radius: 999px; background: transparent; white-space: nowrap; padding: 10px 14px; cursor: pointer; font-weight: 700; font-size: .8rem; }
.filter-chip.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.catalog-grid .course-card { min-width: 0; }
.catalog-grid .course-thumb { height: 180px; }
.no-results { display: none; grid-column: 1/-1; text-align: center; padding: 70px 20px; border: 1px dashed var(--line); border-radius: var(--radius-md); }
.no-results.show { display: block; }
.catalog-load-more { display: flex; justify-content: center; margin-top: 36px; }

/* Course detail */
.course-hero { padding: 64px 0 76px; background: var(--ink); color: var(--white); }
.course-hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 58px; align-items: center; }
.course-hero-copy h1 { margin: 0; font-size: clamp(3.4rem, 6vw, 6.3rem); line-height: .9; letter-spacing: -.07em; }
.course-hero-copy > p { color: rgba(255,255,255,.7); line-height: 1.65; font-size: 1.06rem; }
.course-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.course-tags span { border: 1px solid var(--line-light); border-radius: 999px; padding: 8px 11px; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.course-hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin: 26px 0; font-size: .83rem; color: rgba(255,255,255,.68); }
.course-hero-meta b { color: var(--white); }
.course-instructor-line { display: flex; align-items: center; gap: 12px; }
.course-instructor-line img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.course-player { aspect-ratio: 16/10; border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-lg); }
.course-player img { width: 100%; height: 100%; object-fit: cover; }
.course-player::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.66), rgba(0,0,0,.06)); }
.course-player .player-overlay { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; }
.player-big-button { width: 92px; height: 92px; border-radius: 50%; border: 0; background: var(--lime); display: grid; place-items: center; cursor: pointer; box-shadow: 0 16px 50px rgba(0,0,0,.3); }
.player-big-button::before { content: ""; border-top: 13px solid transparent; border-bottom: 13px solid transparent; border-left: 20px solid var(--ink); margin-left: 5px; }
.player-caption { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; justify-content: space-between; color: rgba(255,255,255,.72); font-size: .78rem; }
.course-page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 50px; align-items: start; }
.course-main h2 { margin: 0 0 22px; font-size: clamp(2.1rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.055em; }
.course-main-section { padding: 56px 0; border-bottom: 1px solid var(--line); }
.outcome-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.outcome-card { min-height: 150px; border-radius: 20px; padding: 22px; background: var(--white); border: 1px solid var(--line); }
.outcome-card .num { width: 34px; height: 34px; border-radius: 11px; background: var(--lime); display: grid; place-items: center; font-weight: 850; margin-bottom: 22px; }
.outcome-card h3 { margin: 0; font-size: 1rem; }
.outcome-card p { margin: 7px 0 0; color: var(--muted); line-height: 1.5; font-size: .86rem; }
.syllabus { border-top: 1px solid var(--line); }
.syllabus-item { border-bottom: 1px solid var(--line); }
.syllabus-button { width: 100%; border: 0; background: transparent; padding: 20px 0; display: grid; grid-template-columns: 36px 1fr auto 30px; gap: 14px; align-items: center; text-align: left; cursor: pointer; }
.syllabus-button .chapter { width: 36px; height: 36px; border-radius: 11px; background: var(--paper-2); display: grid; place-items: center; font-weight: 830; font-size: .78rem; }
.syllabus-button strong { display: block; }
.syllabus-button small { color: var(--muted); }
.syllabus-button .plus { font-size: 1.4rem; transition: transform .3s ease; }
.syllabus-item.open .syllabus-button .plus { transform: rotate(45deg); }
.syllabus-lessons { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.lesson-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 16px; margin-bottom: 8px; background: var(--white); border-radius: 14px; font-size: .85rem; }
.lesson-row span:last-child { color: var(--muted); }
.project-card { display: grid; grid-template-columns: .8fr 1.2fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--violet); color: var(--white); }
.project-card img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; }
.project-copy { padding: 38px; display: flex; flex-direction: column; justify-content: center; }
.project-copy h3 { margin: 0; font-size: 2.1rem; line-height: 1; letter-spacing: -.05em; }
.project-copy p { color: rgba(255,255,255,.7); line-height: 1.6; }
.instructor-profile { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; }
.instructor-profile img { width: 180px; aspect-ratio: 1; border-radius: 26px; object-fit: cover; }
.instructor-profile h3 { margin: 0; font-size: 2rem; letter-spacing: -.045em; }
.instructor-profile p { color: var(--muted); line-height: 1.65; }
.course-sidebar { position: sticky; top: 100px; }
.enrol-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); }
.enrol-card h3 { margin: 0 0 6px; font-size: 1.45rem; }
.enrol-card > p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.enrol-card .btn { width: 100%; margin-top: 20px; }
.enrol-includes { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; display: grid; gap: 12px; }
.enrol-includes span { font-size: .84rem; display: flex; gap: 9px; }
.enrol-includes span::before { content: "✓"; font-weight: 900; color: var(--lime-deep); }
.sidebar-note { margin-top: 14px; border-radius: 18px; background: var(--lime); padding: 18px; font-size: .82rem; line-height: 1.5; }

/* Teams page */
.teams-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
.teams-hero-media { min-height: 590px; position: relative; }
.teams-hero-media > img { position: absolute; width: 88%; height: 530px; right: 0; top: 20px; border-radius: var(--radius-lg); object-fit: cover; box-shadow: var(--shadow-lg); }
.team-float-card { position: absolute; z-index: 3; border-radius: 22px; padding: 18px; box-shadow: var(--shadow-md); }
.team-float-card.a { left: 0; top: 86px; width: 210px; background: var(--lime); color: var(--ink); }
.team-float-card.b { right: -18px; bottom: 0; width: 230px; background: var(--violet); color: var(--white); }
.team-float-card strong { font-size: 2.2rem; letter-spacing: -.06em; display: block; }
.team-float-card span { font-size: .76rem; opacity: .7; }
.logo-cloud { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.logo-pill { border: 1px solid var(--line); border-radius: 16px; min-height: 76px; display: grid; place-items: center; font-weight: 840; color: var(--muted); letter-spacing: -.02em; background: rgba(255,255,255,.42); }
.team-problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.problem-card { min-height: 320px; border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.problem-card:nth-child(1) { background: var(--mint); }
.problem-card:nth-child(2) { background: var(--violet-soft); }
.problem-card:nth-child(3) { background: var(--coral); }
.problem-card .problem-num { font-size: 5rem; line-height: .8; letter-spacing: -.09em; font-weight: 780; opacity: .42; }
.problem-card h3 { margin: 0 0 10px; font-size: 1.5rem; letter-spacing: -.04em; }
.problem-card p { margin: 0; line-height: 1.55; font-size: .9rem; }
.role-path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.role-path-card { border: 1px solid var(--line-light); border-radius: 22px; padding: 24px; min-height: 300px; display: flex; flex-direction: column; }
.role-path-card .role-icon { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--lime); font-weight: 900; }
.role-path-card h3 { margin: 24px 0 8px; font-size: 1.25rem; }
.role-path-card p { margin: 0; color: rgba(255,255,255,.6); font-size: .84rem; line-height: 1.55; }
.role-path-card a { margin-top: auto; color: var(--lime); font-weight: 760; font-size: .84rem; }
.team-dashboard-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 50px; align-items: center; }
.dashboard-mockup { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 18px; box-shadow: var(--shadow-md); }
.dashboard-topbar { display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 18px; }
.dashboard-dots { display: flex; gap: 6px; }
.dashboard-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.dashboard-main { display: grid; grid-template-columns: 170px 1fr; min-height: 410px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.dashboard-nav { background: var(--ink); color: var(--white); padding: 18px; display: grid; align-content: start; gap: 10px; }
.dashboard-nav span { padding: 10px 11px; border-radius: 9px; color: rgba(255,255,255,.54); font-size: .72rem; }
.dashboard-nav span.active { background: var(--lime); color: var(--ink); font-weight: 800; }
.dashboard-content { padding: 24px; background: #fbfbf8; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dashboard-metric { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.dashboard-metric strong { font-size: 1.8rem; letter-spacing: -.06em; display: block; }
.dashboard-metric span { font-size: .65rem; color: var(--muted); }
.dashboard-chart { margin-top: 14px; height: 210px; background: var(--white); border: 1px solid var(--line); border-radius: 15px; padding: 20px; display: flex; align-items: end; gap: 12px; }
.dashboard-chart i { flex: 1; border-radius: 7px 7px 2px 2px; background: var(--violet); }
.dashboard-chart i:nth-child(2n) { background: var(--mint); }
.roi-calculator { border-radius: var(--radius-lg); background: var(--lime); padding: clamp(34px, 6vw, 70px); display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: center; }
.roi-calculator h2 { margin: 0; font-size: clamp(3rem, 5vw, 5rem); line-height: .92; letter-spacing: -.06em; }
.roi-calculator p { line-height: 1.6; }
.calculator-card { background: var(--ink); color: var(--white); border-radius: 26px; padding: 28px; }
.calc-field { margin-bottom: 20px; }
.calc-field label { display: flex; justify-content: space-between; font-size: .78rem; color: rgba(255,255,255,.64); margin-bottom: 10px; }
.calc-field input[type="range"] { width: 100%; accent-color: var(--lime); }
.calc-result { border-top: 1px solid var(--line-light); padding-top: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.calc-result div { background: rgba(255,255,255,.08); border-radius: 16px; padding: 16px; }
.calc-result strong { display: block; color: var(--lime); font-size: 2rem; letter-spacing: -.06em; }
.calc-result span { font-size: .7rem; color: rgba(255,255,255,.56); }
.calc-disclaimer { margin: 13px 0 0; font-size: .68rem; color: rgba(255,255,255,.42); }

/* Account */
.account-page { min-height: 100vh; background: var(--ink); color: var(--white); display: grid; grid-template-columns: 1.05fr .95fr; }
.account-visual { position: relative; min-height: 100vh; overflow: hidden; }
.account-visual > img { width: 100%; height: 100%; object-fit: cover; }
.account-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,19,15,.84), rgba(16,19,15,.08)); }
.account-brand { position: absolute; z-index: 2; top: 30px; left: 34px; color: var(--white); }
.account-brand .brand-copy small { color: rgba(255,255,255,.6); }
.account-quote { position: absolute; z-index: 2; left: 42px; right: 42px; bottom: 46px; max-width: 620px; }
.account-quote blockquote { margin: 0; font-size: clamp(2rem, 4vw, 4.3rem); line-height: .98; letter-spacing: -.055em; font-weight: 700; }
.account-quote p { color: rgba(255,255,255,.68); }
.account-form-side { display: grid; place-items: center; padding: 50px 24px; position: relative; }
.back-home { position: absolute; top: 26px; right: 28px; font-size: .82rem; color: rgba(255,255,255,.62); }
.auth-card { width: min(450px, 100%); }
.auth-card h1 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: .95; letter-spacing: -.06em; }
.auth-card > p { color: rgba(255,255,255,.58); line-height: 1.6; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: rgba(255,255,255,.08); border-radius: 14px; padding: 5px; margin: 26px 0; }
.auth-tab { border: 0; border-radius: 10px; background: transparent; color: rgba(255,255,255,.62); min-height: 44px; cursor: pointer; font-weight: 750; }
.auth-tab.active { background: var(--white); color: var(--ink); }
.auth-form { display: none; }
.auth-form.active { display: block; animation: fadeUp .35s var(--ease); }
.form-field { display: grid; gap: 8px; margin-bottom: 14px; }
.form-field label { font-size: .76rem; color: rgba(255,255,255,.66); }
.form-field input { min-height: 52px; border: 1px solid rgba(255,255,255,.16); border-radius: 13px; background: rgba(255,255,255,.07); color: var(--white); padding: 0 15px; outline: 0; }
.form-field input:focus { border-color: var(--lime); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-form .btn { width: 100%; margin-top: 8px; }
.auth-helper { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 18px; font-size: .75rem; color: rgba(255,255,255,.58); }
.auth-helper label { display: flex; align-items: center; gap: 7px; }
.auth-helper input { accent-color: var(--lime); }
.divider { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.38); font-size: .7rem; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.12); }
.social-auth { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.social-button { min-height: 48px; border: 1px solid rgba(255,255,255,.16); border-radius: 13px; background: transparent; color: var(--white); cursor: pointer; font-weight: 700; }
.form-message { display: none; margin-top: 14px; border-radius: 12px; background: rgba(200,255,90,.12); color: var(--lime); padding: 12px; font-size: .8rem; }
.form-message.show { display: block; }

/* Reveal and motion */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }
.tilt { transform-style: preserve-3d; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes floatY { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(-2.5deg); } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes growBar { from { width: 0; } }
@keyframes barPulse { 0%,100% { transform: scaleY(.88); opacity: .75; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(200,255,90,.38); } 50% { box-shadow: 0 0 0 18px rgba(200,255,90,0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1100px) {
  :root { --container: 960px; }
  .primary-nav { gap: 16px; margin-left: 10px; }
  .primary-nav a { font-size: .82rem; }
  .hero-grid { grid-template-columns: .9fr 1.1fr; gap: 30px; }
  .hero-stage { min-height: 560px; }
  .hero-photo-card { height: 500px; }
  .topic-grid { grid-template-columns: repeat(3, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .instructor-grid { grid-template-columns: repeat(2, 1fr); }
  .instructor-card { min-height: 520px; }
  .team-dashboard-float { width: 380px; }
  .role-path-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  :root { --header-h: 70px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 82px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .primary-nav, .header-actions .desktop-only { display: none; }
  .mobile-menu-toggle { display: inline-grid; }
  .header-actions { gap: 4px; }
  .header-search span { display: none; }
  .hero { padding-top: 56px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy h1 { max-width: 760px; }
  .hero-stage { min-height: 600px; }
  .hero-photo-card { width: 78%; right: 4%; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .path-grid, .proof-grid, .skill-lab, .testimonial-shell, .team-dashboard-section, .roi-calculator { grid-template-columns: 1fr; }
  .path-visual { min-height: auto; }
  .stats-grid { max-width: 600px; }
  .audience-panel, .project-card { grid-template-columns: 1fr; }
  .audience-image { min-height: 380px; }
  .team-feature::after { background: linear-gradient(90deg, rgba(16,19,15,.95), rgba(16,19,15,.68)); }
  .team-dashboard-float { display: none; }
  .team-feature-content { width: 72%; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: auto; }
  .footer-top { grid-template-columns: 1fr; }
  .catalog-hero-grid, .course-hero-grid, .teams-hero-grid { grid-template-columns: 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .filter-group { border: 0; padding: 0; }
  .course-page-layout { grid-template-columns: 1fr; }
  .course-sidebar { position: static; }
  .teams-hero-media { min-height: 540px; }
  .account-page { grid-template-columns: 1fr; }
  .account-visual { min-height: 56vh; }
}

@media (max-width: 620px) {
  .announcement { font-size: .7rem; }
  .brand-copy small { display: none; }
  .brand-copy strong { font-size: .8rem; }
  .brand-mark { width: 38px; height: 38px; }
  .header-actions .btn { display: none; }
  .hero { padding-bottom: 72px; }
  .hero-copy h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .hero-copy > p { font-size: .98rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { align-items: flex-start; }
  .hero-stage { min-height: 480px; }
  .hero-photo-card { height: 410px; width: 86%; right: 2%; border-radius: 28px; }
  .lesson-float { width: 174px; top: 70px; padding: 14px; }
  .confidence-float { width: 180px; right: -8px; bottom: 8px; padding: 15px; }
  .confidence-float strong { font-size: 1.8rem; }
  .orbit { width: 120px; height: 120px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 230px; }
  .path-visual { padding: 22px; }
  .path-line { left: 50px; top: 60px; bottom: 60px; }
  .path-step { grid-template-columns: 46px 1fr; padding: 15px; gap: 14px; }
  .path-number { width: 46px; height: 46px; border-radius: 14px; }
  .path-duration { grid-column: 2; justify-self: start; }
  .course-rail { grid-auto-columns: 86vw; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card:nth-child(2), .stat-card:nth-child(4) { transform: none; }
  .skill-visual { min-height: 500px; padding: 12px; }
  .skill-node { --size: 88px; font-size: .66rem; }
  .skill-node.n1 { left: 2%; }
  .skill-node.n2 { right: 2%; }
  .skill-node.n3 { right: 1%; }
  .skill-node.n4 { left: 2%; }
  .skill-node.n5 { left: 40%; --size: 76px; }
  .skill-node.n6 { left: 40%; --size: 78px; }
  .skill-core { width: 116px; height: 116px; }
  .skill-caption { display: none; }
  .audience-tabs { grid-template-columns: 1fr; }
  .audience-tab { border-right: 0; border-bottom: 1px solid var(--line); }
  .audience-tab:last-child { border-bottom: 0; }
  .audience-image { min-height: 280px; }
  .instructor-grid { grid-template-columns: 1fr; }
  .instructor-card { min-height: 500px; }
  .team-feature { min-height: 630px; }
  .team-feature::after { background: linear-gradient(to top, rgba(16,19,15,.97) 20%, rgba(16,19,15,.35)); }
  .team-feature-content { width: 100%; padding-top: 250px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .suggestion-grid { grid-template-columns: 1fr; }
  .catalog-sidebar { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-main-head { align-items: flex-start; flex-direction: column; }
  .outcome-grid { grid-template-columns: 1fr; }
  .course-hero-copy h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .syllabus-button { grid-template-columns: 36px 1fr 24px; }
  .syllabus-button > small { display: none; }
  .instructor-profile { grid-template-columns: 1fr; }
  .instructor-profile img { width: 150px; }
  .logo-cloud { grid-template-columns: repeat(2, 1fr); }
  .team-problem-grid, .role-path-grid { grid-template-columns: 1fr; }
  .teams-hero-media { min-height: 480px; }
  .teams-hero-media > img { width: 96%; height: 420px; }
  .team-float-card.a { top: 20px; width: 170px; }
  .team-float-card.b { right: 0; width: 180px; }
  .dashboard-main { grid-template-columns: 80px 1fr; }
  .dashboard-nav { padding: 10px 7px; }
  .dashboard-nav span { font-size: 0; height: 34px; position: relative; }
  .dashboard-nav span::before { content: "•"; font-size: 1.2rem; position: absolute; inset: 0; display: grid; place-items: center; }
  .dashboard-metrics { grid-template-columns: 1fr; }
  .dashboard-chart { height: 150px; padding: 10px; gap: 6px; }
  .calc-result { grid-template-columns: 1fr; }
  .account-visual { display: none; }
  .account-page { min-height: 100vh; }
  .account-form-side { min-height: 100vh; }
  .form-row { grid-template-columns: 1fr; }
}

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

/* Extended multi-page components */
.eyebrow.compact { margin-bottom: 8px; }
.catalog-inline-search input {
  width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--paper); padding: 0 13px; outline: 0;
}
.catalog-inline-search input:focus { border-color: var(--violet); background: var(--white); }
.filter-help { border-radius: 16px; background: var(--ink); color: var(--white); padding: 17px; }
.filter-help strong { font-size: .84rem; }
.filter-help p { margin: 7px 0 14px; color: rgba(255,255,255,.61); font-size: .76rem; line-height: 1.5; }
.filter-help a { color: var(--lime); font-size: .78rem; font-weight: 780; }
.sort-label { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .78rem; }
.catalog-cta { display: grid; grid-template-columns: 1.1fr .8fr auto; gap: 40px; align-items: center; }
.catalog-cta h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5rem); line-height: .93; letter-spacing: -.06em; }
.catalog-cta p { margin: 0; color: rgba(255,255,255,.65); line-height: 1.65; }
.no-results-icon { font-size: 3rem; color: var(--violet); transform: rotate(25deg); }
.no-results h3 { margin: 8px 0; font-size: 1.6rem; }
.no-results p { color: var(--muted); margin: 0 auto 20px; max-width: 440px; }

.mini-heading { margin-bottom: 26px; }
.mini-heading h2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); }
.project-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.project-chips span { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 8px 11px; font-size: .7rem; }
.instructor-stats { display: flex; flex-wrap: wrap; gap: 16px; margin: 18px 0; }
.instructor-stats span { border-right: 1px solid var(--line); padding-right: 16px; font-size: .72rem; color: var(--muted); }
.instructor-stats span:last-child { border-right: 0; }
.instructor-stats b { color: var(--text); font-size: 1.05rem; margin-right: 4px; }
.text-link { color: var(--violet); font-weight: 780; font-size: .84rem; }
.course-save-wide.save-course {
  position: relative; inset: auto; width: 100%; height: 48px; border-radius: 999px; margin-top: 10px;
  background: transparent; color: var(--text); border: 1px solid var(--line); display: inline-flex; gap: 9px;
}
.course-save-wide.save-course::after { content: "Save for later"; font-weight: 760; }
.course-save-wide.save-course.saved::after { content: "Saved"; }
.course-save-wide.save-course.saved { background: var(--lime); border-color: transparent; }
.course-progress-preview { margin-top: 14px; border: 1px solid var(--line); border-radius: 18px; padding: 17px; background: rgba(255,255,255,.4); }
.course-progress-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: .76rem; }
.course-progress-head span { color: var(--muted); }
.progress-preview-row { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 10px; margin-top: 10px; font-size: .7rem; color: var(--muted); }
.progress-preview-row .dashboard-track i { width: 0; transition: width 1.1s var(--ease); }

.teams-page-hero { padding-bottom: 48px; }
.team-hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.team-hero-pills span { border: 1px solid var(--line-light); border-radius: 999px; padding: 8px 11px; font-size: .7rem; color: rgba(255,255,255,.7); }
.proof-label { text-align: center; color: var(--muted); font-size: .69rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.display-medium { margin: 0; font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: .94; letter-spacing: -.063em; }
.display-large { margin: 0; font-size: clamp(3.2rem, 6vw, 6rem); line-height: .91; letter-spacing: -.07em; }
.body-large { font-size: 1.06rem; line-height: 1.68; }
.metric-explainer { margin-top: 30px; display: grid; gap: 18px; }
.metric-explainer > div { display: grid; grid-template-columns: 12px 90px 1fr; gap: 10px; align-items: start; }
.metric-explainer strong { font-size: .82rem; }
.metric-explainer p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.metric-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 4px; }
.metric-dot.lime { background: var(--lime-deep); }
.metric-dot.violet { background: var(--violet); }
.metric-dot.coral { background: var(--coral); }
.dashboard-legend { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; margin-top: 12px; font-size: .63rem; color: var(--muted); }
.dashboard-legend span { display: inline-flex; gap: 6px; align-items: center; }
.dashboard-legend i { width: 8px; height: 8px; border-radius: 3px; display: inline-block; }
.legend-violet { background: var(--violet); }
.legend-mint { background: var(--mint); }
.dashboard-legend small { margin-left: auto; }
.operating-loop { min-height: 680px; max-width: 920px; margin: 0 auto; position: relative; }
.operating-loop::before { content: ""; position: absolute; width: 410px; height: 410px; border: 2px dashed rgba(16,19,15,.24); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); animation: rotate 30s linear infinite; }
.loop-center { position: absolute; left: 50%; top: 50%; width: 190px; height: 190px; transform: translate(-50%,-50%); background: var(--ink); color: var(--white); border-radius: 50%; display: grid; place-content: center; text-align: center; z-index: 2; box-shadow: var(--shadow-md); }
.loop-center strong { color: var(--lime); font-size: 1.55rem; }
.loop-center span { font-size: .74rem; color: rgba(255,255,255,.56); }
.loop-step { position: absolute; width: 240px; min-height: 170px; border-radius: 24px; padding: 22px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease); }
.loop-step:hover { transform: translateY(-7px) rotate(1deg); }
.loop-step > span { font-size: .7rem; font-weight: 830; }
.loop-step h3 { margin: 35px 0 7px; font-size: 1.35rem; }
.loop-step p { margin: 0; font-size: .8rem; line-height: 1.48; }
.loop-step.s1 { left: 0; top: 70px; background: var(--mint); }
.loop-step.s2 { right: 0; top: 70px; background: var(--violet-soft); }
.loop-step.s3 { right: 0; bottom: 70px; background: var(--coral); }
.loop-step.s4 { left: 0; bottom: 70px; background: var(--lime); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 62px; align-items: center; }
.contact-proof { display: grid; gap: 12px; margin-top: 28px; color: rgba(255,255,255,.78); font-size: .84rem; }
.contact-card { background: var(--white); color: var(--text); border-radius: 28px; padding: 30px; box-shadow: var(--shadow-lg); }
.light-field { display: grid; gap: 7px; margin-bottom: 14px; }
.light-field label { font-size: .72rem; font-weight: 730; color: var(--muted); }
.light-field input, .light-field select, .light-field textarea { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--text); padding: 12px 14px; outline: 0; resize: vertical; }
.light-field input:focus, .light-field select:focus, .light-field textarea:focus { border-color: var(--violet); background: var(--white); }
.contact-card .btn { width: 100%; margin-top: 5px; }
.contact-card > small { display: block; margin-top: 12px; color: var(--muted); font-size: .68rem; text-align: center; }
.contact-card .form-message, .newsletter-form .form-message { background: rgba(124,108,242,.10); color: var(--violet); }

.info-hero-grid { display: grid; grid-template-columns: 1.15fr .65fr; gap: 60px; align-items: end; }
.principle-stack { display: grid; gap: 10px; }
.principle-stack div { min-height: 86px; border: 1px solid var(--line-light); border-radius: 17px; padding: 17px; display: flex; align-items: center; gap: 15px; background: rgba(255,255,255,.05); backdrop-filter: blur(10px); }
.principle-stack span { color: var(--lime); font-size: .74rem; }
.principle-stack strong { font-size: 1.05rem; }
.split-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 66px; align-items: center; }
.story-image { width: 100%; height: 660px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.story-list { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid var(--line); }
.story-list > div { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.story-list span { color: var(--violet); font-weight: 850; }
.story-list p { margin: 0; color: var(--muted); line-height: 1.55; }
.story-list strong { color: var(--text); }
.capability-layers { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.capability-layers article { min-height: 280px; border: 1px solid var(--line-light); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; }
.capability-layers article:nth-child(1) { background: var(--lime); color: var(--ink); }
.capability-layers article:nth-child(2) { background: var(--mint); color: var(--ink); transform: translateY(24px); }
.capability-layers article:nth-child(3) { background: var(--violet-soft); color: var(--ink); }
.capability-layers article:nth-child(4) { background: var(--coral); color: var(--ink); transform: translateY(24px); }
.capability-layers span { font-size: 4rem; line-height: 1; letter-spacing: -.08em; font-weight: 800; opacity: .32; }
.capability-layers h3 { margin: auto 0 8px; font-size: 1.35rem; }
.capability-layers p { margin: 0; font-size: .82rem; line-height: 1.5; }
.careers-card { border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); padding: clamp(34px,6vw,68px); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; box-shadow: var(--shadow-sm); }
.careers-card h2 { margin: 0; font-size: clamp(2.8rem,5vw,5rem); line-height: .94; letter-spacing: -.06em; }
.careers-card p { color: var(--muted); max-width: 670px; line-height: 1.6; }
.careers-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.instructor-profile-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.faculty-card { min-height: 500px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: .85fr 1.15fr; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.faculty-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.faculty-card img { width: 100%; height: 100%; object-fit: cover; min-height: 500px; }
.faculty-card > div { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.faculty-card > div > span, .article-kicker { color: var(--violet); font-size: .7rem; font-weight: 820; text-transform: uppercase; letter-spacing: .09em; }
.faculty-card h2 { margin: 12px 0; font-size: 2.35rem; line-height: 1; letter-spacing: -.055em; }
.faculty-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.faculty-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0; }
.faculty-tags i { font-style: normal; border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; font-size: .68rem; }
.faculty-card a { color: var(--violet); font-weight: 780; font-size: .82rem; }
.instructor-cta { display: grid; grid-template-columns: 1fr .7fr auto; gap: 38px; align-items: center; }
.instructor-cta h2 { margin: 0; font-size: clamp(2.8rem,5vw,5rem); line-height: .92; letter-spacing: -.06em; }
.instructor-cta p { margin: 0; line-height: 1.6; }

.insight-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.insight-feature { grid-column: 1/-1; min-height: 540px; border-radius: var(--radius-lg); background: var(--ink); color: var(--white); display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; }
.insight-feature > div:last-child { padding: clamp(34px,5vw,68px); display: flex; flex-direction: column; justify-content: center; }
.insight-feature h2 { margin: 14px 0; font-size: clamp(2.4rem,4vw,4.4rem); line-height: .96; letter-spacing: -.06em; }
.insight-feature p { color: rgba(255,255,255,.65); line-height: 1.6; }
.insight-feature a { color: var(--lime); font-weight: 780; }
.insight-card { min-height: 480px; border-radius: 26px; border: 1px solid var(--line); background: var(--white); padding: 22px; display: flex; flex-direction: column; }
.insight-card > img, .insight-card > .insight-visual { width: 100%; height: 260px; border-radius: 18px; object-fit: cover; margin-bottom: 22px; }
.insight-card h3 { margin: 12px 0 8px; font-size: 1.55rem; line-height: 1.1; letter-spacing: -.04em; }
.insight-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.insight-visual { position: relative; overflow: hidden; }
.visual-loop { min-height: 100%; background: var(--violet); display: grid; place-items: center; }
.visual-loop::before, .visual-loop::after { content: ""; position: absolute; border: 2px solid rgba(255,255,255,.32); border-radius: 50%; }
.visual-loop::before { width: 340px; height: 340px; animation: rotate 18s linear infinite; }
.visual-loop::after { width: 230px; height: 230px; border-style: dashed; animation: rotate 12s linear reverse infinite; }
.visual-loop span { position: absolute; z-index: 2; background: var(--white); color: var(--ink); border-radius: 999px; padding: 12px 18px; font-weight: 800; }
.visual-loop span:nth-child(1) { transform: translateY(-145px); }
.visual-loop span:nth-child(2) { transform: translate(150px,90px); }
.visual-loop span:nth-child(3) { transform: translate(-150px,90px); }
.visual-loop i { width: 130px; height: 130px; border-radius: 50%; background: var(--lime); position: absolute; }
.visual-bars { background: var(--mint); display: flex; align-items: end; gap: 13px; padding: 30px; }
.visual-bars i { flex: 1; background: var(--ink); border-radius: 10px 10px 3px 3px; animation: barPulse 3s ease-in-out infinite; }
.visual-bars i:nth-child(2) { animation-delay: .2s; background: var(--violet); }
.visual-bars i:nth-child(3) { animation-delay: .4s; background: var(--coral); }
.visual-bars i:nth-child(4) { animation-delay: .6s; background: var(--lime-deep); }
.visual-choices { background: var(--violet-soft); display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 18px; align-items: center; }
.visual-choices span { aspect-ratio: 1; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-weight: 800; font-size: .72rem; box-shadow: var(--shadow-sm); }
.visual-choices span:nth-child(2) { transform: translateY(-35px); background: var(--lime); }
.visual-choices span:nth-child(3) { background: var(--violet); color: var(--white); }
.newsletter-card { display: grid; grid-template-columns: 1fr .7fr; gap: 44px; align-items: center; }
.newsletter-card h2 { margin: 0; font-size: clamp(2.8rem,5vw,5rem); line-height: .93; letter-spacing: -.06em; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter-form input { min-height: 54px; border: 1px solid var(--line-light); border-radius: 999px; background: rgba(255,255,255,.08); color: var(--white); padding: 0 18px; outline: 0; }
.newsletter-form input:focus { border-color: var(--lime); }
.newsletter-form .form-message { grid-column: 1/-1; }

.legal-hero { padding-bottom: 68px; }
.legal-copy { max-width: 830px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: clamp(30px,6vw,70px); box-shadow: var(--shadow-sm); }
.legal-copy > p:first-child { font-size: 1.2rem; color: var(--text); }
.legal-copy h2 { margin: 42px 0 12px; font-size: 2rem; letter-spacing: -.045em; }
.legal-copy p { color: var(--muted); line-height: 1.75; }
.auth-legal { color: rgba(255,255,255,.44); font-size: .68rem; line-height: 1.5; margin-top: 16px; }

@media (max-width: 1100px) {
  .catalog-cta, .instructor-cta { grid-template-columns: 1fr 1fr; }
  .catalog-cta .btn, .instructor-cta .btn { grid-column: 1/-1; justify-self: start; }
  .faculty-card { grid-template-columns: 1fr; }
  .faculty-card img { min-height: 330px; height: 330px; }
}

@media (max-width: 880px) {
  .catalog-cta, .contact-grid, .info-hero-grid, .split-story, .newsletter-card, .instructor-cta { grid-template-columns: 1fr; }
  .operating-loop { min-height: auto; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
  .operating-loop::before, .loop-center { display: none; }
  .loop-step { position: relative; inset: auto !important; width: auto; min-height: 200px; }
  .story-image { height: 480px; }
  .capability-layers { grid-template-columns: repeat(2,1fr); }
  .capability-layers article:nth-child(2), .capability-layers article:nth-child(4) { transform: none; }
  .careers-card { grid-template-columns: 1fr; }
  .instructor-profile-grid { grid-template-columns: 1fr; }
  .insight-feature { grid-template-columns: 1fr; }
  .insight-feature .insight-visual { min-height: 420px; }
}

@media (max-width: 620px) {
  .catalog-cta, .operating-loop, .capability-layers, .insight-grid { grid-template-columns: 1fr; }
  .catalog-cta .btn { justify-self: stretch; }
  .catalog-search-box { flex-direction: column; }
  .catalog-search-box input { min-height: 50px; }
  .metric-explainer > div { grid-template-columns: 12px 1fr; }
  .metric-explainer p { grid-column: 2; }
  .contact-card { padding: 20px; }
  .story-image { height: 390px; }
  .faculty-card img { min-height: 360px; height: 360px; }
  .faculty-card > div { padding: 24px; }
  .insight-feature { min-height: 0; }
  .insight-feature .insight-visual { min-height: 340px; }
  .visual-loop span:nth-child(1) { transform: translateY(-105px); }
  .visual-loop span:nth-child(2) { transform: translate(96px,75px); }
  .visual-loop span:nth-child(3) { transform: translate(-96px,75px); }
  .newsletter-form { grid-template-columns: 1fr; }
  .newsletter-form .btn { width: 100%; }
  .legal-copy { border-radius: 20px; }
}
