:root {
  --ink: #111722;
  --muted: #5f6876;
  --line: #e2e7ec;
  --paper: #ffffff;
  --soft: #f6f8f9;
  --deep: #151a24;
  --deep-2: #202020;
  --teal: #00a6ad;
  --teal-dark: #00848a;
  --orange: #ff6333;
  --red: #c53643;
  --yellow: #ffcf2e;
  --shadow: 0 26px 70px rgba(17, 24, 39, 0.17);
  --hero-image: url("images/hero-neuroaprendizagem.png");
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.is-hidden {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(12, 15, 22, 0.28);
  backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}

.navbar,
.section,
.benefits,
.footer,
.partners-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.navbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 112px;
  gap: 44px;
}

.brand {
  display: grid;
  gap: 2px;
}

.brand-logo {
  display: block;
  width: 250px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 112px;
  color: rgba(255, 255, 255, 0.9);
  transition: color 180ms ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #fff;
}

.nav-links a:not(.is-active)::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.6);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 220ms ease;
}

.nav-links a:not(.is-active):hover::before {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.9rem;
  font-weight: 800;
}

.header-actions a {
  padding: 15px 20px;
  border-radius: 0;
  background: var(--orange);
  box-shadow: none;
  white-space: nowrap;
  transition: background 180ms ease, transform 180ms ease;
}

.header-actions a:hover {
  background: #ff754b;
  transform: translateY(-2px);
}

.header-actions .cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #fff;
  background: transparent;
}

.cart-icon {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  background: #080808 url("images/cart-icon-inafe.png") center 52% / 230% auto no-repeat;
  background-color: transparent;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.24));
  mix-blend-mode: screen;
}

.cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 0.68rem;
  line-height: 1;
}

.search-toggle {
  position: relative;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.search-toggle span,
.search-toggle span::after {
  position: absolute;
  display: block;
  content: "";
}

.search-toggle span {
  top: 8px;
  left: 8px;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.search-toggle span::after {
  right: -7px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transform: rotate(45deg);
  transform-origin: left center;
}

.site-search {
  position: absolute;
  top: calc(100% + 14px);
  right: max(20px, calc((100vw - 1180px) / 2));
  z-index: 2;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 8px;
  width: min(380px, calc(100vw - 40px));
  padding: 10px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.24);
}

.site-search.is-open {
  display: grid;
  animation: search-pop 180ms ease both;
}

.site-search input {
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
}

.site-search input:focus {
  border-color: var(--teal);
  outline: 2px solid rgba(0, 166, 173, 0.22);
  outline-offset: 1px;
}

.site-search button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--teal);
  cursor: pointer;
  font-weight: 800;
}

.site-search button:hover {
  background: var(--teal-dark);
}

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

@keyframes search-pop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

:focus-visible {
  outline: 3px solid #65d8de;
  outline-offset: 4px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.hero {
  min-height: 870px;
  display: grid;
  align-items: center;
  padding: 178px max(20px, calc((100vw - 1460px) / 2)) 96px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.46) 44%, rgba(0, 0, 0, 0.08) 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32px;
  background: var(--teal);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding-left: 0;
  border-left: 0;
  transform: translateX(-150px);
}

.eyebrow {
  position: relative;
  margin: 0 0 28px;
  padding-left: 0;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.section-heading h2,
.partners-section h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, 5vw, 4.65rem);
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--teal);
}

.hero p:not(.eyebrow) {
  max-width: 590px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 62px;
  padding: 0 36px;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease var(--reveal-delay, 0ms), transform 650ms ease var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

button,
.button,
.header-actions a,
.catalog-content a,
.course-meta a,
.role-choice a,
.role-choice button,
.video-placeholder button {
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: none;
}

.button.primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 132, 138, 0.24);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.button.dark {
  color: var(--ink);
  border-color: var(--line);
}

.button.center {
  width: max-content;
  margin: 34px auto 0;
}

.course-media span {
  width: max-content;
  max-width: 100%;
  padding: 7px 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--orange);
  font-weight: 800;
}

.benefits {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 48px max(20px, calc((100vw - 1180px) / 2));
  background: var(--teal);
}

.benefits article {
  padding: 20px 38px;
  border-radius: 0;
  color: #fff;
  background: transparent;
}

.benefits article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
}

.benefit-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefits h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.18;
}

.benefits p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.section {
  padding: 96px 0;
}

.about.section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 58px 24px 64px;
  background: #fff url("images/about-inafe-background.jpg") center bottom / cover no-repeat;
}

.about-inner {
  display: grid;
  width: min(1000px, 100%);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 38px;
  margin: 0 auto;
}

.portrait-placeholder,
.owner-photo-placeholder {
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 50%;
  color: #fff;
  background:
    linear-gradient(135deg, var(--teal), #08b994 58%, #ffb547);
  box-shadow: var(--shadow);
}

.owner-photo-placeholder {
  position: relative;
  width: min(334px, 100%);
  aspect-ratio: 0.94;
  overflow: hidden;
  border-radius: 16px;
  background: #07a9ad;
  box-shadow: 0 18px 36px rgba(8, 42, 50, 0.18);
}

.owner-photo-placeholder span {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 180px;
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.owner-photo-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: none;
  transition: transform 600ms ease;
}

.owner-photo-placeholder:hover img {
  transform: scale(1.035);
}

.portrait-placeholder span {
  display: inline-grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border-radius: 8px;
  background: #8d068d;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 900;
}

.section-copy h2,
.section-heading h2,
.partners-section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.about .section-copy .eyebrow {
  display: table;
  margin: 0 0 12px;
  padding: 3px 13px;
  border-radius: 999px;
  color: #008b91;
  background: rgba(41, 197, 199, 0.2);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.5;
  text-transform: uppercase;
}

.about .section-copy h2 {
  position: relative;
  max-width: 500px;
  margin: 0 0 24px;
  padding-bottom: 15px;
  color: #111722;
  font-size: 2.75rem;
  line-height: 1.06;
}

.about .section-copy h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 162px;
  height: 5px;
  border-radius: 50%;
  background: #00a6ad;
  content: "";
  transform: rotate(-2deg);
}

.about .section-copy p:not(.eyebrow) {
  max-width: 600px;
  margin: 0 0 14px;
  color: #303846;
  font-size: 0.98rem;
  line-height: 1.52;
}

.section-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.stats span {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.stats strong {
  display: block;
  color: var(--ink);
  font-size: 1.55rem;
}

.courses {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.filter.active {
  color: #fff;
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 10px 22px rgba(255, 99, 51, 0.2);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.course-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.course-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 54px rgba(17, 24, 39, 0.14);
}

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

.course-media {
  min-height: 250px;
  display: flex;
  align-items: flex-start;
  padding: 18px;
  color: #fff;
  background: var(--deep);
}

.media-family {
  background:
    linear-gradient(180deg, rgba(20, 25, 35, 0.1), rgba(20, 25, 35, 0.76)),
    url("images/fundadora-inafe.png") center 18% / cover;
}

.media-brain {
  background:
    linear-gradient(180deg, rgba(20, 25, 35, 0.08), rgba(20, 25, 35, 0.78)),
    url("images/hero-neuroaprendizagem.png") 70% center / cover;
}

.media-clinic {
  background:
    linear-gradient(180deg, rgba(20, 25, 35, 0.08), rgba(20, 25, 35, 0.78)),
    url("images/fundadora-inafe.png") 60% 16% / cover;
}

.course-body {
  padding: 22px;
}

.course-body h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.16;
}

.course-body p {
  min-height: 70px;
  margin: 0;
  color: var(--muted);
}

.course-details {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.course-details li {
  position: relative;
  padding-left: 18px;
}

.course-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.course-meta a {
  padding: 9px 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--teal);
  font-weight: 800;
}

.courses-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.courses-heading .eyebrow {
  margin-bottom: 16px;
  color: var(--teal-dark);
}

.courses-heading h2 {
  color: var(--ink);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.02;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.section-link span,
.course-card-link span {
  font-size: 1.5em;
  line-height: 0.5;
  transition: transform 180ms ease;
}

.section-link:hover span,
.course-card-link:hover span {
  transform: translateX(4px);
}

.home-course-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.home-course-card {
  border-color: #edf0f2;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(17, 24, 39, 0.07);
}

.home-course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(17, 24, 39, 0.13);
}

.home-course-card .course-media {
  min-height: 0;
  aspect-ratio: 1.91 / 1;
  padding: 0;
  background-position: center;
  background-size: cover;
}

.media-mentoria {
  background: url("images/mentoria-nexo-card.webp") center / cover;
}

.media-presencial {
  background: url("images/cursos-presenciais-2027.webp") center / cover;
}

.home-course-card .course-body {
  min-height: 194px;
  display: flex;
  flex-direction: column;
  padding: 22px 26px 24px;
}

.home-course-card .course-body h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.55rem;
}

.home-course-card .course-body p {
  min-height: 0;
  max-width: 230px;
  color: var(--muted);
  font-size: 1.02rem;
}

.course-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  margin-top: auto;
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 800;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.flow-grid article {
  min-height: 260px;
  padding: 24px;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.flow-grid article:first-child {
  border-left: 0;
}

.flow-grid article::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--teal);
}

.flow-grid span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--orange);
  background: rgba(255, 99, 51, 0.1);
  font-weight: 900;
}

.flow-grid h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.flow-grid p {
  margin: 0;
  color: var(--muted);
}

.certificate-flow {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  background: var(--deep);
}

.certificate-flow .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.certificate-grid article {
  min-height: 220px;
  padding: 24px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}

.certificate-grid article:first-child {
  border-left: 0;
}

.certificate-grid h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.certificate-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.partners-section {
  width: 100%;
  max-width: none;
  min-height: 602px;
  padding: 35px max(20px, calc((100vw - 994px) / 2)) 66px;
  color: #102840;
  background: #f5fcfc url("images/ecossistema-background.jpg") center / cover no-repeat;
}

.partners-inner {
  width: min(994px, 100%);
  margin: 0 auto;
}

.partners-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.8fr);
  align-items: center;
  gap: 38px;
  margin-bottom: 41px;
}

.partners-heading .eyebrow {
  display: inline-block;
  margin: 0 0 8px;
  padding: 5px 11px;
  border-radius: 999px;
  color: #075765;
  background: rgba(86, 214, 219, 0.3);
  font-size: 0.75rem;
}

.partners-heading h2 {
  max-width: 590px;
  margin: 0;
  color: #102840;
  font-size: 2.65rem;
  line-height: 1.02;
}

.partners-heading h2 > span {
  display: block;
}

.partners-heading h2 .partners-heading-accent {
  position: relative;
  width: fit-content;
  max-width: 100%;
  color: #078b98;
}

.partners-heading h2 .partners-heading-accent::after {
  position: absolute;
  right: 6px;
  bottom: -11px;
  left: 49%;
  height: 8px;
  border-top: 5px solid #f5b51b;
  border-radius: 50%;
  content: "";
  transform: rotate(-1deg);
}

.partners-heading > p {
  max-width: 350px;
  margin: 55px 0 0;
  padding-left: 23px;
  border-left: 2px solid #288b90;
  color: #263548;
  font-size: 0.98rem;
  line-height: 1.4;
}

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

.partner-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 14px 24px 20px;
  overflow: hidden;
  border: 1px solid rgba(5, 37, 54, 0.16);
  border-radius: 17px;
  background: #07545d;
  box-shadow: 0 12px 28px rgba(9, 65, 77, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.partner-neuroskills {
  background: linear-gradient(120deg, #075c64, #064d57);
}

.partner-syncaudio {
  background: linear-gradient(120deg, #123b5b, #0c2f4c);
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 17px 32px rgba(9, 65, 77, 0.2);
}

.partner-card-header {
  display: flex;
  align-items: center;
  min-height: 30px;
  color: #fff;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 3px 11px 3px 4px;
  border-radius: 999px;
  background: rgba(5, 32, 48, 0.28);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.partner-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  letter-spacing: 0;
}

.partner-label {
  color: rgba(255, 255, 255, 0.9);
}

.partner-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  height: 78px;
  margin: 7px 0 10px;
  color: #fff;
}

.partner-mark img {
  display: block;
  width: 78px;
  height: 72px;
  object-fit: contain;
  object-position: center;
}

.partner-syncaudio .partner-mark img {
  width: 104px;
  height: 66px;
}

.partner-mark-divider {
  width: 1px;
  height: 64px;
  background: rgba(255, 255, 255, 0.6);
}

.partner-mark .partner-wordmark {
  display: block;
  margin: 0;
  color: #fff;
  font-size: 1.72rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
}

.partner-card h3 {
  max-width: 440px;
  margin: 0;
  color: #fff;
  font-size: 1.22rem;
  line-height: 1.2;
}

.partner-card p {
  max-width: 440px;
  margin: 8px 0 15px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.4;
}

.partner-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: auto;
  padding: 9px 17px;
  border: 0;
  border-radius: 999px;
  color: #102840;
  background: #ffc554;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
}

.partner-syncaudio .partner-link {
  background: #60d8dc;
}

.partner-link:disabled {
  cursor: not-allowed;
  filter: saturate(0.55);
  opacity: 0.65;
}

.partner-link:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.partner-link:disabled:hover {
  filter: saturate(0.55);
  transform: none;
}

.partner-link span {
  font-size: 1.4em;
  line-height: 0.6;
  transition: transform 180ms ease;
}

.partner-link:hover span {
  transform: translateX(5px);
}

.partner-link:disabled:hover span {
  transform: none;
}

.footer {
  width: 100%;
  max-width: none;
  padding: 58px 20px 26px;
  border-top: 1px solid #e3e7ed;
  color: var(--deep);
  background: #fff;
}

.footer-inner {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(120px, 0.75fr)) 1.15fr;
  gap: 32px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 16px;
}

.footer-brand img {
  width: 220px;
  height: auto;
}

.footer-brand p,
.footer-copy {
  margin: 0;
  color: #667085;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.55;
}

.footer-column,
.footer-contact {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
}

.footer-column h3,
.footer-contact h3 {
  margin: 0 0 7px;
  color: var(--deep);
  font-size: 0.95rem;
  font-weight: 900;
}

.footer-column a,
.footer-location p,
.footer-location-address {
  color: #667085;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

.footer-column a:hover {
  color: var(--teal-dark);
}

.legal-page-shell {
  min-height: 100vh;
  color: #182337;
  background: #f6f9fb;
}

.legal-page-header {
  position: relative;
  top: auto;
}

.legal-back-link {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.legal-document-main {
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 88px;
}

.legal-document {
  padding: clamp(24px, 5vw, 64px);
  background: #fff;
  border: 1px solid #dce4eb;
  border-radius: 8px;
}

.legal-document h1 {
  max-width: 800px;
  margin: 8px 0 16px;
  color: #111d32;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.12;
}

.legal-document-lead {
  max-width: 760px;
  margin: 0;
  color: #526174;
  font-size: 1.08rem;
  line-height: 1.7;
}

.legal-review-notice {
  margin: 28px 0 36px;
  padding: 16px 18px;
  color: #604400;
  background: #fff7db;
  border-left: 4px solid #f0bd24;
  line-height: 1.6;
}

.legal-document section {
  padding: 26px 0;
  border-top: 1px solid #e3e8ee;
}

.legal-document section h2 {
  margin: 0 0 12px;
  color: #10243b;
  font-size: 1.2rem;
  line-height: 1.35;
}

.legal-document section p {
  max-width: 780px;
  margin: 0 0 12px;
  color: #405067;
  line-height: 1.7;
}

.legal-document section p:last-child {
  margin-bottom: 0;
}

.legal-document a:not(.button) {
  color: #087f84;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-contact-section {
  margin-top: 10px;
  padding: 24px !important;
  background: #f2f8f9;
  border: 1px solid #d2e8e9 !important;
  border-radius: 6px;
}

.legal-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.legal-contact-actions .button {
  min-height: 46px;
}

.enrollment-legal-links {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid #d0e1e7;
  border-radius: 6px;
  background: #f5fafb;
}

.enrollment-legal-links h2,
.enrollment-legal-links p {
  margin: 0;
}

.enrollment-legal-links h2 {
  color: #12243a;
  font-size: 1rem;
}

.enrollment-legal-links p {
  color: #526174;
  line-height: 1.55;
}

.enrollment-legal-links > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.enrollment-legal-links a,
.nexo-legal-links a {
  color: #087f84;
  font-weight: 800;
  text-underline-offset: 3px;
}

.nexo-legal-links {
  margin: 16px 0 0;
  color: #c7d3dd;
  line-height: 1.6;
}

.student-contract-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 18px;
}

.student-contract-links a {
  color: #087f84;
  font-weight: 800;
  text-underline-offset: 3px;
}

.student-contracts-notice {
  margin: 18px 0 0;
  color: #6b7788;
  font-size: 0.9rem;
  line-height: 1.55;
}

.legal-document-source {
  margin: 28px 0 0;
  color: #6b7788;
  font-size: 0.85rem;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .legal-page-header {
    padding-inline: 18px;
  }

  .legal-page-header .app-nav {
    display: none;
  }

  .legal-document-main {
    width: min(100% - 24px, 1000px);
    padding: 24px 0 52px;
  }

  .legal-document {
    padding: 24px 20px;
  }

  .legal-document h1 {
    font-size: 1.9rem;
  }

  .legal-contact-actions {
    display: grid;
  }
}

.social-links {
  display: flex;
  gap: 10px;
  margin: 2px 0 12px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: var(--deep);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.social-links a:hover {
  color: #fff;
  background: var(--teal-dark);
}

.social-links a svg {
  display: block;
  width: 16px;
  height: 16px;
}

.footer-location {
  display: grid;
  gap: 8px;
  width: 100%;
}

.footer-location-title {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--deep);
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-location-title:hover {
  color: var(--teal-dark);
}

.footer-location-title span {
  position: relative;
  width: 13px;
  height: 16px;
  border: 2px solid var(--deep);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.footer-location-title span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--deep);
}

.footer-location iframe {
  display: block;
  width: 100%;
  max-width: 220px;
  height: 112px;
  border: 0;
  border-radius: 4px;
}

.footer-location p {
  margin: 0;
}

.footer-location-address {
  text-decoration: none;
}

.footer-location-address:hover {
  color: var(--teal-dark);
}

.footer-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid #e3e7ed;
}

.footer-bottom nav {
  align-items: center;
  flex-wrap: wrap;
  color: #98a2b3;
  font-size: 0.8rem;
  font-weight: 700;
}

.footer-bottom nav a {
  color: #667085;
}

.footer-bottom nav a:hover {
  color: var(--teal-dark);
}

.footer-copy {
  text-align: right;
}

.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: #20c768;
  border: 4px solid #fff;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.22);
}

.whatsapp svg {
  display: block;
  width: 30px;
  height: 30px;
}

.whatsapp:hover {
  background: #169f50;
}

.page-shell,
.course-shell,
.lesson-shell,
.auth-shell,
.admin-shell {
  min-height: 100vh;
  background: #141722;
}

.app-header,
.course-topbar,
.lesson-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding: 0 max(24px, calc((100vw - 1400px) / 2));
  color: #fff;
  background: rgba(20, 23, 34, 0.96);
}

.app-header .brand-logo {
  width: 190px;
}

.app-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
  font-weight: 800;
}

.app-nav a {
  color: rgba(255, 255, 255, 0.76);
  flex: 0 0 auto;
  white-space: nowrap;
}

.app-nav a.is-active,
.app-nav a:hover {
  color: #fff;
}

.app-login,
.course-topbar a,
.lesson-header a {
  color: #fff;
  font-weight: 800;
}

.app-login {
  flex: 0 0 auto;
  white-space: nowrap;
}

.app-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.app-cart {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
}

.app-cart span,
.course-topbar a span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 0.75rem;
}

.catalog-guide {
  min-height: 256px;
  padding: 26px max(24px, calc((100vw - 1080px) / 2));
  color: #fff;
  background: #101522 url("images/catalog-process-background.webp") center top / cover no-repeat;
}

.catalog-guide-inner {
  display: grid;
  width: min(1080px, 100%);
  min-height: 204px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 34px;
  margin: 0 auto;
}

.catalog-guide-copy .eyebrow {
  margin: 0 0 12px;
  color: #fff;
  font-size: 0.78rem;
}

.catalog-guide h1,
.course-hero h1,
.lesson-info h1,
.auth-layout h1,
.admin-main h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1;
}

.catalog-guide h1 {
  max-width: 500px;
  font-size: clamp(2rem, 3.25vw, 2.65rem);
  line-height: 1.04;
}

.catalog-guide h1 span {
  position: relative;
  display: inline-block;
  color: #ffca36;
  white-space: nowrap;
}

.catalog-guide h1 span::after {
  position: absolute;
  right: 3px;
  bottom: -7px;
  left: 0;
  height: 7px;
  border-top: 4px solid #ffca36;
  border-radius: 50%;
  content: "";
  transform: rotate(-2deg);
}

.catalog-guide-copy > p:last-child {
  max-width: 430px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.catalog-guide-process {
  min-width: 0;
  padding-left: 34px;
  border-left: 2px solid #2cc8d5;
}

.catalog-guide-label {
  width: fit-content;
  margin: 0 auto 18px;
  padding: 6px 22px;
  border: 1px solid #32cbd7;
  border-radius: 999px;
  color: #fff;
  background: rgba(19, 49, 68, 0.72);
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.catalog-guide-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr) 32px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
}

.catalog-guide-step {
  position: relative;
  display: flex;
  min-height: 138px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 17px 9px 12px;
  border: 1.5px solid #37cad6;
  border-radius: 26px;
  background: rgba(8, 29, 44, 0.38);
  text-align: center;
}

.catalog-guide-number {
  position: absolute;
  top: -7px;
  left: 10px;
  display: grid;
  width: 32px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: #10202d;
  background: #ffca18;
  font-size: 1rem;
  font-weight: 900;
}

.catalog-guide-step svg {
  width: 43px;
  height: 43px;
  fill: none;
  stroke: #48d8e0;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.catalog-guide-step h2 {
  margin: 0;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.18;
}

.catalog-guide-arrow {
  color: #ffca18;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.catalog-guide + .catalog-layout {
  padding-top: 28px;
}

@media (max-width: 920px) {
  .catalog-guide-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .catalog-guide-process {
    padding: 22px 0 0;
    border-top: 2px solid #2cc8d5;
    border-left: 0;
  }
}

.course-hero span {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.catalog-layout {
  display: block;
  padding: 64px max(24px, calc((100vw - 1400px) / 2)) 96px;
}

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

.catalog-entry {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  background-color: #202938;
  background-position: center;
  background-size: cover;
  text-decoration: none;
  isolation: isolate;
}

.catalog-entry::before {
  position: absolute;
  z-index: 0;
  background: linear-gradient(180deg, rgba(16, 20, 31, 0.12) 8%, rgba(16, 20, 31, 0.88) 100%);
  content: "";
  inset: 0;
}

.catalog-entry > * {
  position: relative;
  z-index: 1;
}

.catalog-entry:hover .catalog-entry-action {
  gap: 14px;
}

.catalog-entry-mentoria {
  background-image: url("images/mentoria-nexo-card.webp");
  background-position: center;
}

.catalog-entry-presencial {
  background-image: url("images/cursos-presenciais-2027.webp");
  background-position: center;
}

.catalog-entry-kicker {
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 4px;
  background: var(--teal);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-entry-content {
  display: grid;
  max-width: 520px;
  gap: 10px;
  margin-top: auto;
}

.catalog-entry-content > strong {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.catalog-entry-content > span:not(.catalog-entry-action) {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.catalog-entry-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: #fff;
  font-weight: 800;
  transition: gap 160ms ease;
}

.catalog-results-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.catalog-results-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 1.8rem;
}

.catalog-enroll-link {
  margin-left: auto;
  white-space: nowrap;
}

.catalog-back {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #fff;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.catalog-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.catalog-card {
  flex: 0 1 420px;
  max-width: 420px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.catalog-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  font-weight: 700;
}

.catalog-cover {
  min-height: 0;
  position: relative;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding: 0;
  background: #253044;
  isolation: isolate;
}

.catalog-cover.has-custom-cover {
  background: #17242a;
}

.catalog-cover-backdrop {
  position: absolute;
  z-index: 0;
  inset: -20px;
  background-position: center;
  background-size: cover;
  filter: blur(18px) brightness(0.55);
  transform: scale(1.08);
}

.catalog-cover-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.catalog-cover-label {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 7px 12px;
  border-radius: 6px;
  color: #fff;
  background: var(--orange);
  font-weight: 800;
}

.course-cover-one,
.module-one {
  background:
    linear-gradient(180deg, rgba(9, 18, 30, 0.08), rgba(9, 18, 30, 0.76)),
    url("images/hero-neuroaprendizagem.png") 72% center / cover;
}

.course-cover-two,
.module-two {
  background:
    linear-gradient(180deg, rgba(9, 18, 30, 0.08), rgba(9, 18, 30, 0.76)),
    url("images/fundadora-inafe.png") center 16% / cover;
}

.course-cover-three,
.module-three,
.module-four {
  background:
    linear-gradient(180deg, rgba(9, 18, 30, 0.08), rgba(9, 18, 30, 0.76)),
    url("images/hero-neuroaprendizagem.png") 55% center / cover;
}

.catalog-content {
  padding: 22px;
}

.catalog-content p,
.catalog-content span {
  color: var(--muted);
}

.catalog-content h2 {
  margin: 8px 0;
  line-height: 1.1;
}

.catalog-presential-content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  color: #fff;
}

.catalog-presential-content h2 {
  min-width: 0;
  margin: 0;
  color: #fff;
  font-size: 1.22rem;
  line-height: 1.18;
}

.catalog-presential-content .catalog-card-more {
  min-height: 42px;
  padding: 9px 12px;
  white-space: nowrap;
}

.catalog-card-more span {
  display: inline-block;
  margin-left: 4px;
  color: inherit;
  transition: transform 160ms ease;
}

.catalog-card-more:hover span {
  transform: translateX(3px);
}

.catalog-card.is-presential {
  position: relative;
  color: #fff;
  background: #132b35;
}

.catalog-card.is-presential .catalog-cover {
  aspect-ratio: 5 / 6;
}

.catalog-card.is-presential .catalog-cover::after {
  position: absolute;
  z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(9, 19, 30, 0.18) 57%, rgba(9, 19, 30, 0.88) 100%);
  content: "";
  inset: 0;
}

.catalog-card.is-presential .catalog-cover-image {
  height: 100%;
  object-fit: cover;
}

.catalog-content div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.catalog-content a,
.admin-main button,
.admin-form button,
.role-choice a,
.role-choice button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 15px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--teal);
  font: inherit;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  text-align: center;
}

.catalog-content div {
  flex-wrap: wrap;
}

.catalog-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  color: var(--teal-dark);
  background: #fff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.catalog-add:hover,
.catalog-add.is-added {
  color: #fff;
  background: var(--teal);
}

@media (max-width: 480px) {
  .catalog-presential-content {
    gap: 12px;
    padding: 18px;
  }

  .catalog-presential-content h2 {
    font-size: 1.08rem;
  }
}

.course-hero {
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 120px max(24px, calc((100vw - 1400px) / 2)) 58px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(20, 23, 34, 0.18), rgba(20, 23, 34, 0.96)),
    var(--course-cover-image, var(--hero-image));
  background-size: cover;
  background-position: center;
}

.course-hero-copy {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.course-price {
  color: #fff;
  font-size: 1.2rem;
}

.course-add {
  min-height: 48px;
  margin-top: 0;
}

.course-purchase-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.course-syllabus-trigger {
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  color: #fff;
  background: rgba(21, 26, 36, 0.28);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.course-syllabus-trigger:hover {
  border-color: #fff;
  color: var(--deep);
  background: #fff;
}

.course-syllabus-dialog {
  width: min(640px, calc(100vw - 32px));
  max-height: min(80vh, 760px);
  padding: 28px;
  border: 1px solid #dce3e8;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 80px rgba(8, 15, 26, 0.28);
}

.course-syllabus-dialog::backdrop {
  background: rgba(8, 15, 26, 0.68);
  backdrop-filter: blur(3px);
}

.course-syllabus-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.course-syllabus-heading .eyebrow {
  margin: 0 0 6px;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.course-syllabus-heading h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

.course-syllabus-close {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 1.4rem;
  cursor: pointer;
}

.course-syllabus-content {
  max-height: calc(min(80vh, 760px) - 120px);
  overflow-y: auto;
  padding-top: 18px;
}

.course-syllabus-content ol {
  display: grid;
  gap: 18px;
  margin: 0;
  padding-left: 22px;
}

.course-syllabus-content li::marker {
  color: var(--teal-dark);
  font-weight: 800;
}

.course-syllabus-content p {
  margin: 5px 0 0;
  color: var(--muted);
}

.course-syllabus-content ul {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  padding-left: 18px;
  color: var(--muted);
}

.course-hero-media {
  display: none;
}

.course-facts,
.course-overview {
  display: none;
}

.course-shell.is-presential {
  color: var(--deep);
  background: #fff;
}

.course-shell.is-presential .course-topbar {
  color: var(--deep);
  background: #fff;
  border-bottom-color: var(--line);
}

.course-shell.is-presential .course-topbar a {
  color: var(--deep);
}

.course-shell.is-presential .course-hero {
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.95fr);
  align-items: stretch;
  padding: 0 max(24px, calc((100vw - 1400px) / 2));
  color: var(--deep);
  background: #f2f7f7;
}

.course-shell.is-presential .course-hero-copy {
  align-content: center;
  padding: 58px 52px 58px 0;
}

.course-shell.is-presential .course-hero .eyebrow {
  color: var(--teal-dark);
}

.course-shell.is-presential .course-hero h1 {
  max-width: 680px;
  color: var(--deep);
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 1.02;
}

.course-shell.is-presential .course-hero span[data-course-description] {
  max-width: 620px;
  color: var(--muted);
}

.course-shell.is-presential .course-price {
  color: var(--deep);
}

.course-shell.is-presential .course-hero-media {
  display: block;
  min-height: 390px;
  background:
    linear-gradient(90deg, rgba(242, 247, 247, 0.06), rgba(242, 247, 247, 0)),
    var(--course-cover-image, url("images/fundadora-inafe.png")) center var(--course-cover-position, 20%) / cover;
}

.course-shell.is-presential .progress-ring {
  display: none;
}

.course-shell.is-presential .course-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 20px max(24px, calc((100vw - 1400px) / 2));
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.course-shell.is-presential .course-facts article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 8px 24px;
  border-right: 1px solid var(--line);
}

.course-shell.is-presential .course-facts article:first-child {
  padding-left: 0;
}

.course-shell.is-presential .course-facts article:last-child {
  border-right: 0;
}

.fact-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: #eaf7f7;
  font-size: 1.4rem;
  font-weight: 900;
}

.fact-icon-capacity svg {
  width: 22px;
  height: 22px;
}

.course-facts article div {
  display: grid;
  gap: 4px;
}

.course-facts strong {
  font-size: 0.9rem;
}

.course-facts article div span {
  color: var(--muted);
  font-size: 0.82rem;
}

.course-shell.is-presential .course-overview {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(220px, 0.68fr) minmax(0, 1.65fr);
  align-items: start;
  gap: 28px;
  max-width: 1660px;
  margin: 0 auto;
  padding: 64px max(24px, calc((100vw - 1660px) / 2)) 84px;
}

@media (max-width: 1180px) and (min-width: 921px) {
  .course-shell.is-presential .course-overview {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
    gap: 32px;
  }

  .course-shell.is-presential .course-learning-panel {
    grid-column: 1 / -1;
  }
}

.course-section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.course-section-heading .eyebrow {
  margin: 0;
  color: var(--teal-dark);
}

.course-section-heading h2 {
  margin: 0;
  color: var(--deep);
  font-size: 2rem;
  line-height: 1.05;
}

.course-overview-copy > p {
  max-width: 720px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.course-learning-heading {
  margin-top: 0;
}

.course-learning-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-learning-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--deep);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.5;
}

.course-learning-list li::before {
  content: '✓';
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.course-coordination {
  min-width: 0;
  padding: 0 28px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.course-coordination-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.course-coordination-profile img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
}

.course-coordination-profile div {
  display: grid;
  gap: 8px;
}

.course-coordination-profile strong {
  color: var(--deep);
  font-size: 1.05rem;
}

.course-coordination-profile span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.course-coordination.has-multiple-cohorts .course-coordination-profile {
  display: none;
}

.course-cohort-options {
  display: grid;
  gap: 10px;
}

.course-cohort-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--deep);
  text-decoration: none;
}

.course-cohort-option > span:first-child {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.course-cohort-option > span:first-child strong {
  font-size: 0.88rem;
}

.course-cohort-option > span:first-child span,
.course-cohort-status {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.course-cohort-option:hover,
.course-cohort-option.is-current {
  border-color: var(--teal);
  background: #effafa;
}

.course-cohort-option.is-current .course-cohort-status {
  color: var(--teal-dark);
  font-weight: 750;
}

.course-cohort-options[hidden] {
  display: none;
}

.course-learning-panel {
  min-width: 0;
}

.course-learning-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.85fr);
  align-items: start;
  gap: 24px;
}

.course-instructor-profile {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.course-instructor-profile img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: var(--course-instructor-image-position, 50% 30%);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f2f7f7;
}

.course-instructor-profile img[hidden] {
  display: none;
}

.course-instructor-profile .eyebrow {
  margin: 2px 0 0;
  color: var(--teal-dark);
  font-size: 0.72rem;
}

.course-instructor-identity {
  display: grid;
  gap: 4px;
}

.course-instructor-identity strong {
  color: var(--deep);
  font-size: 1.02rem;
  font-weight: 750;
  line-height: 1.35;
}

.course-instructor-identity [data-course-instructor-registration] {
  color: var(--teal-dark);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
}

.course-instructor-profile [data-course-instructor-bio] {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.progress-ring {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
  border: 7px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  font-weight: 900;
}

.progress-ring.small {
  width: 52px;
  height: 52px;
  border-color: #2f3b50;
  font-size: 0.8rem;
}

.module-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 44px max(24px, calc((100vw - 1400px) / 2)) 80px;
}

.module-card {
  min-height: 305px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border-radius: 8px;
  color: #fff;
}

.module-card span {
  align-self: flex-end;
  margin-bottom: auto;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.24);
  font-size: 0.78rem;
  font-weight: 900;
}

.module-card strong {
  width: max-content;
  padding: 5px 10px;
  border-radius: 5px;
  background: var(--teal);
}

.module-card h2 {
  margin: 12px 0 16px;
  font-size: 2rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.module-card a {
  color: #fff;
  font-weight: 900;
}

.student-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.student-chip span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #9a671d;
}

.lesson-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 16px;
  padding: 0 20px 24px;
}

.video-stage {
  min-width: 0;
}

.video-placeholder {
  min-height: 63vw;
  max-height: 760px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.26)),
    linear-gradient(135deg, #c77d33, #253044);
}

.video-placeholder button {
  width: 86px;
  height: 86px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  clip-path: polygon(32% 20%, 32% 80%, 82% 50%);
}

.video-placeholder video {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 8px;
}

.lesson-info {
  padding: 26px 4px;
  color: #fff;
}

.lesson-completion {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.lesson-completion .button {
  min-height: 44px;
}

.lesson-completion .button.is-complete {
  color: #fff;
  background: #2f9b6d;
}

.lesson-completion > span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  font-weight: 800;
}

.lesson-sidebar {
  max-height: calc(100vh - 116px);
  overflow: auto;
  padding: 22px;
  border-radius: 8px;
  background: #1b2230;
  color: #fff;
}

.course-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lesson-sidebar details {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lesson-sidebar summary {
  cursor: pointer;
  color: #b98cff;
  font-size: 1.1rem;
  font-weight: 900;
}

.lesson-sidebar a {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.lesson-sidebar a.is-current {
  color: #fff;
  font-weight: 900;
}

.lesson-attachments {
  display: grid;
  gap: 9px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.lesson-attachments strong {
  color: #fff;
}

.lesson-attachments a {
  color: #65d8de;
  font-weight: 800;
}

.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 60px;
  padding: 60px max(24px, calc((100vw - 1180px) / 2));
  color: #fff;
}

.checkout-shell,
.order-shell {
  min-height: 100vh;
  color: var(--ink);
  background: var(--soft);
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: var(--deep);
}

.checkout-header .brand-logo {
  width: 190px;
}

.checkout-header > a:last-child {
  color: #fff;
  font-weight: 800;
}

.checkout-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 100px;
}

.checkout-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.checkout-heading .eyebrow,
.checkout-summary .eyebrow,
.order-card .eyebrow {
  margin-bottom: 12px;
  color: var(--teal-dark);
}

.checkout-heading h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1;
}

.checkout-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  gap: 28px;
}

.checkout-form,
.checkout-summary {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.checkout-form {
  display: grid;
  gap: 18px;
}

.checkout-form.is-hidden {
  display: none;
}

.checkout-form-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.checkout-form-heading:first-child {
  margin-top: 0;
}

.checkout-form-heading span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.checkout-form-heading h2,
.checkout-summary h2 {
  margin: 0;
  font-size: 1.4rem;
}

.checkout-form label:not(.payment-option) {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.checkout-form input[type="text"],
.checkout-form input[type="email"] {
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.checkout-form input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 166, 173, 0.12);
}

.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.payment-option:has(input:checked) {
  border-color: var(--teal);
  background: rgba(0, 166, 173, 0.06);
}

.payment-option input {
  margin-top: 4px;
  accent-color: var(--teal);
}

.payment-option span {
  display: grid;
  gap: 3px;
}

.payment-option small {
  color: var(--muted);
  font-size: 0.86rem;
}

.checkout-form .button {
  width: 100%;
  margin-top: 8px;
}

.checkout-feedback {
  min-height: 20px;
  margin: 4px 0 0;
  color: #c03636;
  font-size: 0.88rem;
  font-weight: 800;
}

.checkout-items {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.checkout-item {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.checkout-item div {
  display: grid;
  gap: 4px;
}

.checkout-item span {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-item strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.checkout-item b {
  white-space: nowrap;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  font-size: 1.1rem;
}

.checkout-total strong {
  font-size: 1.35rem;
}

.order-main {
  width: min(620px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0;
}

.order-logo {
  display: block;
  width: max-content;
  margin: 0 auto 34px;
}

.order-logo img {
  display: block;
  width: 220px;
}

.order-card {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.order-card .eyebrow span {
  color: var(--muted);
}

.order-status {
  display: inline-flex;
  margin: 10px 0 24px;
  padding: 8px 14px;
  border-radius: 20px;
  color: #8a5d00;
  background: #fff2c2;
  font-weight: 800;
}

.order-status.is-approved {
  color: #087844;
  background: #d8f6e5;
}

.order-status.is-empty {
  color: var(--muted);
  background: var(--soft);
}

.order-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.order-card > p:not(.eyebrow) {
  max-width: 440px;
  margin: 16px auto 0;
  color: var(--muted);
}

.order-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cart-shell {
  min-height: 100vh;
  color: var(--ink);
  background: var(--soft);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 96px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: var(--deep);
}

.cart-header .brand-logo {
  width: 190px;
}

.cart-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 800;
}

.cart-header nav a {
  color: rgba(255, 255, 255, 0.82);
}

.cart-header nav a:hover {
  color: #fff;
}

.cart-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 100px;
}

.cart-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.cart-heading .eyebrow,
.cart-summary .eyebrow {
  margin-bottom: 12px;
  color: var(--teal-dark);
}

.cart-heading h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}

.cart-heading > span {
  color: var(--muted);
  font-weight: 800;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 28px;
}

.cart-items {
  display: grid;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cart-item-cover {
  min-height: 112px;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(9, 18, 30, 0.08), rgba(9, 18, 30, 0.54)),
    url("images/hero-neuroaprendizagem.png") center / cover;
}

.cart-item-info > span {
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-item-info h2 {
  margin: 6px 0 8px;
  font-size: 1.25rem;
  line-height: 1.15;
}

.cart-item-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cart-item > strong {
  align-self: start;
  white-space: nowrap;
}

.cart-remove {
  grid-column: 2 / 3;
  justify-self: start;
  padding: 0;
  border: 0;
  color: var(--red);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.cart-summary {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cart-summary.is-hidden {
  display: none;
}

.cart-summary h2 {
  margin: 0 0 24px;
  font-size: 1.7rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cart-summary .button {
  width: 100%;
}

.cart-summary small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.cart-empty {
  padding: 54px 28px;
  border: 1px dashed #b9c4cd;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.cart-empty h2 {
  margin: 0;
  font-size: 1.7rem;
}

.cart-empty p {
  margin: 10px auto 24px;
  color: var(--muted);
}

.enrollment-shell {
  min-height: 100vh;
  color: var(--ink);
  background: var(--soft);
}

.enrollment-main {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 100px;
}

.enrollment-intro {
  max-width: 760px;
  margin-bottom: 38px;
}

.enrollment-intro .eyebrow,
.enrollment-summary > .eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-weight: 800;
  text-transform: uppercase;
}

.enrollment-intro h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1.04;
}

.enrollment-intro > p:last-child {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
}

.enrollment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
  gap: 24px;
}

.enrollment-steps {
  display: grid;
  gap: 20px;
}

.enrollment-panel,
.enrollment-summary {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.enrollment-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.enrollment-section-heading > span {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
  background: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.enrollment-section-heading h2,
.enrollment-summary h2 {
  margin: 0;
  font-size: 1.35rem;
}

.enrollment-section-heading p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.enrollment-plan-option {
  position: relative;
  display: flex;
  min-width: 0;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.enrollment-plan-option:hover,
.enrollment-plan-option.is-selected {
  border-color: var(--teal-dark);
  background: rgba(0, 166, 173, 0.05);
}

.enrollment-plan-option.is-unavailable {
  background: #f7f8f9;
  cursor: not-allowed;
}

.enrollment-plan-option input,
.enrollment-course-option input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--teal-dark);
}

.enrollment-plan-copy {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}

.enrollment-plan-copy strong {
  font-size: 1rem;
  line-height: 1.25;
}

.enrollment-plan-copy > span,
.enrollment-plan-copy > small {
  color: var(--muted);
  line-height: 1.35;
}

.enrollment-plan-copy > b {
  margin-top: 7px;
  font-size: 1.25rem;
}

.enrollment-plan-copy em {
  width: fit-content;
  padding: 2px 7px;
  border-radius: 4px;
  color: #14723b;
  background: #e7f5ec;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.enrollment-plan-status {
  margin-top: 4px;
  color: #8a4b13;
  font-weight: 700;
}

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

.enrollment-course-option {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.enrollment-course-option.is-selected {
  border-color: var(--teal-dark);
  box-shadow: 0 0 0 1px var(--teal-dark);
}

.enrollment-course-option.is-disabled {
  opacity: 0.56;
  cursor: not-allowed;
}

.enrollment-course-option > input {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  margin: 0;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 0 0 3px #fff;
}

.enrollment-course-cover {
  display: block;
  height: 138px;
  background-position: center;
  background-size: cover;
}

.enrollment-course-copy {
  display: grid;
  gap: 4px;
  padding: 0 14px 15px;
}

.enrollment-course-copy small {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.enrollment-course-copy strong {
  line-height: 1.25;
}

.enrollment-course-copy > span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.enrollment-feedback,
.enrollment-save-feedback {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.enrollment-summary {
  position: sticky;
  top: 24px;
}

.enrollment-summary h2 {
  margin-bottom: 20px;
}

.enrollment-summary-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.enrollment-summary-list > div {
  display: grid;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.enrollment-summary-list dt,
.enrollment-summary-courses > strong {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.enrollment-summary-list dd {
  margin: 0;
  font-weight: 800;
}

.enrollment-summary-courses {
  margin-top: 17px;
}

.enrollment-summary-courses ul {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding-left: 20px;
  font-size: 0.9rem;
}

.enrollment-summary-courses p,
.enrollment-summary > div > p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.enrollment-due-date {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.9rem;
  font-weight: 800;
}

.enrollment-due-date select {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.enrollment-payment-note {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.enrollment-save {
  width: 100%;
}

.enrollment-save:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.enrollment-loading,
.enrollment-placeholder,
.enrollment-error {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.enrollment-error {
  color: #b3261e;
  font-weight: 700;
}

.enrollment-customer-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.enrollment-customer-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.enrollment-customer-form label > span {
  display: inline;
  color: var(--muted);
  font-weight: 400;
}

.enrollment-customer-form input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.enrollment-customer-form input:focus,
.enrollment-due-date select:focus {
  outline: 2px solid var(--teal-dark);
  outline-offset: 2px;
}

.enrollment-field-wide {
  grid-column: 1 / -1;
}

.enrollment-privacy-note,
.enrollment-form-feedback {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.enrollment-print {
  flex: 0 0 auto;
  margin-left: auto;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.enrollment-contract-notice {
  display: grid;
  gap: 4px;
  margin-bottom: 22px;
  padding: 14px 16px;
  border-left: 4px solid #ad562e;
  background: #fff4eb;
  color: #542a18;
  line-height: 1.5;
}

.nexo-checkout-action {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin: 22px auto 0;
  padding: 18px;
  border: 1px solid #d4dedf;
  border-radius: 6px;
  color: #24344a;
  background: #f5f8f8;
}

.nexo-contract-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #263a58;
  line-height: 1.5;
}

.nexo-contract-acceptance input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  margin: 3px 0 0;
  accent-color: #078e99;
}

.nexo-contract-acceptance a { color: #087f89; font-weight: 700; text-underline-offset: 3px; }
.nexo-checkout-action button { justify-self: start; min-height: 46px; }
.nexo-checkout-action button:disabled { cursor: not-allowed; opacity: .55; }
.nexo-checkout-action [data-nexo-readiness] { color: #46566d; }
.nexo-checkout-action [data-nexo-checkout-feedback] { color: #46566d; }

.enrollment-contract-document {
  max-width: 820px;
  margin: 0 auto;
  color: #202522;
  font-size: 0.94rem;
  line-height: 1.6;
}

.enrollment-contract-title {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.enrollment-contract-title p {
  margin: 4px 0;
  color: var(--muted);
}

.enrollment-contract-title p:first-child {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.enrollment-contract-title h3 {
  margin: 8px 0;
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.enrollment-contract-document section {
  padding: 17px 0 5px;
  border-bottom: 1px solid #e8e9e6;
}

.enrollment-contract-document h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.enrollment-contract-document p {
  margin: 7px 0;
}

.enrollment-contract-document ul {
  padding-left: 22px;
}

.enrollment-contract-facts {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}

.enrollment-contract-facts > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  gap: 12px;
}

.enrollment-contract-facts dt {
  color: var(--muted);
  font-weight: 700;
}

.enrollment-contract-facts dd {
  min-width: 0;
  margin: 0;
}

.enrollment-contract-courses {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.enrollment-contract-courses li > span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.enrollment-contract-footer {
  margin-top: 20px;
  padding: 14px;
  background: #f2f4f2;
}

.enrollment-contract-footer p {
  margin: 4px 0;
}

@media print {
  body.enrollment-shell {
    background: #fff;
  }

  body.enrollment-shell .checkout-header,
  body.enrollment-shell .enrollment-intro,
  body.enrollment-shell .enrollment-summary,
  body.enrollment-shell .enrollment-panel:not(.enrollment-contract-panel),
  body.enrollment-shell .enrollment-contract-notice,
  body.enrollment-shell .enrollment-print {
    display: none !important;
  }

  body.enrollment-shell .enrollment-main {
    width: 100%;
    padding: 0;
  }

  body.enrollment-shell .enrollment-layout {
    display: block;
  }

  body.enrollment-shell .enrollment-contract-panel {
    padding: 0;
    border: 0;
  }
}

@media (max-width: 920px) {
  .enrollment-layout {
    grid-template-columns: 1fr;
  }

  .enrollment-summary {
    position: static;
  }
}

@media (max-width: 620px) {
  .catalog-results-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .catalog-results-heading h2 {
    flex: 1 1 100%;
    order: 1;
  }

  .catalog-enroll-link {
    width: 100%;
    margin-left: 0;
  }

  .enrollment-main {
    width: min(100% - 28px, 1240px);
    padding-top: 42px;
  }

  .enrollment-panel,
  .enrollment-summary {
    padding: 20px;
  }

  .enrollment-plan-grid,
  .enrollment-course-grid {
    grid-template-columns: 1fr;
  }

  .enrollment-customer-form {
    grid-template-columns: 1fr;
  }

  .enrollment-field-wide {
    grid-column: auto;
  }

  .enrollment-section-heading {
    flex-wrap: wrap;
  }

  .enrollment-print {
    margin-left: 52px;
  }

  .enrollment-contract-facts > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

.admin-form label.admin-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.9rem;
}

.admin-form label.admin-checkbox input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--teal-dark);
}

.student-shell {
  min-height: 100vh;
  color: var(--ink);
  background: var(--soft);
}

.student-header {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 86px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: var(--deep);
}

.student-header .brand-logo {
  width: 190px;
}

.student-header nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-weight: 800;
}

.student-header nav a {
  padding: 30px 0 27px;
  border-bottom: 3px solid transparent;
  color: rgba(255, 255, 255, 0.72);
}

.student-header nav a:hover,
.student-header nav a.is-active {
  border-bottom-color: var(--teal);
  color: #fff;
}

.student-exit {
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
}

.student-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 100px;
}

.student-welcome {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line);
}

.student-welcome .eyebrow,
.student-section .eyebrow {
  margin-bottom: 14px;
  color: var(--teal-dark);
}

.student-welcome h1 {
  max-width: 670px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.student-welcome p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
}

.student-section {
  padding: 58px 0;
}

.student-section + .student-section {
  border-top: 1px solid var(--line);
}

.student-profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  max-width: 900px;
}

.student-profile-form label {
  display: grid;
  gap: 7px;
  color: #27354a;
  font-size: 0.9rem;
  font-weight: 800;
}

.student-profile-form input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd6df;
  border-radius: 4px;
  color: #182337;
  background: #fff;
  font: inherit;
  font-weight: 500;
}

.student-profile-form input:focus-visible {
  outline: 3px solid rgba(0, 166, 173, 0.2);
  border-color: var(--teal-dark);
}

.student-profile-wide,
.student-profile-privacy,
.student-profile-feedback {
  grid-column: 1 / -1;
}

.student-profile-privacy,
.student-profile-feedback {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.student-profile-form button {
  justify-self: start;
}

.nexo-profile-status {
  color: #d9e5ed;
  font-weight: 700;
  line-height: 1.55;
}

.nexo-profile-status a {
  color: #6de2e5;
  text-underline-offset: 3px;
}

.student-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.student-section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
}

.student-count,
.certificate-status {
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--teal-dark);
  background: rgba(0, 166, 173, 0.1);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.student-course-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.student-course-cover {
  min-height: 205px;
  display: flex;
  align-items: flex-start;
  padding: 16px;
  color: #fff;
  background: var(--deep);
}

.student-course-cover span {
  padding: 5px 9px;
  border-radius: 5px;
  background: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
}

.student-course-body {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.student-course-body > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.student-course-body h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1.15;
}

.progress-track {
  height: 7px;
  margin-top: auto;
  overflow: hidden;
  border-radius: 10px;
  background: var(--line);
}

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

.student-course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.student-course-meta a {
  color: var(--teal-dark);
  font-weight: 800;
}

.certificate-panel {
  padding-bottom: 0;
}

.certificate-intro {
  max-width: 760px;
  margin: -8px 0 30px;
  color: var(--muted);
}

.certificate-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.certificate-steps article {
  min-height: 190px;
  padding: 24px 22px;
}

.certificate-steps article + article {
  border-left: 1px solid var(--line);
}

.certificate-steps span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
}

.certificate-steps h3 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.15;
}

.certificate-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.certificate-panel > .button {
  margin-top: 28px;
}

.certificate-request {
  display: grid;
  max-width: 620px;
  gap: 16px;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.certificate-request label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.certificate-request input,
.certificate-request select,
.certificate-request textarea {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.certificate-request textarea {
  min-height: 90px;
  resize: vertical;
}

.certificate-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.certificate-feedback {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.student-certificates {
  display: grid;
  max-width: 620px;
  gap: 10px;
  margin-top: 18px;
}

.student-certificates article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.student-certificates article span,
.student-certificates article p {
  margin: 0;
  color: var(--muted);
}

.student-certificates article a,
.student-certificates article button {
  padding: 7px 10px;
  border: 1px solid var(--teal);
  border-radius: 5px;
  color: var(--teal-dark);
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.student-empty {
  grid-column: 1 / -1;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.student-empty h3,
.student-empty p {
  margin-top: 0;
}

.auth-layout img {
  width: min(320px, 100%);
  margin-bottom: 30px;
}

.admin-form,
.admin-list {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.admin-form-actions,
.admin-row-actions,
.admin-module-heading,
.admin-list-heading,
.admin-notifications,
.admin-users {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-form-actions {
  flex-wrap: wrap;
}

.admin-form-actions .button-secondary,
.admin-row-actions button,
.admin-document-links button,
.admin-file-label {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: #f7f9fb;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-form-actions .button-secondary {
  color: var(--muted);
}

.admin-list-heading {
  justify-content: space-between;
}

.admin-list-heading h2,
.admin-list-heading span {
  margin: 0;
}

.admin-course-row,
.admin-module-row,
.admin-users article,
.admin-notifications {
  display: grid;
  gap: 12px;
}

.admin-course-row,
.admin-module-row {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-course-row {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.admin-course-row > div:first-child,
.admin-module-heading > div:first-child {
  display: grid;
  gap: 5px;
}

.admin-row-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-row-actions button:disabled {
  opacity: 0.42;
  cursor: default;
}

.admin-row-actions .is-danger {
  color: #b42318;
  border-color: #f1b7b2;
  background: #fff5f4;
}

.admin-module-heading {
  justify-content: space-between;
}

.admin-module-heading > div:first-child span,
.admin-course-row span,
.admin-module-row > small,
.admin-users article span {
  color: var(--muted);
  font-size: 0.84rem;
}

.admin-lesson-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.admin-lesson-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-size: 0.9rem;
}

.admin-users,
.admin-notifications {
  align-items: stretch;
  margin-top: 34px;
  padding: 20px;
  color: #fff;
  background: #1c2230;
}

.admin-users h2,
.admin-notifications h2 {
  margin: 0;
  font-size: 1.25rem;
}

.admin-users article {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-users article div {
  display: grid;
  gap: 4px;
}

.admin-users article span {
  color: rgba(255, 255, 255, 0.7);
}

.admin-users article > button {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-file-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: #252d3d;
}

.admin-file-label input {
  max-width: 180px;
  font-size: 0.75rem;
}

.admin-document-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
}

.admin-document-links button {
  color: #65d8de;
  border-color: rgba(101, 216, 222, 0.35);
  background: transparent;
}

.notification-panel [data-notifications] {
  display: grid;
  gap: 10px;
  max-width: 720px;
}

.notification-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-left: 3px solid transparent;
  background: #fff;
}

.notification-item.is-unread {
  border-left-color: var(--teal);
}

.notification-item p,
.notification-item time {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.notification-item button {
  width: max-content;
  padding: 0;
  border: 0;
  color: var(--teal-dark);
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.auth-flip {
  position: relative;
  min-height: 520px;
  perspective: 1400px;
}

.auth-card {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 14px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 249, 0.96));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.auth-face {
  position: absolute;
  inset: 0;
  min-height: 100%;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform 850ms cubic-bezier(0.2, 0.75, 0.2, 1), opacity 300ms ease;
}

.auth-login {
  transform: rotateY(0deg);
}

.auth-register {
  transform: rotateY(180deg);
}

.auth-recovery {
  transform: none;
}

.auth-flip.is-registering .auth-login {
  transform: rotateY(180deg);
}

.auth-flip.is-registering .auth-register {
  transform: rotateY(360deg);
}

.auth-card-heading {
  padding-bottom: 8px;
}

.auth-card-heading .eyebrow {
  margin-bottom: 10px;
  color: var(--orange);
}

.auth-card-heading h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
}

.auth-card label,
.admin-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.admin-form-hint {
  color: var(--muted);
  font-size: 0.84rem;
}

.auth-card input,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.auth-card input {
  min-height: 52px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.auth-card input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 166, 173, 0.14);
}

.auth-feedback {
  position: absolute;
  right: 0;
  bottom: -34px;
  left: 0;
  margin: 0;
  color: #ff9a91;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.auth-feedback.success {
  color: #7ee3b0;
}

.auth-feedback.pending {
  color: #ffd21a;
}

.auth-utility-button {
  justify-self: start;
  padding: 0;
  border: 0;
  color: var(--teal-dark);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.auth-verification-actions {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  left: 0;
  color: #fff;
}

.auth-verification-actions p {
  margin: 0 0 8px;
  font-weight: 700;
  text-align: center;
}

.auth-verification-actions form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.auth-verification-actions label {
  display: grid;
  gap: 4px;
  font-size: 0.86rem;
  font-weight: 700;
}

.auth-verification-actions input {
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.auth-verification-actions .auth-submit {
  min-height: 42px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--teal-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.auth-verification-actions .auth-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.admin-form textarea {
  min-height: 120px;
}

.role-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.role-choice button {
  color: var(--teal);
  background: rgba(0, 166, 173, 0.1);
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.admin-sidebar {
  min-height: 100vh;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px;
  background: #10131c;
}

.admin-sidebar img {
  width: 190px;
  margin-bottom: 26px;
}

.admin-sidebar a {
  padding: 12px 14px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.admin-sidebar a.is-active,
.admin-sidebar a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.admin-main {
  padding: 38px;
  color: #fff;
}

.admin-main header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 24px;
}

.admin-list article {
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.admin-form h2,
.admin-content-list h2,
.admin-certificates h2 {
  margin: 0;
  color: inherit;
  font-size: 1.2rem;
}

.admin-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.admin-content-list,
.admin-certificates {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.admin-content-list article,
.admin-certificates article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1c2230;
}

.admin-content-list article span,
.admin-content-list article small,
.admin-certificates article span {
  color: rgba(255, 255, 255, 0.68);
}

.admin-content-list article small {
  grid-column: 1 / -1;
}

.admin-certificates article div {
  display: grid;
  gap: 4px;
}

.admin-certificates article button {
  grid-row: span 2;
  align-self: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--teal);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-certificates article button:disabled {
  background: #435064;
  cursor: default;
}

.student-order-status {
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(0, 166, 173, 0.2);
  border-radius: 6px;
  color: var(--teal-dark);
  background: rgba(0, 166, 173, 0.08);
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-orders {
  margin-top: 34px;
}

.admin-orders h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 1.4rem;
}

.admin-orders article {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1c2230;
}

.admin-orders article + article {
  border-top: 0;
}

.admin-orders article div {
  display: grid;
  gap: 4px;
}

.admin-orders article span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
}

.admin-orders article button {
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--teal);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-orders article button:disabled {
  color: rgba(255, 255, 255, 0.7);
  background: #435064;
  cursor: default;
}

.admin-empty {
  margin: 0;
  padding: 20px;
  color: rgba(255, 255, 255, 0.68);
  background: #1c2230;
}

@media (max-width: 920px) {
  .courses-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .partners-heading,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partners-heading {
    gap: 20px;
  }

  .partners-section {
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .partners-heading > p {
    margin-top: 0;
  }

  .partners-heading h2 {
    font-size: clamp(2.1rem, 7vw, 2.65rem);
  }

  .partner-syncaudio .partner-mark img {
    width: 88px;
  }

  .student-header {
    grid-template-columns: 170px 1fr auto;
    gap: 16px;
    padding-inline: 20px;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .app-header-actions {
    margin-left: auto;
  }

  .student-header .brand-logo {
    width: 160px;
  }

  .student-header nav {
    gap: 14px;
    font-size: 0.86rem;
  }

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

  .certificate-steps article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .certificate-steps article:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .app-header,
  .course-topbar,
  .lesson-header {
    flex-wrap: wrap;
    padding: 18px 20px;
  }

  .app-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .lesson-layout,
  .auth-layout,
  .admin-shell,
  .admin-grid,
  .admin-content-grid {
    grid-template-columns: 1fr;
  }

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

  .catalog-entry-grid {
    grid-template-columns: 1fr;
  }

  .catalog-entry {
    min-height: 260px;
  }

  .lesson-sidebar {
    max-height: none;
  }

  .admin-sidebar {
    min-height: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-sidebar img {
    grid-column: 1 / -1;
  }

  .navbar {
    grid-template-columns: auto 1fr auto;
    min-height: 92px;
  }

  .brand-logo {
    width: 190px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .nav-links {
    position: absolute;
    inset: 92px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .header-actions {
    justify-content: center;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
    min-height: auto;
    color: var(--ink);
  }

  .nav-links a.is-active::after {
    display: none;
  }

  .hero,
  .about {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 720px;
    padding-top: 150px;
  }

  .hero-content {
    transform: none;
  }

  .benefits,
  .course-grid,
  .flow-grid,
  .certificate-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .flow-grid,
  .certificate-grid {
    border-radius: 8px;
  }

  .flow-grid article,
  .certificate-grid article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .flow-grid article:first-child,
  .certificate-grid article:first-child {
    border-top: 0;
  }

  .certificate-grid article {
    border-top-color: rgba(255, 255, 255, 0.12);
  }

  .about {
    gap: 36px;
  }

  .benefits article + article {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 1180px) and (min-width: 921px) {
  .navbar {
    gap: 20px;
  }

  .brand-logo {
    width: 190px;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.82rem;
  }

  .header-actions {
    gap: 8px;
    font-size: 0.82rem;
  }

  .header-actions a {
    padding-inline: 15px;
  }

  .hero-content {
    transform: translateX(-40px);
  }
}

@media (max-width: 1200px) and (min-width: 921px) {
  .app-header {
    gap: 14px;
  }

  .app-header .brand-logo {
    width: 160px;
  }

  .app-nav {
    gap: 16px;
    font-size: 0.82rem;
  }

  .app-header-actions {
    gap: 10px;
    font-size: 0.82rem;
  }
}

@media (max-width: 1400px) and (min-width: 921px) {
  .navbar {
    gap: 24px;
  }

  .nav-links {
    gap: 16px;
    font-size: 0.84rem;
  }

  .header-actions {
    gap: 10px;
    font-size: 0.84rem;
  }

  .header-actions a {
    padding-inline: 15px;
  }
}

@media (max-width: 620px) {
  .checkout-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-block: 18px;
  }

  .checkout-main {
    width: min(100% - 28px, 1180px);
    padding-top: 42px;
  }

  .checkout-form,
  .checkout-summary,
  .order-card {
    padding: 22px;
  }

  .order-main {
    width: min(100% - 28px, 620px);
    padding-top: 42px;
  }

  .order-actions {
    flex-direction: column;
  }

  .order-actions .button {
    width: 100%;
  }

  .cart-header {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 18px;
  }

  .cart-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.9rem;
  }

  .cart-main {
    width: min(100% - 28px, 1180px);
    padding-top: 42px;
  }

  .cart-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-item {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
  }

  .cart-item-cover {
    min-height: 90px;
  }

  .cart-item > strong {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    font-size: 0.92rem;
  }

  .cart-remove {
    grid-column: 2;
  }

  .student-header {
    display: flex;
    flex-wrap: wrap;
    padding-block: 14px;
  }

  .student-header nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
  }

  .student-header nav a {
    padding: 10px 0 6px;
    white-space: nowrap;
  }

  .student-main {
    width: min(100% - 28px, 1180px);
    padding-top: 42px;
  }

  .student-welcome,
  .student-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .student-welcome .button {
    width: 100%;
  }

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

  .student-course-card {
    grid-template-columns: 1fr;
  }

  .student-course-cover {
    min-height: 180px;
  }

  .certificate-steps article,
  .certificate-steps article:nth-child(3),
  .certificate-steps article:nth-child(4) {
    min-height: auto;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .certificate-steps article:first-child {
    border-top: 0;
  }

  .module-strip,
  .role-choice,
  .admin-sidebar {
    grid-template-columns: 1fr;
  }

  .catalog-guide,
  .course-hero {
    padding-top: 38px;
  }

  .catalog-guide {
    padding-right: 18px;
    padding-bottom: 38px;
    padding-left: 18px;
  }

  .catalog-guide-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .catalog-guide h1 {
    font-size: clamp(1.8rem, 8vw, 2.65rem);
  }

  .catalog-guide-process {
    padding: 22px 0 0;
    border-top: 2px solid #2cc8d5;
    border-left: 0;
  }

  .catalog-guide-label {
    margin-bottom: 20px;
  }

  .catalog-guide-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .catalog-guide-step {
    min-height: 88px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    padding: 14px 14px 14px 58px;
    text-align: left;
  }

  .catalog-guide-number {
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
  }

  .catalog-guide-step h2 {
    font-size: 1rem;
  }

  .catalog-guide-arrow {
    transform: rotate(90deg);
  }

  .course-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .course-shell.is-presential .course-hero {
    display: flex;
    min-height: 0;
    padding: 0;
  }

  .course-shell.is-presential .course-hero-copy {
    padding: 42px 18px 36px;
  }

  .course-shell.is-presential .course-hero-media {
    width: 100%;
    min-height: 270px;
    order: 2;
  }

  .course-shell.is-presential .course-facts {
    grid-template-columns: 1fr 1fr;
    padding: 14px 18px;
  }

  .course-shell.is-presential .course-facts article,
  .course-shell.is-presential .course-facts article:first-child {
    padding: 12px 8px;
    border-right: 0;
  }

  .course-shell.is-presential .course-facts article:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .course-shell.is-presential .course-overview {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 58px 18px 70px;
  }

  .course-learning-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  }

  .course-coordination {
    padding: 24px;
  }

  .video-placeholder {
    min-height: 58vw;
  }

  .navbar,
  .section,
  .benefits {
    width: min(100% - 28px, 1180px);
  }

  .footer {
    width: 100%;
    padding: 48px 18px 38px;
  }

  .footer-brand img {
    width: 210px;
  }

  .footer-copy {
    font-size: 0.95rem;
  }

  .navbar {
    gap: 12px;
  }

  .brand-logo {
    width: 150px;
  }

  .brand {
    transform: none;
  }

  .header-actions {
    gap: 10px;
    font-size: 0.82rem;
  }

  .header-actions a {
    padding: 8px 12px;
  }

  .hero {
    min-height: 700px;
    padding-inline: 14px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .hero p:not(.eyebrow) {
    font-size: 0.88rem;
  }

  .hero-actions,
  .course-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .course-meta a {
    width: 100%;
  }

  .footer-bottom nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .footer-copy {
    text-align: left;
  }

  .student-certificates article,
  .admin-content-list article,
  .admin-certificates article {
    grid-template-columns: 1fr;
  }

  .admin-certificates article button {
    grid-row: auto;
    justify-self: start;
  }
}

/* Final admin cascade: keeps the admin surface consistent with the new shell. */
.admin-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  background: #f5f7f9;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 24px 14px;
  border-right: 1px solid #263142;
  background: #111722;
}

.admin-sidebar-brand {
  display: grid;
  gap: 14px;
  padding: 4px 10px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar-brand img {
  width: min(168px, 100%);
  margin: 0;
}

.admin-sidebar-brand span,
.admin-sidebar-caption {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-sidebar-caption {
  margin: 26px 12px 8px;
  color: var(--teal);
}

.admin-sidebar-nav {
  display: grid;
  gap: 4px;
}

.admin-sidebar-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.86rem;
  font-weight: 800;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.is-active {
  color: #fff;
  background: rgba(0, 166, 173, 0.13);
  box-shadow: inset 3px 0 0 var(--teal);
}

.admin-sidebar-nav a:last-child {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.48);
}

.admin-main {
  min-width: 0;
  padding: 44px clamp(22px, 4vw, 64px) 72px;
  color: var(--ink);
}

.admin-page-header,
.admin-grid,
.admin-content-grid,
.admin-content-list,
.admin-orders,
.admin-certificates,
.admin-users,
.admin-notifications {
  width: min(100%, 1480px);
  margin-right: auto;
  margin-left: auto;
}

.admin-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.admin-page-header .eyebrow {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.admin-page-header h1 {
  color: var(--ink);
  font-size: 3rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.admin-page-header > button,
.admin-form > button[type="submit"],
.admin-form-actions > button[type="submit"] {
  min-height: 42px;
  padding: 0 17px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--teal);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.admin-page-header > button:hover,
.admin-form > button[type="submit"]:hover,
.admin-form-actions > button[type="submit"]:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.admin-grid,
.admin-content-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 20px;
}

.admin-content-grid {
  margin-top: 20px;
}

.admin-form,
.admin-list,
.admin-content-list,
.admin-orders,
.admin-certificates,
.admin-users,
.admin-notifications {
  padding: 24px;
  border: 1px solid #e1e6eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 23, 34, 0.04);
}

.admin-form,
.admin-list {
  gap: 14px;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: #273241;
  font-size: 0.75rem;
  font-weight: 800;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #d9e0e6;
  border-radius: 4px;
  color: var(--ink);
  background: #fbfcfd;
  font: inherit;
  font-size: 0.84rem;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.admin-form textarea {
  min-height: 88px;
  resize: vertical;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 166, 173, 0.12);
}

.admin-form input[type="file"] {
  min-height: auto;
  padding: 8px;
  font-size: 0.76rem;
}

.admin-form-hint {
  color: var(--muted);
  font-size: 0.72rem;
}

.admin-form h2,
.admin-list-heading h2,
.admin-content-list h2,
.admin-orders h2,
.admin-certificates h2,
.admin-users h2,
.admin-notifications h2 {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.2;
}

.admin-list-heading {
  padding-bottom: 14px;
  border-bottom: 1px solid #e7ebef;
}

.admin-list-heading span {
  color: var(--muted);
  font-size: 0.72rem;
}

.admin-course-row,
.admin-module-row {
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid #e7ebef;
  border-radius: 0;
  background: transparent;
}

.admin-course-row:last-child,
.admin-module-row:last-child {
  border-bottom: 0;
}

.admin-course-row strong,
.admin-module-heading strong {
  color: var(--ink);
  font-size: 0.88rem;
}

.admin-course-row span,
.admin-module-row small,
.admin-module-heading small {
  color: var(--muted);
  font-size: 0.72rem;
}

.admin-row-actions,
.admin-form-actions {
  gap: 7px;
}

.admin-form-actions .button-secondary,
.admin-row-actions button,
.admin-document-links button,
.admin-file-label {
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid #d9e0e6;
  border-radius: 4px;
  color: #364152;
  background: #f7f9fa;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-form-actions .button-secondary:hover,
.admin-row-actions button:hover,
.admin-document-links button:hover,
.admin-file-label:hover {
  border-color: #b9c5cf;
  background: #eef3f5;
}

.admin-row-actions .is-danger {
  border-color: #f0c9c5;
  color: #b42318;
  background: #fff8f7;
}

.admin-content-list,
.admin-orders,
.admin-certificates,
.admin-users,
.admin-notifications {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.admin-content-list article,
.admin-certificates article,
.admin-orders article,
.admin-users article,
.admin-notifications article {
  color: var(--ink);
  border: 1px solid #e5eaee;
  border-radius: 6px;
  background: #fbfcfd;
}

.admin-content-list article,
.admin-certificates article {
  padding: 16px 18px;
}

.admin-content-list article span,
.admin-certificates article span,
.admin-orders article span,
.admin-users article span,
.admin-notifications article span {
  color: var(--muted);
}

.admin-orders,
.admin-certificates,
.admin-users,
.admin-notifications {
  align-items: stretch;
}

.admin-orders h2,
.admin-certificates h2,
.admin-users h2,
.admin-notifications h2 {
  margin-bottom: 2px;
}

.admin-orders article {
  padding: 14px 16px;
}

.admin-empty {
  padding: 18px;
  border: 1px dashed #d9e0e6;
  color: var(--muted);
  background: #f7f9fa;
}

@media (max-width: 920px) {
  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    display: block;
    padding: 16px 18px 12px;
    border-right: 0;
    border-bottom: 1px solid #263142;
  }

  .admin-sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 2px 14px;
  }

  .admin-sidebar-brand img {
    width: 148px;
  }

  .admin-sidebar-caption {
    display: none;
  }

  .admin-sidebar-nav {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    padding-top: 10px;
  }

  .admin-sidebar-nav a,
  .admin-sidebar-nav a:last-child {
    flex: 0 0 auto;
    min-height: 36px;
    margin-top: 0;
    white-space: nowrap;
  }

  .admin-main {
    padding: 30px 18px 52px;
  }

  .admin-grid,
  .admin-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .course-learning-layout {
    grid-template-columns: 1fr;
  }

  .course-instructor-profile {
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .course-instructor-profile.has-portrait {
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
  }

  .course-instructor-profile.has-portrait img {
    grid-row: span 2;
  }

  .course-instructor-profile.has-portrait .eyebrow {
    align-self: end;
  }

  .course-instructor-profile [data-course-instructor-bio] {
    grid-column: 1 / -1;
  }

  .course-purchase-actions {
    width: 100%;
  }

  .course-purchase-actions .course-add,
  .course-purchase-actions .course-syllabus-trigger {
    flex: 1 1 auto;
  }

  .course-syllabus-dialog {
    padding: 20px;
  }

  .admin-page-header h1 {
    font-size: 2.25rem;
  }

  .admin-page-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .admin-page-header > button {
    width: 100%;
  }

  .admin-form,
  .admin-list,
  .admin-content-list,
  .admin-orders,
  .admin-certificates,
  .admin-users,
  .admin-notifications {
    padding: 18px;
  }

  .admin-course-row,
  .admin-module-row,
  .admin-orders article {
    grid-template-columns: 1fr;
  }

  .admin-row-actions {
    justify-content: flex-start;
  }
}

.admin-assessments-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  width: min(100%, 1480px);
  margin: 20px auto 0;
}

.assessment-question-list,
.assessment-question-editor {
  display: grid;
  gap: 14px;
}

.assessment-question-editor {
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid #e1e6eb;
  border-radius: 6px;
}

.assessment-question-editor legend {
  padding: 0 6px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.assessment-option-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.assessment-question-footer,
.assessment-editor-actions {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.assessment-editor-actions {
  flex-wrap: wrap;
}

.assessment-question-footer > label {
  flex: 1 1 150px;
}

.assessment-question-footer button,
.assessment-editor-actions .button-secondary,
.admin-assessment-row > button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #d9e0e6;
  border-radius: 4px;
  color: #364152;
  background: #f7f9fa;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.assessment-question-footer button:disabled {
  opacity: 0.5;
  cursor: default;
}

.assessment-editor-actions > button[type="submit"] {
  flex: 1 1 160px;
}

.admin-assessment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e7ebef;
}

.admin-assessment-row:last-child {
  border-bottom: 0;
}

.admin-assessment-row > div {
  display: grid;
  gap: 5px;
}

.admin-assessment-row span {
  color: var(--muted);
  font-size: 0.76rem;
}

.admin-assessment-row > .is-danger {
  flex: 0 0 auto;
  color: #b42318;
  border-color: #f0c9c5;
  background: #fff8f7;
}

.course-assessments {
  display: grid;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px max(24px, calc((100vw - 1400px) / 2)) 76px;
  color: #fff;
}

.course-assessments[hidden] {
  display: none;
}

.course-assessments .course-section-heading {
  margin-bottom: 0;
}

.course-assessments .course-section-heading .eyebrow {
  color: #47d1d4;
}

.course-assessments .course-section-heading h2 {
  color: #fff;
  font-size: 1.8rem;
}

.course-assessment-list {
  display: grid;
  gap: 12px;
}

.course-assessment-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: #1c2230;
}

.course-assessment-card h3,
.course-assessment-card p {
  margin: 8px 0 0;
}

.course-assessment-card h3 {
  font-size: 1.1rem;
}

.course-assessment-card p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.course-assessment-meta {
  color: #75dadd;
  font-size: 0.76rem;
  font-weight: 800;
}

.course-assessment-card > .button {
  flex: 0 0 auto;
}

.course-assessment-result.is-passed,
.assessment-feedback.is-passed {
  color: #7ee3b0;
}

.course-assessment-result.is-failed,
.assessment-feedback.is-failed {
  color: #ffaaa2;
}

.course-shell.is-presential .course-assessments {
  color: var(--deep);
  border-top: 1px solid var(--line);
}

.course-shell.is-presential .course-assessments .course-section-heading .eyebrow {
  color: var(--teal-dark);
}

.course-shell.is-presential .course-assessments .course-section-heading h2 {
  color: var(--deep);
}

.course-shell.is-presential .course-assessment-card {
  color: var(--deep);
  border-color: var(--line);
  background: #f7f9fa;
}

.course-shell.is-presential .course-assessment-card p {
  color: var(--muted);
}

.course-shell.is-presential .course-assessment-result.is-failed {
  color: #b42318;
}

.assessment-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: min(88vh, 900px);
  padding: 28px;
  border: 1px solid #dce3e8;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.assessment-dialog::backdrop {
  background: rgba(10, 14, 22, 0.72);
}

.assessment-dialog form {
  display: grid;
  gap: 18px;
}

.assessment-dialog-heading,
.assessment-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.assessment-dialog-heading .eyebrow {
  margin: 0 0 8px;
  color: var(--teal-dark);
}

.assessment-dialog-heading h2 {
  margin: 0;
}

.assessment-dialog-instructions,
.assessment-feedback {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.student-assessment-questions {
  display: grid;
  gap: 16px;
  max-height: 48vh;
  overflow-y: auto;
  padding-right: 4px;
}

.student-assessment-question {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid #e1e6eb;
  border-radius: 6px;
}

.student-assessment-question legend {
  max-width: 100%;
  padding: 0 6px;
  font-weight: 800;
  line-height: 1.45;
}

.student-assessment-question label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 4px;
  background: #f7f9fa;
  cursor: pointer;
}

.student-assessment-question input {
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--teal-dark);
}

.student-assessment-question label span {
  line-height: 1.45;
}

@media (max-width: 920px) {
  .admin-assessments-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .admin-assessments-grid {
    gap: 14px;
  }

  .assessment-option-fields {
    grid-template-columns: 1fr;
  }

  .assessment-question-footer,
  .course-assessment-card {
    align-items: stretch;
    flex-direction: column;
  }

  .assessment-question-footer > button,
  .course-assessment-card > .button {
    width: 100%;
  }

  .course-assessments {
    padding: 32px 18px 56px;
  }

  .course-assessment-card {
    padding: 18px;
  }

  .assessment-dialog {
    padding: 20px;
  }

  .assessment-dialog-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .assessment-dialog-actions .button {
    width: 100%;
  }
}

.course-shell.is-mentorship {
  color: #152c28;
  background: #f8f4ed;
}

.course-shell.is-mentorship .course-topbar[hidden],
.mentorship-header[hidden],
.mentorship-landing[hidden] {
  display: none;
}

.mentorship-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 30px;
  min-height: 82px;
  padding: 12px max(28px, calc((100vw - 1440px) / 2));
  color: #152c28;
  background: #f8f4ed;
  border-bottom: 1px solid rgba(21, 44, 40, 0.11);
}

.mentorship-wordmark {
  display: grid;
  justify-items: start;
  color: #152c28;
  text-decoration: none;
}

.mentorship-wordmark strong,
.mentorship-wordmark-large {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
}

.mentorship-wordmark strong {
  font-size: 2rem;
  line-height: 0.9;
}

.mentorship-wordmark span {
  margin-top: 6px;
  font-size: 0.56rem;
  text-transform: uppercase;
}

.mentorship-header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 0.78rem;
  font-weight: 700;
}

.mentorship-header nav a {
  color: #233b37;
  text-decoration: none;
}

.mentorship-header nav a:hover,
.mentorship-text-link:hover {
  color: #a84e34;
}

.mentorship-header-cta,
.mentorship-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid #751f2a;
  border-radius: 4px;
  color: #fff;
  background: #751f2a;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 150ms ease, transform 150ms ease;
}

.mentorship-header-cta {
  justify-self: end;
}

.mentorship-header-cta:hover,
.mentorship-primary-cta:hover {
  background: #5d1721;
  transform: translateY(-1px);
}

.mentorship-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  align-items: stretch;
  min-height: 590px;
  background: #f8f4ed;
}

.mentorship-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 68px 44px 64px max(28px, calc((100vw - 1440px) / 2));
}

.mentorship-eyebrow {
  margin: 0 0 16px;
  color: #925b39;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mentorship-wordmark-large {
  margin: 0;
  color: #152c28;
  font-size: clamp(5rem, 9vw, 8.3rem);
  line-height: 0.86;
}

.mentorship-wordmark-caption {
  margin: 12px 0 0;
  color: #273b36;
  font-size: 0.76rem;
  letter-spacing: 0.19em;
}

.mentorship-hero h1,
.mentorship-method h2,
.mentorship-section-intro h2,
.mentorship-practice h2,
.mentorship-audience h2,
.mentorship-mentor h2,
.mentorship-faq h2,
.mentorship-final-cta h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1.12;
}

.mentorship-hero h1 {
  max-width: 720px;
  margin-top: 30px;
  font-size: clamp(2rem, 2.9vw, 3.15rem);
}

.mentorship-lead {
  max-width: 540px;
  margin: 16px 0 22px;
  color: #53615d;
  font-size: 1rem;
  line-height: 1.65;
}

.mentorship-hero-portrait {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: #087f80;
}

.mentorship-hero-portrait::before {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: clamp(64px, 12vw, 190px);
  background: linear-gradient(90deg, #f8f4ed 0%, rgba(248, 244, 237, 0.82) 22%, rgba(248, 244, 237, 0) 100%);
  content: '';
  pointer-events: none;
}

.mentorship-hero-portrait img {
  width: 100%;
  height: 100%;
  min-height: 590px;
  object-fit: cover;
  object-position: center 16%;
}

.mentorship-hero-portrait > div {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 26px;
  display: grid;
  gap: 5px;
  max-width: calc(100% - 56px);
  padding: 14px 18px;
  color: #fff;
  background: rgba(19, 39, 35, 0.82);
}

.mentorship-hero-portrait > div strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.mentorship-hero-portrait > div span {
  font-size: 0.76rem;
}

.mentorship-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: #354a45;
  font-size: 0.78rem;
  font-weight: 700;
}

.mentorship-hero-facts span::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #a84e34;
  content: '';
}

.mentorship-painpoints {
  display: grid;
  grid-template-columns: minmax(190px, 1.2fr) repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  padding: 36px max(28px, calc((100vw - 1440px) / 2));
  background: #fffdfa;
}

.mentorship-painpoints h2 {
  align-self: center;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.15;
}

.mentorship-painpoints article {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid #ede6dc;
  background: #fff;
}

.mentorship-painpoints article span,
.mentorship-deliverable-grid article > span {
  color: #a84e34;
  font-size: 0.74rem;
  font-weight: 800;
}

.mentorship-painpoints article p {
  margin: 0;
  color: #394843;
  font-size: 0.88rem;
  line-height: 1.5;
}

.mentorship-method {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2fr);
  align-items: center;
  gap: 54px;
  padding: 76px max(28px, calc((100vw - 1440px) / 2));
  color: #fff;
  background: #102b27;
}

.mentorship-method .mentorship-eyebrow,
.mentorship-outcomes .mentorship-eyebrow,
.mentorship-final-cta .mentorship-eyebrow {
  color: #d9b587;
}

.mentorship-method-copy h2 {
  max-width: 430px;
}

.mentorship-method-copy > p:last-child {
  max-width: 410px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.mentorship-method-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mentorship-method-steps li {
  position: relative;
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 12px;
}

.mentorship-method-steps li:not(:last-child)::after {
  position: absolute;
  top: 30px;
  right: -18px;
  left: 72px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  content: '';
}

.mentorship-method-steps li > span {
  display: grid;
  place-items: center;
  width: 62px;
  aspect-ratio: 1;
  border: 1px solid #d8bd97;
  border-radius: 50%;
  color: #e2c7a0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.8rem;
}

.mentorship-method-steps li strong {
  max-width: 180px;
  font-size: 0.78rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.mentorship-method-steps li p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  line-height: 1.5;
}

.mentorship-deliverables {
  padding: 72px max(28px, calc((100vw - 1440px) / 2));
  background: #f8f4ed;
}

.mentorship-section-intro {
  max-width: 650px;
  margin: 0 auto 32px;
  text-align: center;
}

.mentorship-section-intro .mentorship-eyebrow {
  margin-bottom: 10px;
}

.mentorship-deliverable-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.mentorship-deliverable-grid article {
  min-height: 182px;
  padding: 20px 16px;
  border: 1px solid #ebe3d9;
  background: #fffdfa;
}

.mentorship-deliverable-grid article h3 {
  margin: 24px 0 8px;
  color: #1d332e;
  font-size: 0.92rem;
}

.mentorship-deliverable-grid article p {
  margin: 0;
  color: #65716d;
  font-size: 0.8rem;
  line-height: 1.5;
}

.mentorship-practice {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.mentorship-cases,
.mentorship-outcomes {
  padding: 58px max(28px, calc((100vw - 1440px) / 2));
}

.mentorship-cases {
  background: #eee5d9;
}

.mentorship-outcomes {
  color: #fff;
  background: #102b27;
}

.mentorship-cases .mentorship-eyebrow {
  color: #925b39;
}

.mentorship-outcomes h2 {
  color: #fff;
}

.mentorship-practice ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.mentorship-practice li {
  position: relative;
  padding-left: 22px;
  color: #46534f;
  line-height: 1.5;
}

.mentorship-practice li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a84e34;
  content: '';
}

.mentorship-outcomes li {
  color: rgba(255, 255, 255, 0.83);
}

.mentorship-outcomes li::before {
  background: #d9b587;
}

.mentorship-audience {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: center;
  padding: 48px max(28px, calc((100vw - 1440px) / 2));
  color: #fff;
  background: #751f2a;
}

.mentorship-audience .mentorship-eyebrow {
  color: #e9c5a7;
}

.mentorship-audience > div:first-child > p:not(.mentorship-eyebrow) {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.mentorship-text-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 10px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

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

.mentorship-audience-list span {
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  line-height: 1.45;
}

.mentorship-mentor {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  padding: 64px max(28px, calc((100vw - 1200px) / 2));
  background: #fffdfa;
}

.mentorship-mentor img {
  display: block;
  width: 100%;
  max-height: 330px;
  object-fit: cover;
  object-position: center 18%;
}

.mentorship-mentor h2 {
  margin-bottom: 14px;
}

.mentorship-mentor > div > p:last-child {
  max-width: 640px;
  margin: 0;
  color: #596661;
  line-height: 1.7;
}

.mentorship-faq {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr);
  gap: 0 48px;
  padding: 64px max(28px, calc((100vw - 1200px) / 2));
  border-top: 1px solid #e9e1d8;
  background: #f8f4ed;
}

.mentorship-faq > div {
  grid-row: 1 / span 3;
}

.mentorship-faq details {
  padding: 18px 0;
  border-bottom: 1px solid #ded7cf;
}

.mentorship-faq summary {
  color: #1d332e;
  font-weight: 800;
  cursor: pointer;
}

.mentorship-faq details p {
  max-width: 700px;
  margin: 12px 0 0;
  color: #5b6762;
  line-height: 1.6;
}

.mentorship-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 42px max(28px, calc((100vw - 1440px) / 2));
  color: #fff;
  background: #102b27;
}

.mentorship-final-cta h2 {
  max-width: 680px;
}

.mentorship-final-cta .mentorship-primary-cta {
  flex: 0 0 auto;
  border-color: #d9b587;
  background: #751f2a;
}

@media (max-width: 1050px) {
  .mentorship-header {
    grid-template-columns: minmax(160px, 0.6fr) 1fr auto;
    gap: 16px;
  }

  .mentorship-header nav {
    justify-content: center;
    gap: 12px;
    font-size: 0.7rem;
  }

  .mentorship-painpoints {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mentorship-painpoints h2 {
    grid-column: 1 / -1;
  }

  .mentorship-method {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .mentorship-deliverable-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .mentorship-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 72px;
    padding: 12px 18px;
  }

  .mentorship-wordmark strong {
    font-size: 1.65rem;
  }

  .mentorship-wordmark span {
    font-size: 0.46rem;
  }

  .mentorship-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 4px 0 2px;
    white-space: nowrap;
  }

  .mentorship-header-cta {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.72rem;
  }

  .mentorship-hero {
    grid-template-columns: 1fr;
  }

  .mentorship-hero-copy {
    padding: 48px 22px 42px;
  }

  .mentorship-wordmark-large {
    font-size: 5.4rem;
  }

  .mentorship-wordmark-caption {
    font-size: 0.62rem;
  }

  .mentorship-hero h1 {
    font-size: 2.2rem;
  }

  .mentorship-hero-portrait,
  .mentorship-hero-portrait img {
    min-height: 430px;
    max-height: 520px;
  }

  .mentorship-hero-portrait::before {
    inset: 0 0 auto;
    width: 100%;
    height: 42px;
    background: linear-gradient(180deg, #f8f4ed 0%, rgba(248, 244, 237, 0) 100%);
  }

  .mentorship-painpoints {
    grid-template-columns: 1fr 1fr;
    padding: 38px 18px;
  }

  .mentorship-painpoints article {
    min-height: 124px;
    padding: 15px;
  }

  .mentorship-method {
    padding: 48px 22px;
  }

  .mentorship-method-steps {
    grid-template-columns: 1fr 1fr;
    gap: 26px 18px;
  }

  .mentorship-method-steps li:not(:last-child)::after {
    display: none;
  }

  .mentorship-deliverables {
    padding: 48px 18px;
  }

  .mentorship-deliverable-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mentorship-deliverable-grid article {
    min-height: 160px;
    padding: 16px 12px;
  }

  .mentorship-deliverable-grid article h3 {
    margin-top: 18px;
    font-size: 0.86rem;
  }

  .mentorship-practice,
  .mentorship-audience,
  .mentorship-mentor,
  .mentorship-faq {
    grid-template-columns: 1fr;
  }

  .mentorship-cases,
  .mentorship-outcomes {
    padding: 42px 22px;
  }

  .mentorship-audience {
    gap: 26px;
    padding: 42px 22px;
  }

  .mentorship-audience-list {
    gap: 8px;
  }

  .mentorship-audience-list span {
    min-height: 76px;
    padding: 12px;
    font-size: 0.76rem;
  }

  .mentorship-mentor {
    gap: 24px;
    padding: 42px 22px;
  }

  .mentorship-mentor img {
    max-height: 420px;
    object-position: center 18%;
  }

  .mentorship-faq {
    gap: 16px;
    padding: 42px 22px;
  }

  .mentorship-final-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 38px 22px;
  }
}

/* Mentoria NEXO landing page composition */
.course-shell.is-mentorship {
  --mentorship-header-overlap: 74px;
  --nexo-cream: #f7f1e8;
  --nexo-paper: #fffaf3;
  --nexo-ink: #16241f;
  --nexo-green: #062a22;
  --nexo-wine: #781c2c;
  --nexo-rust: #9c4527;
  color: var(--nexo-ink);
  background: var(--nexo-cream);
  font-family: Arial, Helvetica, sans-serif;
}

.course-shell.is-mentorship .course-topbar[hidden],
.course-shell.is-mentorship .mentorship-header[hidden],
.course-shell.is-mentorship .mentorship-landing[hidden] {
  display: none;
}

.course-shell.is-mentorship .mentorship-header {
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  min-height: 74px;
  margin-bottom: calc(-1 * var(--mentorship-header-overlap));
  gap: 24px;
  padding: 10px max(28px, calc((100vw - 1440px) / 2));
  color: var(--nexo-ink);
  background: linear-gradient(90deg, var(--nexo-cream) 0%, var(--nexo-cream) 47%, rgba(247, 241, 232, 0.88) 63%, rgba(247, 241, 232, 0.5) 82%, rgba(247, 241, 232, 0.16) 100%);
  border: 0;
}

.course-shell.is-mentorship .mentorship-wordmark strong {
  font-size: 2.4rem;
}

.course-shell.is-mentorship .mentorship-wordmark span {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.course-shell.is-mentorship .mentorship-header nav {
  gap: clamp(14px, 2.1vw, 32px);
  color: var(--nexo-ink);
  font-size: 0.95rem;
}

.course-shell.is-mentorship .mentorship-header nav a {
  color: var(--nexo-ink);
}

.course-shell.is-mentorship .mentorship-header-cta,
.course-shell.is-mentorship .mentorship-primary-cta {
  min-height: 42px;
  padding: 0 20px;
  border-color: var(--nexo-wine);
  border-radius: 24px;
  background: var(--nexo-wine);
}

.course-shell.is-mentorship .mentorship-header-cta {
  min-height: 48px;
  padding-inline: 22px;
  font-size: 0.92rem;
}

.course-shell.is-mentorship .mentorship-hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(clamp(340px, 47vw, 650px) + var(--mentorship-header-overlap));
  background: var(--nexo-cream);
}

.course-shell.is-mentorship .mentorship-hero-copy {
  padding: calc(clamp(32px, 5vw, 72px) + var(--mentorship-header-overlap)) clamp(22px, 4.2vw, 62px) clamp(30px, 4vw, 60px) max(28px, calc((100vw - 1440px) / 2));
}

.course-shell.is-mentorship .mentorship-eyebrow {
  margin-bottom: 12px;
  color: var(--nexo-rust);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.course-shell.is-mentorship .mentorship-wordmark-large {
  font-size: clamp(4.7rem, 10vw, 8.5rem);
  letter-spacing: 0;
  line-height: 0.8;
}

.course-shell.is-mentorship .mentorship-wordmark-caption {
  margin-top: 10px;
  font-size: 0.67rem;
  letter-spacing: 0.18em;
}

.course-shell.is-mentorship .mentorship-hero h1,
.course-shell.is-mentorship .mentorship-method h2,
.course-shell.is-mentorship .mentorship-section-intro h2,
.course-shell.is-mentorship .mentorship-audience h2,
.course-shell.is-mentorship .mentorship-mentor h2,
.course-shell.is-mentorship .mentorship-final-cta h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: 0;
}

.course-shell.is-mentorship .mentorship-hero h1 {
  max-width: 540px;
  margin-top: 20px;
  font-size: clamp(1.8rem, 3.15vw, 3.2rem);
  line-height: 1.06;
}

.course-shell.is-mentorship .mentorship-lead {
  max-width: 510px;
  margin: 14px 0 18px;
  color: #283a35;
  font-size: clamp(0.82rem, 1.12vw, 1rem);
  line-height: 1.48;
}

.course-shell.is-mentorship .mentorship-hero-portrait {
  min-height: 0;
  background: #b08c69;
}

.course-shell.is-mentorship .mentorship-hero-portrait::before {
  width: clamp(110px, 18vw, 270px);
  background: linear-gradient(90deg, var(--nexo-cream) 0%, rgba(247, 241, 232, 0.94) 22%, rgba(247, 241, 232, 0.58) 58%, rgba(247, 241, 232, 0) 100%);
}

.course-shell.is-mentorship .mentorship-hero-portrait img {
  min-height: 100%;
  object-position: center 18%;
}

.course-shell.is-mentorship .mentorship-hero-portrait > div {
  right: clamp(16px, 3vw, 44px);
  bottom: clamp(16px, 3vw, 42px);
  padding: 12px 16px;
  background: rgba(8, 36, 29, 0.82);
}

.course-shell.is-mentorship .mentorship-hero-facts {
  gap: 10px clamp(12px, 2vw, 24px);
  margin-top: 18px;
  font-size: 0.72rem;
}

.course-shell.is-mentorship .mentorship-painpoints {
  position: relative;
  grid-template-columns: minmax(155px, 1.25fr) repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: clamp(8px, 1.2vw, 16px);
  padding: clamp(18px, 2vw, 30px) max(28px, calc((100vw - 1440px) / 2));
  background: var(--nexo-paper);
}

.mentorship-painpoints-anchor {
  position: absolute;
  top: 0;
  left: 0;
}

.course-shell.is-mentorship .mentorship-painpoints h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-weight: 400;
  line-height: 1.15;
}

.course-shell.is-mentorship .mentorship-painpoints article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: clamp(118px, 15vw, 186px);
  padding: 12px 10px;
  border: 1px solid rgba(143, 96, 65, 0.08);
  border-radius: 11px;
  background: #fffdf9;
  box-shadow: 0 6px 18px rgba(75, 48, 27, 0.07);
  text-align: center;
}

.course-shell.is-mentorship .mentorship-painpoints article span {
  color: var(--nexo-rust);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
}

.course-shell.is-mentorship .mentorship-painpoints article p {
  margin: 0;
  color: #343936;
  font-size: clamp(0.65rem, 0.86vw, 0.82rem);
  line-height: 1.38;
}

.course-shell.is-mentorship .mentorship-method {
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.8fr);
  gap: 0;
  min-height: clamp(300px, 36vw, 500px);
  padding: 0;
  color: #fff8e9;
  background: var(--nexo-green);
}

.course-shell.is-mentorship .mentorship-method-visual {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
}

.course-shell.is-mentorship .mentorship-method-visual::after {
  position: absolute;
  inset: 0 -1px 0 62%;
  background: linear-gradient(90deg, rgba(6, 42, 34, 0), var(--nexo-green) 98%);
  content: '';
}

.course-shell.is-mentorship .mentorship-method-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(300px, 36vw, 500px);
  object-fit: cover;
  object-position: left center;
}

.course-shell.is-mentorship .mentorship-method-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(32px, 4.2vw, 62px) max(28px, calc((100vw - 1440px) / 2)) clamp(32px, 4.2vw, 62px) 0;
}

.course-shell.is-mentorship .mentorship-method .mentorship-eyebrow {
  margin-bottom: 4px;
  color: #d2b58b;
}

.course-shell.is-mentorship .mentorship-method-copy h2 {
  max-width: none;
  color: #fff8e9;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.course-shell.is-mentorship .mentorship-method-copy > p:last-child {
  max-width: none;
  margin: 8px 0 20px;
  color: rgba(255, 248, 233, 0.88);
  font-size: clamp(0.84rem, 1.3vw, 1.1rem);
  line-height: 1.4;
}

.course-shell.is-mentorship .mentorship-method-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 22px);
}

.course-shell.is-mentorship .mentorship-method-steps li {
  justify-items: center;
  align-content: start;
  gap: 8px;
  text-align: center;
}

.course-shell.is-mentorship .mentorship-method-steps li:not(:last-child)::after {
  top: 28px;
  right: -20px;
  left: calc(50% + 34px);
  height: auto;
  color: #d2b58b;
  background: none;
  content: '→';
  font-family: Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1;
}

.course-shell.is-mentorship .mentorship-method-steps li > span {
  width: clamp(44px, 5vw, 62px);
  border-color: #ead8b7;
  color: #fff4e0;
  background: rgba(255, 255, 255, 0.08);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.course-shell.is-mentorship .mentorship-method-steps li:nth-child(1) > span { background: #a7805c; }
.course-shell.is-mentorship .mentorship-method-steps li:nth-child(2) > span { background: #326b54; }
.course-shell.is-mentorship .mentorship-method-steps li:nth-child(3) > span { background: #8a4147; }
.course-shell.is-mentorship .mentorship-method-steps li:nth-child(4) > span { background: #173a33; }

.course-shell.is-mentorship .mentorship-method-steps li strong {
  max-width: 150px;
  font-size: clamp(0.58rem, 0.83vw, 0.76rem);
  line-height: 1.32;
}

.course-shell.is-mentorship .mentorship-method-steps li p {
  font-size: clamp(0.6rem, 0.8vw, 0.74rem);
  line-height: 1.4;
}

.course-shell.is-mentorship .mentorship-deliverables {
  padding: clamp(28px, 4vw, 58px) max(22px, calc((100vw - 1440px) / 2));
  background: var(--nexo-cream);
}

.course-shell.is-mentorship .mentorship-section-intro {
  max-width: 800px;
  margin-bottom: clamp(20px, 2.4vw, 34px);
}

.course-shell.is-mentorship .mentorship-section-intro h2 {
  color: var(--nexo-ink);
  font-size: clamp(1.55rem, 2.7vw, 2.55rem);
  line-height: 1.04;
  text-transform: uppercase;
}

.course-shell.is-mentorship .mentorship-deliverable-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(8px, 1.1vw, 14px);
}

.course-shell.is-mentorship .mentorship-deliverable-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: clamp(132px, 15vw, 180px);
  padding: clamp(12px, 1.5vw, 20px) 10px;
  border: 1px solid rgba(143, 96, 65, 0.08);
  border-radius: 10px;
  background: #fffdf9;
  box-shadow: 0 5px 15px rgba(75, 48, 27, 0.06);
  text-align: center;
}

.course-shell.is-mentorship .mentorship-deliverable-grid article > span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--nexo-rust);
  font-family: Georgia, 'Times New Roman', serif;
}

.course-shell.is-mentorship .mentorship-deliverable-grid article > span svg {
  display: block;
  width: 100%;
  height: 100%;
}

.course-shell.is-mentorship .mentorship-deliverable-grid article h3 {
  margin: 10px 0 6px;
  color: #282d29;
  font-size: clamp(0.66rem, 0.88vw, 0.82rem);
  line-height: 1.25;
}

.course-shell.is-mentorship .mentorship-deliverable-grid article p {
  color: #535750;
  font-size: clamp(0.6rem, 0.78vw, 0.72rem);
  line-height: 1.35;
}

.course-shell.is-mentorship .mentorship-practice {
  display: grid;
  grid-template-columns: 38% 38% 24%;
  min-height: clamp(220px, 31.5vw, 450px);
  overflow: hidden;
  background: var(--nexo-green);
}

.course-shell.is-mentorship .mentorship-practice img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(220px, 31.5vw, 450px);
  object-fit: cover;
}

.course-shell.is-mentorship .mentorship-practice img:first-child,
.course-shell.is-mentorship .mentorship-practice img:nth-child(2) {
  object-position: center;
}

.course-shell.is-mentorship .mentorship-practice img:last-child {
  object-position: 48% center;
}

.course-shell.is-mentorship .mentorship-audience {
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(16px, 2.4vw, 34px);
  padding: clamp(22px, 3vw, 42px) max(22px, calc((100vw - 1440px) / 2));
  color: #fff8ed;
  background: var(--nexo-wine);
}

.course-shell.is-mentorship .mentorship-audience-intro .mentorship-eyebrow {
  color: #ead1b9;
}

.course-shell.is-mentorship .mentorship-audience h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.3rem);
  line-height: 1.03;
}

.course-shell.is-mentorship .mentorship-audience-intro > p:not(.mentorship-eyebrow) {
  max-width: 460px;
  margin: 12px 0;
  color: rgba(255, 248, 237, 0.82);
  font-size: clamp(0.68rem, 0.92vw, 0.84rem);
  line-height: 1.42;
}

.course-shell.is-mentorship .mentorship-text-link {
  min-height: 34px;
  margin-top: 2px;
  padding: 0 18px;
  border-radius: 24px;
  color: var(--nexo-ink);
  background: #fff8ed;
  font-size: 0.72rem;
}

.course-shell.is-mentorship .mentorship-audience-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.1vw, 14px);
}

.course-shell.is-mentorship .mentorship-audience-list article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: clamp(116px, 15vw, 178px);
  padding: 12px 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  color: #3b332b;
  background: var(--nexo-paper);
  text-align: center;
}

.course-shell.is-mentorship .mentorship-audience-list article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-height: 0;
  height: 36px;
  padding: 0;
  color: var(--nexo-rust);
}

.course-shell.is-mentorship .mentorship-audience-list article > span svg {
  display: block;
  width: 100%;
  height: 100%;
}

.course-shell.is-mentorship .mentorship-audience-list article p {
  margin: 0;
  font-size: clamp(0.6rem, 0.8vw, 0.74rem);
  line-height: 1.35;
}

.course-shell.is-mentorship .mentorship-mentor {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(22px, 3vw, 42px) max(22px, calc((100vw - 1440px) / 2));
  background: var(--nexo-cream);
}

.course-shell.is-mentorship .mentorship-mentor img {
  width: 100%;
  height: clamp(190px, 24vw, 340px);
  max-height: none;
  object-fit: cover;
  object-position: center 20%;
}

.course-shell.is-mentorship .mentorship-mentor h2 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
}

.course-shell.is-mentorship .mentorship-mentor > div > p:last-child {
  max-width: 760px;
  margin: 0;
  color: #3f4943;
  font-size: clamp(0.75rem, 1vw, 0.92rem);
  line-height: 1.48;
}

.course-shell.is-mentorship .mentorship-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
  min-height: clamp(150px, 20vw, 250px);
  padding: clamp(24px, 3.4vw, 48px) max(22px, calc((100vw - 1440px) / 2));
  color: #fff8e9;
  background: var(--nexo-green);
}

.course-shell.is-mentorship .mentorship-final-brand {
  display: grid;
  gap: 5px;
}

.course-shell.is-mentorship .mentorship-final-brand strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.65rem, 2.8vw, 2.8rem);
  font-weight: 400;
}

.course-shell.is-mentorship .mentorship-final-brand > span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
}

.course-shell.is-mentorship .mentorship-final-brand p {
  margin: 8px 0 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(0.85rem, 1.3vw, 1.1rem);
}

.course-shell.is-mentorship .mentorship-final-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(70px, auto)) minmax(220px, 1fr);
  align-items: center;
  gap: clamp(10px, 1.8vw, 24px);
}

.course-shell.is-mentorship .mentorship-final-details > span {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.64rem, 0.82vw, 0.76rem);
  line-height: 1.3;
}

.course-shell.is-mentorship .mentorship-final-details > span b {
  color: #e4cfaa;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.7rem;
  font-weight: 400;
}

.course-shell.is-mentorship .mentorship-final-cta .mentorship-primary-cta {
  width: 100%;
  min-height: 44px;
  border-color: #d3b383;
  background: var(--nexo-wine);
  font-size: clamp(0.62rem, 0.8vw, 0.75rem);
  white-space: normal;
}

.course-shell.is-mentorship .mentorship-faq:not([open]) {
  display: none;
}

.course-shell.is-mentorship .mentorship-faq[open] {
  display: block;
  position: fixed;
  inset: 50% auto auto 50%;
  width: min(620px, calc(100vw - 32px));
  max-height: min(82vh, 760px);
  margin: 0;
  padding: 32px;
  overflow: auto;
  transform: translate(-50%, -50%);
  border: 1px solid #e2d7c8;
  border-radius: 12px;
  color: var(--nexo-ink);
  background: var(--nexo-paper);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
}

.course-shell.is-mentorship .mentorship-faq::backdrop {
  background: rgba(9, 22, 18, 0.72);
}

.course-shell.is-mentorship .mentorship-faq form {
  display: flex;
  justify-content: flex-end;
}

.course-shell.is-mentorship .mentorship-faq-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: var(--nexo-ink);
  background: #eee4d8;
  font-size: 1.5rem;
  cursor: pointer;
}

.course-shell.is-mentorship .mentorship-faq h2 {
  margin: 0 0 18px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  font-weight: 400;
}

.course-shell.is-mentorship .mentorship-faq details {
  padding: 16px 0;
  border-bottom: 1px solid #e1d7cb;
}

.course-shell.is-mentorship .mentorship-faq summary {
  color: var(--nexo-ink);
  font-weight: 700;
  cursor: pointer;
}

.course-shell.is-mentorship .mentorship-faq details p {
  margin: 10px 0 0;
  color: #525d56;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .course-shell.is-mentorship .mentorship-header {
    grid-template-columns: minmax(130px, auto) 1fr auto;
    gap: 12px;
    padding-inline: 20px;
  }

  .course-shell.is-mentorship .mentorship-header nav {
    gap: 12px;
    font-size: 0.8rem;
  }

  .course-shell.is-mentorship .mentorship-header-cta {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 0.78rem;
  }

  .course-shell.is-mentorship .mentorship-method {
    grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.6fr);
  }

  .course-shell.is-mentorship .mentorship-method-content {
    padding-right: 20px;
  }

  .course-shell.is-mentorship .mentorship-audience {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .course-shell.is-mentorship .mentorship-final-details {
    grid-template-columns: repeat(3, minmax(55px, auto)) minmax(160px, 1fr);
  }
}

@media (max-width: 700px) {
  .course-shell.is-mentorship .mentorship-header {
    grid-template-columns: 1fr auto;
    margin-bottom: 0;
    padding: 12px 18px;
    background: var(--nexo-cream);
  }

  .course-shell.is-mentorship .mentorship-wordmark strong {
    font-size: 2.1rem;
  }

  .course-shell.is-mentorship .mentorship-wordmark span {
    max-width: 160px;
    font-size: 0.5rem;
    line-height: 1.2;
  }

  .course-shell.is-mentorship .mentorship-header-cta {
    min-height: 40px;
    padding-inline: 10px;
    font-size: 0.74rem;
  }

  .course-shell.is-mentorship .mentorship-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding: 5px 0;
    font-size: 0.82rem;
  }

  .course-shell.is-mentorship .mentorship-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .course-shell.is-mentorship .mentorship-hero-copy {
    padding: 42px 22px 30px;
  }

  .course-shell.is-mentorship .mentorship-wordmark-large {
    font-size: 5.2rem;
  }

  .course-shell.is-mentorship .mentorship-hero h1 {
    font-size: 2.3rem;
  }

  .course-shell.is-mentorship .mentorship-hero-portrait {
    min-height: 0;
    height: 88vw;
    max-height: 520px;
  }

  .course-shell.is-mentorship .mentorship-hero-portrait img {
    min-height: 0;
  }

  .course-shell.is-mentorship .mentorship-hero-portrait::before {
    inset: 0 0 auto;
    width: 100%;
    height: 32px;
    background: linear-gradient(180deg, var(--nexo-cream), rgba(247, 241, 232, 0));
  }

  .course-shell.is-mentorship .mentorship-painpoints {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 32px 18px;
  }

  .course-shell.is-mentorship .mentorship-painpoints h2 {
    grid-column: 1 / -1;
  }

  .course-shell.is-mentorship .mentorship-method {
    grid-template-columns: 1fr;
  }

  .course-shell.is-mentorship .mentorship-method-visual {
    min-height: 0;
    height: 58vw;
    max-height: 340px;
  }

  .course-shell.is-mentorship .mentorship-method-visual img {
    min-height: 0;
    object-position: 20% 42%;
  }

  .course-shell.is-mentorship .mentorship-method-visual::after {
    inset: 42% 0 -1px;
    background: linear-gradient(180deg, rgba(6, 42, 34, 0), var(--nexo-green));
  }

  .course-shell.is-mentorship .mentorship-method-content {
    padding: 10px 22px 42px;
  }

  .course-shell.is-mentorship .mentorship-method-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }

  .course-shell.is-mentorship .mentorship-method-steps li:not(:last-child)::after {
    display: none;
  }

  .course-shell.is-mentorship .mentorship-deliverables {
    padding: 40px 18px;
  }

  .course-shell.is-mentorship .mentorship-deliverable-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-shell.is-mentorship .mentorship-deliverable-grid article {
    min-height: 145px;
  }

  .course-shell.is-mentorship .mentorship-practice {
    grid-template-columns: 1fr;
  }

  .course-shell.is-mentorship .mentorship-practice img {
    height: auto;
    min-height: 0;
  }

  .course-shell.is-mentorship .mentorship-audience {
    grid-template-columns: 1fr;
    padding: 38px 20px;
  }

  .course-shell.is-mentorship .mentorship-audience-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-shell.is-mentorship .mentorship-mentor {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 38px 20px;
  }

  .course-shell.is-mentorship .mentorship-mentor img {
    height: 72vw;
    max-height: 430px;
  }

  .course-shell.is-mentorship .mentorship-final-cta {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 34px 20px;
  }

  .course-shell.is-mentorship .mentorship-final-details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .course-shell.is-mentorship .mentorship-final-cta .mentorship-primary-cta {
    grid-column: 1 / -1;
  }
}

.course-shell.is-mentorship .mentorship-hero-portrait > div {
  top: 27%;
  right: clamp(14px, 1.8vw, 24px);
  bottom: auto;
  justify-items: center;
  gap: 5px;
  max-width: 25%;
  padding: 0;
  background: transparent;
  text-align: center;
  text-shadow: 0 1px 8px rgba(14, 25, 18, 0.7);
}

.course-shell.is-mentorship .mentorship-hero-portrait > div strong {
  font-family: 'Segoe Script', 'Brush Script MT', cursive;
  font-size: clamp(1.2rem, 1.8vw, 1.75rem);
  font-style: italic;
}

.course-shell.is-mentorship .mentorship-hero-portrait > div span {
  max-width: 130px;
  font-size: clamp(0.58rem, 0.7vw, 0.68rem);
  line-height: 1.4;
  text-transform: uppercase;
}

.course-shell.is-mentorship .mentorship-investment {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 28px 52px;
  padding: clamp(36px, 5vw, 72px) max(22px, calc((100vw - 1440px) / 2));
  color: var(--nexo-ink);
  background: var(--nexo-paper);
}

.course-shell.is-mentorship .mentorship-investment-heading .mentorship-eyebrow {
  margin-bottom: 10px;
}

.course-shell.is-mentorship .mentorship-investment-heading h2 {
  max-width: 540px;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1.08;
}

.course-shell.is-mentorship .mentorship-investment-heading > p:last-child {
  max-width: 540px;
  color: #48534c;
  line-height: 1.55;
}

.course-shell.is-mentorship .mentorship-investment-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.course-shell.is-mentorship .mentorship-investment-options article {
  display: flex;
  min-width: 0;
  min-height: 132px;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 16px;
  border: 1px solid #e5d9c9;
  border-radius: 6px;
  background: #fffdf9;
}

.course-shell.is-mentorship .mentorship-investment-options article > span {
  color: var(--nexo-rust);
  font-size: 0.78rem;
  font-weight: 700;
}

.course-shell.is-mentorship .mentorship-investment-options article strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.2rem;
  line-height: 1.15;
}

.course-shell.is-mentorship .mentorship-investment-options article small {
  color: #59625d;
  line-height: 1.35;
}

.course-shell.is-mentorship .mentorship-certification-note {
  display: grid;
  gap: 6px;
  padding-left: 16px;
  border-left: 3px solid var(--nexo-rust);
  color: #48534c;
  font-size: 0.86rem;
  line-height: 1.5;
}

.course-shell.is-mentorship .mentorship-certification-note strong {
  color: var(--nexo-ink);
}

.course-shell.is-mentorship .mentorship-investment > .mentorship-primary-cta {
  justify-self: end;
  min-height: 48px;
  border-radius: 5px;
}

.nexo-checkout-wordmark {
  color: #17231f;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.1rem;
  font-weight: 400;
}

.nexo-enrollment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  align-items: start;
  gap: 22px;
}

.nexo-enrollment-layout .enrollment-steps {
  display: grid;
  gap: 18px;
}

.nexo-payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.nexo-payment-options label {
  position: relative;
  display: block;
  cursor: pointer;
}

.nexo-payment-options input {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 20px;
  height: 20px;
  accent-color: #781c2c;
}

.nexo-payment-options label > span {
  display: grid;
  min-height: 148px;
  align-content: center;
  gap: 10px;
  padding: 18px 14px 18px 44px;
  border: 1px solid #ded8cf;
  border-radius: 6px;
  background: #fff;
}

.nexo-payment-options input:checked + span {
  border-color: #781c2c;
  box-shadow: inset 0 0 0 1px #781c2c;
}

.nexo-payment-options strong {
  color: #313c37;
  font-size: 0.95rem;
}

.nexo-payment-options b {
  color: #781c2c;
  font-size: 1.16rem;
}

.nexo-payment-options small {
  color: #59625d;
}

.nexo-enrollment-summary ul {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  padding-left: 20px;
  line-height: 1.45;
}

.nexo-enrollment-summary > p:last-child {
  padding-top: 16px;
  border-top: 1px solid #ded8cf;
  color: #59625d;
  line-height: 1.5;
}

.nexo-contract-panel {
  margin-top: 22px;
}

.nexo-enrollment-shell .enrollment-contract-document section {
  margin-top: 18px;
}

.nexo-enrollment-shell .enrollment-contract-document section h4 {
  margin: 0 0 7px;
}

.nexo-enrollment-shell .enrollment-contract-document section p,
.nexo-enrollment-shell .enrollment-contract-document section li {
  line-height: 1.55;
}

.nexo-enrollment-shell .enrollment-contract-document section ul {
  padding-left: 20px;
}

.admin-form-wide {
  grid-column: 1 / -1;
}

.course-shell.is-presential .course-hero-media {
  background:
    linear-gradient(90deg, rgba(242, 247, 247, 0.06), rgba(242, 247, 247, 0)),
    var(--course-cover-image, url("images/hero-neuroaprendizagem.png")) center var(--course-cover-position, 50%) / cover;
}

@media (max-width: 900px) {
  .course-shell.is-mentorship .mentorship-investment {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .course-shell.is-mentorship .mentorship-investment > .mentorship-primary-cta {
    justify-self: stretch;
  }

  .nexo-enrollment-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .course-shell.is-mentorship .mentorship-investment {
    padding: 38px 20px;
  }

  .course-shell.is-mentorship .mentorship-investment-options,
  .nexo-payment-options {
    grid-template-columns: 1fr;
  }

  .course-shell.is-mentorship .mentorship-investment-options article {
    min-height: 0;
  }

  .course-shell.is-mentorship .mentorship-investment-heading h2 {
    font-size: 1.9rem;
  }

  .nexo-payment-options label > span {
    min-height: 112px;
  }
}

@media print {
  body.nexo-enrollment-shell {
    background: #fff;
  }

  body.nexo-enrollment-shell .checkout-header,
  body.nexo-enrollment-shell .enrollment-intro,
  body.nexo-enrollment-shell .nexo-enrollment-layout,
  body.nexo-enrollment-shell .enrollment-section-heading button,
  body.nexo-enrollment-shell .enrollment-contract-notice,
  body.nexo-enrollment-shell .nexo-checkout-action {
    display: none !important;
  }

  body.nexo-enrollment-shell .enrollment-main {
    width: 100%;
    padding: 0;
  }

  body.nexo-enrollment-shell .enrollment-contract-document {
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 700px) {
  .course-shell.is-mentorship .mentorship-hero-portrait > div {
    top: 24%;
    right: 12px;
    max-width: 30%;
  }
}

.course-shell.is-mentorship .mentorship-hero .mentorship-primary-cta {
  min-height: 54px;
  padding-inline: 28px;
  border-radius: 6px;
  font-size: 0.92rem;
}

.course-shell.is-mentorship .mentorship-audience .mentorship-text-link {
  min-height: 48px;
  margin-top: 8px;
  padding-inline: 24px;
  border-radius: 6px;
  font-size: 0.9rem;
}

body.enrollment-shell {
  min-height: 100vh;
  color: #fff;
  background: #071426 url("images/catalog-process-background.webp") center top / 100% auto no-repeat;
}

body.enrollment-shell [hidden] {
  display: none !important;
}

.enrollment-app-header {
  min-height: 64px;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  background: rgba(6, 16, 33, 0.94);
}

.enrollment-app-header .brand-logo {
  width: 150px;
}

.enrollment-main {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0 52px;
}

.enrollment-stepper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 0 0 18px;
}

.enrollment-step {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid rgba(53, 221, 229, 0.74);
  border-radius: 999px;
  color: #fff;
  background: rgba(5, 24, 43, 0.75);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

button.enrollment-step {
  cursor: pointer;
}

.enrollment-step > span {
  display: inline-grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.enrollment-step.is-complete > span {
  color: #061827;
  background: #52e4e9;
}

.enrollment-step.is-current {
  border-color: #ffc915;
  color: #15161b;
  background: #ffc915;
}

.enrollment-step.is-current > span {
  color: #15161b;
  background: #fff;
}

.enrollment-step:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.enrollment-plan-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 36px;
  min-height: 126px;
  margin-bottom: 10px;
}

.enrollment-plan-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.enrollment-heading-icon {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  fill: none;
  stroke: #0adbe8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.enrollment-plan-heading .eyebrow {
  margin: 0 0 5px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.enrollment-plan-heading h1 {
  margin: 0;
  font-size: 2.65rem;
  line-height: 1.08;
}

.enrollment-plan-heading h1 span {
  position: relative;
  display: inline-block;
  color: #ffc915;
  white-space: nowrap;
}

.enrollment-plan-heading h1 span::after {
  position: absolute;
  right: -5px;
  bottom: -7px;
  left: 0;
  height: 7px;
  border-top: 4px solid #ffc915;
  border-radius: 50%;
  content: "";
  transform: rotate(-2deg);
}

.enrollment-plan-heading > div > p:last-child {
  max-width: 470px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
  line-height: 1.35;
}

.enrollment-plan-prompt {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 18px;
  padding-left: 34px;
  border-left: 2px solid #27d3df;
}

.enrollment-plan-prompt svg {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  fill: none;
  stroke: #ffc915;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.enrollment-plan-prompt p {
  max-width: 390px;
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
}

.enrollment-plan-prompt strong {
  color: #ffc915;
}

.enrollment-plan-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  padding-top: 17px;
}

.enrollment-tier {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 238px;
  grid-template-rows: auto auto 1fr auto;
  align-items: start;
  gap: 11px;
  padding: 10px;
  border: 1px solid #18c4d2;
  border-radius: 18px;
  color: #fff;
  background: rgba(7, 22, 39, 0.86);
  box-shadow: inset 0 0 18px rgba(0, 194, 211, 0.04);
}

.enrollment-tier.is-selected {
  background: #10283b;
  box-shadow: 0 0 0 2px rgba(24, 196, 210, 0.34), inset 0 0 22px rgba(0, 194, 211, 0.09);
}

.enrollment-tier.is-featured {
  border: 2px solid #ffca17;
  background: rgba(18, 27, 38, 0.94);
  box-shadow: 0 0 15px rgba(255, 197, 14, 0.52), inset 0 0 20px rgba(255, 197, 14, 0.08);
}

.enrollment-tier.is-unavailable {
  opacity: 0.54;
}

.enrollment-tier-featured {
  position: absolute;
  top: -17px;
  left: 50%;
  width: max-content;
  max-width: calc(100% + 16px);
  padding: 4px 10px;
  border-radius: 999px;
  color: #161718;
  background: #ffc915;
  font-size: 0.67rem;
  font-weight: 900;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.enrollment-tier-name {
  display: block;
  overflow: hidden;
  width: 100%;
  padding: 6px 5px;
  border-radius: 999px;
  color: #fff;
  background: #078d9c;
  font-size: 0.79rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.enrollment-tier-quantity {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 1px 0 0;
  white-space: nowrap;
}

.enrollment-tier-quantity svg {
  width: 38px;
  height: 32px;
  flex: 0 0 38px;
  fill: none;
  stroke: #18d7e2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.enrollment-tier-quantity > span {
  font-size: 0.9rem;
  font-weight: 700;
}

.enrollment-tier-quantity strong {
  color: #ffc915;
  font-size: 1.78rem;
  font-weight: 900;
  vertical-align: -2px;
}

.enrollment-tier-price {
  display: grid;
  align-content: end;
  justify-items: center;
  min-width: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  text-align: center;
}

.enrollment-tier-price > span {
  font-size: 0.82rem;
  font-weight: 700;
}

.enrollment-tier-price > strong {
  color: #ffc915;
  font-size: 1.23rem;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.enrollment-tier-price > small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  white-space: nowrap;
}

.enrollment-tier-status {
  color: #ffd36b;
  font-size: 0.68rem;
  line-height: 1.2;
  text-align: center;
}

.enrollment-tier-choose {
  display: flex;
  min-width: 0;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1.5px solid #1bdae5;
  border-radius: 999px;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 0.73rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.enrollment-tier-choose span {
  font-size: 1.05rem;
  line-height: 1;
}

.enrollment-tier-choose:hover,
.enrollment-tier-choose:focus-visible {
  color: #061827;
  background: #4bd9e0;
}

.enrollment-tier-choose:focus-visible,
.enrollment-step:focus-visible,
.enrollment-back-to-plans:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.enrollment-tier.is-featured .enrollment-tier-name,
.enrollment-tier.is-featured .enrollment-tier-choose {
  color: #111820;
  background: #ffc915;
  border-color: #ffc915;
}

.enrollment-tier-choose:disabled {
  cursor: not-allowed;
}

.enrollment-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding: 0 18px;
  list-style: none;
}

.enrollment-benefits li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.enrollment-benefits svg {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  fill: none;
  stroke: #ffca17;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.enrollment-benefits span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding-left: 12px;
  border-left: 2px solid #22d1dd;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  line-height: 1.2;
}

.enrollment-benefits strong {
  color: #ffca17;
  font-size: 0.9rem;
}

.enrollment-course-stage-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 22px 0 24px;
}

.enrollment-course-stage-heading .eyebrow {
  margin: 0 0 6px;
  color: #51e1e7;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.enrollment-course-stage-heading h1 {
  margin: 0;
  color: #fff;
  font-size: 2rem;
}

.enrollment-course-stage-heading p:last-child {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.enrollment-back-to-plans {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #31cbd7;
  border-radius: 999px;
  color: #fff;
  background: rgba(5, 24, 43, 0.75);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.enrollment-course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
  gap: 22px;
}

.enrollment-course-panel {
  min-width: 0;
}

.enrollment-course-panel .enrollment-course-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.enrollment-course-panel .enrollment-course-option {
  border-color: rgba(40, 201, 214, 0.65);
  border-radius: 8px;
  color: #fff;
  background: rgba(8, 22, 39, 0.9);
}

.enrollment-course-panel .enrollment-course-copy {
  padding-top: 12px;
}

.enrollment-course-panel .enrollment-course-copy > span {
  color: rgba(255, 255, 255, 0.78);
}

.enrollment-course-panel .enrollment-course-copy small {
  color: #51dce4;
}

.enrollment-course-panel .enrollment-course-option input {
  accent-color: #11bdca;
}

.enrollment-summary {
  position: sticky;
  top: 18px;
  padding: 22px;
  border: 1px solid rgba(40, 201, 214, 0.68);
  border-radius: 10px;
  color: #fff;
  background: rgba(9, 23, 40, 0.95);
}

.enrollment-summary > .eyebrow {
  margin: 0 0 8px;
  color: #46dce4;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.enrollment-summary h2 {
  margin: 0 0 17px;
  color: #fff;
  font-size: 1.35rem;
}

.enrollment-summary-list > div {
  border-color: rgba(255, 255, 255, 0.2);
}

.enrollment-summary-list dt,
.enrollment-summary-courses > strong,
.enrollment-summary-courses p,
.enrollment-summary > div > p {
  color: rgba(255, 255, 255, 0.73);
}

.enrollment-summary-list dd {
  color: #fff;
}

.enrollment-summary-courses ul {
  color: rgba(255, 255, 255, 0.9);
}

.enrollment-due-date {
  color: #fff;
}

.enrollment-due-date select {
  border-color: rgba(255, 255, 255, 0.35);
}

.enrollment-payment-note,
.enrollment-save-feedback,
.enrollment-feedback {
  color: rgba(255, 255, 255, 0.76);
}

.enrollment-customer-panel {
  margin-top: 24px;
  border-color: rgba(40, 201, 214, 0.55);
  color: #fff;
  background: rgba(9, 23, 40, 0.95);
}

.enrollment-customer-panel .enrollment-section-heading h2,
.enrollment-customer-panel .enrollment-section-heading p {
  color: #fff;
}

.enrollment-customer-panel .enrollment-section-heading p,
.enrollment-customer-panel .enrollment-privacy-note,
.enrollment-customer-panel .enrollment-form-feedback {
  color: rgba(255, 255, 255, 0.76);
}

.enrollment-contract-panel {
  margin-top: 24px;
}

@media (max-width: 1180px) {
  .enrollment-plan-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 24px;
  }

  .enrollment-tier {
    min-height: 226px;
  }

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

@media (max-width: 920px) {
  .enrollment-app-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 16px;
    padding: 12px 20px;
  }

  .enrollment-app-header .brand-logo {
    width: 132px;
  }

  .enrollment-app-header .app-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    gap: 20px;
  }

  .enrollment-app-header .app-header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .enrollment-plan-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 10px 0;
  }

  .enrollment-plan-prompt {
    min-height: 64px;
    padding-left: 20px;
  }

  .enrollment-plan-prompt p {
    max-width: none;
    font-size: 1.15rem;
  }

  .enrollment-course-layout {
    grid-template-columns: 1fr;
  }

  .enrollment-summary {
    position: static;
  }
}

@media (max-width: 620px) {
  body.enrollment-shell {
    background-size: auto 620px;
  }

  .enrollment-app-header {
    padding: 10px 14px;
  }

  .enrollment-app-header .brand-logo {
    width: 112px;
  }

  .enrollment-app-header .app-nav {
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.82rem;
  }

  .enrollment-app-header .app-header-actions {
    gap: 10px;
    font-size: 0.78rem;
  }

  .enrollment-app-header .app-cart span {
    min-width: 18px;
    height: 18px;
  }

  .enrollment-main {
    width: calc(100% - 28px);
    padding-top: 14px;
  }

  .enrollment-stepper {
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 16px;
  }

  .enrollment-step {
    min-height: 32px;
    gap: 5px;
    padding: 5px 8px;
    font-size: 0.72rem;
  }

  .enrollment-step > span {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
    font-size: 0.68rem;
  }

  .enrollment-plan-heading {
    align-items: flex-start;
    gap: 12px;
  }

  .enrollment-heading-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    margin-top: 18px;
  }

  .enrollment-plan-heading h1 {
    font-size: 2rem;
  }

  .enrollment-plan-heading > div > p:last-child {
    font-size: 0.9rem;
  }

  .enrollment-plan-prompt {
    gap: 12px;
    padding-left: 14px;
  }

  .enrollment-plan-prompt svg {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .enrollment-plan-prompt p {
    font-size: 1rem;
  }

  .enrollment-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 10px;
    padding-top: 16px;
  }

  .enrollment-tier {
    min-height: 220px;
    gap: 9px;
    padding: 9px;
    border-radius: 14px;
  }

  .enrollment-tier-name {
    font-size: 0.72rem;
  }

  .enrollment-tier-quantity {
    gap: 4px;
  }

  .enrollment-tier-quantity svg {
    width: 30px;
    height: 28px;
    flex-basis: 30px;
  }

  .enrollment-tier-quantity > span {
    font-size: 0.8rem;
  }

  .enrollment-tier-quantity strong {
    font-size: 1.45rem;
  }

  .enrollment-tier-price > strong {
    font-size: 1.05rem;
  }

  .enrollment-tier-choose {
    min-height: 34px;
    padding-inline: 5px;
    font-size: 0.68rem;
  }

  .enrollment-benefits {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 26px;
    padding: 0 4px;
  }

  .enrollment-benefits li {
    gap: 10px;
  }

  .enrollment-benefits span {
    font-size: 0.8rem;
  }

  .enrollment-benefits strong {
    font-size: 0.85rem;
  }

  .enrollment-course-stage-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .enrollment-course-stage-heading h1 {
    font-size: 1.65rem;
  }

  .enrollment-course-panel .enrollment-course-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .enrollment-app-header .brand-logo {
    width: 96px;
  }

  .enrollment-app-header .app-header-actions {
    font-size: 0.7rem;
  }

  .enrollment-app-header .app-nav {
    gap: 8px;
    font-size: 0.75rem;
  }

  .enrollment-step {
    font-size: 0.67rem;
    padding-inline: 6px;
  }

  .enrollment-plan-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .enrollment-tier {
    min-height: 208px;
    padding: 12px;
  }
}

@media (max-width: 760px) {
  .about.section {
    padding: 42px 20px 54px;
    background-position: left bottom;
  }

  .about-inner {
    width: min(560px, 100%);
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .owner-photo-placeholder {
    width: min(360px, 100%);
  }

  .about .section-copy h2 {
    max-width: 520px;
    font-size: 2rem;
  }
}

.enrollment-step[data-enrollment-step="confirmation"] {
  cursor: not-allowed;
}

.enrollment-payment-stage {
  padding-top: 12px;
}

.enrollment-payment-stage .enrollment-course-stage-heading {
  align-items: flex-end;
  margin: 22px 0 24px;
}

.enrollment-payment-stage .enrollment-course-stage-heading h1 span {
  color: #ffc915;
}

.enrollment-payment-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.5fr);
  align-items: start;
  gap: 24px;
}

.enrollment-payment-plan,
.enrollment-payment-form {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(40, 201, 214, 0.72);
  border-radius: 12px;
  color: #fff;
  background: rgba(5, 25, 43, 0.86);
}

.enrollment-payment-plan-title {
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff;
  background: #078d9c;
  font-size: 1.1rem;
  font-weight: 800;
  text-align: center;
}

.enrollment-payment-plan-quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px 0;
  font-size: 1.45rem;
  font-weight: 700;
}

.enrollment-payment-plan-quantity > span {
  color: #19dce7;
  font-size: 2.5rem;
}

.enrollment-payment-plan-quantity svg {
  width: 48px;
  height: 40px;
  fill: none;
  stroke: #19dce7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.enrollment-payment-plan-quantity strong {
  color: #ffc915;
  font-size: 2.5rem;
}

.enrollment-payment-plan ul {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  list-style: none;
}

.enrollment-payment-plan li {
  position: relative;
  padding-left: 26px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
}

.enrollment-payment-plan li::before {
  position: absolute;
  left: 0;
  color: #ffc915;
  font-weight: 900;
  content: "✓";
}

.enrollment-payment-plan-total {
  display: grid;
  gap: 4px;
}

.enrollment-payment-plan-total small {
  color: rgba(255, 255, 255, 0.76);
}

.enrollment-payment-plan-total strong {
  color: #ffc915;
  font-size: 2rem;
}

.enrollment-payment-form {
  display: grid;
  gap: 18px;
}

.enrollment-payment-methods,
.enrollment-payment-customer {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.enrollment-payment-methods legend,
.enrollment-payment-customer legend {
  grid-column: 1 / -1;
  width: 100%;
  margin-bottom: 4px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
}

.enrollment-payment-choice {
  display: grid;
  min-width: 0;
  grid-template-columns: auto 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(40, 201, 214, 0.72);
  border-radius: 10px;
  background: rgba(3, 22, 38, 0.72);
  cursor: pointer;
}

.enrollment-payment-choice.is-selected {
  border: 2px solid #ffc915;
  box-shadow: 0 0 0 1px rgba(255, 201, 21, 0.18);
}

.enrollment-payment-choice input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #ffc915;
}

.enrollment-payment-choice-icon {
  color: #11d9e5;
  font-size: 2rem;
  text-align: center;
}

.enrollment-payment-choice > span:nth-of-type(2) {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.enrollment-payment-choice strong {
  font-size: 1rem;
}

.enrollment-payment-choice small {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.35;
}

.enrollment-payment-choice > b {
  color: #ffc915;
  font-size: 0.9rem;
  text-align: right;
}

.enrollment-payment-choice[data-payment-choice="pix"] > b {
  display: grid;
  color: #18dce5;
  font-size: 1rem;
}

.enrollment-payment-original {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: line-through;
}

.enrollment-payment-customer label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.9rem;
  font-weight: 700;
}

.enrollment-payment-customer input {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(221, 244, 249, 0.64);
  border-radius: 7px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font: inherit;
}

.enrollment-payment-customer input:focus-visible {
  outline: 2px solid #23dce7;
  outline-offset: 2px;
}

.enrollment-gateway-notice {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid rgba(40, 201, 214, 0.62);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 143, 159, 0.17);
  font-size: 0.9rem;
  line-height: 1.45;
}

.enrollment-payment-feedback {
  margin: 0;
  color: #ffd465;
}

.enrollment-payment-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 12px;
}

.enrollment-payment-submit {
  min-height: 48px;
  border-radius: 999px;
  color: #111820;
  background: #ffc915;
  font-weight: 900;
}

.enrollment-payment-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.enrollment-tier-price > small {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

@media (max-width: 900px) {
  .enrollment-payment-layout {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 14px;
  }

  .enrollment-payment-choice {
    grid-template-columns: auto 30px minmax(0, 1fr);
  }

  .enrollment-payment-choice > b {
    grid-column: 3;
    text-align: left;
  }

  .enrollment-payment-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .enrollment-payment-layout {
    grid-template-columns: 1fr;
  }

  .enrollment-payment-plan,
  .enrollment-payment-form {
    padding: 16px;
  }

  .enrollment-payment-stage .enrollment-course-stage-heading {
    align-items: flex-start;
  }

  .enrollment-payment-methods,
  .enrollment-payment-customer {
    grid-template-columns: 1fr;
  }
}

.postpurchase-main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 72px;
}

.postpurchase-main > h1 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: 40px;
}

.postpurchase-intro,
.postpurchase-selection > p {
  max-width: 760px;
  color: #cbd8e3;
  line-height: 1.6;
}

.postpurchase-status,
.postpurchase-selection,
.postpurchase-complete {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(0, 210, 220, .72);
  border-radius: 10px;
  background: rgba(2, 28, 43, .8);
}

.postpurchase-status-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(207, 225, 234, .18);
}

.postpurchase-status-row span { color: #b7c8d4; }
.postpurchase-status-row strong { color: #fff; text-align: right; overflow-wrap: anywhere; }

.postpurchase-status-actions,
.postpurchase-selection > .button,
.postpurchase-complete > .button {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.postpurchase-status-actions [data-refresh-status] {
  min-width: 190px;
  min-height: 52px;
  padding: 0 24px;
  color: #052b35;
  background: #58e0e5;
  border: 2px solid #a5fbff;
  box-shadow: 0 4px 16px rgba(0, 210, 220, .25);
}

.postpurchase-status-actions [data-refresh-status]:hover:not(:disabled) {
  color: #03232d;
  background: #8af2f4;
  box-shadow: 0 6px 20px rgba(0, 210, 220, .38);
}

.postpurchase-status-actions [data-refresh-status]:focus-visible {
  outline: 3px solid #ffd21a;
  outline-offset: 3px;
}

.postpurchase-status-actions [data-refresh-status]:disabled {
  color: #052b35;
  background: #58e0e5;
  opacity: .9;
  cursor: wait;
}

.postpurchase-selection { margin-top: 28px; }

.postpurchase-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.postpurchase-section-heading h2,
.postpurchase-complete h2 { margin: 4px 0; color: #fff; }
.postpurchase-section-heading > strong { color: #ffd21a; text-align: right; }

.postpurchase-course-list { margin: 20px 0; border-top: 1px solid rgba(207, 225, 234, .2); }

.postpurchase-course-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(207, 225, 234, .2);
  color: #fff;
  cursor: pointer;
}

.postpurchase-course-option input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: #04b5bd; }
.postpurchase-course-option span { display: grid; gap: 5px; min-width: 0; }
.postpurchase-course-option strong { line-height: 1.4; overflow-wrap: anywhere; }
.postpurchase-course-option small { color: #b7c8d4; line-height: 1.4; }
.postpurchase-course-option.is-unavailable { opacity: .55; cursor: not-allowed; }
.postpurchase-feedback,.contract-copy-feedback { margin-top: 14px; color: #9cecf0; line-height: 1.5; }
.postpurchase-support { margin-top: 28px; color: #b7c8d4; }
.postpurchase-support a { color: #52dce2; }

.enrollment-checkout-contact {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(0, 210, 220, .38);
  border-radius: 8px;
}

.enrollment-checkout-contact h2 { margin: 0 0 6px; font-size: 18px; }
.enrollment-checkout-contact > p { margin: 0 0 14px; color: #cbd8e3; }
.enrollment-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.enrollment-contact-fields label { display: grid; gap: 6px; color: #fff; font-weight: 700; }
.enrollment-contact-fields input { min-width: 0; padding: 11px 12px; border: 1px solid #78909c; border-radius: 6px; background: #f7fbfc; color: #10202d; font: inherit; }
.enrollment-contact-wide { grid-column: span 2; }
.enrollment-documents-acceptance { display: flex; align-items: start; gap: 10px; margin-top: 18px; color: #edf5f7; line-height: 1.5; }
.enrollment-documents-acceptance input { width: 18px; height: 18px; flex: 0 0 auto; margin: 2px 0 0; accent-color: #00aeb7; }
.enrollment-documents-acceptance a { color: #61e1e5; }

.contract-copy-main { width: min(980px, calc(100% - 40px)); margin: 0 auto; padding: 36px 0 64px; }
.contract-individual-document { max-width: none; }
.contract-copy-summary { padding: 22px; border: 1px solid #069da7; border-radius: 8px; background: #f3fafb; color: #10202d; }
.contract-copy-summary h2 { margin-top: 0; }
.contract-copy-summary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.contract-copy-summary dl div { min-width: 0; }
.contract-copy-summary dt { color: #48606d; font-size: 13px; }
.contract-copy-summary dd { margin: 3px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.contract-copy-summary ol { padding-left: 22px; }
.contract-copy-summary li { margin: 10px 0; }
.contract-copy-summary li span { display: block; color: #48606d; }
.contract-copy-code { color: #48606d; font-size: 13px; overflow-wrap: anywhere; }

@media (max-width: 680px) {
  .postpurchase-main { width: min(100% - 28px, 1120px); padding-top: 32px; }
  .postpurchase-main > h1 { font-size: 30px; }
  .postpurchase-status,.postpurchase-selection,.postpurchase-complete { padding: 17px; }
  .postpurchase-section-heading { align-items: start; flex-direction: column; }
  .postpurchase-section-heading > strong { text-align: left; }
  .enrollment-contact-fields,.contract-copy-summary dl { grid-template-columns: 1fr; }
}

/* Student portal */
.student-portal-shell {
  min-height: 100vh;
  margin: 0;
  color: #10264a;
  background: #f5f6f8;
}

.student-portal-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
}

.student-sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 100vh;
  height: 100vh;
  flex-direction: column;
  padding: 28px 16px 24px;
  color: #fff;
  background: linear-gradient(155deg, rgba(20, 38, 69, .94), rgba(11, 27, 53, .98)), url("images/catalog-process-background.webp") center / cover;
  border-right: 1px solid rgba(255, 255, 255, .18);
}

.student-sidebar-brand {
  display: flex;
  min-height: 126px;
  align-items: center;
  justify-content: center;
  padding: 4px 8px 22px;
}

.student-sidebar-brand img { display: block; width: min(100%, 226px); height: auto; }
.student-sidebar-rule { height: 1px; margin: 0 12px 26px; background: rgba(255, 255, 255, .55); }
.student-sidebar-nav { display: grid; gap: 8px; }

.student-sidebar-nav a,
.student-sidebar-home {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 17px;
  padding: 12px 20px;
  border-radius: 6px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.student-sidebar-nav a:hover,
.student-sidebar-nav a:focus-visible { background: rgba(255, 255, 255, .12); outline: none; }
.student-sidebar-nav a.is-active { background: #ed2435; }
.student-sidebar-nav svg { width: 30px; height: 30px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.student-sidebar-bottom-rule { margin-top: 24px; margin-bottom: 16px; }
.student-sidebar-home { min-height: 46px; padding-left: 20px; color: rgba(255, 255, 255, .82); font-size: 14px; }
.student-sidebar-home:hover { color: #fff; background: rgba(255, 255, 255, .1); }

.student-portal-main { min-width: 0; }
.student-topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(24px, 3vw, 52px);
  color: #fff;
  background: linear-gradient(105deg, rgba(26, 43, 75, .97), rgba(14, 30, 59, .96)), url("images/catalog-process-background.webp") center 38% / cover;
  box-shadow: 0 3px 14px rgba(15, 33, 62, .12);
}

.student-topbar h1 { margin: 0; padding-left: 21px; border-left: 6px solid #ed2435; color: #fff; font-size: 32px; line-height: 1.2; }
.student-account-menu { margin-left: auto; }
.student-account-menu summary { display: flex; align-items: center; gap: 16px; cursor: pointer; list-style: none; font-size: 19px; font-weight: 700; }
.student-account-menu summary::-webkit-details-marker { display: none; }
.student-account-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 2px solid #fff; border-radius: 50%; }
.student-account-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.student-chevron { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.student-account-popover { position: absolute; right: 28px; top: calc(100% - 8px); display: grid; min-width: 190px; gap: 4px; padding: 8px; border: 1px solid #d4dce5; border-radius: 6px; background: #fff; box-shadow: 0 10px 30px rgba(13, 33, 67, .18); }
.student-account-popover a,
.student-account-popover button { padding: 10px 12px; border: 0; border-radius: 4px; color: #12284b; background: transparent; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.student-account-popover a:hover,
.student-account-popover button:hover { background: #edf2f6; }
.student-sidebar-toggle { display: none; }

.student-portal-content { display: grid; gap: 30px; width: min(100%, 1600px); margin: 0 auto; padding: 22px clamp(22px, 2vw, 36px) 48px; }
.student-welcome-banner {
  display: flex;
  min-height: 286px;
  align-items: center;
  overflow: hidden;
  padding: 34px clamp(28px, 3vw, 48px);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .94) 44%, rgba(255, 255, 255, .08) 100%), url("images/hero-neuroaprendizagem.png") center 48% / cover;
  box-shadow: 0 7px 24px rgba(17, 38, 72, .08);
}

.student-welcome-copy { max-width: 700px; }
.student-overline { margin: 0 0 7px; color: #068e99; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.student-welcome-copy h2 { margin: 0; color: #10264a; font-size: clamp(30px, 3vw, 48px); line-height: 1.12; }
.student-welcome-copy > p:last-child { max-width: 610px; margin: 14px 0 0; color: #1d2735; font-size: 17px; line-height: 1.5; }

.student-dashboard-section { min-width: 0; scroll-margin-top: 120px; }
.student-section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.student-section-title { display: flex; min-width: 0; align-items: center; gap: 14px; }
.student-section-title > svg { width: 44px; height: 44px; flex: 0 0 auto; fill: none; stroke: #10264a; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.student-section-title .student-overline { margin-bottom: 3px; }
.student-section-title h2 { margin: 0; color: #10264a; font-size: 26px; line-height: 1.2; }
.student-course-count { flex: 0 0 auto; padding: 8px 12px; border: 1px solid #d1d8e0; border-radius: 5px; color: #334766; background: #fff; font-size: 13px; font-weight: 700; }
.student-dashboard-feedback { margin: 12px 0; color: #44546a; line-height: 1.5; }
.student-dashboard-feedback[hidden] { display: none; }
.student-enrolled-course-list { display: grid; gap: 14px; }
.student-enrolled-course {
  display: grid;
  grid-template-columns: 218px minmax(240px, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 180px;
  padding: 14px;
  border: 1px solid #d7dce2;
  border-radius: 7px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 5px 14px rgba(16, 38, 74, .045);
}
.student-course-image { display: block; width: 100%; height: 150px; border-radius: 5px; object-fit: cover; background: #e5edf1; }
.student-course-information { min-width: 0; }
.student-course-information h3 { margin: 0 0 16px; color: #10264a; font-size: 21px; line-height: 1.25; overflow-wrap: anywhere; }
.student-course-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.student-course-facts > div { display: flex; min-width: 0; align-items: flex-start; gap: 10px; padding: 0 14px; border-left: 1px solid #ccd3dc; }
.student-course-facts > div:first-child { padding-left: 0; border-left: 0; }
.student-course-facts svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: #10264a; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.student-course-facts span { display: grid; gap: 3px; min-width: 0; }
.student-course-facts strong { color: #10264a; font-size: 14px; }
.student-course-facts small { color: #28364a; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.student-course-status { color: #167638 !important; font-weight: 700; }
.student-certificate-link,
.student-dashboard-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid #10264a;
  border-radius: 5px;
  color: #10264a;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.student-certificate-link:hover,
.student-dashboard-button:hover { color: #fff; background: #10264a; }
.student-certificate-link svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.student-empty-state { padding: 25px; border: 1px dashed #c5ced9; border-radius: 6px; background: #fff; }
.student-empty-state h3 { margin: 0; color: #10264a; font-size: 18px; }
.student-empty-state p { margin: 8px 0 18px; color: #526176; line-height: 1.5; }
.student-purchase-actions { display: grid; gap: 8px; margin-bottom: 14px; }
.student-purchase-actions:empty { display: none; }
.student-pending-order { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 16px; border-left: 4px solid #e6b817; border-radius: 4px; background: #fff7d7; }
.student-pending-order > div { display: grid; gap: 4px; }
.student-pending-order strong { color: #10264a; }
.student-pending-order span { color: #59677b; font-size: 13px; }
.student-pending-order a { flex: 0 0 auto; color: #087f89; font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.student-mentorship-orders { display: grid; gap: 10px; }
.student-mentorship-order { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; border: 1px solid #d7dce2; border-left: 4px solid #078e99; border-radius: 6px; background: #fff; }
.student-mentorship-order-copy { display: grid; gap: 6px; min-width: 0; }
.student-mentorship-order h3,
.student-mentorship-order p { margin: 0; }
.student-mentorship-order h3 { color: #10264a; font-size: 17px; }
.student-mentorship-order p,
.student-mentorship-order small { color: #526176; line-height: 1.45; }
.student-mentorship-order a { flex: 0 0 auto; color: #087f89; font-size: 14px; font-weight: 800; text-underline-offset: 3px; }
.student-mentorship-order-pending { flex: 0 0 auto; color: #805600; font-size: 14px; font-weight: 800; }
.student-mentorship-signature-button { flex: 0 0 auto; min-height: 42px; padding: 0 16px; border: 0; border-radius: 4px; background: #079ba5; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.student-mentorship-signature-button:disabled { cursor: wait; opacity: .7; }
.student-mentorship-request-error { flex-basis: 100%; color: #a21e2a; line-height: 1.45; }
.student-mentorship-order a[aria-disabled="true"] { opacity: .65; pointer-events: none; }

.student-contract-panel { display: none; padding-top: 8px; }
.student-contract-panel:target { display: block; }
.student-contract-list { display: grid; gap: 14px; }
.student-contract-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 20px; border: 1px solid #d7dce2; border-left: 4px solid #078e99; border-radius: 6px; background: #fff; }
.student-contract-card h3,
.student-contract-card p { margin: 0; }
.student-contract-card h3 { margin-bottom: 5px; color: #10264a; font-size: 18px; }
.student-contract-card > div:first-child > p:last-child { color: #526176; line-height: 1.5; }
.student-contract-actions { display: grid; justify-items: end; gap: 10px; }
.student-contract-actions > a { color: #087f89; font-weight: 800; text-underline-offset: 3px; }
.student-contract-actions .student-dashboard-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border-radius: 4px; text-decoration: none; }
.student-contract-status { color: #526176; font-weight: 700; }
.student-manual-signature-form { display: grid; grid-template-columns: minmax(180px, 1fr) auto; align-items: end; gap: 9px; width: min(100%, 570px); }
.student-manual-signature-form label { display: grid; gap: 6px; color: #263a58; font-size: 13px; font-weight: 700; }
.student-manual-signature-form input { max-width: 100%; min-width: 0; color: #263a58; font: inherit; }
.student-manual-signature-form p { grid-column: 1 / -1; min-height: 20px; margin: 0; color: #526176; }
.student-manual-signature-form button { min-height: 42px; padding-inline: 14px; }
.student-profile-panel { display: none; padding-top: 8px; }
.student-profile-panel:target { display: block; }
.student-support-panel { padding-top: 8px; }
.student-portal-profile-form { max-width: none; padding: 22px; border: 1px solid #d7dce2; border-radius: 7px; background: #fff; }
.student-profile-form label { color: #263a58; }
.student-profile-form input[readonly] { color: #69778a; background: #f1f3f6; }
.student-profile-form input[required] { min-width: 0; }
.student-profile-form-actions { display: flex; grid-column: 1 / -1; align-items: center; flex-wrap: wrap; gap: 14px; }
.student-dashboard-button { border-color: #087f89; color: #fff; background: #078e99; cursor: pointer; }
.student-dashboard-button:hover { border-color: #066b73; background: #066b73; }
.student-profile-feedback { margin: 0; color: #a5232a; }
.student-profile-feedback[data-state="success"] { color: #167638; }
.student-profile-feedback[data-state="pending"] { color: #526176; }
.student-support-panel > p { color: #46566d; line-height: 1.5; }
.student-support-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.student-support-actions a { padding: 11px 14px; border-radius: 5px; color: #087f89; background: #e5f5f5; font-weight: 700; text-decoration: none; }
.student-support-actions a:hover { background: #ccebed; }

.manual-contract-admin-main { display: grid; align-content: start; gap: 18px; }
.manual-contract-admin-feedback { margin: 0; color: #526176; font-weight: 700; }
.manual-contract-admin-list { display: grid; gap: 14px; }
.manual-contract-admin-card { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 22px; padding: 22px; border: 1px solid #d8dee6; border-radius: 7px; background: #fff; }
.manual-contract-admin-summary h2,
.manual-contract-admin-summary p { margin: 0 0 7px; }
.manual-contract-admin-summary h2 { color: #10264a; font-size: 20px; }
.manual-contract-admin-summary p:not(.eyebrow) { color: #526176; overflow-wrap: anywhere; }
.manual-contract-admin-actions { display: grid; align-content: start; gap: 16px; }
.manual-contract-admin-actions > a { justify-self: start; }
.manual-contract-admin-actions form { display: grid; justify-items: start; gap: 9px; padding-top: 14px; border-top: 1px solid #d8dee6; }
.manual-contract-admin-actions label { display: grid; gap: 7px; width: 100%; color: #233752; font-weight: 700; }
.manual-contract-admin-actions input,
.manual-contract-admin-actions textarea { width: 100%; min-width: 0; }
.manual-contract-admin-actions textarea { min-height: 72px; resize: vertical; }
.manual-contract-admin-actions p { margin: 0; color: #526176; }
.manual-contract-signout { justify-self: start; }

@media (max-width: 760px) {
  .student-contract-card,
  .manual-contract-admin-card { grid-template-columns: 1fr; }
  .student-contract-actions { justify-items: stretch; }
  .student-manual-signature-form { grid-template-columns: 1fr; }
  .student-manual-signature-form p { grid-column: auto; }
  .manual-contract-admin-actions > a { justify-self: stretch; text-align: center; }
}

@media (max-width: 1120px) {
  .student-portal-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .student-sidebar-nav a { gap: 12px; padding-inline: 15px; font-size: 16px; }
  .student-enrolled-course { grid-template-columns: 180px minmax(0, 1fr); }
  .student-course-image { height: 138px; }
  .student-certificate-link { grid-column: 2; justify-self: start; }
  .student-course-facts > div { padding-inline: 10px; }
}

@media (max-width: 800px) {
  .student-portal-layout { display: block; }
  .student-sidebar { position: fixed; inset: 0 auto 0 0; width: min(286px, 86vw); min-height: 100dvh; height: 100dvh; transform: translateX(-102%); transition: transform .22s ease; box-shadow: 12px 0 30px rgba(8, 20, 41, .25); }
  .student-sidebar.is-open { transform: translateX(0); }
  .student-topbar { min-height: 76px; gap: 14px; padding: 12px 18px; }
  .student-sidebar-toggle { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255, 255, 255, .55); border-radius: 5px; color: #fff; background: transparent; cursor: pointer; }
  .student-sidebar-toggle svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .student-topbar h1 { margin-right: auto; padding-left: 12px; font-size: 24px; }
  .student-account-menu summary { gap: 9px; font-size: 14px; }
  .student-account-icon { width: 38px; height: 38px; }
  .student-account-icon svg { width: 22px; height: 22px; }
  .student-account-popover { right: 14px; }
  .student-portal-content { gap: 24px; padding: 16px 18px 34px; }
  .student-welcome-banner { min-height: 240px; padding: 26px; background-position: 60% center; }
}

@media (max-width: 620px) {
  .student-topbar { min-height: 68px; padding-inline: 12px; }
  .student-topbar h1 { padding-left: 9px; border-left-width: 4px; font-size: 20px; }
  .student-account-menu summary { gap: 7px; font-size: 0; }
  .student-account-menu summary [data-student-name] { display: none; }
  .student-account-icon { width: 36px; height: 36px; }
  .student-chevron { width: 16px; }
  .student-portal-content { gap: 20px; padding: 12px 12px 28px; }
  .student-welcome-banner { min-height: 245px; align-items: flex-end; padding: 22px 18px; background-image: linear-gradient(0deg, rgba(255,255,255,.98), rgba(255,255,255,.93) 56%, rgba(255,255,255,.15)), url("images/hero-neuroaprendizagem.png"); background-position: 64% center; }
  .student-welcome-copy h2 { font-size: 29px; }
  .student-welcome-copy > p:last-child { margin-top: 9px; font-size: 15px; }
  .student-section-title-row { align-items: flex-start; }
  .student-section-title { gap: 9px; }
  .student-section-title > svg { width: 34px; height: 34px; }
  .student-section-title h2 { font-size: 20px; }
  .student-section-title .student-overline { font-size: 10px; }
  .student-course-count { padding: 7px 8px; font-size: 11px; }
  .student-enrolled-course { grid-template-columns: 1fr; gap: 13px; padding: 11px; }
  .student-course-image { height: 190px; }
  .student-course-information h3 { margin-bottom: 12px; font-size: 18px; }
  .student-course-facts { grid-template-columns: 1fr; gap: 10px; }
  .student-course-facts > div,
  .student-course-facts > div:first-child { padding: 0; border: 0; }
  .student-certificate-link { grid-column: auto; justify-self: stretch; }
  .student-pending-order,
  .student-mentorship-order { align-items: flex-start; flex-direction: column; }
  .student-profile-form { grid-template-columns: 1fr; padding: 16px; }
  .student-profile-wide,
  .student-profile-form-actions { grid-column: auto; }
  .student-support-actions { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  .student-sidebar,
  .student-sidebar-nav a { transition: none; }
}

@media print {
  body.legal-page-shell { background: #fff; color: #111; }
  .legal-page-header,.contract-copy-feedback { display: none !important; }
  .contract-copy-main { width: 100%; padding: 0; }
  .contract-individual-document { box-shadow: none; }
  .contract-copy-summary { break-inside: avoid; }
}

@media (max-width: 420px) {
  .enrollment-payment-choice {
    grid-template-columns: auto 26px minmax(0, 1fr);
    gap: 8px;
    padding: 11px;
  }

  .enrollment-payment-choice > b {
    grid-column: 3;
  }
}

@media (max-width: 680px) {
  .student-profile-form {
    grid-template-columns: 1fr;
  }

  .student-profile-wide,
  .student-profile-privacy,
  .student-profile-feedback {
    grid-column: auto;
  }
}
