:root {
  --ink: #102132;
  --muted: #667384;
  --navy: #12355b;
  --teal: #0f9f9a;
  --mint: #dff8ef;
  --coral: #ff6f61;
  --gold: #f4b942;
  --sky: #e8f4ff;
  --paper: #fffaf2;
  --white: #ffffff;
  --line: rgba(16, 33, 50, 0.12);
  --shadow: 0 24px 80px rgba(18, 53, 91, 0.16);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcfd;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softScaleIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseLine {
  0%,
  100% {
    transform: scaleX(0.5);
    opacity: 0.55;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-visible {
  animation: riseIn 700ms var(--ease-out) forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
  animation: headerDrop 620ms var(--ease-out) both;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 40px rgba(16, 33, 50, 0.1);
  backdrop-filter: blur(14px);
}

.subpage .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 40px rgba(16, 33, 50, 0.08);
  backdrop-filter: blur(14px);
}

.subpage .nav-cta {
  border-color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--coral));
  font-weight: 900;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.brand:hover .brand-mark {
  transform: rotate(-5deg) scale(1.04);
  box-shadow: 0 14px 28px rgba(15, 159, 154, 0.25);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: currentColor;
  font-size: 0.76rem;
  opacity: 0.72;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  font-size: 0.94rem;
  font-weight: 750;
}

.main-nav a {
  opacity: 0.9;
  transition: opacity 160ms ease, transform 160ms ease;
}

.main-nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 10px 16px;
}

.login-link {
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(15, 159, 154, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 12px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 28, 45, 0.9) 0%, rgba(18, 53, 91, 0.74) 42%, rgba(18, 53, 91, 0.2) 76%),
    linear-gradient(180deg, rgba(16, 33, 50, 0.44), rgba(16, 33, 50, 0.18));
}

.hero-content {
  width: min(680px, calc(100% - 36px));
  min-width: 0;
  max-width: 100%;
  margin: auto 0 0;
  padding: 150px 0 72px clamp(18px, 6vw, 76px);
  animation: riseIn 850ms var(--ease-out) both 120ms;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #72f0db;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 640px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
}

.hero-actions,
.hero-stats,
.section-heading.split,
.dash-cards,
.site-footer,
.main-nav {
  flex-wrap: wrap;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 32px 0 42px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 850;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 18px 34px rgba(255, 111, 97, 0.32);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats {
  display: flex;
  gap: 14px;
  margin: 0;
}

.hero-stats div {
  min-width: 132px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  animation: softScaleIn 700ms var(--ease-out) both;
}

.hero-stats div:nth-child(1) {
  animation-delay: 220ms;
}

.hero-stats div:nth-child(2) {
  animation-delay: 320ms;
}

.hero-stats div:nth-child(3) {
  animation-delay: 420ms;
}

.hero-stats dt {
  font-size: 1.6rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.section {
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 70px);
}

.section-heading {
  max-width: 790px;
}

.section-heading.split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 0.95fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(16, 33, 50, 0.08);
  border-bottom: 1px solid rgba(16, 33, 50, 0.08);
  background:
    linear-gradient(135deg, rgba(31, 165, 151, 0.1), rgba(244, 185, 66, 0.08) 48%, rgba(255, 255, 255, 0) 72%),
    var(--white);
}

.intro::before {
  position: absolute;
  top: 18%;
  bottom: 18%;
  left: clamp(18px, 5vw, 70px);
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--teal), var(--coral));
  content: "";
}

.intro .section-heading {
  padding-left: clamp(22px, 3vw, 36px);
}

.intro-panel {
  border: 1px solid rgba(16, 33, 50, 0.1);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 28px 70px rgba(16, 33, 50, 0.08);
}

.intro-panel > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.45;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.proof-grid article {
  min-height: 118px;
  border: 1px solid rgba(16, 33, 50, 0.1);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
}

.proof-grid strong {
  display: block;
  margin-bottom: 22px;
  color: var(--teal);
  font-size: 0.88rem;
}

.proof-grid span {
  display: block;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.12;
}

.text-link {
  color: var(--navy);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}

.courses {
  background: #ffffff;
}

.courses-page {
  min-height: 100vh;
  padding-top: clamp(120px, 12vw, 160px);
}

.courses-page .section-heading {
  max-width: none;
}

.courses-page h1 {
  max-width: 1240px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.98;
}

.course-catalog {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

.course-filters,
.steps article,
.testimonial-grid figure,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 50px rgba(18, 53, 91, 0.08);
}

.course-filters {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  padding: 26px;
}

.filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.filter-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
}

.filter-heading span {
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--teal);
  transform-origin: right;
  animation: pulseLine 2.2s ease-in-out infinite;
}

.filter-option,
.filter-results,
.filter-reset {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  color: var(--ink);
  background: transparent;
  font-weight: 800;
  text-align: left;
}

.filter-option span {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 5px;
  background: #f0f3f7;
  box-shadow: inset 0 0 0 1px rgba(16, 33, 50, 0.06);
}

.filter-option.is-active span {
  background: var(--teal);
  box-shadow: inset 0 0 0 4px #dff8ef;
}

.filter-results {
  min-height: 48px;
  margin-top: 24px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
}

.filter-reset {
  width: max-content;
  margin: 14px auto 0;
  border-bottom: 1px dashed currentColor;
  color: var(--ink);
  background: transparent;
  font-weight: 850;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px) clamp(22px, 3vw, 38px);
}

.course-card {
  display: block;
  min-width: 0;
  border-radius: 8px;
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateY(0);
  transform-style: preserve-3d;
  transition: transform 220ms var(--ease-out), filter 220ms var(--ease-out);
}

.course-card:hover {
  filter: drop-shadow(0 22px 34px rgba(18, 53, 91, 0.14));
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateY(-5px);
}

.course-card:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 6px;
}

.course-card.is-hidden {
  display: none;
}

.course-media {
  position: relative;
  display: grid;
  min-height: 150px;
  align-content: start;
  overflow: hidden;
  border-radius: 8px;
  padding: 28px 24px;
  color: var(--navy);
  background: #f5f8fb;
  isolation: isolate;
}

.course-media::before,
.course-media::after {
  position: absolute;
  content: "";
  z-index: -1;
}

.course-media::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.78) 48%, rgba(255, 255, 255, 0.08) 100%),
    var(--course-bg);
}

.course-media::after {
  right: 18px;
  bottom: 0;
  width: 36%;
  min-width: 118px;
  aspect-ratio: 1;
  border-radius: 38% 38% 0 0;
  background:
    radial-gradient(circle at 50% 18%, #f6d2bd 0 12%, transparent 13%),
    linear-gradient(110deg, transparent 0 38%, rgba(18, 53, 91, 0.18) 39% 45%, transparent 46%),
    linear-gradient(180deg, rgba(15, 159, 154, 0.9), rgba(18, 53, 91, 0.9));
  opacity: 0.92;
  transition: transform 260ms var(--ease-out);
}

.course-media .course-badge,
.course-media h3,
.course-media .price {
  transform: translateZ(26px);
}

.course-media::before {
  transition: filter 240ms ease;
}

.course-media:hover::before,
.course-card:hover .course-media::before {
  filter: saturate(1.12) contrast(1.03);
}

.course-media:hover .price,
.course-card:hover .price,
.detail-enroll-card:hover .price {
  transform: translateZ(34px) translateY(-2px);
}

.course-media:hover::after,
.course-card:hover .course-media::after,
.detail-enroll-card:hover .course-media::after {
  transform: translateY(-4px) scale(1.03);
}

.course-media::selection {
  background: transparent;
}

.media-gestion {
  --course-bg: linear-gradient(135deg, #e8f4ff, #dff8ef 56%, #f4b942);
}

.media-marketing {
  --course-bg: linear-gradient(135deg, #fffaf2, #ffd6d0 50%, #0f9f9a);
}

.media-data {
  --course-bg: linear-gradient(135deg, #edf7ff, #b8e8ff 45%, #12355b);
}

.media-leadership {
  --course-bg: linear-gradient(135deg, #f7f1ff, #dff8ef 50%, #ff6f61);
}

.media-teachers {
  --course-bg: linear-gradient(135deg, #e8f4ff, #fffaf2 50%, #0f9f9a);
}

.media-finance {
  --course-bg: linear-gradient(135deg, #f5f7fb, #dff8ef 48%, #f4b942);
}

.course-badge {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  border: 2px solid var(--teal);
  border-radius: 50%;
  color: var(--navy);
  background: var(--white);
  font-size: 0.62rem;
  font-weight: 950;
}

.course-media h3 {
  max-width: 66%;
  margin: 0;
  font-size: 1rem;
  line-height: 1.05;
}

.price {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  min-width: 118px;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--white);
  background: var(--navy);
  text-align: center;
  box-shadow: 0 14px 28px rgba(18, 53, 91, 0.24);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
  overflow: hidden;
}

.price del {
  opacity: 0.75;
  line-height: 1;
}

.price del:empty {
  display: none;
}

.price strong {
  font-size: 1.1rem;
  line-height: 1.1;
}

.rating {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
  color: #aeb8c5;
  font-size: 1.1rem;
}

.rating b {
  color: var(--muted);
}

.course-category {
  margin: 6px 0 10px;
  color: var(--muted);
  font-weight: 650;
}

.course-card > h3 {
  min-height: 58px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 1.2rem;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--muted);
  background: #edf1f7;
  font-weight: 750;
}

.course-detail {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--muted);
  font-weight: 750;
}

.course-detail-page {
  background: #f7f9fc;
}

.detail-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 460px);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: clamp(130px, 13vw, 170px) clamp(18px, 6vw, 96px) clamp(58px, 8vw, 90px);
  color: var(--white);
  background:
    radial-gradient(circle at 74% 0%, rgba(15, 159, 154, 0.34), transparent 30%),
    linear-gradient(135deg, #071d31 0%, #102132 52%, #12355b 100%);
  overflow: hidden;
  isolation: isolate;
}

.detail-hero-copy {
  animation: riseIn 800ms var(--ease-out) both 110ms;
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: #a9fff0;
  font-weight: 900;
}

.detail-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.detail-rating span {
  color: var(--gold);
  font-size: 1.08rem;
}

.detail-hero h1 {
  max-width: 900px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.02;
}

.detail-hero-copy > p:not(.eyebrow) {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.detail-facts div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 18px;
}

.detail-facts span,
.detail-enroll-card p,
.detail-card-list span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
}

.detail-facts strong {
  display: block;
  margin-top: 3px;
  color: var(--white);
  font-size: 1.08rem;
}

.detail-enroll-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  transform: perspective(1000px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transform-style: preserve-3d;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
  animation: softScaleIn 760ms var(--ease-out) both 260ms;
}

.detail-enroll-card:hover {
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.32);
}

.detail-media {
  min-height: 230px;
  margin-bottom: 18px;
  transform: translateZ(24px);
}

.detail-media h3 {
  font-size: 1.28rem;
}

.detail-buy {
  width: 100%;
  margin-bottom: 12px;
  border-radius: 8px;
  text-transform: uppercase;
  transform: translateZ(22px);
}

.detail-card-list {
  display: grid;
  margin-top: 20px;
}

.detail-card-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 0;
  transition: transform 180ms var(--ease-out), border-color 180ms ease;
}

.detail-card-list div:hover {
  border-color: rgba(114, 240, 219, 0.45);
  transform: translateX(4px);
}

.detail-card-list strong {
  color: var(--white);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
  padding: clamp(54px, 7vw, 90px) clamp(18px, 6vw, 96px);
}

.detail-tabs-card,
.popular-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 60px rgba(18, 53, 91, 0.08);
}

.detail-tabs-card {
  overflow: hidden;
  animation: riseIn 760ms var(--ease-out) both;
}

.tab-list {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  padding: 18px 22px 0;
}

.tab-button {
  position: relative;
  min-height: 48px;
  border: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition: color 180ms ease, transform 180ms var(--ease-out);
}

.tab-button:hover {
  transform: translateY(-2px);
}

.tab-button::after {
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: transparent;
  content: "";
}

.tab-button.is-active {
  color: var(--navy);
}

.tab-button.is-active::after {
  background: var(--teal);
}

.tab-panel {
  display: none;
  padding: clamp(22px, 4vw, 44px);
}

.tab-panel.is-active {
  display: block;
  animation: softScaleIn 420ms var(--ease-out) both;
}

.detail-feature {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: clamp(26px, 5vw, 54px);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #17429b, #0fb7ca);
}

.pill {
  display: inline-flex;
  margin: 0 0 22px;
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--navy);
  background: var(--white);
  font-weight: 900;
}

.detail-feature h2,
.project-panel h2,
.popular-card h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3.5vw, 3.1rem);
}

.detail-feature p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.learning-grid,
.benefit-detail-grid,
.project-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.learning-grid article,
.benefit-detail-grid article,
.project-steps span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  color: var(--ink);
  background: #f8fafc;
  font-weight: 800;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), border-color 180ms ease;
}

.learning-grid article:hover,
.benefit-detail-grid article:hover,
.project-steps span:hover,
.module-list article:hover {
  border-color: rgba(15, 159, 154, 0.32);
  box-shadow: 0 16px 36px rgba(18, 53, 91, 0.08);
  transform: translateY(-3px);
}

.module-list {
  display: grid;
  gap: 16px;
}

.module-list article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fbfcfd;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), border-color 180ms ease;
}

.module-list article > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--teal);
  font-weight: 950;
}

.module-list h3,
.benefit-detail-grid h3 {
  margin-bottom: 8px;
  color: var(--navy);
}

.module-list p,
.benefit-detail-grid p,
.project-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.benefit-detail-grid article {
  border-left: 5px solid var(--gold);
  background: var(--paper);
}

.project-panel {
  border: 1px solid rgba(244, 185, 66, 0.7);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 44px);
  background: linear-gradient(135deg, #fff6c7, #fffaf2);
}

.project-panel .pill {
  background: var(--navy);
  color: var(--white);
}

.popular-card {
  position: sticky;
  top: 96px;
  padding: 26px;
  animation: softScaleIn 760ms var(--ease-out) both 180ms;
}

.popular-card h2 {
  font-size: 1.7rem;
}

.related-course {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 16px 0;
  transition: transform 180ms var(--ease-out);
}

.related-course:hover {
  transform: translateX(4px);
}

.related-thumb {
  display: block;
  min-height: 58px;
  border-radius: 8px;
  background: var(--course-bg);
  transition: filter 180ms ease, transform 180ms var(--ease-out);
}

.related-course:hover .related-thumb {
  filter: saturate(1.18);
  transform: scale(1.03);
}

.related-course strong,
.related-course small {
  display: block;
}

.related-course small {
  margin-top: 4px;
  color: var(--teal);
  font-weight: 900;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

}

.methodology {
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.steps article {
  min-height: 260px;
  padding: 24px;
}

.steps span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.steps p,
.benefit-copy p,
.campus p,
.contact-copy p,
.site-footer p,
.testimonial-grid figcaption {
  color: var(--muted);
}

.benefits {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 7vw, 96px);
  background: var(--paper);
}

.benefit-list {
  display: grid;
  gap: 16px;
}

.benefit-list div {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) minmax(190px, 1fr);
  gap: 18px;
  align-items: start;
  border-top: 1px solid rgba(16, 33, 50, 0.16);
  padding-top: 18px;
}

.benefit-list strong {
  color: var(--navy);
  font-size: 1.08rem;
}

.benefit-list span {
  color: var(--muted);
}

.campus {
  background: #f5f7fb;
}

.campus-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  border-radius: 8px;
  padding: clamp(28px, 5vw, 58px);
  color: var(--white);
  background:
    radial-gradient(circle at 85% 0%, rgba(244, 185, 66, 0.38), transparent 32%),
    linear-gradient(135deg, #102132, #155e75 58%, #0f9f9a);
  box-shadow: var(--shadow);
}

.campus-panel .eyebrow,
.campus-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.dashboard-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.dash-header {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.dash-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.dash-row {
  margin-bottom: 12px;
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.13);
}

.dash-row.active {
  background: var(--white);
  color: var(--ink);
}

.dash-row b,
.dash-row small {
  display: block;
}

.dash-row small {
  color: var(--muted);
}

.dash-progress {
  height: 10px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.dash-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

.dash-cards {
  display: flex;
  gap: 10px;
}

.dash-cards span {
  flex: 1;
  min-width: 76px;
  border-radius: 8px;
  padding: 18px 12px;
  text-align: center;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.16);
}

.testimonials {
  background: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.testimonial-grid figure {
  margin: 0;
  padding: clamp(24px, 4vw, 38px);
}

.testimonial-grid blockquote {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 850;
  line-height: 1.14;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 520px);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
  background: var(--mint);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 850;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfcfd;
  font: inherit;
}

.contact-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.site-footer {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding: 42px clamp(18px, 5vw, 70px);
  color: var(--white);
  background: var(--ink);
}

.site-footer p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer nav {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

.classroom-page {
  background: #f4f7fb;
}

.classroom-header {
  color: var(--white);
}

.classroom {
  min-height: 100vh;
}

.classroom-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding: 138px clamp(18px, 5vw, 76px) 64px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(4, 17, 29, 0.98), rgba(14, 54, 76, 0.94) 58%, rgba(31, 165, 151, 0.74)),
    radial-gradient(circle at 78% 14%, rgba(244, 185, 66, 0.24), transparent 34%);
}

.classroom-hero h1 {
  max-width: 980px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1.02;
}

.classroom-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.classroom-progress {
  max-width: 520px;
  margin-top: 34px;
}

.classroom-progress span {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 850;
}

.classroom-progress div {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.classroom-progress i {
  display: block;
  width: 36%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.classroom-next {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.classroom-next span,
.classroom-sidebar-head span,
.tool-card span,
.lesson-tabs span {
  display: block;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.classroom-next strong {
  display: block;
  margin: 10px 0 22px;
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1.15;
}

.classroom-grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr) minmax(260px, 330px);
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 76px) 72px;
}

.classroom-sidebar,
.lesson-stage,
.classroom-tools {
  min-width: 0;
}

.classroom-sidebar,
.lesson-stage,
.tool-card {
  border: 1px solid rgba(16, 33, 50, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(16, 33, 50, 0.08);
}

.classroom-sidebar {
  align-self: start;
  overflow: hidden;
}

.classroom-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 20px;
}

.classroom-sidebar-head strong {
  color: var(--muted);
  font-size: 0.9rem;
}

.classroom-modules article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
}

.classroom-modules article:last-child {
  border-bottom: 0;
}

.classroom-modules article.is-current {
  background: rgba(31, 165, 151, 0.08);
}

.classroom-modules span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
}

.classroom-modules strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  line-height: 1.15;
}

.classroom-modules p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.lesson-stage {
  padding: 24px;
}

.lesson-player {
  display: grid;
  min-height: 430px;
  align-content: end;
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(14, 39, 64, 0.95), rgba(31, 165, 151, 0.9)),
    radial-gradient(circle at 80% 8%, rgba(244, 185, 66, 0.38), transparent 30%);
}

.play-mark {
  display: grid;
  width: 74px;
  height: 74px;
  margin-bottom: 68px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.lesson-player h2 {
  max-width: 620px;
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.lesson-player p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.lesson-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.lesson-tabs article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #f8fbfd;
}

.lesson-tabs p {
  margin: 10px 0 0;
  color: var(--muted);
}

.classroom-tools {
  display: grid;
  align-self: start;
  gap: 16px;
}

.tool-card {
  padding: 22px;
}

.tool-card a {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  color: var(--ink);
  font-weight: 850;
}

.tool-card a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tool-card.accent {
  border-color: rgba(244, 185, 66, 0.6);
  background: #fff6d9;
}

.tool-card strong {
  display: block;
  margin: 12px 0;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.15;
}

.tool-card p {
  margin-bottom: 0;
  color: #7a4a18;
}

.login-page {
  min-height: 100vh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(2, 10, 15, 0.94), rgba(4, 18, 24, 0.84)),
    url("assets/hero-education.png") center / cover fixed;
}

.login-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 520px);
  gap: clamp(32px, 7vw, 120px);
  align-items: center;
  padding: clamp(28px, 6vw, 90px);
}

.login-story {
  position: relative;
  max-width: 820px;
  padding-left: clamp(24px, 4vw, 52px);
  animation: riseIn 800ms var(--ease-out) both;
}

.login-line {
  position: absolute;
  top: 26px;
  bottom: 8px;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: var(--gold);
}

.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(42px, 8vw, 96px);
  font-size: 1.25rem;
  font-weight: 950;
}

.login-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #d9fff8;
  font-weight: 950;
  text-transform: uppercase;
}

.login-kicker::before {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.login-story h1 {
  max-width: 820px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(3.8rem, 8vw, 7.8rem);
  line-height: 0.92;
}

.login-story p:not(.login-kicker) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.login-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.login-tags span {
  border: 1px solid rgba(114, 240, 219, 0.35);
  border-radius: 999px;
  padding: 9px 14px;
  color: #d9fff8;
  background: rgba(15, 159, 154, 0.18);
  font-weight: 900;
  text-transform: uppercase;
}

.login-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: clamp(26px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  animation: softScaleIn 780ms var(--ease-out) both 120ms;
}

.login-card h2 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
}

.login-card > p,
.login-note p,
.login-message {
  color: rgba(255, 255, 255, 0.68);
}

.login-card form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.login-card label {
  display: grid;
  gap: 9px;
  color: #d9fff8;
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.login-card input {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--white);
  background: rgba(2, 10, 15, 0.56);
  font: inherit;
}

.login-card input:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(244, 185, 66, 0.18);
}

.login-card .login-submit {
  width: 100%;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--gold);
  cursor: pointer;
}

.login-message {
  min-height: 24px;
  margin: -4px 0 0;
  font-weight: 800;
}

.login-note {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 22px;
}

.login-note p {
  margin-bottom: 0;
}

.login-note a {
  color: var(--gold);
  font-weight: 900;
}

@media (min-width: 981px) and (max-width: 1500px) {
  .site-header {
    padding: 14px clamp(26px, 4vw, 54px);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .main-nav {
    gap: clamp(12px, 1.8vw, 22px);
    font-size: 0.88rem;
  }

  .nav-cta,
  .login-link {
    padding: 9px 14px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: min(560px, calc(100% - 64px));
    padding: 118px 0 52px clamp(38px, 5vw, 70px);
  }

  h1 {
    max-width: 540px;
    font-size: clamp(3rem, 4.5vw, 4.25rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(2.1rem, 3.8vw, 3.25rem);
    line-height: 1.04;
  }

  .hero-copy {
    max-width: 560px;
    font-size: 1.03rem;
  }

  .hero-actions {
    margin: 24px 0 30px;
  }

  .hero-stats div {
    padding: 12px 14px;
  }

  .section {
    padding: clamp(56px, 7vw, 86px) clamp(34px, 5vw, 70px);
  }

  .intro {
    gap: clamp(30px, 5vw, 68px);
  }

  .intro-panel > p {
    font-size: clamp(1.02rem, 1.55vw, 1.18rem);
  }

  .proof-grid article {
    min-height: 104px;
    padding: 16px;
  }

  .courses-page {
    padding-top: 116px;
  }

  .courses-page h1 {
    max-width: 1050px;
    font-size: clamp(2.8rem, 4.8vw, 4.6rem);
  }

  .course-grid {
    gap: 34px 28px;
  }

  .detail-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 420px);
    padding: 118px clamp(34px, 5vw, 76px) 64px;
  }

  .detail-hero h1 {
    max-width: 760px;
    font-size: clamp(2.4rem, 4.4vw, 4.2rem);
  }

  .detail-layout {
    padding: 56px clamp(34px, 5vw, 76px);
  }

  .classroom-hero {
    padding: 118px clamp(34px, 5vw, 76px) 54px;
  }

  .classroom-hero h1 {
    max-width: 760px;
    font-size: clamp(2.3rem, 4.2vw, 4rem);
  }

  .classroom-grid {
    grid-template-columns: minmax(230px, 285px) minmax(0, 1fr);
  }

  .classroom-tools {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .login-shell {
    gap: clamp(28px, 5vw, 76px);
    padding: clamp(30px, 5vw, 70px);
  }

  .login-brand {
    margin-bottom: 56px;
  }

  .login-story h1 {
    max-width: 680px;
    font-size: clamp(3.1rem, 6.3vw, 5.8rem);
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% - 6px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-visible {
    display: flex;
  }

  .main-nav a {
    border-radius: 8px;
    padding: 14px;
  }

  .nav-cta {
    border-color: var(--line);
    text-align: center;
  }

  .intro,
  .course-catalog,
  .detail-hero,
  .detail-layout,
  .classroom-hero,
  .classroom-grid,
  .login-shell,
  .benefits,
  .campus-panel,
  .contact {
    grid-template-columns: 1fr;
  }

  .course-filters {
    position: static;
  }

  .detail-enroll-card,
  .popular-card {
    position: static;
  }

  .detail-facts,
  .learning-grid,
  .benefit-detail-grid,
  .project-steps {
    grid-template-columns: 1fr;
  }

  .intro::before {
    top: 44px;
    bottom: auto;
    height: 76px;
  }

  .intro .section-heading {
    padding-left: 28px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .course-grid,
  .steps,
  .classroom-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .classroom-sidebar,
  .lesson-stage,
  .classroom-tools {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(15, 28, 45, 0.9) 0%, rgba(18, 53, 91, 0.8) 58%, rgba(18, 53, 91, 0.52)),
      linear-gradient(90deg, rgba(16, 33, 50, 0.34), rgba(16, 33, 50, 0.16));
  }

  .hero-content {
    width: min(100%, 390px);
    max-width: 100%;
    padding: 126px 18px 42px;
  }

  h1 {
    font-size: clamp(2.28rem, 12.2vw, 3.5rem);
  }

  .button,
  .hero-actions a {
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-stats div {
    min-width: 0;
  }

  .hero-stats div:last-child {
    grid-column: 1 / -1;
  }

  .section-heading.split,
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .course-grid,
  .steps,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .course-card > h3,
  .steps article {
    min-height: auto;
  }

  .course-media {
    min-height: 170px;
  }

  .detail-hero {
    padding-top: 112px;
  }

  .detail-facts {
    gap: 10px;
  }

  .detail-facts div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 12px 0 0;
  }

  .detail-layout {
    padding-right: 18px;
    padding-left: 18px;
  }

  .classroom-hero {
    padding: 104px 16px 38px;
  }

  .classroom-grid {
    padding: 18px 16px 48px;
  }

  .lesson-player {
    min-height: 360px;
  }

  .lesson-tabs,
  .classroom-tools {
    grid-template-columns: 1fr;
  }

  .tab-panel {
    padding: 20px;
  }

  .module-list article {
    grid-template-columns: 1fr;
  }

  .benefit-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer,
  .site-footer nav,
  .login-note {
    flex-direction: column;
  }

  .login-shell {
    padding: 26px 18px;
  }

  .login-story {
    padding-left: 22px;
  }

  .login-story h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .login-brand {
    margin-bottom: 46px;
  }
}
