/* 1. Foundations: colors, type, spacing, and accessible defaults. */
:root {
  --bg: #fff;
  --canvas: #fbfafc;
  --ink: #24212f;
  --muted: #716979;
  --purple: #7254e8;
  --purple-dark: #6040d6;
  --lavender: #f1edff;
  --line: #eae8ee;
  --gradient: linear-gradient(115deg, #7853de 0%, #6f4cdc 55%, #595bdb 100%);
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --radius: 16px;
  --shadow: 0 8px 32px #30234308;
  --container: 1200px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 14px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
h1,
h2,
h3,
p,
blockquote {
  margin: 0;
}
h1,
h2,
h3,
.brand {
  font-family: var(--font-heading);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
button,
input,
select {
  border-radius: 0;
}
button:disabled {
  cursor: default;
}
button,
a {
  touch-action: manipulation;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #9b81f0;
  outline-offset: 4px;
}
::selection {
  color: #372169;
  background: #ddd2ff;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
.section {
  padding-block: var(--space-9);
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 16px;
}
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 90;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--gradient);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  box-shadow:
    0 4px 9px #7254e818,
    inset 0 1px #ffffff30;
  transition:
    box-shadow 0.25s,
    transform 0.25s,
    background 0.25s;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 24px #7254e83c;
}
.button-small {
  min-height: 43px;
  padding: 10px 18px;
  font-size: 12px;
}
.button-outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid #dfdce7;
  box-shadow: 0 2px 3px #20133704;
}
.button-outline:hover {
  border-color: var(--purple);
  color: var(--purple);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s;
}
.text-link:hover {
  color: var(--purple);
}
.text-link .icon {
  transition: transform 0.2s;
  width: 17px;
}
.text-link:hover .icon {
  transform: translate(3px, -2px);
}
.eyebrow {
  display: block;
  color: var(--purple);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  margin-bottom: 14px;
}
.gradient-text {
  color: var(--purple);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.muted-heading {
  color: #86818c;
}
h2 {
  font-size: clamp(28px, 3.1vw, 37px);
  line-height: 1.3;
  letter-spacing: -1.6px;
  font-weight: 750;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.section-heading p {
  color: var(--muted);
  margin-top: 13px;
}
.section-heading > .text-link {
  margin-top: 27px;
}
.centered {
  flex-direction: column;
  gap: 0;
  text-align: center;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px #7254e80b;
}
/* Reveal classes are only enabled when IntersectionObserver is available. */
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 2. Announcement and sticky navigation. */
.announcement {
  min-height: 36px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f2eeff;
  font-size: 10px;
  color: #68598e;
}
.announcement-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.7px;
  background: #e5dcff;
  padding: 1px 6px;
  border-radius: 4px;
  color: #6445b5;
}
.announcement a {
  font-weight: 650;
  color: #684bb9;
}
.announcement a:hover {
  text-decoration: underline;
}
.announcement a span {
  margin-left: 6px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffffed;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #efedf3;
}
.nav {
  height: 81px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -1.5px;
  line-height: 1;
}
.brand-symbol {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  margin-right: 9px;
  background: var(--gradient);
  color: white;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -3px;
  overflow: hidden;
  padding-right: 5px;
  padding-bottom: 3px;
}
.brand-symbol > span {
  position: absolute;
  font-size: 20px;
  right: 2px;
  top: 0;
  letter-spacing: -2px;
}
.brand-period {
  color: var(--purple);
}
.nav-links {
  display: flex;
  gap: 31px;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
}
.nav-links a {
  padding-block: 12px;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--purple);
}
.nav-chevron {
  margin-left: 5px;
  font-size: 14px;
}
.nav-cta {
  margin-left: 34px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 10px;
}

/* 3. Hero with a layered, animated learning preview. */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  min-height: 644px;
  align-items: center;
  padding-block: 56px 62px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-copy h1 {
  animation: hero-enter 0.8s both;
}
.hero-description {
  animation: hero-enter 0.8s 0.12s both;
}
@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #e9e2fa;
  border-radius: 30px;
  padding: 7px 11px;
  background: #faf8ff;
  color: #766297;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.8px;
}
h1 {
  font-size: clamp(56px, 5.55vw, 77px);
  line-height: 1.095;
  font-weight: 750;
  letter-spacing: -4.6px;
  margin-top: 22px;
}
.headline-spark {
  display: inline-block;
  width: 45px;
  height: 45px;
  margin-left: 27px;
  margin-bottom: 4px;
  color: #bba5f4;
  stroke: currentColor;
  stroke-width: 3;
  animation: slow-spin 28s linear infinite;
}
.hero-description {
  max-width: 402px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 14px;
  margin-top: 22px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 27px;
}
.button-video {
  padding: 0;
  background: none;
  color: var(--ink);
  border: 0;
  box-shadow: none;
  gap: 9px;
  font-size: 12px;
}
.button-video:hover {
  box-shadow: none;
  color: var(--purple);
}
.play-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #e7e3ee;
  border-radius: 50%;
}
.play-circle .icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: none;
  margin-right: 2px;
}
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 33px;
}
.avatar-stack {
  display: flex;
  padding-left: 0;
}
.avatar-stack img,
.avatar-stack > span {
  border: 2px solid #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  margin-left: -10px;
}
.avatar-stack img:first-child {
  margin-left: 0;
}
.avatar-stack > span {
  background: #f0eafa;
  color: #7152a9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 600;
}
.stars {
  color: #e9ac49;
  font-size: 12px;
  letter-spacing: 2px;
}
.hero-social-proof p {
  color: var(--muted);
  font-size: 9px;
  margin-top: 1px;
}
.hero-visual {
  height: 486px;
  position: relative;
  isolation: isolate;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 2% -5% -4% -4%;
  z-index: -2;
  background: radial-gradient(
    ellipse,
    #e9e1fb 0%,
    #f6f2fc 45%,
    transparent 71%
  );
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 10px -5px;
  background-image: radial-gradient(#c9b9e94a 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse, black 25%, transparent 72%);
  z-index: -1;
}
.hero-course-card {
  position: absolute;
  top: 55px;
  left: 54px;
  width: 450px;
  background: #fff;
  border: 7px solid #fff;
  border-radius: 18px;
  box-shadow:
    0 24px 60px #65518424,
    0 0 0 1px #e9e4f2;
  transform: rotate(-5deg);
  overflow: hidden;
  z-index: 2;
}
.preview-top {
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 5px;
  font-size: 7px;
  letter-spacing: 1px;
  font-weight: 700;
}
.preview-top > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.small-logo {
  background: var(--purple);
  color: #fff;
  font-size: 15px;
  border-radius: 5px;
  width: 22px;
  height: 22px;
  text-align: center;
  letter-spacing: -2px;
  line-height: 22px;
}
.preview-live {
  font-size: 7px;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 4px;
}
.preview-live span {
  height: 4px;
  width: 4px;
  background: #83b398;
  border-radius: 50%;
}
.hero-photo {
  height: 265px;
  position: relative;
  border-radius: 9px;
  overflow: hidden;
  background: #e4d6eb;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-position: center;
}
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #241736dc, #46375620 78%);
}
.photo-tag {
  position: absolute;
  top: 17px;
  left: 17px;
  color: #fff;
  background: #ffffff29;
  backdrop-filter: blur(8px);
  border: 1px solid #ffffff3d;
  border-radius: 4px;
  font-size: 7px;
  letter-spacing: 1.1px;
  padding: 4px 7px;
}
.photo-heading {
  position: absolute;
  bottom: 25px;
  left: 22px;
  font: 650 32px/1.2 var(--font-heading);
  color: #fff;
  letter-spacing: -1.2px;
}
.preview-play {
  position: absolute;
  bottom: 35px;
  right: 23px;
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff7a;
  border-radius: 50%;
  color: #fff;
  background: #ffffff26;
  display: grid;
  place-items: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
.preview-play:hover {
  background: var(--purple);
  transform: scale(1.08);
}
.preview-play .icon {
  width: 16px;
  fill: #fff;
  stroke: none;
}
.preview-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 13px 10px;
}
.tiny-label {
  display: block;
  color: var(--muted);
  font-size: 6px;
  letter-spacing: 1.1px;
}
.preview-bottom strong {
  display: block;
  font-size: 9px;
  margin-top: 4px;
  font-weight: 600;
}
.preview-progress {
  width: 25px;
  height: 25px;
  background: #f0e9fb;
  color: var(--purple);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.lesson-progress {
  margin: 0 13px 10px;
  height: 3px;
  border-radius: 5px;
  background: #f0ecf5;
}
.lesson-progress span {
  display: block;
  width: 68%;
  background: #9c7cf0;
  height: 100%;
  border-radius: 5px;
}
.floating-card {
  position: absolute;
  z-index: 4;
  border: 1px solid #e9e3f1;
  background: #fffffff5;
  border-radius: 12px;
  box-shadow: 0 10px 35px #49316816;
  backdrop-filter: blur(12px);
  animation: float 6s ease-in-out infinite;
}
.code-float {
  right: -1px;
  top: 12px;
  width: 191px;
  padding: 13px 14px 10px;
  transform: rotate(6deg);
  --float-rotation: 6deg;
}
.code-top {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 11px;
  font-size: 9px;
  font-weight: 600;
}
.code-icon {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  color: var(--purple);
  background: #f2edfc;
  border-radius: 5px;
}
.code-icon .icon {
  width: 13px;
  height: 13px;
}
.code-dots {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 1px;
  color: #aca5b7;
}
.code-float code {
  font-family: monospace;
  font-size: 9px;
  color: #59515f;
  line-height: 1.8;
  display: block;
  background: #faf8fc;
  border-radius: 5px;
  padding: 8px;
}
.code-float code > span {
  color: var(--purple);
}
.code-float code em {
  font-style: normal;
  color: #579d7d;
}
.code-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 7px;
  color: var(--muted);
  margin-top: 8px;
}
.code-status span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #85b69d;
}
.achievement-float {
  bottom: 41px;
  left: 13px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  animation-delay: -3s;
  --float-rotation: 3deg;
}
.achievement-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 9px;
  background: #edf7ed;
  color: #7b9a69;
}
.achievement-float strong {
  font-size: 10px;
  display: block;
  font-weight: 650;
}
.achievement-float div > span {
  font-size: 8px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}
.confetti {
  color: #b499e2;
  margin-left: 10px;
  font-size: 22px;
}
.floating-tag {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  color: var(--muted);
  transform: rotate(-5deg);
}
.floating-tag .icon {
  width: 13px;
  height: 13px;
}
.visual-caption {
  position: absolute;
  top: 5px;
  left: 38px;
  transform: rotate(-5deg);
  font-size: 6px;
  letter-spacing: 1.2px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.visual-caption > span {
  width: 16px;
  height: 1px;
  background: #cbbbe4;
}
.hero-orbit {
  position: absolute;
  border: 1px solid #e9e0f3;
  border-radius: 50%;
  width: 475px;
  height: 475px;
  left: 30px;
  top: 5px;
  z-index: -1;
}
.orbit-two {
  width: 380px;
  height: 380px;
  left: 78px;
  top: 51px;
}
.orbit-dot {
  position: absolute;
  left: 55px;
  top: 71px;
  background: #c9b6ef;
  border: 4px solid white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--float-rotation, 0deg));
  }
  50% {
    transform: translateY(-9px) rotate(var(--float-rotation, 0deg));
  }
}
@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

/* 4. Proof, course filtering, and catalog cards. */
.trust-section {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfafc, #fff);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 30px 0;
}
.stats-row > div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-right: 1px solid var(--line);
}
.stats-row > div:last-child {
  border: 0;
}
.stats-row strong {
  font: 750 30px/1.4 var(--font-heading);
  letter-spacing: -1.2px;
}
.stats-row strong span {
  color: var(--purple);
  font-weight: 500;
}
.stats-row > div > span {
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}
.trusted-brands {
  display: flex;
  align-items: center;
  gap: 50px;
  border-top: 1px solid var(--line);
  padding: 25px 13px;
}
.trusted-brands p {
  color: var(--muted);
  font-size: 10px;
  max-width: 135px;
  line-height: 1.6;
}
.company-logos {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #87838d;
}
.company-logos > span {
  white-space: nowrap;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.8px;
  font-weight: 600;
}
.company-logos .google-logo {
  font-weight: 500;
  letter-spacing: -0.9px;
}
.company-logos .microsoft-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  letter-spacing: -0.5px;
  font-weight: 500;
}
.microsoft-logo i {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: conic-gradient(#87838d 0 25%, transparent 25%);
  background-size: 22px 22px;
  position: relative;
}
.microsoft-logo i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #87838d 45%,
    transparent 45% 55%,
    #87838d 55%
  );
  mask-image: linear-gradient(#000 45%, transparent 45% 55%, #000 55%);
}
.company-logos .spotify-logo {
  font-weight: 700;
  font-size: 20px;
}
.spotify-logo span {
  font-size: 25px;
  vertical-align: -1px;
}
.company-logos .airbnb-logo {
  font-size: 24px;
}
.company-logos .adobe-logo {
  font-size: 21px;
}
.adobe-logo b {
  margin-right: 5px;
  font-size: 30px;
  vertical-align: -2px;
}
.courses-section {
  padding-top: 82px;
}
.course-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 27px;
}
.course-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #eae7ed;
  background: white;
  color: #77717f;
  border-radius: 7px;
  padding: 9px 13px;
  font-size: 10px;
  font-weight: 500;
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s;
}
.filter-button .icon {
  height: 13px;
  width: 13px;
}
.filter-button > span {
  color: var(--muted);
  background: #f5f2fa;
  font-size: 8px;
  padding: 0 4px;
  border-radius: 3px;
}
.filter-button:hover {
  border-color: #c9b9f3;
  color: var(--purple);
}
.filter-button.active {
  background: #f1ebfd;
  color: #7859c1;
  border-color: #e1d7f5;
}
.course-count {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.course-card {
  min-width: 0;
  padding: 7px;
  border: 1px solid #e9e6ee;
  border-radius: 14px;
  background: white;
  box-shadow: 0 4px 10px #25143903;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.course-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 14px 32px #3925550e;
  border-color: #d8cbea;
}
.course-image {
  height: 200px;
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  background: #a58bcc;
}
.course-image img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
}
.course-card:hover .course-image img {
  transform: scale(1.06);
}
.image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #2b174dbd, #2510471a);
}
.image-web .image-shade {
  background: linear-gradient(90deg, #103348df, #18385566);
}
.image-data .image-shade {
  background: linear-gradient(90deg, #164b44d9, #43684b40);
}
.course-badge {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 4px 7px;
  background: #ffffffed;
  color: #695582;
  border-radius: 4px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.cover-title {
  position: absolute;
  top: 72px;
  left: 22px;
  color: #fff;
  font: 650 26px/1.18 var(--font-heading);
  letter-spacing: -0.8px;
  z-index: 1;
}
.cover-title > span {
  display: block;
  font: 6px/1.5 var(--font-body);
  letter-spacing: 2px;
  margin-top: 18px;
  color: #ffffffaf;
}
.cover-symbol {
  position: absolute;
  color: #d2b5fdad;
  right: 15px;
  bottom: 20px;
  font-size: 115px;
  line-height: 1;
  transform: rotate(10deg);
}
.code-cover {
  font-size: 53px;
  font-weight: 700;
  bottom: 27px;
  right: 19px;
  color: #9bbce357;
}
.data-bars {
  position: absolute;
  display: flex;
  gap: 5px;
  align-items: end;
  bottom: 28px;
  right: 27px;
  height: 70px;
  transform: rotate(-8deg);
}
.data-bars i {
  width: 12px;
  height: 25px;
  border-radius: 3px;
  background: #c6e6b55e;
}
.data-bars i:nth-child(2) {
  height: 38px;
}
.data-bars i:nth-child(3) {
  height: 53px;
}
.data-bars i:nth-child(4) {
  height: 70px;
}
.course-body {
  padding: 18px 14px 8px;
}
.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 13px;
}
.category-label {
  font-size: 8px;
  font-weight: 500;
  padding: 3px 7px;
  border-radius: 4px;
}
.purple-label {
  color: #7853ad;
  background: #f5effc;
}
.blue-label {
  color: #3c6f98;
  background: #edf4fa;
}
.green-label {
  color: #3b7563;
  background: #eff7f1;
}
.course-rating {
  font-size: 9px;
  font-weight: 600;
  color: #51495b;
}
.course-rating > span {
  color: #e8b34f;
  margin-right: 2px;
}
.course-rating small {
  font-size: 8px;
  font-weight: 400;
  color: var(--muted);
}
.course-body h3 {
  font-size: 16px;
  letter-spacing: -0.5px;
  line-height: 1.5;
  font-weight: 700;
}
.course-body > p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.85;
  margin-top: 8px;
}
.course-details {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 20px;
  font-size: 8px;
  color: var(--muted);
}
.course-details > span {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.course-details .icon {
  width: 11px;
  height: 11px;
}
.course-details .level {
  gap: 2px;
}
.level i {
  display: inline-block;
  height: 4px;
  width: 2px;
  background: #ad9bbf;
  align-self: center;
}
.level i:nth-child(2) {
  height: 6px;
}
.level i:nth-child(3) {
  height: 8px;
  background: #e4ddeb;
  margin-right: 3px;
}
.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid #eeebf2;
}
.price {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.price s {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 5px;
  letter-spacing: 0;
}
.course-enroll {
  height: 31px;
  width: 31px;
  background: #f5f1fc;
  color: #9274c1;
  border: 1px solid #ebe2f7;
  border-radius: 7px;
  display: grid;
  place-items: center;
  transition:
    background 0.2s,
    color 0.2s;
}
.course-enroll .icon {
  width: 16px;
  height: 16px;
}
.course-enroll:hover {
  color: white;
  background: var(--purple);
}
.courses-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  margin-top: 27px;
}
.courses-note .live-dot {
  width: 4px;
  height: 4px;
  background: #baa7d8;
  box-shadow: none;
}
.courses-note a {
  color: #80669f;
}
.courses-note a:hover {
  text-decoration: underline;
}

/* 5. Why Nextskill and mentor portraits. */
.why-section {
  background: #f9f8fc;
  border-block: 1px solid #f0edf5;
}
.why-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 86px;
  align-items: center;
}
.why-intro h2 {
  font-size: 42px;
  letter-spacing: -1.8px;
  line-height: 1.3;
}
.why-intro > p {
  max-width: 330px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  margin-top: 20px;
}
.why-intro > .text-link {
  color: #7658ab;
  font-size: 12px;
  margin-top: 23px;
}
.why-doodle {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #79618f;
  margin-top: 42px;
  font-family: Georgia, serif;
  font-size: 19px;
  font-style: italic;
  transform: rotate(-4deg);
}
.why-doodle svg {
  width: 44px;
  height: 18px;
  fill: none;
  stroke: #bfb0d0;
  stroke-width: 1.2;
}
.why-doodle span:last-child {
  color: #8161b0;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.feature-card {
  border: 1px solid #ece7f1;
  border-radius: 12px;
  background: #ffffffb8;
  padding: 24px 23px;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.feature-icon {
  height: 38px;
  width: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 19px;
}
.feature-icon .icon {
  width: 20px;
  height: 20px;
}
.lavender {
  background: #f0e9fe;
  color: #9872d1;
}
.peach {
  background: #fcf0e9;
  color: #ce9f83;
}
.mint {
  background: #edf5ec;
  color: #88a782;
}
.blue {
  background: #eaf1fa;
  color: #81a0c7;
}
.feature-card h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 9px;
}
.feature-card p {
  font-size: 10px;
  line-height: 1.85;
  color: var(--muted);
}
.feature-footnote {
  display: block;
  margin-top: 22px;
  font-size: 6px;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 500;
}
.mentors-section {
  padding-bottom: 83px;
}
.mentor-heading-note {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #816996;
}
.handwritten {
  font:
    italic 16px/1.4 Georgia,
    serif;
  transform: rotate(-6deg);
}
.mentor-heading-note > span:last-child {
  font:
    40px Georgia,
    serif;
}
.mentor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.mentor-image {
  height: 267px;
  border-radius: 13px;
  overflow: hidden;
  position: relative;
  background: #f0eaf0;
}
.mentor-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #25183240, transparent 60%);
  pointer-events: none;
}
.mentor-image img {
  width: 100%;
  height: 100%;
  filter: saturate(0.6);
  transition:
    filter 0.5s,
    transform 0.5s;
  object-position: center 35%;
}
.mentor-card:hover img {
  transform: scale(1.04);
  filter: saturate(1);
}
.mentor-expertise {
  position: absolute;
  z-index: 1;
  left: 12px;
  bottom: 12px;
  border: 1px solid #ffffff70;
  background: #ffffffdb;
  backdrop-filter: blur(6px);
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 8px;
  color: #64576e;
}
.mentor-card h3 {
  margin-top: 17px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.mentor-card > p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}
.mentor-experience {
  display: block;
  margin-top: 9px;
  font-size: 8px;
  color: var(--muted);
}

/* 6. Responsive, auto-sliding testimonial carousel. */
.testimonials-section {
  background: #faf9fc;
  border-block: 1px solid #f0edf4;
  padding-block: 77px;
}
.carousel-controls {
  display: flex;
  gap: 8px;
}
.round-button {
  display: grid;
  place-items: center;
  height: 37px;
  width: 37px;
  border: 1px solid #e6e1ed;
  background: white;
  border-radius: 50%;
  transition:
    background 0.2s,
    color 0.2s;
}
.round-button .icon {
  width: 15px;
  height: 15px;
}
#testimonial-prev .icon {
  transform: rotate(180deg);
}
.round-button:hover {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}
.testimonial-viewport {
  overflow: hidden;
  border-radius: 12px;
}
.testimonial-track {
  display: flex;
  gap: 20px;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.testimonial-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  border: 1px solid #eae6ef;
  border-radius: 12px;
  background: #fff;
  padding: 25px;
}
.testimonial-card > .stars {
  font-size: 11px;
  letter-spacing: 3px;
}
.testimonial-card blockquote {
  color: #716878;
  font-size: 12px;
  line-height: 1.9;
  margin-top: 17px;
  min-height: 116px;
}
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #f1edf5;
}
.testimonial-person img {
  height: 34px;
  width: 34px;
  border-radius: 50%;
}
.testimonial-person strong {
  font-size: 10px;
  font-weight: 600;
  display: block;
}
.testimonial-person div > span {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 2px;
}
.quote-mark {
  font:
    45px/1 Georgia,
    serif;
  color: #ddd0ee;
  margin-left: auto;
  height: 29px;
}
.carousel-bottom {
  position: relative;
  min-height: 25px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}
.carousel-dots button {
  position: relative;
  border: 0;
  height: 6px;
  width: 6px;
  border-radius: 4px;
  background: #ded6e8;
  padding: 0;
  transition:
    width 0.2s,
    background 0.2s;
}
.carousel-dots button::after {
  content: "";
  position: absolute;
  inset: -8px -2px;
}
.carousel-dots button.active {
  background: #a68aca;
  width: 20px;
}
.carousel-pause {
  position: absolute;
  right: 0;
  padding: 4px;
  border: 0;
  background: transparent;
  font-size: 9px;
  color: var(--muted);
}

/* 7. Pricing cards and interactive billing period. */
.pricing-section {
  padding-top: 88px;
}
.billing-toggle {
  display: flex;
  padding: 4px;
  border: 1px solid #ebe6f1;
  background: #f8f6fa;
  border-radius: 8px;
  margin-top: 25px;
}
.billing-toggle button {
  padding: 7px 15px;
  font-size: 10px;
  font-weight: 500;
  background: transparent;
  color: var(--muted);
  border-radius: 5px;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.billing-toggle button.active {
  background: white;
  border-color: #eae3f1;
  box-shadow: 0 2px 4px #39214308;
  color: #5b446f;
}
.billing-toggle span {
  margin-left: 5px;
  color: #725096;
  font-size: 8px;
  background: #ece3f6;
  padding: 2px 4px;
  border-radius: 3px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 49px;
}
.pricing-card {
  position: relative;
  padding: 29px;
  border: 1px solid #e7e1ed;
  border-radius: 14px;
  background: #fff;
}
.plan-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #eae1f2;
  border-radius: 8px;
  color: #a38aba;
  background: #faf7fc;
  margin-bottom: 15px;
}
.plan-icon .icon {
  width: 16px;
  height: 16px;
}
.pricing-card h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.pricing-card > p {
  color: var(--muted);
  font-size: 10px;
  margin-top: 6px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 22px;
  line-height: 1.3;
}
.plan-price strong {
  font-family: var(--font-heading);
  font-size: 43px;
  letter-spacing: -2px;
  font-weight: 700;
}
.plan-price > span {
  font-size: 10px;
  color: var(--muted);
}
.plan-price .price-prefix {
  font-size: 9px;
  color: var(--muted);
}
.pricing-card > .billing-note {
  font-size: 9px;
  margin-top: 4px;
  min-height: 15px;
}
.pricing-card > .button {
  width: 100%;
  margin-top: 23px;
  font-size: 11px;
  min-height: 43px;
  padding: 10px;
}
.pricing-card > .button .icon {
  width: 16px;
  height: 16px;
}
.plan-includes {
  display: block;
  margin-top: 24px;
  padding-top: 23px;
  border-top: 1px solid #eee8f3;
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.7px;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
}
.plan-features li::before {
  content: "✓";
  width: 13px;
  height: 13px;
  line-height: 13px;
  text-align: center;
  background: #f4eefb;
  color: #a383bc;
  font-size: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.featured-plan {
  background: linear-gradient(160deg, #faf7ff, #fff 70%);
  border-color: #b69bdf;
  box-shadow: 0 10px 25px #8363ad0a;
}
.popular-ribbon {
  position: absolute;
  height: 28px;
  top: -28px;
  left: -1px;
  right: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #fff;
  border-radius: 10px 10px 0 0;
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: 500;
}
.featured-plan:has(.popular-ribbon) {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.featured-plan .plan-icon {
  color: #9370c4;
  background: #eee5fa;
}
.pricing-reassurance {
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  margin-top: 27px;
}
.pricing-reassurance .icon {
  width: 12px;
  height: 12px;
  margin-right: 4px;
  color: #a98bbe;
}

/* 8. Animated FAQ and gradient newsletter banner. */
.faq-section {
  padding-top: 25px;
  padding-bottom: 83px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 85px;
  padding-top: 58px;
  border-top: 1px solid var(--line);
}
.faq-intro > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 18px;
}
.faq-art {
  display: inline-block;
  position: relative;
  font: 100px/1.2 var(--font-heading);
  color: #e9e0f2;
  font-weight: 700;
  transform: rotate(-13deg);
  margin: 17px 0 0 24px;
}
.faq-art > span {
  position: absolute;
  font-size: 37px;
  top: 30px;
  right: -42px;
  color: #bda4d8;
}
.faq-item {
  border-bottom: 1px solid #eee7f2;
}
.faq-item:first-child {
  border-top: 1px solid #eee7f2;
}
.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
  padding: 21px 0;
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 550;
  text-align: left;
}
.faq-trigger:hover {
  color: var(--purple);
}
.faq-plus {
  display: block;
  width: 15px;
  height: 15px;
  position: relative;
  flex-shrink: 0;
  color: #ad96c0;
}
.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 1px;
  background: currentColor;
  left: 3px;
  top: 7px;
  transition: transform 0.25s;
}
.faq-plus::after {
  transform: rotate(90deg);
}
.faq-trigger[aria-expanded="true"] .faq-plus::after {
  transform: rotate(0);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition:
    grid-template-rows 0.3s,
    visibility 0.3s;
}
.faq-answer.is-open {
  grid-template-rows: 1fr;
  visibility: visible;
}
.faq-answer > div {
  min-height: 0;
  overflow: hidden;
}
.faq-answer p {
  padding-bottom: 21px;
  padding-right: 25px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
}
.newsletter-section {
  padding-bottom: 76px;
}
.newsletter-banner {
  isolation: isolate;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 49px 48px;
  border-radius: 17px;
  background: linear-gradient(115deg, #8864d6, #7650c7 55%, #6860c8);
  color: white;
  overflow: hidden;
}
.newsletter-copy {
  position: relative;
  z-index: 1;
}
.newsletter-banner .eyebrow {
  color: #fff;
  font-size: 8px;
  margin-bottom: 12px;
  letter-spacing: 1.3px;
}
.newsletter-banner h2 {
  font-size: 31px;
  letter-spacing: -1px;
  line-height: 1.35;
}
.newsletter-banner p {
  color: #fff;
  font-size: 10px;
  margin-top: 12px;
}
.newsletter-form-wrap {
  flex: 0 0 335px;
  z-index: 1;
}
.email-input-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #fffffffa;
  padding: 6px 6px 6px 14px;
  border: 1px solid #ffffff38;
  border-radius: 8px;
  box-shadow: 0 5px 15px #45228018;
}
.email-input-wrap > .icon {
  color: #ae9abe;
  width: 16px;
  height: 16px;
}
.email-input-wrap input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: none;
  padding: 8px 0;
  font-size: 10px;
  color: var(--ink);
}
.email-input-wrap input::placeholder {
  color: var(--muted);
}
.email-input-wrap button {
  flex-shrink: 0;
  width: 36px;
  height: 35px;
  border: 0;
  border-radius: 5px;
  background: #916dc6;
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.email-input-wrap button:hover {
  background: #7451ab;
}
.email-input-wrap button .icon {
  width: 17px;
  height: 17px;
}
.newsletter-banner .form-message {
  font-size: 8px;
  text-align: center;
  margin-top: 10px;
  min-height: 16px;
}
.banner-orbit {
  position: absolute;
  width: 540px;
  height: 540px;
  border: 1px solid #ffffff10;
  border-radius: 50%;
  right: -65px;
  top: -120px;
  z-index: -1;
}
.banner-orbit::before,
.banner-orbit::after {
  content: "";
  position: absolute;
  inset: 60px;
  border: 1px solid #ffffff10;
  border-radius: 50%;
}
.banner-orbit::after {
  inset: 120px;
}
.banner-spark {
  position: absolute;
  color: #ffffff10;
  right: 370px;
  top: -20px;
  font-size: 230px;
  line-height: 1;
  transform: rotate(12deg);
  z-index: -1;
}

/* 9. Footer and honest demo disclosure. */
.site-footer {
  background: #fbfafc;
  border-top: 1px solid #f0ebf4;
  padding: 48px 0 18px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.8fr 1.3fr;
  gap: 43px;
}
.site-footer .brand {
  font-size: 25px;
}
.site-footer .brand-symbol {
  width: 28px;
  height: 28px;
  font-size: 24px;
}
.site-footer .brand-symbol > span {
  font-size: 18px;
}
.footer-brand > p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 18px;
}
.social-links {
  display: flex;
  gap: 9px;
  margin-top: 20px;
}
.social-links a {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  border: 1px solid #eae2f1;
  color: #a08aae;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.social-links a:hover {
  color: var(--purple);
  border-color: var(--purple);
}
.social-links .icon {
  width: 13px;
  height: 13px;
}
.footer-main h3 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  margin: 3px 0 17px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-links a {
  color: var(--muted);
  font-size: 10px;
  margin-bottom: 11px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--purple);
}
.footer-newsletter > p {
  color: var(--muted);
  font-size: 10px;
  margin-top: -6px;
  margin-bottom: 14px;
}
.footer-email-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e9e0f0;
  border-radius: 6px;
  overflow: hidden;
  padding: 5px;
}
.footer-email-wrap input {
  min-width: 0;
  width: 100%;
  border: 0;
  font-size: 9px;
  padding: 7px;
  background: none;
}
.footer-email-wrap input::placeholder {
  color: var(--muted);
}
.footer-email-wrap button {
  width: 29px;
  height: 29px;
  flex-shrink: 0;
  border: 0;
  border-radius: 4px;
  background: #ede4f6;
  color: #9878b2;
}
.footer-email-wrap button:hover {
  background: #dfd0ef;
}
.footer-email-wrap .icon {
  width: 14px;
  height: 14px;
}
.footer-newsletter .form-message {
  margin-top: 8px;
  font-size: 9px;
  color: var(--muted);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #eae3f0;
  margin-top: 36px;
  padding-top: 21px;
  font-size: 8px;
  color: var(--muted);
}
.footer-bottom > div {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-bottom button {
  border: 0;
  padding: 0;
  color: inherit;
  background: none;
  font-size: 8px;
}
.footer-bottom button:hover {
  color: var(--purple);
}
.made-with {
  color: var(--muted);
  margin-left: 6px;
}
.made-with > span {
  color: #bda4d3;
  font-size: 13px;
  margin-left: 7px;
}
.demo-disclaimer {
  margin-top: 16px;
  font-size: 8px;
  color: var(--muted);
  line-height: 1.7;
}

/* 10. Native dialogs, form controls, and interactive sample lesson. */
.site-dialog {
  width: min(510px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 36px;
  border: 1px solid #e5dcf3;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 100px #29203435;
  overflow-y: auto;
}
.site-dialog::backdrop {
  background: #29203470;
  backdrop-filter: blur(5px);
}
.site-dialog[open] {
  animation: dialog-enter 0.25s ease both;
}
.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: #93829e;
  background: #f5f1fa;
}
.dialog-close .icon {
  width: 16px;
  height: 16px;
}
.dialog-close:hover {
  background: #e8def4;
}
.dialog-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--purple);
  background: var(--lavender);
  margin-bottom: 20px;
}
.site-dialog h2 {
  font-size: 29px;
  letter-spacing: -1px;
}
.dialog-description,
.legal-content {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-top: 12px;
}
.site-dialog form {
  margin-top: 22px;
}
.site-dialog label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin: 15px 0 6px;
}
.site-dialog input,
.site-dialog select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #e4ddec;
  border-radius: 7px;
  background: #fcfbfe;
  color: var(--ink);
  font-size: 12px;
}
.site-dialog form > .button {
  margin-top: 22px;
  width: 100%;
}
.site-dialog .form-message {
  margin-top: 14px;
  color: #76628d;
  font-size: 11px;
}
.course-summary {
  padding: 10px 12px;
  background: #f8f4fd;
  border-radius: 6px;
  margin-top: 8px;
  font-size: 10px;
  color: var(--muted);
}
.preview-dialog {
  width: min(620px, calc(100% - 32px));
}
.preview-dialog h2 {
  max-width: 440px;
}
.interactive-lesson {
  margin-top: 23px;
  border: 1px solid #e4dced;
  border-radius: 12px;
  overflow: hidden;
}
.lesson-editor {
  padding: 18px;
  background: #262130;
  color: #cbbade;
}
.editor-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}
.editor-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bd8ca1;
}
.editor-dots i:nth-child(2) {
  background: #c3b091;
}
.editor-dots i:nth-child(3) {
  background: #99b99f;
}
.editor-dots span {
  margin-left: 12px;
  font-size: 9px;
  color: #9e8cac;
}
.lesson-editor pre {
  font-size: 11px;
  line-height: 1.8;
  overflow-x: auto;
  padding: 12px 0;
}
.lesson-editor code > span {
  color: #7f718c;
}
.lesson-editor .button {
  font-size: 10px;
  min-height: 34px;
}
.lesson-editor .button .icon {
  width: 12px;
  height: 12px;
}
.lesson-editor output {
  display: block;
  margin-top: 15px;
  padding: 10px;
  background: #302938;
  border-radius: 5px;
  color: #a8baab;
  font-family: monospace;
  font-size: 11px;
}
.lesson-steps {
  display: flex;
  gap: 20px;
  margin-top: 21px;
  font-size: 9px;
  color: var(--muted);
}
.lesson-steps b {
  color: #b59ace;
  margin-right: 4px;
  font-weight: 500;
}
.preview-dialog > .text-link {
  margin-top: 23px;
  border: 0;
  padding: 0;
  background: none;
  color: var(--purple);
}
.legal-content p {
  margin-top: 16px;
}
.legal-content h3 {
  font-size: 15px;
  margin-top: 20px;
}
.legal-content ul {
  padding-left: 20px;
}
@keyframes dialog-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 11. Responsive layouts: laptop, tablet, and small-screen refinements. */
@media (min-width: 1450px) {
  :root {
    --container: 1240px;
  }
  .hero {
    gap: 55px;
    min-height: 675px;
  }
  .hero-visual {
    transform: scale(1.04);
    transform-origin: center;
  }
}
@media (max-width: 1150px) {
  :root {
    --space-9: 75px;
  }
  .nav-links {
    gap: 22px;
  }
  .nav-cta {
    margin-left: 0;
  }
  .hero {
    gap: 10px;
    min-height: 610px;
  }
  .hero-visual {
    transform: scale(0.87);
    transform-origin: left center;
    width: 555px;
    margin-right: -75px;
  }
  .hero {
    overflow: clip;
  }
  .hero-description {
    max-width: 365px;
  }
  .hero-actions {
    gap: 13px;
  }
  .hero-actions > .button:first-child {
    padding-inline: 17px;
  }
  .hero h1 {
    font-size: 65px;
  }
  .course-grid {
    gap: 17px;
  }
  .course-body {
    padding-inline: 9px;
  }
  .course-body h3 {
    font-size: 14px;
  }
  .course-details {
    gap: 8px;
  }
  .course-count {
    display: none;
  }
  .why-layout {
    gap: 45px;
  }
  .feature-card {
    padding: 22px 18px;
  }
  .mentor-image {
    height: 240px;
  }
  .mentor-grid {
    gap: 20px;
  }
  .testimonial-card {
    padding: 22px;
  }
  .testimonial-card blockquote {
    font-size: 11px;
    min-height: 126px;
  }
  .pricing-card {
    padding: 25px;
  }
  .pricing-grid {
    gap: 18px;
  }
  .faq-layout {
    gap: 45px;
  }
  .newsletter-banner {
    padding: 43px 36px;
  }
  .newsletter-form-wrap {
    flex-basis: 300px;
  }
  .footer-main {
    gap: 28px;
  }
}
@media (max-width: 900px) {
  .nav {
    height: 73px;
    gap: 20px;
  }
  .brand {
    font-size: 25px;
  }
  .nav-links {
    gap: 18px;
    font-size: 10px;
  }
  .nav-cta {
    padding-inline: 13px;
    font-size: 10px;
  }
  .hero {
    min-height: 565px;
    padding-block: 35px;
  }
  .hero h1 {
    font-size: 56px;
    letter-spacing: -3px;
  }
  .hero-description {
    font-size: 12px;
    max-width: 325px;
  }
  .hero-visual {
    transform: scale(0.71);
    margin-right: -160px;
  }
  .eyebrow-pill {
    font-size: 7px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-actions .button {
    font-size: 10px;
    padding-inline: 14px;
    gap: 10px;
  }
  .hero-actions .button-video {
    padding: 0;
    gap: 6px;
  }
  .hero-social-proof {
    gap: 8px;
  }
  .hero-social-proof p {
    font-size: 8px;
  }
  .company-logos {
    gap: 20px;
  }
  .trusted-brands {
    gap: 25px;
    padding-inline: 0;
  }
  .company-logos > span {
    font-size: 20px;
  }
  .company-logos .microsoft-logo {
    font-size: 15px;
  }
  .company-logos .airbnb-logo {
    font-size: 20px;
  }
  .company-logos .adobe-logo {
    font-size: 18px;
  }
  .company-logos .spotify-logo {
    font-size: 17px;
  }
  .section-heading {
    gap: 20px;
  }
  h2 {
    font-size: 30px;
  }
  .section-heading p {
    font-size: 12px;
  }
  .section-heading > .text-link {
    font-size: 11px;
  }
  .course-image {
    height: 174px;
  }
  .cover-title {
    font-size: 21px;
    left: 15px;
    top: 69px;
  }
  .cover-title > span {
    font-size: 5px;
    letter-spacing: 1px;
  }
  .cover-symbol {
    font-size: 80px;
    right: 4px;
    bottom: 17px;
  }
  .code-cover {
    font-size: 35px;
  }
  .data-bars {
    right: 12px;
    gap: 3px;
  }
  .data-bars i {
    width: 8px;
  }
  .course-meta {
    flex-wrap: wrap;
    gap: 6px;
  }
  .course-body {
    padding: 13px 7px 7px;
  }
  .course-body h3 {
    font-size: 12px;
    letter-spacing: -0.3px;
  }
  .course-body > p {
    font-size: 9px;
  }
  .course-body > p br {
    display: none;
  }
  .course-details {
    flex-wrap: wrap;
    font-size: 7px;
    gap: 7px;
  }
  .course-rating {
    font-size: 8px;
  }
  .category-label {
    font-size: 7px;
    padding-inline: 5px;
  }
  .course-footer {
    margin-top: 14px;
  }
  .why-layout {
    gap: 32px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .why-intro h2 {
    font-size: 34px;
  }
  .why-intro > p {
    font-size: 11px;
  }
  .feature-grid {
    gap: 12px;
  }
  .feature-card {
    padding: 19px 16px;
  }
  .feature-card h3 {
    font-size: 11px;
  }
  .feature-card p {
    font-size: 9px;
  }
  .feature-footnote {
    font-size: 5px;
    letter-spacing: 0.7px;
  }
  .mentor-grid {
    gap: 15px;
  }
  .mentor-image {
    height: 210px;
  }
  .mentor-card h3 {
    font-size: 13px;
  }
  .mentor-card > p {
    font-size: 9px;
  }
  .mentor-experience {
    font-size: 7px;
  }
  .mentor-heading-note {
    display: none;
  }
  .testimonial-card {
    flex-basis: calc((100% - 20px) / 2);
  }
  .testimonial-card blockquote {
    min-height: 100px;
  }
  .pricing-card {
    padding: 22px 18px;
  }
  .pricing-card > p {
    font-size: 9px;
  }
  .pricing-card h3 {
    font-size: 14px;
  }
  .plan-price strong {
    font-size: 37px;
  }
  .plan-features li {
    font-size: 9px;
    gap: 7px;
  }
  .plan-includes {
    font-size: 6px;
    letter-spacing: 0.4px;
  }
  .popular-ribbon {
    font-size: 7px;
  }
  .pricing-card > .button {
    font-size: 10px;
    gap: 6px;
  }
  .newsletter-banner h2 {
    font-size: 26px;
  }
  .newsletter-banner {
    padding: 35px 28px;
    gap: 28px;
  }
  .newsletter-form-wrap {
    flex-basis: 270px;
  }
  .newsletter-banner p {
    font-size: 9px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
  }
  .footer-newsletter {
    grid-column: 1 / -1;
    max-width: 360px;
  }
  .footer-brand {
    grid-row: span 1;
  }
}
@media (max-width: 700px) {
  :root {
    --space-9: 64px;
  }
  .container {
    width: calc(100% - 36px);
  }
  html {
    scroll-padding-top: 85px;
  }
  .announcement {
    font-size: 8px;
    gap: 6px;
    padding-inline: 10px;
  }
  .announcement-label {
    font-size: 6px;
  }
  .announcement a span {
    margin-left: 2px;
  }
  .nav {
    height: 68px;
    gap: 12px;
  }
  .brand {
    font-size: 24px;
  }
  .brand-symbol {
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  .brand-symbol > span {
    font-size: 18px;
  }
  .nav-cta {
    margin-left: auto;
    min-height: 36px;
    padding: 8px 13px;
    gap: 8px;
  }
  .nav-cta .icon {
    width: 15px;
    height: 15px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 7px;
  }
  .menu-toggle span {
    height: 1.5px;
    width: 20px;
    background: var(--ink);
    transition: transform 0.25s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 15px 24px 20px;
    background: #fffffffa;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 20px #3525450b;
    font-size: 13px;
  }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-links a {
    padding-block: 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 38px;
    padding-bottom: 12px;
    gap: 0;
    overflow: hidden;
  }
  .hero-copy {
    text-align: center;
  }
  .eyebrow-pill {
    font-size: 8px;
    padding: 6px 10px;
  }
  .hero h1 {
    font-size: clamp(54px, 10vw, 69px);
    letter-spacing: -3.7px;
    margin-top: 23px;
    line-height: 1.08;
  }
  .headline-spark {
    width: 32px;
    height: 32px;
    margin-left: 14px;
    margin-bottom: 2px;
  }
  .hero-description {
    max-width: 360px;
    margin: 20px auto 0;
    font-size: 12px;
    line-height: 1.9;
  }
  .hero-actions {
    justify-content: center;
    gap: 20px;
    margin-top: 23px;
  }
  .hero-actions .button {
    font-size: 11px;
  }
  .hero-actions > .button:first-child {
    padding-inline: 18px;
    min-height: 46px;
  }
  .hero-social-proof {
    justify-content: center;
    margin-top: 25px;
    gap: 12px;
    text-align: left;
  }
  .hero-social-proof p {
    font-size: 8px;
  }
  .hero-visual {
    width: 550px;
    height: 465px;
    transform: scale(0.85);
    transform-origin: center center;
    margin: -5px calc((100% - 550px) / 2) -24px;
  }
  .code-float {
    right: 0;
  }
  .floating-tag {
    bottom: 0;
  }
  .achievement-float {
    bottom: 26px;
  }
  .stats-row {
    padding-block: 22px;
  }
  .stats-row strong {
    font-size: 23px;
    letter-spacing: -0.8px;
  }
  .stats-row > div > span {
    font-size: 7px;
  }
  .trusted-brands {
    padding-block: 20px;
    flex-direction: column;
    gap: 19px;
  }
  .trusted-brands p {
    max-width: none;
    font-size: 9px;
  }
  .company-logos {
    width: 100%;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
  }
  .company-logos > span {
    font-size: 18px;
  }
  .company-logos .microsoft-logo {
    font-size: 13px;
  }
  .microsoft-logo i {
    width: 15px;
    height: 15px;
  }
  .company-logos .spotify-logo {
    font-size: 15px;
  }
  .spotify-logo span {
    font-size: 20px;
  }
  .company-logos .airbnb-logo {
    font-size: 18px;
  }
  .company-logos .adobe-logo {
    font-size: 15px;
  }
  .adobe-logo b {
    font-size: 24px;
  }
  h2 {
    font-size: 29px;
    letter-spacing: -1.3px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
    margin-bottom: 11px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 17px;
    margin-bottom: 26px;
  }
  .section-heading p {
    font-size: 11px;
    line-height: 1.8;
  }
  .courses-section .section-heading {
    flex-direction: column;
  }
  .section-heading > .text-link {
    margin-top: 0;
    font-size: 10px;
  }
  .courses-section {
    padding-top: 56px;
  }
  .course-toolbar {
    margin-bottom: 22px;
  }
  .course-filters {
    gap: 7px;
  }
  .filter-button {
    padding: 8px 10px;
    font-size: 9px;
  }
  .filter-button .icon {
    width: 11px;
    height: 11px;
  }
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .course-card {
    padding: 6px;
  }
  .course-image {
    height: 186px;
  }
  .cover-title {
    font-size: 24px;
    top: 71px;
  }
  .course-body {
    padding: 15px 10px 8px;
  }
  .course-body h3 {
    font-size: 13px;
  }
  .course-body > p {
    font-size: 9px;
  }
  .course-meta {
    gap: 8px;
  }
  .course-details {
    margin-top: 15px;
  }
  .course-grid > .course-card:nth-child(3):last-of-type {
    grid-column: auto;
  }
  .courses-note {
    flex-wrap: wrap;
    font-size: 9px;
    margin-top: 22px;
  }
  .why-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .why-intro h2 {
    font-size: 35px;
  }
  .why-intro h2 br:last-child {
    display: none;
  }
  .why-intro > p {
    max-width: 380px;
  }
  .why-doodle {
    display: none;
  }
  .why-intro > .text-link {
    font-size: 11px;
    margin-top: 17px;
  }
  .feature-grid {
    gap: 14px;
  }
  .feature-card {
    padding: 23px 21px;
  }
  .feature-card h3 {
    font-size: 12px;
  }
  .feature-card p {
    font-size: 10px;
  }
  .feature-footnote {
    font-size: 6px;
  }
  .mentor-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 16px;
  }
  .mentor-image {
    height: 250px;
  }
  .mentor-card h3 {
    font-size: 14px;
  }
  .mentor-card > p {
    font-size: 10px;
  }
  .mentor-experience {
    font-size: 8px;
  }
  .mentors-section {
    padding-bottom: 61px;
  }
  .testimonials-section {
    padding-block: 56px;
  }
  .testimonials-section .section-heading {
    gap: 12px;
  }
  .testimonials-section h2 {
    max-width: 380px;
  }
  .carousel-controls {
    align-self: flex-end;
    gap: 5px;
    padding-bottom: 3px;
  }
  .round-button {
    width: 29px;
    height: 29px;
  }
  .round-button .icon {
    width: 12px;
    height: 12px;
  }
  .testimonial-card {
    flex-basis: calc((100% - 20px) / 2);
    padding: 20px;
  }
  .testimonial-card blockquote {
    min-height: 168px;
  }
  .testimonial-person {
    gap: 7px;
  }
  .testimonial-person img {
    width: 28px;
    height: 28px;
  }
  .testimonial-person strong {
    font-size: 9px;
  }
  .testimonial-person div > span {
    font-size: 7px;
  }
  .quote-mark {
    display: none;
  }
  .carousel-pause {
    font-size: 8px;
  }
  .pricing-section {
    padding-top: 60px;
  }
  .pricing-section .section-heading {
    align-items: center;
  }
  .pricing-section h2 {
    max-width: 370px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    max-width: 420px;
    margin-inline: auto;
    margin-top: 42px;
  }
  .pricing-card {
    padding: 27px;
  }
  .pricing-card h3 {
    font-size: 18px;
  }
  .pricing-card > p {
    font-size: 11px;
  }
  .plan-icon {
    width: 38px;
    height: 38px;
  }
  .plan-price strong {
    font-size: 44px;
  }
  .pricing-card > .billing-note {
    font-size: 10px;
  }
  .pricing-card > .button {
    font-size: 12px;
    min-height: 46px;
  }
  .plan-includes {
    font-size: 8px;
  }
  .plan-features li {
    font-size: 11px;
  }
  .popular-ribbon {
    font-size: 8px;
  }
  .pricing-reassurance {
    font-size: 8px;
  }
  .faq-section {
    padding-top: 0;
    padding-bottom: 58px;
  }
  .faq-layout {
    padding-top: 42px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .faq-intro > p {
    font-size: 11px;
    margin-top: 12px;
  }
  .faq-intro {
    position: relative;
  }
  .faq-art {
    position: absolute;
    right: 44px;
    top: 14px;
    font-size: 70px;
  }
  .faq-art > span {
    right: -26px;
    font-size: 25px;
  }
  .faq-trigger {
    font-size: 12px;
    padding-block: 19px;
  }
  .faq-answer p {
    font-size: 11px;
  }
  .newsletter-section {
    padding-bottom: 50px;
  }
  .newsletter-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    gap: 25px;
  }
  .newsletter-banner h2 {
    font-size: 29px;
  }
  .newsletter-banner p {
    font-size: 10px;
    max-width: 290px;
  }
  .newsletter-form-wrap {
    flex: 0 1 auto;
    width: 100%;
    max-width: 380px;
  }
  .newsletter-banner .form-message {
    max-width: none;
  }
  .banner-orbit {
    top: 0;
    right: -180px;
  }
  .banner-spark {
    right: 20px;
    top: 5px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 33px 20px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-brand > p br {
    display: none;
  }
  .footer-brand > p {
    margin-top: 12px;
  }
  .social-links {
    margin-top: 14px;
  }
  .footer-newsletter {
    max-width: 380px;
  }
  .footer-links a {
    font-size: 11px;
  }
  .footer-main h3 {
    font-size: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    font-size: 9px;
  }
  .footer-bottom button {
    font-size: 9px;
  }
  .footer-bottom > div {
    flex-wrap: wrap;
    gap: 20px;
  }
  .demo-disclaimer {
    font-size: 8px;
    max-width: 450px;
  }
  .site-dialog {
    padding: 29px 23px;
  }
  .site-dialog h2 {
    font-size: 26px;
  }
  .lesson-steps {
    gap: 10px;
    font-size: 8px;
  }
}
@media (max-width: 440px) {
  .container {
    width: calc(100% - 32px);
  }
  .announcement {
    font-size: 7px;
    gap: 5px;
  }
  .announcement-label {
    font-size: 6px;
  }
  .hero h1 {
    font-size: clamp(44px, 13.3vw, 52px);
    letter-spacing: -3px;
  }
  .headline-spark {
    width: 26px;
    height: 26px;
    margin-left: 9px;
  }
  .hero-description {
    font-size: 11px;
    max-width: 310px;
  }
  .hero-visual {
    transform: scale(0.65);
    margin-top: -38px;
    margin-bottom: -71px;
  }
  .hero-actions {
    gap: 15px;
  }
  .hero-actions .button {
    font-size: 10px;
  }
  .hero-actions > .button:first-child {
    padding-inline: 14px;
  }
  .hero-social-proof {
    margin-top: 24px;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }
  .stats-row > div:nth-child(2) {
    border: 0;
  }
  .stats-row strong {
    font-size: 26px;
  }
  .stats-row > div > span {
    font-size: 8px;
  }
  .company-logos {
    gap: 19px;
  }
  .company-logos .adobe-logo {
    display: none;
  }
  .company-logos .google-logo {
    font-size: 17px;
  }
  .company-logos .microsoft-logo {
    font-size: 12px;
  }
  .company-logos .spotify-logo {
    font-size: 14px;
  }
  .company-logos .airbnb-logo {
    font-size: 16px;
  }
  .company-logos {
    gap: 16px;
  }
  .course-filters {
    gap: 7px;
  }
  .filter-button {
    font-size: 9px;
    padding: 9px 11px;
  }
  .course-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .course-image {
    height: 213px;
  }
  .cover-title {
    font-size: 29px;
    top: 79px;
    left: 23px;
  }
  .cover-title > span {
    font-size: 6px;
    letter-spacing: 1.5px;
  }
  .course-badge {
    font-size: 8px;
    top: 16px;
    left: 16px;
  }
  .cover-symbol {
    right: 16px;
    bottom: 19px;
    font-size: 105px;
  }
  .code-cover {
    font-size: 53px;
  }
  .data-bars {
    right: 25px;
    gap: 5px;
  }
  .data-bars i {
    width: 12px;
  }
  .course-body {
    padding: 19px 16px 10px;
  }
  .course-body h3 {
    font-size: 17px;
  }
  .category-label {
    font-size: 8px;
    padding: 4px 7px;
  }
  .course-rating {
    font-size: 10px;
  }
  .course-body > p {
    font-size: 11px;
  }
  .course-details {
    font-size: 9px;
    gap: 13px;
    margin-top: 19px;
  }
  .course-details .icon {
    width: 12px;
    height: 12px;
  }
  .course-footer {
    margin-top: 19px;
    padding-top: 15px;
  }
  .course-enroll {
    height: 35px;
    width: 35px;
  }
  .courses-note {
    gap: 5px;
    font-size: 8px;
  }
  .feature-card {
    padding: 19px 15px;
  }
  .feature-card h3 {
    font-size: 11px;
  }
  .feature-card p {
    font-size: 9px;
  }
  .feature-footnote {
    font-size: 5px;
  }
  .mentor-image {
    height: 205px;
  }
  .mentor-expertise {
    font-size: 6px;
    padding: 4px 6px;
    left: 9px;
    bottom: 9px;
  }
  .mentor-card h3 {
    font-size: 13px;
  }
  .mentor-card > p {
    font-size: 8px;
  }
  .mentor-experience {
    font-size: 7px;
  }
  .testimonial-card {
    flex-basis: 100%;
    padding: 26px;
  }
  .testimonial-card blockquote {
    font-size: 12px;
    min-height: 116px;
  }
  .testimonial-person img {
    width: 35px;
    height: 35px;
  }
  .testimonial-person strong {
    font-size: 10px;
  }
  .testimonial-person div > span {
    font-size: 8px;
  }
  .quote-mark {
    display: block;
  }
  .testimonials-section .section-heading {
    flex-direction: column;
  }
  .carousel-controls {
    align-self: flex-start;
  }
  .round-button {
    width: 34px;
    height: 34px;
  }
  .newsletter-banner {
    padding: 30px 25px;
  }
  .newsletter-banner h2 {
    font-size: 26px;
  }
  .faq-art {
    right: 26px;
    top: 25px;
    font-size: 56px;
  }
  .faq-art > span {
    font-size: 20px;
    right: -20px;
  }
  .faq-trigger {
    font-size: 11px;
  }
  .lesson-editor pre {
    font-size: 9px;
  }
  .lesson-steps {
    flex-wrap: wrap;
  }
}
/* Honor motion preferences and retain content when JavaScript is disabled. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
@media print {
  .site-header,
  .announcement,
  .hero-visual,
  .newsletter-section,
  .site-dialog,
  .carousel-controls,
  .carousel-bottom,
  .scroll-progress {
    display: none;
  }
  .section {
    padding-block: 20px;
  }
  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .course-card,
  .pricing-card {
    break-inside: avoid;
  }
}

/* 12. Bootstrap 5 integration. The framework owns columns, gutters, and drawer. */
:root {
  --bs-primary: #7254e8;
  --bs-primary-rgb: 114, 84, 232;
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink);
  --bs-border-radius: 0.75rem;
}
.container {
  max-width: none;
  padding-inline: 0;
}
.nav.navbar {
  padding-block: 0;
  flex-wrap: nowrap;
}
.button:hover,
.button:active {
  color: #fff;
}
.button-outline:hover,
.button-video:hover {
  color: var(--purple);
}
.button-outline:active,
.button-video:active {
  color: var(--ink);
}
.course-grid.row,
.feature-grid.row,
.mentor-grid.row,
.pricing-grid.row {
  display: flex;
  gap: 0;
  --bs-gutter-x: 24px;
  --bs-gutter-y: 24px;
}
.course-card {
  display: flex;
  flex-direction: column;
}
.course-image {
  flex-shrink: 0;
}
.course-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.course-footer {
  margin-top: auto;
}
.course-details {
  padding-bottom: 18px;
}
.pricing-grid.row {
  margin-top: 28px;
}
.course-search {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--canvas);
  padding: 4px 14px;
  margin-bottom: 18px;
  min-height: 50px;
}
.course-search > .icon {
  color: #8c75ae;
}
.course-search .form-control {
  border: 0;
  box-shadow: none;
  min-width: 0;
  background: transparent;
  font-size: 14px;
  padding: 9px 0;
  color: var(--ink);
}
.course-search:focus-within {
  outline: 2px solid #b9a2f1;
  outline-offset: 2px;
}
.course-search .form-control:focus {
  outline: 0;
}
.course-search input::-webkit-search-cancel-button {
  display: none;
}
.search-hint {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
#clear-search {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 8px;
}
#clear-search:hover {
  background: var(--lavender);
}
.course-empty {
  padding: 40px 20px;
  text-align: center;
  background: var(--canvas);
  border: 1px dashed #d8cbe9;
  border-radius: 16px;
}
.course-empty .feature-icon {
  margin-inline: auto;
}
.course-empty h3 {
  font-size: 20px;
}
.course-empty p {
  margin: 9px 0 20px;
  color: var(--muted);
}
.mobile-tabbar {
  display: none;
}
.mobile-menu {
  --bs-offcanvas-width: min(360px, 90vw);
  border-radius: 22px 0 0 22px;
  border-color: var(--line);
}
.mobile-menu .offcanvas-header {
  padding: 30px 24px 15px;
  gap: 16px;
}
.mobile-menu .offcanvas-title {
  font-size: 24px;
  letter-spacing: -1px;
}
.mobile-menu .eyebrow {
  font-size: 9px;
}
.mobile-menu .btn-close {
  width: 28px;
  height: 28px;
  padding: 8px;
  flex-shrink: 0;
  background-size: 14px;
  border-radius: 50%;
  background-color: var(--lavender);
}
.mobile-menu .offcanvas-body {
  padding: 5px 24px 28px;
}
.mobile-menu-intro {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 25px;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu-links a {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 52px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  padding: 10px 12px;
}
.mobile-menu-links a:hover {
  background: var(--lavender);
  color: var(--purple);
}
.mobile-menu-links .icon {
  color: var(--purple);
}
.mobile-menu-links a > span {
  margin-left: auto;
  color: #a18db8;
}
.mobile-menu-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 30px;
  font-size: 11px;
  color: var(--muted);
}
.form-control:focus,
.form-select:focus {
  border-color: #a98dea;
  box-shadow: 0 0 0 3px #7254e818;
}

/* Mobile app shell: safe areas, thumb navigation, compact cards, and sheets. */
@media (max-width: 767.98px) {
  html {
    scroll-padding-top: 88px;
  }
  body {
    background: #f7f7fb;
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }
  .container {
    width: calc(100% - 36px);
  }
  .announcement {
    display: none;
  }
  .site-header {
    padding-top: env(safe-area-inset-top);
    border-bottom: 1px solid #eeebf5;
    background: #ffffffed;
  }
  .nav.navbar {
    height: 68px;
    gap: 12px;
  }
  .nav .brand {
    font-size: 26px;
  }
  .nav .brand-symbol {
    width: 31px;
    height: 31px;
  }
  .nav-links {
    display: none !important;
  }
  .nav-cta {
    margin-left: auto;
    min-height: 40px;
    padding: 9px 14px;
    font-size: 11px;
    gap: 8px;
    border-radius: 12px;
  }
  .nav-cta .icon {
    width: 15px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 13px;
    border: 1px solid #ece7f3;
    background: #f9f7fd;
  }
  .menu-toggle span {
    width: 18px;
    height: 1.5px;
    background: #685773;
  }
  .mobile-tabbar {
    position: fixed;
    z-index: 1000;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 9px max(12px, env(safe-area-inset-left))
      calc(8px + env(safe-area-inset-bottom));
    background: #fffffff5;
    backdrop-filter: blur(20px);
    border-top: 1px solid #e9e3f1;
    box-shadow: 0 -5px 24px #35204c07;
  }
  .app-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-height: 51px;
    font-size: 10px;
    color: #777080;
    font-weight: 500;
    border-radius: 14px;
    transition: color 0.2s;
  }
  .app-tab > span {
    display: grid;
    place-items: center;
    height: 29px;
    width: 52px;
    border-radius: 20px;
    transition: background 0.2s;
  }
  .app-tab .icon {
    height: 21px;
    width: 21px;
  }
  .app-tab.active {
    color: #6843bb;
    font-weight: 700;
  }
  .app-tab.active > span {
    background: #eee6fd;
  }
  .app-tab:active > span {
    transform: scale(0.94);
  }
  .hero {
    display: block;
    min-height: 0;
    padding: 0;
    margin-block: 18px 20px;
    overflow: visible;
  }
  .hero-copy {
    overflow: hidden;
    text-align: left;
    padding: 25px 24px 22px;
    background:
      radial-gradient(circle at 100% 0%, #ded2fc, transparent 52%),
      linear-gradient(145deg, #f2edfe, #f9f6ff);
    border: 1px solid #e4dbf5;
    border-radius: 24px;
    box-shadow: 0 5px 18px #59427704;
  }
  .eyebrow-pill {
    background: #ffffffa6;
    border-color: #e2d7f2;
    font-size: 7px;
    letter-spacing: 0.55px;
    padding: 6px 9px;
  }
  .hero h1 {
    font-size: clamp(33px, 9vw, 48px);
    line-height: 1.12;
    letter-spacing: -1.9px;
    margin-top: 17px;
  }
  .hero h1 br:nth-of-type(2) {
    display: none;
  }
  .hero h1 br:nth-of-type(2)::after {
    content: " ";
  }
  .hero h1 .gradient-text {
    display: inline-block;
    margin-left: 0.18em;
  }
  .headline-spark {
    width: 25px;
    height: 25px;
    margin-left: 10px;
    margin-bottom: 2px;
  }
  .hero-description {
    max-width: 410px;
    margin: 14px 0 0;
    font-size: 12px;
    line-height: 1.8;
  }
  .hero-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
  }
  .hero-actions > .button:first-child {
    min-height: 46px;
    padding: 12px 17px;
    font-size: 12px;
    border-radius: 12px;
    gap: 12px;
  }
  .hero-actions .button-video {
    min-height: 44px;
    font-size: 11px;
    gap: 7px;
  }
  .hero-social-proof {
    justify-content: flex-start;
    margin-top: 20px;
    gap: 10px;
  }
  .hero-social-proof p {
    font-size: 8px;
  }
  .hero-visual {
    display: none;
  }
  .trust-section {
    border: 0;
    background: transparent;
  }
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: white;
    border: 1px solid #ece7f2;
    border-radius: 16px;
    padding: 16px 4px;
    box-shadow: 0 4px 12px #35204c03;
  }
  .stats-row strong {
    font-size: 19px;
    letter-spacing: -0.8px;
  }
  .stats-row > div {
    border-right: 1px solid var(--line);
  }
  .stats-row > div:nth-child(2) {
    border-right: 1px solid var(--line);
  }
  .stats-row > div:last-child {
    border: 0;
  }
  .stats-row > div > span {
    font-size: 7px;
    text-align: center;
  }
  .trusted-brands {
    display: none;
  }
  .section {
    padding-block: 40px;
  }
  h2 {
    font-size: 26px;
    line-height: 1.3;
    letter-spacing: -1px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .section-heading {
    margin-bottom: 22px;
  }
  .section-heading p {
    font-size: 13px;
    line-height: 1.75;
  }
  .courses-section .section-heading {
    gap: 12px;
  }
  .section-heading > .text-link {
    min-height: 36px;
    font-size: 12px;
    margin-top: 0;
  }
  .course-search {
    background: white;
    margin-bottom: 14px;
    border-radius: 15px;
    min-height: 52px;
  }
  .course-search .form-control {
    font-size: 16px;
  }
  .course-search .form-control::placeholder {
    font-size: 13px;
  }
  .search-hint {
    display: none;
  }
  .course-toolbar {
    display: block;
    position: sticky;
    top: calc(68px + env(safe-area-inset-top));
    z-index: 10;
    margin-inline: -18px;
    padding: 9px 18px 13px;
    margin-bottom: 6px;
    background: #f7f7fbf2;
    backdrop-filter: blur(12px);
  }
  .course-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 8px;
    padding: 3px 2px;
    scroll-snap-type: x proximity;
  }
  .course-filters::-webkit-scrollbar {
    display: none;
  }
  .filter-button {
    min-height: 44px;
    flex-shrink: 0;
    font-size: 11px;
    padding: 11px 14px;
    border-radius: 24px;
    scroll-snap-align: start;
  }
  .filter-button .icon {
    width: 14px;
    height: 14px;
  }
  .filter-button.active {
    background: #7552d6;
    color: #fff;
    border-color: #7552d6;
    box-shadow: 0 3px 8px #7254e81a;
  }
  .filter-button.active > span {
    background: #ffffff24;
    color: white;
  }
  .course-count {
    display: block;
    margin-top: 9px;
    font-size: 11px;
    padding-left: 2px;
  }
  .course-grid.row {
    --bs-gutter-x: 16px;
    --bs-gutter-y: 18px;
  }
  .course-card {
    padding: 7px;
    border-radius: 19px;
    box-shadow: 0 5px 18px #38224705;
  }
  .course-image {
    height: 186px;
    border-radius: 13px;
  }
  .cover-title {
    font-size: 27px;
    top: 70px;
    left: 20px;
  }
  .cover-title > span {
    font-size: 7px;
    letter-spacing: 1.3px;
  }
  .course-badge {
    font-size: 8px;
    top: 13px;
    left: 13px;
    border-radius: 6px;
  }
  .course-body {
    padding: 17px 13px 9px;
  }
  .course-body h3 {
    font-size: 17px;
    line-height: 1.5;
  }
  .course-body > p {
    font-size: 12px;
    margin-top: 6px;
  }
  .course-meta {
    margin-bottom: 12px;
    flex-wrap: wrap;
  }
  .category-label {
    font-size: 10px;
    padding: 4px 7px;
  }
  .course-rating,
  .course-rating small {
    font-size: 10px;
  }
  .course-details {
    font-size: 10px;
    gap: 12px;
    margin-top: 16px;
    padding-bottom: 14px;
  }
  .course-details .icon {
    width: 13px;
    height: 13px;
  }
  .course-footer {
    padding-top: 13px;
  }
  .course-enroll {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .course-enroll .icon {
    width: 20px;
    height: 20px;
  }
  .price {
    font-size: 23px;
  }
  .price s {
    font-size: 12px;
  }
  .courses-note {
    font-size: 11px;
    line-height: 1.8;
    flex-wrap: wrap;
    gap: 6px;
  }
  .why-section {
    background: #f0edf7;
  }
  .why-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .why-intro h2 {
    font-size: 31px;
  }
  .why-intro > p,
  .faq-intro > p {
    font-size: 13px;
  }
  .why-intro .text-link {
    min-height: 40px;
    font-size: 12px;
  }
  .why-doodle {
    display: none;
  }
  .feature-grid.row,
  .mentor-grid.row {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 16px;
  }
  .feature-card {
    padding: 19px 15px;
    border-radius: 16px;
    background: #fff;
  }
  .feature-card h3 {
    font-size: 13px;
    line-height: 1.6;
  }
  .feature-card p {
    font-size: 11px;
  }
  .feature-footnote {
    font-size: 7px;
    line-height: 1.8;
    letter-spacing: 0.6px;
  }
  .feature-icon {
    width: 39px;
    height: 39px;
    margin-bottom: 14px;
  }
  .mentor-card {
    background: #fff;
    border: 1px solid #eee9f3;
    border-radius: 16px;
    padding: 6px 6px 15px;
  }
  .mentor-image {
    height: 190px;
    border-radius: 11px;
  }
  .mentor-card h3,
  .mentor-card > p,
  .mentor-experience {
    padding-inline: 7px;
  }
  .mentor-card h3 {
    font-size: 14px;
    margin-top: 13px;
  }
  .mentor-card > p {
    font-size: 10px;
  }
  .mentor-experience {
    font-size: 9px;
    line-height: 1.7;
  }
  .mentor-expertise {
    font-size: 7px;
    left: 8px;
    bottom: 8px;
    padding: 4px 6px;
  }
  .mentor-heading-note {
    display: none;
  }
  .testimonials-section {
    background: #f0edf7;
  }
  .testimonials-section .section-heading {
    flex-direction: row;
  }
  .testimonials-section .section-heading > div:first-child {
    min-width: 0;
  }
  .carousel-controls {
    gap: 7px;
    align-self: flex-end;
  }
  .round-button {
    width: 44px;
    height: 44px;
  }
  .testimonial-card {
    flex-basis: 100%;
    padding: 25px;
    border-radius: 18px;
  }
  .testimonial-card blockquote {
    font-size: 14px;
    min-height: 0;
    line-height: 1.9;
  }
  .testimonial-person img {
    width: 40px;
    height: 40px;
  }
  .testimonial-person strong {
    font-size: 12px;
  }
  .testimonial-person div > span {
    font-size: 10px;
  }
  .carousel-bottom {
    min-height: 44px;
    justify-content: flex-start;
  }
  .carousel-dots {
    gap: 5px;
  }
  .carousel-dots button {
    width: 24px;
    height: 36px;
    background: radial-gradient(circle at center, #c2b3d7 3px, transparent 4px);
  }
  .carousel-dots button.active {
    width: 24px;
    background: radial-gradient(circle at center, #7650b7 4px, transparent 5px);
  }
  .carousel-dots button::after {
    display: none;
  }
  .carousel-pause {
    font-size: 11px;
    min-height: 44px;
    padding-inline: 9px;
  }
  .pricing-section .section-heading {
    align-items: center;
  }
  .billing-toggle {
    padding: 5px;
    border-radius: 13px;
  }
  .billing-toggle button {
    min-height: 44px;
    font-size: 12px;
    border-radius: 9px;
    padding: 10px 18px;
  }
  .billing-toggle span {
    font-size: 10px;
  }
  .pricing-grid.row {
    --bs-gutter-y: 48px;
    max-width: none;
    margin-top: 0;
  }
  .pricing-card {
    padding: 26px;
    border-radius: 18px;
  }
  .pricing-card h3 {
    font-size: 20px;
  }
  .pricing-card > p,
  .pricing-card > .billing-note {
    font-size: 12px;
  }
  .plan-price strong {
    font-size: 44px;
  }
  .plan-price > span {
    font-size: 12px;
  }
  .plan-includes {
    font-size: 9px;
  }
  .plan-features li {
    font-size: 13px;
    line-height: 1.7;
  }
  .pricing-card > .button {
    min-height: 48px;
    font-size: 13px;
    border-radius: 12px;
  }
  .popular-ribbon {
    font-size: 9px;
    height: 30px;
    top: -30px;
  }
  .pricing-reassurance {
    font-size: 11px;
    line-height: 1.8;
  }
  .faq-section {
    padding-top: 0;
  }
  .faq-art {
    display: none;
  }
  .faq-trigger {
    min-height: 60px;
    font-size: 13px;
    line-height: 1.7;
  }
  .faq-answer p {
    font-size: 13px;
  }
  .newsletter-section {
    padding-bottom: 40px;
  }
  .newsletter-banner {
    padding: 28px 23px;
    border-radius: 21px;
    gap: 24px;
    flex-direction: column;
    align-items: stretch;
  }
  .newsletter-banner h2 {
    font-size: 27px;
  }
  .newsletter-banner p {
    font-size: 12px;
    max-width: none;
  }
  .newsletter-form-wrap {
    width: 100%;
    max-width: none;
    flex-basis: auto;
  }
  .email-input-wrap input {
    font-size: 16px;
  }
  .email-input-wrap input::placeholder {
    font-size: 12px;
  }
  .email-input-wrap button {
    width: 44px;
    height: 44px;
  }
  .newsletter-banner .form-message {
    font-size: 10px;
  }
  .site-footer {
    background: #fff;
    padding-top: 35px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-brand > p {
    font-size: 12px;
  }
  .social-links a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .social-links .icon {
    width: 18px;
    height: 18px;
  }
  .footer-main h3 {
    font-size: 13px;
  }
  .footer-links a {
    font-size: 12px;
    display: flex;
    align-items: center;
    min-height: 40px;
    margin-bottom: 0;
  }
  .footer-newsletter {
    grid-column: 1 / -1;
  }
  .footer-newsletter > p {
    font-size: 12px;
  }
  .footer-email-wrap input {
    font-size: 16px;
    min-height: 44px;
  }
  .footer-email-wrap input::placeholder {
    font-size: 13px;
  }
  .footer-email-wrap button {
    width: 44px;
    height: 44px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    font-size: 10px;
  }
  .footer-bottom > div {
    gap: 18px;
    flex-wrap: wrap;
  }
  .footer-bottom button {
    font-size: 11px;
    min-height: 44px;
  }
  .demo-disclaimer {
    font-size: 10px;
  }
  .site-dialog {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: min(92dvh, 850px);
    margin: 0;
    padding: 32px 24px calc(25px + env(safe-area-inset-bottom));
    border-radius: 25px 25px 0 0;
    border-bottom: 0;
    overscroll-behavior: contain;
  }
  .site-dialog::before {
    content: "";
    display: block;
    width: 38px;
    height: 4px;
    border-radius: 4px;
    background: #d9d0e3;
    margin: -20px auto 26px;
  }
  .site-dialog[open] {
    animation: sheet-enter 0.28s ease both;
  }
  .dialog-close {
    height: 44px;
    width: 44px;
    top: 19px;
    right: 17px;
  }
  .site-dialog h2 {
    font-size: 27px;
    padding-right: 25px;
  }
  .dialog-description {
    font-size: 13px;
  }
  .site-dialog label {
    font-size: 12px;
  }
  .site-dialog input,
  .site-dialog select {
    font-size: 16px;
    min-height: 49px;
    border-radius: 11px;
  }
  .site-dialog form > .button {
    min-height: 49px;
    border-radius: 12px;
  }
  .course-summary,
  .site-dialog .form-message {
    font-size: 12px;
  }
  .lesson-editor pre {
    font-size: 11px;
  }
  .lesson-editor .button {
    min-height: 44px;
  }
  .lesson-steps {
    font-size: 10px;
  }
  .preview-dialog > .text-link {
    min-height: 44px;
  }
  body:has(dialog[open]) .mobile-tabbar {
    visibility: hidden;
  }
  .faq-trigger,
  .course-enroll,
  .filter-button,
  .button {
    -webkit-tap-highlight-color: transparent;
  }
  .button:active,
  .course-enroll:active {
    transform: scale(0.98);
  }
  .course-card:hover {
    transform: none !important;
  }
}
@keyframes sheet-enter {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .course-body h3 {
    font-size: 15px;
  }
  .course-meta {
    align-items: flex-start;
  }
  .course-details {
    gap: 8px;
  }
  .category-label {
    font-size: 9px;
  }
  .hero-copy {
    padding: 30px;
  }
  .hero h1 {
    max-width: 500px;
  }
  .mentor-image {
    height: 260px;
  }
}
@media (max-width: 359.98px) {
  .container {
    width: calc(100% - 28px);
  }
  .hero-copy {
    padding: 21px 18px;
  }
  .hero h1 {
    font-size: 33px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-actions > .button:first-child {
    padding-inline: 12px;
    font-size: 11px;
  }
  .hero-actions .button-video {
    font-size: 10px;
  }
  .hero-social-proof p {
    font-size: 7px;
  }
  .stats-row strong {
    font-size: 17px;
  }
  .stats-row > div > span {
    font-size: 6px;
  }
  .course-toolbar {
    margin-inline: -14px;
    padding-inline: 14px;
  }
  .feature-card {
    padding: 16px 12px;
  }
  .feature-card h3 {
    font-size: 12px;
  }
  .mentor-image {
    height: 165px;
  }
  .testimonials-section .section-heading {
    flex-direction: column;
  }
  .carousel-controls {
    align-self: flex-start;
  }
}
@media print {
  .mobile-tabbar,
  .mobile-menu,
  .offcanvas-backdrop,
  .course-search {
    display: none !important;
  }
}

/* 13. Brand typography: one readable scale across all device sizes.
   Keep this after the compact layouts so they cannot shrink content text. */
:root {
  --type-body: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
  --type-small: 0.875rem;
  --type-caption: 0.8125rem;
  --type-label: 0.75rem;
  --type-card-title: clamp(1.125rem, 1.04rem + 0.35vw, 1.375rem);
  --type-section: clamp(2rem, 1.55rem + 1.7vw, 2.875rem);
  --bs-body-font-size: 1rem;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-size: var(--type-body);
  line-height: 1.7;
}
h2,
.why-intro h2,
.newsletter-banner h2 {
  font-size: var(--type-section);
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero h1 {
  font-size: clamp(2.5rem, 1.5rem + 4.3vw, 4.75rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}
.hero-description {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.75;
  max-width: 46ch;
}
.section-heading p,
.why-intro > p,
.faq-intro > p,
.faq-answer p,
.newsletter-banner p,
.testimonial-card blockquote,
.dialog-description,
.legal-content,
.mobile-menu-intro {
  font-size: var(--type-body);
  line-height: 1.75;
}
.why-intro > p {
  max-width: 42ch;
}
.button,
.button-small,
.hero-actions .button,
.hero-actions > .button:first-child,
.hero-actions .button-video,
.nav-cta,
.pricing-card > .button,
.why-intro > .text-link,
.section-heading > .text-link,
.text-link,
.faq-trigger {
  font-size: 1rem;
  line-height: 1.5;
}
.button,
.button-small,
.hero-actions > .button:first-child,
.pricing-card > .button {
  min-height: 48px;
}
.hero-actions {
  flex-wrap: wrap;
  gap: 16px 20px;
}
.hero-social-proof p,
.trusted-brands p,
.course-body > p,
.feature-card p,
.mentor-card > p,
.pricing-card > p,
.pricing-card > .billing-note,
.plan-features li,
.footer-brand > p,
.footer-newsletter > p,
.footer-links a,
.course-summary {
  font-size: 1rem;
  line-height: 1.7;
}
.hero-social-proof {
  align-items: center;
}
.avatar-stack {
  flex-shrink: 0;
}
.announcement,
.nav-links,
.filter-button,
.course-count,
.courses-note,
.mentor-experience,
.testimonial-person strong,
.carousel-pause,
.billing-toggle button,
.plan-price > span,
.plan-price .price-prefix,
.pricing-reassurance,
.footer-main h3,
.site-dialog label,
.mobile-menu-links a,
.mobile-menu-footer {
  font-size: var(--type-small);
  line-height: 1.6;
}
.eyebrow,
.eyebrow-pill,
.newsletter-banner .eyebrow,
.mobile-menu .eyebrow,
.announcement-label,
.feature-footnote,
.plan-includes,
.popular-ribbon,
.cover-title > span {
  font-size: var(--type-label);
  line-height: 1.5;
  letter-spacing: 0.08em;
}
.category-label,
.course-rating,
.course-rating small,
.course-details,
.course-badge,
.mentor-expertise,
.testimonial-person div > span,
.filter-button > span,
.billing-toggle span,
.search-hint,
.footer-bottom,
.footer-bottom button,
.demo-disclaimer,
.newsletter-banner .form-message,
.footer-newsletter .form-message,
.site-dialog .form-message,
.lesson-steps {
  font-size: var(--type-caption);
  line-height: 1.6;
}
.course-body h3,
.feature-card h3,
.mentor-card h3,
.pricing-card h3,
.course-empty h3,
.legal-content h3 {
  font-size: var(--type-card-title);
  line-height: 1.4;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.course-body {
  padding: 22px 16px 12px;
}
.course-meta,
.course-details {
  flex-wrap: wrap;
  gap: 8px 12px;
}
.course-details .icon {
  width: 16px;
  height: 16px;
}
.course-rating {
  white-space: nowrap;
}
.price {
  font-size: 1.75rem;
}
.price s {
  font-size: var(--type-small);
}
.stats-row strong {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  line-height: 1.25;
}
.stats-row > div > span {
  font-size: var(--type-small);
  line-height: 1.5;
}
.plan-price strong {
  font-size: clamp(2.75rem, 2.3rem + 1.5vw, 3.5rem);
  letter-spacing: -0.04em;
}
.plan-price {
  flex-wrap: wrap;
}
.site-dialog h2,
.mobile-menu .offcanvas-title {
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  line-height: 1.25;
}
.course-search .form-control,
.course-search .form-control::placeholder,
.email-input-wrap input,
.email-input-wrap input::placeholder,
.footer-email-wrap input,
.footer-email-wrap input::placeholder,
.site-dialog input,
.site-dialog select {
  font-size: 1rem;
  line-height: 1.5;
}
.lesson-editor pre,
.lesson-editor output,
.editor-dots span {
  font-size: var(--type-small);
}
.lesson-editor .button {
  font-size: var(--type-small);
  min-height: 44px;
}
.feature-card,
.mentor-card,
.pricing-card,
.newsletter-copy,
.footer-main > div {
  min-width: 0;
}
.feature-footnote,
.mentor-expertise {
  overflow-wrap: anywhere;
}
.filter-button,
.billing-toggle button,
.course-enroll,
.round-button,
.footer-bottom button {
  min-height: 44px;
}
.course-enroll,
.round-button {
  min-width: 44px;
}
.testimonial-card blockquote {
  min-height: 0;
}
.testimonial-person {
  align-items: flex-start;
}
.testimonial-person img {
  flex-shrink: 0;
}
.footer-bottom {
  flex-wrap: wrap;
}
.footer-bottom > div {
  flex-wrap: wrap;
}
.lesson-steps {
  flex-wrap: wrap;
}
@media (max-width: 991.98px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
  }
  .nav-cta {
    margin-left: auto;
  }
  .newsletter-banner {
    flex-wrap: wrap;
  }
  .newsletter-form-wrap {
    flex: 1 1 300px;
    max-width: 100%;
  }
}
@media (max-width: 767.98px) {
  .hero h1 {
    font-size: clamp(2.5rem, 1.8rem + 3.4vw, 3.5rem);
  }
  .hero-copy {
    padding: clamp(20px, 4vw, 30px);
  }
  .hero h1 .gradient-text {
    margin-left: 0;
  }
  .section {
    padding-block: 48px;
  }
  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 0;
    padding: 24px 12px;
  }
  .stats-row > div:nth-child(2) {
    border-right: 0;
  }
  .section-heading,
  .testimonials-section .section-heading {
    flex-wrap: wrap;
    gap: 16px;
  }
  .course-body {
    padding: 20px 16px 12px;
  }
  .feature-card {
    padding: 24px 20px;
  }
  .mentor-card {
    padding-bottom: 20px;
  }
  .app-tab {
    font-size: var(--type-label);
  }
  .newsletter-form-wrap {
    flex-basis: auto;
    width: 100%;
  }
  .site-dialog {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 575.98px) {
  .feature-grid.row > .col-6 {
    width: 100%;
  }
  .course-toolbar {
    position: static;
  }
  .hero-social-proof {
    flex-wrap: wrap;
  }
}
@media (max-width: 359.98px) {
  .nav.navbar {
    gap: 8px;
  }
  .nav .brand {
    font-size: 1.375rem;
  }
  .nav .brand-symbol {
    width: 27px;
    height: 27px;
    margin-right: 6px;
  }
  .nav-cta {
    padding-inline: 10px;
    font-size: var(--type-small);
  }
  .nav-cta .icon {
    display: none;
  }
  .mentor-grid.row > .col-6 {
    width: 100%;
  }
}

/* Regional tagline uses the site's brand typography. */
.regional-tagline {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--purple-dark);
}
.company-logos {
  flex-wrap: wrap;
}

/* Supplied TechDisha artwork keeps its original proportions. */
.brand:has(.brand-logo) {
  flex-shrink: 0;
  line-height: 0;
}
.brand-logo {
  display: block;
  width: 160px;
  height: auto;
  object-fit: contain;
}
.site-footer .brand-logo {
  width: 186px;
}
@media (max-width: 767.98px) {
  .nav .brand-logo {
    width: 116px;
  }
}
@media (max-width: 359.98px) {
  .nav .brand-logo {
    width: 104px;
  }
}

/* A focused, spacious hero with a single clear reading path. */
.hero-simple {
  display: flex;
  justify-content: center;
  min-height: 0;
  padding-block: clamp(48px, 5vw, 72px);
  margin-block: 0;
  overflow: visible;
  position: relative;
  isolation: isolate;
}
.hero-simple::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 35%, #f1edff 0%, transparent 68%);
}
.hero-simple .hero-copy {
  width: 100%;
  max-width: 900px;
  padding: 0;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.hero-kicker {
  display: block;
  color: var(--purple-dark);
  font-size: var(--type-label);
  font-weight: 650;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-wrap: balance;
}
.hero-simple h1 {
  margin: 18px auto 0;
  font-size: clamp(2.5rem, 1.4rem + 4vw, 4.75rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero-simple h1 .gradient-text {
  display: inline;
  margin: 0;
}
.hero-simple .hero-description {
  max-width: 54ch;
  margin: 18px auto 0;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.1875rem);
  line-height: 1.65;
  text-wrap: pretty;
}
.hero-simple .hero-actions {
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.hero-simple .hero-actions .button {
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 1rem;
  gap: 12px;
}
.hero-simple .hero-social-proof {
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-simple .hero-social-proof p {
  margin: 0;
  font-size: var(--type-small);
  line-height: 1.6;
}
.hero-simple .avatar-stack img {
  width: 32px;
  height: 32px;
}
@media (max-width: 767.98px) {
  .hero-simple {
    min-height: 0;
    padding-block: 36px 40px;
  }
  .hero-simple h1 {
    margin-top: 18px;
    font-size: clamp(2.25rem, 1.35rem + 4vw, 3.5rem);
  }
  .hero-simple .hero-description {
    margin-top: 20px;
    max-width: 42ch;
  }
  .hero-simple .hero-actions {
    margin-top: 26px;
  }
}
@media (max-width: 440px) {
  .hero-simple .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-inline: auto;
  }
  .hero-kicker {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
  }
}

/* Curated course catalogue: calm surfaces, expressive covers, clear actions. */
.courses-premium {
  background: #f8f7fc;
  border-block: 1px solid #eeebf5;
  padding-block: clamp(56px, 6vw, 88px);
}
.courses-premium .section-heading {
  align-items: flex-end;
  margin-bottom: 32px;
}
.courses-premium .section-heading .muted-heading {
  color: var(--purple);
}
.courses-premium .section-heading > .text-link {
  margin: 0;
  padding: 10px 0;
  color: var(--purple-dark);
}
.courses-premium .course-search {
  min-height: 58px;
  padding: 8px 18px;
  margin-bottom: 20px;
  background: #fff;
  border-color: #e5e0ef;
  border-radius: 16px;
  box-shadow: 0 3px 12px #30234304;
}
.courses-premium .course-toolbar {
  position: static;
  margin: 0 0 28px;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  flex-wrap: wrap;
}
.courses-premium .filter-button {
  padding: 10px 16px;
  min-height: 44px;
  font-size: 0.875rem;
  border-radius: 24px;
  color: #625a70;
  background: #fff;
  border-color: #e5e0ef;
}
.courses-premium .filter-button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 3px 10px #24212f10;
}
.courses-premium .filter-button.active > span {
  color: #fff;
  background: #ffffff26;
}
.courses-premium .course-grid.row {
  --bs-gutter-x: 28px;
  --bs-gutter-y: 28px;
}
.courses-premium .course-card {
  padding: 0;
  border: 1px solid #e7e2ef;
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 24px #30234306;
}
.courses-premium .course-card:hover,
.courses-premium .course-card:focus-within {
  border-color: #cbbdec;
  box-shadow: 0 16px 40px #46316f12;
}
.courses-premium .course-image {
  height: 218px;
  border-radius: 0;
  background: linear-gradient(135deg, #5132ab, #8662e3);
}
.courses-premium .image-web {
  background: linear-gradient(135deg, #182e4b, #456a90);
}
.courses-premium .image-data {
  background: linear-gradient(135deg, #173f3a, #427e6c);
}
.courses-premium .course-image img {
  opacity: 0.22;
  mix-blend-mode: luminosity;
}
.courses-premium .image-shade {
  background: linear-gradient(90deg, #00000025, transparent);
}
.courses-premium .course-badge {
  top: 20px;
  left: 24px;
  padding: 6px 10px;
  font-size: 0.6875rem;
  line-height: 1.4;
  letter-spacing: 0.045em;
  border-radius: 6px;
  color: #fff;
  background: #ffffff16;
  border: 1px solid #ffffff40;
  backdrop-filter: blur(8px);
}
.courses-premium .cover-title {
  top: auto;
  bottom: 26px;
  left: 24px;
  right: 24px;
  font-size: clamp(1.375rem, 1.1rem + 0.65vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  max-width: 90%;
}
.courses-premium .cover-title > span {
  margin-top: 12px;
  color: #ffffffbf;
  font-size: 0.625rem;
  letter-spacing: 0.12em;
}
.courses-premium .cover-symbol,
.courses-premium .data-bars {
  opacity: 0.3;
  right: 16px;
  bottom: 36px;
  pointer-events: none;
}
.courses-premium .course-body {
  padding: 24px;
}
.courses-premium .course-meta {
  gap: 10px;
  margin-bottom: 16px;
}
.courses-premium .category-label {
  padding: 5px 8px;
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 550;
  border-radius: 6px;
}
.courses-premium .course-rating,
.courses-premium .course-rating small {
  font-size: 0.75rem;
}
.courses-premium .course-body h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  min-height: 2.8em;
  text-wrap: pretty;
}
.courses-premium .course-body > p {
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-top: 10px;
}
.course-mentor {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 550;
  line-height: 1.5;
}
.course-mentor img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
}
.course-mentor small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 400;
}
.courses-premium .course-details {
  margin-top: 20px;
  padding-bottom: 20px;
  gap: 10px 14px;
  font-size: 0.75rem;
}
.courses-premium .course-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  padding-top: 20px;
}
.course-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.courses-premium .price {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 750;
  line-height: 1.3;
}
.courses-premium .price s {
  font-family: var(--font-body);
  font-size: 0.875rem;
  margin-left: 8px;
}
.course-price-note {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}
.courses-premium .course-enroll {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: auto;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 11px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--purple-dark);
  background: #f3efff;
  border: 1px solid #e7defc;
  transition: background 0.2s, color 0.2s;
}
.courses-premium .course-enroll:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  color: #fff;
}
.courses-premium .courses-note {
  margin-top: 32px;
  flex-wrap: wrap;
  font-size: 0.875rem;
}
@media (max-width: 991.98px) {
  .courses-premium .course-body {
    padding: 22px;
  }
}
@media (max-width: 767.98px) {
  .courses-premium .section-heading {
    align-items: flex-start;
  }
  .courses-premium .course-count {
    padding-left: 0;
    margin-top: 12px;
  }
  .courses-premium .course-filters {
    padding-bottom: 6px;
  }
  .courses-premium .course-image {
    height: 210px;
  }
}
@media (max-width: 575.98px) {
  .courses-premium .course-body h3 {
    min-height: 0;
  }
}
@media (min-width: 576px) {
  .courses-premium .course-body > p {
    min-height: 5.25em;
  }
}

/* Three equal tabs while the mentor section is commented out. */
@media (max-width: 767.98px) {
  .mobile-tabbar:has(> .app-tab:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* A practical live learning journey replaces the subscription pricing panel. */
.learning-journey-section {
  background: #fff;
  padding-block: clamp(56px, 7vw, 96px);
}
.journey-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border: 1px solid #e5dff0;
  border-radius: 28px;
  overflow: hidden;
  background: #faf9fd;
  box-shadow: 0 12px 44px #30234308;
}
.journey-intro {
  padding: clamp(28px, 4vw, 56px);
  color: #fff;
  background: radial-gradient(ellipse at 100% 0%, #7958d2, transparent 65%), #32205c;
}
.journey-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: #e1d6ff;
}
.journey-live > span {
  width: 7px;
  height: 7px;
  background: #bfedce;
  border-radius: 50%;
  flex-shrink: 0;
}
.journey-intro h2 {
  margin-top: 24px;
  font-size: clamp(2rem, 1.6rem + 1.5vw, 2.875rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}
.journey-intro h2 > span {
  color: #c7b4ff;
}
.journey-intro > p {
  margin-top: 22px;
  font-size: 1rem;
  line-height: 1.8;
  color: #e0d8ed;
  max-width: 42ch;
}
.journey-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  font-size: 0.875rem;
  line-height: 1.6;
}
.journey-benefits > span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.journey-benefits .icon {
  color: #c7b4ff;
  width: 18px;
  height: 18px;
}
.journey-cta {
  margin-top: 32px;
  padding: 14px 20px;
  background: #fff;
  color: #422877;
  border-radius: 12px;
  box-shadow: none;
  flex-wrap: wrap;
}
.journey-cta:hover,
.journey-cta:active {
  background: #f1edff;
  color: #422877;
}
.journey-steps {
  margin: 0;
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  list-style: none;
}
.journey-steps > li {
  display: flex;
  gap: 20px;
  padding-block: 26px;
  border-bottom: 1px solid #e8e2f0;
}
.journey-steps > li:first-child {
  padding-top: 0;
}
.journey-steps > li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.journey-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border: 1px solid #dfd3f5;
  border-radius: 14px;
  background: #f0eafb;
  color: var(--purple-dark);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
}
.journey-step-label {
  display: block;
  color: var(--purple-dark);
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  line-height: 1.6;
}
.journey-steps h3 {
  margin-top: 7px;
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: -0.025em;
}
.journey-steps p {
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
}
.journey-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
.journey-note .icon {
  width: 17px;
  height: 17px;
  color: var(--purple-dark);
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .journey-panel {
    grid-template-columns: 1fr;
  }
  .journey-intro h2 br {
    display: none;
  }
  .journey-intro h2 > span {
    display: block;
  }
  .journey-intro > p {
    max-width: 60ch;
  }
}
@media (max-width: 440px) {
  .journey-panel {
    border-radius: 22px;
  }
  .journey-intro,
  .journey-steps {
    padding: 26px 22px;
  }
  .journey-steps > li {
    gap: 12px;
  }
  .journey-number {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 0.875rem;
  }
  .journey-cta {
    width: 100%;
    justify-content: space-between;
  }
  .journey-note {
    align-items: flex-start;
  }
}

/* Homepage spotlight for the dedicated AI website masterclass. */
.home-masterclass{padding-block:64px;background:#fff}
.masterclass-feature{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;padding:52px;border-radius:26px;background:radial-gradient(ellipse at 100% 0%,#7352c5,transparent 65%),#2e204b;color:#fff;box-shadow:0 16px 50px #46316f12}
.masterclass-feature-label{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:650;letter-spacing:.09em;color:#e0d2ff;line-height:1.6}
.masterclass-feature-label>span{width:7px;height:7px;background:#c2ecd0;border-radius:50%;flex-shrink:0}
.masterclass-feature h2{font-size:clamp(30px,3.1vw,44px);line-height:1.2;letter-spacing:-.035em;margin-top:20px}
.masterclass-feature h2>span{color:#c9b4ff}
.masterclass-feature-copy>p{font-size:17px;line-height:1.8;color:#e4dced;margin-top:20px;max-width:50ch}
.masterclass-feature-facts{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.masterclass-feature-facts>span{font-size:12px;line-height:1.6;border:1px solid #ffffff30;padding:5px 10px;border-radius:7px;color:#eee7f8}
.masterclass-feature-cta{margin-top:28px;background:#fff;color:#432970;padding:14px 22px;gap:14px;border-radius:12px;box-shadow:none}
.masterclass-feature-cta:hover,.masterclass-feature-cta:active{background:#f1ecff;color:#432970}
.masterclass-feature-copy>.masterclass-language{font-size:12px;color:#cbbbdc;margin-top:12px}
.masterclass-feature-plan{padding:28px;background:#ffffff0a;border:1px solid #ffffff25;border-radius:18px;align-self:center;min-width:0}
.masterclass-plan-label{font-size:11px;letter-spacing:.12em;color:#d9c8f5;font-weight:600}
.masterclass-feature-plan ol{padding:0;list-style:none;margin:22px 0}
.masterclass-feature-plan li{display:flex;align-items:center;gap:16px;margin-top:22px}
.masterclass-feature-plan li>b{display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffff30;border-radius:12px;color:#d5c2ff;font-size:14px;flex-shrink:0}
.masterclass-feature-plan li>span{font-size:17px;line-height:1.5;font-weight:600}
.masterclass-feature-plan small{display:block;font-size:13px;line-height:1.6;color:#d2c4e3;font-weight:400;margin-top:3px}
.masterclass-sample-time{display:flex;gap:10px;border-top:1px solid #ffffff25;padding-top:18px;font-size:14px;line-height:1.5}
.masterclass-sample-time .icon{color:#c7b4ff;flex-shrink:0}
@media(max-width:900px){.masterclass-feature{grid-template-columns:1fr;gap:28px;padding:36px}.masterclass-feature-plan{width:100%}.masterclass-feature-plan ol{display:flex;flex-wrap:wrap;gap:24px}.masterclass-feature-plan li{margin:0;flex:1 1 180px}}
@media(max-width:575px){.home-masterclass{padding-block:44px}.masterclass-feature{padding:28px 22px;border-radius:22px}.masterclass-feature-copy>p{font-size:16px}.masterclass-feature-plan{padding:22px}.masterclass-feature-plan ol{flex-direction:column;gap:20px}.masterclass-feature-plan li{flex:auto}.masterclass-feature-cta{width:100%;font-size:15px;padding-inline:15px;justify-content:space-between}.masterclass-feature h2{font-size:32px}}

/* Reduce repeated section gaps while preserving the readable type scale. */
.home-masterclass, .courses-premium, .why-section,
.testimonials-section, .learning-journey-section {
  padding-block: clamp(40px, 5vw, 64px);
}
.section-heading { margin-bottom: 28px; }
.hero-simple .hero-actions { margin-top: 24px; }
.hero-simple .hero-social-proof { margin-top: 20px; }
.section-heading p, .why-intro > p, .faq-intro > p,
.faq-answer p, .newsletter-banner p, .testimonial-card blockquote {
  line-height: 1.65;
}
.masterclass-feature h2 { margin-top: 14px; }
.masterclass-feature-copy > p { margin-top: 14px; line-height: 1.65; }
.masterclass-feature-cta { margin-top: 22px; }
.journey-intro > p, .journey-step p { line-height: 1.65; }
@media (max-width: 767.98px) {
  .hero-simple .hero-description { margin-top: 16px; }
  .section-heading { margin-bottom: 24px; }
  .faq-section { padding-block: 40px; }
}
