body:has(.cz-academy-hero) { padding-top: 0 !important; }
body:has(.cz-academy-hero):not(.cz-menu-open) #czSiteHeader:not(.cz-mab-header-solid) .cz-dnav-marketplace-cta:not(:hover) { color: #fff; }

.cz-academy {
  --academy-ink: #19191c;
  --academy-muted: #5f5c65;
  --academy-pink: #b72362;
  --academy-blush: #fce8f1;
  --academy-green: #246449;
  --academy-mint: #e2f3e9;
  --academy-line: #e9e5eb;
  color: var(--academy-ink);
}

.cz-academy-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(590px, 38vw, 760px);
  padding: 110px 0 70px;
  background: #312723;
  color: #fff;
}

.cz-academy-hero picture,
.cz-academy-hero img,
.cz-academy-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }

.cz-academy-hero picture { z-index: -2; }
.cz-academy-hero img { object-fit: cover; object-position: center 55%; }
.cz-academy-hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(0deg, transparent 72%, #1913114d), linear-gradient(90deg, #211a16ed 0%, #201916d9 25%, #201916a6 49%, #20191612 81%);
}

.cz-academy-hero__inner { width: min(1140px, calc(100% - 72px)); margin-inline: auto; }
.cz-academy-hero__copy { max-width: 585px; }
.cz-academy-hero .cz-marketplace-feature-eyebrow { margin-top: 0; }
.cz-academy-hero :is(.cz-marketplace-feature-title, .cz-marketplace-feature-subtitle) { color: #fff; }
.cz-academy-hero .cz-marketplace-feature-title { text-wrap: initial; }

.cz-academy-catalog { background: #faf8fb; padding: clamp(68px, 8vw, 122px) 0; }
.cz-academy-catalog__inner { width: min(1120px, calc(100% - 56px)); margin-inline: auto; }
.cz-academy-catalog__heading { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.cz-academy-catalog__heading .cz-home-feature__eyebrow { color: var(--academy-pink); }
.cz-academy-catalog__heading h2 { margin: 0; font-size: clamp(32px, 4.6vw, 59px); line-height: 1.03; letter-spacing: -.052em; text-wrap: balance; }
.cz-academy-catalog__heading > p:last-child { max-width: 600px; margin: 18px auto 0; color: var(--academy-muted); line-height: 1.55; }

.cz-academy-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 20px; }
.cz-academy-tabs button {
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid #e6e0e8;
  border-radius: 999px;
  background: #fff;
  color: var(--academy-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}
.cz-academy-tabs button:hover { border-color: #c66a94; }
.cz-academy-tabs button[aria-selected="true"] { border-color: transparent; background: #29232b; color: #fff; }
.cz-academy :is(button, [role="tabpanel"]):focus-visible { outline: 2px solid var(--academy-pink); outline-offset: 3px; }

.cz-academy-panels { display: grid; border-radius: 26px; background: #f0ebf1; }
.cz-academy-panel {
  display: grid;
  grid-area: 1 / 1;
  grid-template-columns: minmax(0, .46fr) minmax(0, .54fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "title scene" "topics scene";
  gap: 24px clamp(20px, 4vw, 62px);
  padding: clamp(22px, 4vw, 53px);
  border-radius: inherit;
  min-width: 0;
}
.cz-academy-panel[hidden] { display: grid; visibility: hidden; pointer-events: none; }
.cz-academy-panel__title { grid-area: title; }
.cz-academy-panel__title p { margin: 0 0 8px; color: var(--academy-pink); font-size: 12px; font-weight: 700; }
.cz-academy-panel__title h3 { margin: 0; font-size: clamp(23px, 2.4vw, 34px); line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
.cz-academy-panel__topics { grid-area: topics; }
.cz-academy-panel__topics h4 { margin: 0 0 12px; font-size: 14px; }
.cz-academy-panel__topics ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
.cz-academy-panel__topics li { position: relative; padding-left: 12px; color: #454049; font-size: 13px; line-height: 1.4; }
.cz-academy-panel__topics li::before { content: ""; position: absolute; top: .56em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--academy-pink); }

.cz-academy .cz-feature-visual { display: grid; place-items: center; min-height: 0; aspect-ratio: 1 / 1; padding: 8%; background: #f5edf5; }
.cz-academy .cz-feature-details__visual--academy-skills { background: #f4eff9; }
.cz-academy .cz-feature-details__visual--academy-practice { background: #f9eef2; }
.cz-academy .cz-feature-details__visual--academy-progress { background: #eaf4ef; }
.cz-academy .cz-feature-details__visual--academy-team { padding: 0; }
.cz-academy-team { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.cz-academy-detail { width: 100%; }
.cz-academy-detail--skills { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.cz-academy-skill { display: grid; place-items: center; align-content: center; grid-column: span 3; padding: 9px; border-radius: 16px; background: #fff; text-align: center; font-size: clamp(10px, 1.05vw, 13px); line-height: 1.3; }
.cz-academy-skill:last-child { grid-column: 2 / span 4; }
.cz-academy-skill img { display: block; width: 72%; max-width: 110px; height: auto; }
.cz-academy-detail--skills[data-phase="start"] .cz-academy-skill:nth-child(n+2),
.cz-academy-detail--skills[data-phase="middle"] .cz-academy-skill:last-child { opacity: .25; transform: translateY(5px); }

.cz-academy-exercise { position: relative; display: grid; gap: 13px; width: min(100%, 360px); margin-inline: auto; padding: clamp(14px, 2.3vw, 26px); border: 1px solid var(--academy-line); border-radius: 18px; background: #fff; box-shadow: 0 12px 26px #39253f0d; font-size: clamp(11px, 1.14vw, 14px); line-height: 1.4; }
.cz-academy-exercise > strong { font-size: clamp(14px, 1.5vw, 19px); letter-spacing: -.02em; }
.cz-academy-exercise__formula, .cz-academy-exercise__amount { text-align: center; }
.cz-academy-exercise__formula { color: var(--academy-muted); }
.cz-academy-exercise__amount { font-size: clamp(23px, 3vw, 36px); font-weight: 750; font-variant-numeric: tabular-nums; line-height: 1; }
.cz-academy-exercise__slider, .cz-demo-price__slider { --position: var(--practice-position, 66.667%); position: relative; height: 6px; margin: 6px 8px 0; border-radius: 6px; background: #eee9ee; }
.cz-academy-exercise__slider i, .cz-demo-price__slider i { position: absolute; inset: 0 auto 0 0; width: var(--position); border-radius: inherit; background: #de528d; }
.cz-academy-exercise__slider i::after, .cz-demo-price__slider i::after { content: ""; position: absolute; top: 50%; right: 0; width: 13px; height: 13px; transform: translate(50%, -50%); border: 2px solid white; border-radius: 50%; background: #b72362; box-shadow: 0 0 0 1px #b72362; }
.cz-academy-exercise__scale { display: flex; justify-content: space-between; color: var(--academy-muted); font-size: .85em; }
.cz-academy-exercise__feedback { min-height: 32px; margin: 0; padding: 8px 10px; border-radius: 9px; background: var(--academy-mint); color: var(--academy-green); font-size: .9em; font-weight: 600; }
.cz-academy-detail:not([data-phase="final"]) .cz-academy-exercise__feedback { visibility: hidden; }
.cz-academy-cursor { position: absolute; z-index: 2; width: 18px; height: 21px; background: #392939; filter: drop-shadow(0 1px 1px #fff); clip-path: polygon(8% 0, 91% 57%, 55% 62%, 72% 91%, 51% 100%, 37% 71%, 11% 91%); pointer-events: none; }
.cz-academy-exercise__slider .cz-academy-cursor, .cz-demo-price__slider .cz-academy-cursor { left: var(--position); top: 3px; }
[data-phase="final"] .cz-academy-cursor { visibility: hidden; }
.cz-academy-exercise ol { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cz-academy-exercise li { display: flex; align-items: center; gap: 8px; min-height: 31px; padding: 5px 8px; border-radius: 7px; background: #f6f3f6; }
.cz-academy-exercise li b { color: #6f5266; }
.cz-academy-detail--maya[data-phase="middle"] .cz-academy-coach strong { color: #70446b; }
.cz-academy-detail--maya[data-phase="middle"] li:first-child { background: #ffebe8; color: #8f3c39; }
.cz-academy-detail--maya[data-phase="final"] li:last-child { background: var(--academy-mint); color: var(--academy-green); }
.cz-academy-exercise--maya .cz-academy-cursor { left: 74%; top: var(--cursor-y, 30%); }
.cz-academy-coach { display: flex; gap: 9px; align-items: start; min-height: 74px; padding: 8px; border-radius: 10px; background: #f7eff7; }
.cz-academy-coach img { width: 33px; height: 33px; border-radius: 50%; }
.cz-academy-coach p { margin: 2px 0 0; font-size: .9em; }
.cz-academy-detail--maya[data-phase="start"] .cz-academy-coach { visibility: hidden; }
.cz-academy-detail--maya:not([data-phase="middle"]) .cz-academy-coach__retry,
.cz-academy-detail--maya:not([data-phase="final"]) .cz-academy-coach__correct { display: none; }
.cz-academy-progress li i { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid #cdbdc9; border-radius: 50%; color: transparent; font-style: normal; font-size: 11px; }
.cz-academy-progress li.is-complete i, [data-phase="final"] .cz-academy-progress li i { border-color: var(--academy-green); background: var(--academy-mint); color: var(--academy-green); }
.cz-academy-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 370px) {
  .cz-academy-panel__topics ul { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 767px) {
  .cz-academy-hero { min-height: clamp(660px, 100svh, 760px); align-items: start; padding: 110px 0 56px; }
  .cz-academy-hero__inner { width: calc(100% - 44px); }
  .cz-academy-hero img { object-position: 56% center; }
  .cz-academy-hero::after { background: linear-gradient(180deg, #201915e6, #201915bf 32%, #20191594 63%, #2019151a 92%); }
  .cz-academy-hero .cz-marketplace-feature-title { font-size: clamp(36px, 8.9vw, 54px); }
  .cz-academy-hero .cz-marketplace-feature-eyebrow { font-size: 12px; margin-bottom: 16px; }
  .cz-academy-hero .cz-marketplace-feature-subtitle { margin-top: 18px; }
  .cz-academy-catalog__inner { width: calc(100% - 32px); }
  .cz-academy-tabs { gap: 7px; margin-bottom: 18px; }
  .cz-academy-tabs button { padding-inline: clamp(8px, 2.6vw, 15px); font-size: clamp(12px, 3.35vw, 13px); }
  .cz-academy-panel { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(76px, auto) auto 1fr; grid-template-areas: "title" "scene" "topics"; gap: 14px; padding: 19px; }
  .cz-academy .cz-feature-visual { padding: 6%; }
  .cz-academy .cz-feature-details__visual--academy-team { padding: 0; }
}

@media (max-width: 375px) {
  .cz-academy-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
  }
  .cz-academy-tabs button { max-width: 100%; white-space: normal; line-height: 1.2; }
}
