.course-promo-page {
  --promo-paper: rgba(248, 253, 255, .86);
  --promo-blue: #195697;
  --promo-sky: #59cff0;
  --promo-pink: #ed4f9c;
  overflow-x: hidden;
}

.course-promo-page[data-page="courses"] {
  background-image: var(--page-bg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.course-promo-page #content {
  background-image: none;
}

.course-promo-toolbar .section-actions {
  position: relative;
}

.course-promo-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .55rem .85rem;
  border: 3px solid #fff;
  border-radius: 17px;
  background: linear-gradient(#ff94c8, #e84a98 70%, #ad2c70);
  box-shadow: 0 5px 0 #92235d;
  color: #fff;
  font: 900 .92rem "Trebuchet MS", Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.course-promo-account:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 #92235d;
}

.course-promo-account:active {
  transform: translateY(1px);
  box-shadow: 0 4px 0 #92235d;
}

.course-promo :is(a, button, summary, input):focus-visible,
.course-promo-toolbar :is(a, button, input):focus-visible {
  outline: 4px solid #ffe45c;
  outline-offset: 4px;
}

.course-promo {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-top: clamp(1rem, 3vw, 2rem);
}

.course-promo-hero,
.promo-section,
.trial-banner {
  border: 6px solid rgba(255, 255, 255, .98);
  border-radius: 34px;
  background: var(--promo-paper);
  backdrop-filter: blur(5px);
  box-shadow: 0 9px 0 #54c8e7, var(--shadow);
}

.course-promo-hero {
  overflow: hidden;
}

.course-promo-hero__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2128 / 739;
  object-fit: contain;
  background: #c8f2ff;
}

.course-promo-hero__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: clamp(1.25rem, 3vw, 2.4rem);
  background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(226, 248, 255, .98));
}

.course-promo-hero__copy h2,
.promo-section__heading h2,
.trial-banner h2 {
  margin: 0;
  color: var(--promo-blue);
  font: 1000 clamp(1.85rem, 4vw, 3.1rem)/1.08 "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
}

.course-promo-hero__copy p {
  max-width: 760px;
  margin: .75rem 0 0;
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  font-weight: 700;
  line-height: 1.55;
}

.course-promo-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .85rem;
}

.course-promo-actions .resource-link,
.promo-section__action .resource-link,
.course-choice .resource-link,
.trial-banner .resource-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0;
  text-align: center;
}

.promo-section {
  padding: clamp(1.4rem, 4vw, 3rem);
}

.promo-section:nth-of-type(even) {
  box-shadow: 0 9px 0 #936bd8, var(--shadow);
}

.promo-section__heading {
  width: min(820px, 100%);
  margin: 0 auto clamp(1.35rem, 3vw, 2.25rem);
  text-align: center;
}

.promo-section__heading p,
.trial-banner p {
  margin: .75rem auto 0;
  color: #234f7c;
  font-size: clamp(1rem, 1.8vw, 1.17rem);
  font-weight: 700;
  line-height: 1.55;
}

.promo-kicker {
  display: inline-block;
  margin-bottom: .55rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: #ffe45c;
  color: #714d00;
  font-weight: 900;
}

.learning-path {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.learning-step {
  position: relative;
  min-width: 0;
  padding: .9rem;
  border: 4px solid #fff;
  border-radius: 25px;
  background: linear-gradient(155deg, #fff, #e4f8ff);
  box-shadow: 0 6px 0 #5ac3df, 0 12px 24px rgba(22, 71, 111, .13);
  text-align: center;
}

.learning-step:not(:last-child)::after {
  content: "›";
  position: absolute;
  z-index: 2;
  top: 31%;
  right: -.9rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: #ffe45c;
  color: #8a5700;
  font-size: 1.55rem;
  font-weight: 1000;
  line-height: 1.38rem;
}

.learning-step:nth-child(even) {
  box-shadow: 0 6px 0 #ed639f, 0 12px 24px rgba(22, 71, 111, .13);
}

.learning-step img {
  display: block;
  width: min(150px, 100%);
  height: auto;
  margin: 0 auto .4rem;
  aspect-ratio: 1;
  object-fit: contain;
}

.learning-step > span {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #ffe45c;
  color: #714d00;
  font-weight: 1000;
}

.learning-step h3,
.promo-card h3,
.video-points h3 {
  margin: .55rem 0 .4rem;
  color: var(--promo-blue);
  font: 1000 1.25rem/1.18 "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
}

.learning-step p,
.promo-card p {
  margin: 0;
  font-weight: 700;
  line-height: 1.45;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.25rem;
}

.included-card {
  grid-column: span 2;
}

.included-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.promo-card {
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 28px;
  background: linear-gradient(145deg, #fff, #e7f9ff);
  box-shadow: 0 7px 0 #5ac3df, 0 15px 28px rgba(22, 71, 111, .16);
}

.promo-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #eafaff;
  object-fit: cover;
}

.included-card > img {
  height: auto;
  aspect-ratio: 4 / 3;
  padding: .65rem;
  object-fit: contain;
}

.promo-card > div {
  padding: 1rem 1.1rem 1.25rem;
}

.action-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
}

.video-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  aspect-ratio: 16 / 9;
  border: 6px solid #fff;
  border-radius: 30px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .6), transparent 32%),
    linear-gradient(145deg, #8de5f8, #53c1e6 58%, #7e68d5);
  box-shadow: 0 8px 0 #1b8fbd, 0 18px 32px rgba(22, 71, 111, .2);
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 2px rgba(14, 62, 105, .3);
}

.video-placeholder__play {
  display: grid;
  place-items: center;
  width: clamp(70px, 10vw, 100px);
  height: clamp(70px, 10vw, 100px);
  padding-left: .4rem;
  border: 5px solid #fff;
  border-radius: 50%;
  background: linear-gradient(#ff91c6, #e94494);
  box-shadow: 0 7px 0 #a72b6b;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.video-placeholder strong {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.video-points ul {
  display: grid;
  gap: .75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.video-points li {
  position: relative;
  padding-left: 1.85rem;
  font-weight: 700;
  line-height: 1.45;
}

.video-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2da75a;
  font-size: 1.3rem;
  font-weight: 1000;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.material-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.material-card > img {
  height: auto;
  aspect-ratio: 4 / 3;
  padding: .65rem;
  object-fit: contain;
}

.material-card > .material-card__portrait {
  object-fit: contain;
}

.material-card > div {
  flex: 1;
}

.promo-section__action {
  margin: 2rem 0 0;
  text-align: center;
}

.course-choice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
  align-items: center;
  gap: 1.35rem;
}

.course-choice-card {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1rem, 2vw, 1.6rem);
  min-width: 0;
  padding: clamp(.8rem, 2vw, 1.25rem);
  text-decoration: none;
}

.course-choice-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.course-choice-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.course-choice-card__content h3 {
  margin: .7rem 0;
  color: var(--promo-blue);
  font: 1000 clamp(1.25rem, 2.3vw, 1.8rem)/1.15 "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
}

.course-choice-card__content p {
  margin: .35rem 0;
  font-weight: 700;
  line-height: 1.45;
}

.course-choice-card__access {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: .8rem 0 1rem;
}

.course-choice-card__access span {
  padding: .5rem .7rem;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #ffe45c;
  box-shadow: 0 3px 0 #d49a1e;
  color: #714d00;
  font-size: .9rem;
  font-weight: 900;
}

.course-choice-card__content .resource-link {
  align-self: flex-start;
  margin-top: .35rem;
}

.course-choice {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.course-choice--available {
  box-shadow: 0 7px 0 #48bd65, 0 15px 28px rgba(22, 71, 111, .16);
}

.course-choice h3 {
  margin: .8rem 0 .65rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.course-choice dl {
  display: grid;
  gap: .65rem;
  width: 100%;
  margin: 1.1rem 0;
}

.course-choice dl div {
  display: grid;
  grid-template-columns: minmax(110px, .35fr) 1fr;
  gap: .75rem;
  padding: .75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
}

.course-choice dt {
  font-weight: 1000;
}

.course-choice dd {
  margin: 0;
  font-weight: 700;
}

.access-options {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 0 0 1.4rem;
}

.access-options span {
  padding: .55rem .8rem;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #ffe45c;
  box-shadow: 0 4px 0 #d49a1e;
  color: #714d00;
  font-weight: 900;
}

.course-choice .resource-link {
  align-self: flex-start;
  margin-top: auto;
}

.course-choice--coming {
  min-height: 0;
  align-self: center;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #fffaf0, #f4eaff);
  box-shadow: 0 7px 0 #936bd8, 0 15px 28px rgba(22, 71, 111, .16);
  text-align: center;
}

.course-choice--coming > span {
  color: #f1b526;
  font-size: 3.5rem;
  filter: drop-shadow(0 4px 0 rgba(165, 101, 17, .2));
}

.trial-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(130deg, rgba(238, 252, 255, .9), rgba(255, 250, 220, .9));
  box-shadow: 0 9px 0 #ed639f, var(--shadow);
}

.trial-banner p {
  max-width: 760px;
  margin-left: 0;
}

.trial-banner__actions {
  display: grid;
  justify-items: center;
  gap: .8rem;
  max-width: 310px;
}

.trial-placeholder:disabled {
  opacity: .72;
  cursor: not-allowed;
}

.trial-free-link {
  color: var(--promo-blue);
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.faq-section {
  margin-bottom: 1rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
  width: min(880px, 100%);
  margin: auto;
}

.faq-list details {
  border: 4px solid #fff;
  border-radius: 22px;
  background: #f7fdff;
  box-shadow: 0 5px 0 #66cbe7;
}

.faq-list summary {
  position: relative;
  padding: 1.05rem 3.3rem 1.05rem 1.2rem;
  color: var(--promo-blue);
  font-size: 1.08rem;
  font-weight: 1000;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--promo-pink);
  color: #fff;
  font-size: 1.5rem;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0;
  padding: 0 1.2rem 1.2rem;
  color: #234f7c;
  font-weight: 700;
  line-height: 1.6;
}

.future-faq-link {
  width: max-content;
  max-width: 100%;
  margin: 1.7rem auto 0;
  color: #68849f;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-style: dotted;
  cursor: default;
}

@media (max-width: 1050px) {
  .course-promo-toolbar .section-breadcrumbs {
    display: none;
  }

  .learning-path {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .learning-step::after {
    display: none;
  }

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

@media (max-width: 820px) {
  .course-promo-hero__copy,
  .trial-banner,
  .action-layout,
  .course-choice-grid {
    grid-template-columns: 1fr;
  }

  .course-promo-actions {
    justify-content: flex-start;
  }

  .course-choice-card {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .course-choice-card > img {
    width: min(420px, 100%);
  }

  .course-choice-card__content {
    width: min(560px, 100%);
  }

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

  .included-card,
  .included-card:nth-child(4) {
    grid-column: auto;
  }

  .included-card:last-child {
    grid-column: 1 / -1;
    width: min(420px, 100%);
    justify-self: center;
  }

  .trial-banner .resource-link {
    justify-self: start;
  }

  .trial-banner__actions {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .course-promo-toolbar {
    align-items: center;
  }

  .course-promo-toolbar .section-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .course-promo-toolbar .section-search {
    min-width: 0;
  }

  .course-promo-account {
    min-height: 42px;
    padding: .45rem .65rem;
    font-size: .84rem;
  }

  .course-promo {
    width: min(94%, 1260px);
  }
}

@media (max-width: 600px) {
  .course-promo-toolbar .section-actions {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .course-promo-toolbar .section-search {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .course-promo-account,
  .course-promo-toolbar .section-language {
    grid-row: 2;
  }

  .course-promo-hero,
  .promo-section,
  .trial-banner {
    border-width: 4px;
    border-radius: 25px;
  }

  .course-promo-hero__copy {
    padding: 1.15rem;
  }

  .course-promo-actions {
    display: grid;
  }

  .course-promo-actions .resource-link {
    width: 100%;
  }

  .promo-section {
    padding: 1.15rem;
  }

  .learning-path,
  .included-grid,
  .materials-grid {
    grid-template-columns: 1fr;
  }

  .included-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .learning-step {
    display: grid;
    grid-template-columns: 92px auto minmax(0, 1fr);
    align-items: center;
    gap: .2rem .7rem;
    text-align: left;
  }

  .learning-step img {
    grid-row: 1 / span 2;
    width: 92px;
    margin: 0;
  }

  .learning-step > span {
    grid-column: 2;
  }

  .learning-step h3 {
    grid-column: 3;
    margin: 0;
  }

  .learning-step p {
    grid-column: 2 / -1;
  }

  .course-choice dl div {
    grid-template-columns: 1fr;
    gap: .25rem;
  }

  .access-options {
    display: grid;
    width: 100%;
  }

  .trial-banner .resource-link {
    width: 100%;
  }

  .trial-banner__actions {
    width: 100%;
    max-width: none;
  }
}

.course-promo-toolbar .section-breadcrumbs .section-crumb-separator:last-of-type { display: none; }

@media (prefers-reduced-motion: reduce) {
  .course-promo *,
  .course-promo-toolbar * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
