@font-face {
  font-family: 'Course Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/roboto-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Course Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/roboto-latin-wght-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF, U+FEFF, U+FFFD;
}
.course-detail-page {
  --ink: #0b0a21;
  --muted: #777195;
  --purple: #5425ff;
  --purple-dark: #3810ec;
  --line: #e7e1ff;
  font-family: 'Course Roboto', Arial, sans-serif;
  background: #fefeff;
  line-height: 1.5;
}
.course-detail-theme .course-icon {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.course-detail-page h1,
.course-detail-page h2,
.course-detail-page h3,
.course-detail-page p {
  margin: 0;
}
.course-detail-page h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.045em;
}
.course-detail-page h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.course-hero,
.course-decorated-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.course-detail-page .course-surface-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.course-hero {
  min-height: 382px;
}
.course-hero-inner {
  width: min(1040px, calc(100% - 180px));
  margin: auto;
  padding-top: 28px;
}
.course-back {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  gap: 7px;
  color: var(--purple-dark);
  font-size: 13px;
  text-decoration: none;
}
.course-back .course-icon {
  width: 13px;
  height: 13px;
}
.course-hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  min-height: 304px;
}
.course-hero-copy {
  z-index: 1;
  padding: 51px 0 37px;
}
.course-hero .eyebrow {
  margin-bottom: 8px;
  color: #3908ff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.28em;
}
.course-hero h1 {
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 6px;
}
.course-hero-summary {
  max-width: 440px;
  color: #6e688e;
  font-size: 16px;
  line-height: 1.45;
}
.course-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 21px 0 0;
  padding: 0;
  list-style: none;
}
.course-hero-facts li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 37px;
  padding: 8px 14px;
  border-radius: 12px;
  background: #efe9ffb8;
  color: #5535cb;
  font-size: 12px;
  white-space: nowrap;
}
.course-hero-facts .course-icon {
  width: 20px;
  height: 20px;
}
.course-hero-art {
  position: absolute;
  width: 470px;
  right: -49px;
  top: 0;
}
.course-hero-art > img {
  display: block;
  width: 100%;
  height: auto;
}
.course-detail-container {
  width: min(1120px, calc(100% - 64px));
  padding-right: 0;
  margin: 28px auto 0;
  margin-left: max(34px, calc((100% - 1120px) / 2));
}
.course-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.03fr) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}
.course-curriculum {
  min-width: 0;
}
.course-decorated-panel {
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}
.course-icon-disc {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #eee8ffb8;
}
.course-icon-disc .course-icon {
  width: 26px;
  height: 26px;
}
.course-welcome {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 21px 21px;
  min-height: 173px;
}
.course-welcome h2 {
  margin: 7px 0 12px;
  font-size: 22px;
  letter-spacing: -0.045em;
}
.course-welcome p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}
.course-program-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 27px 0 13px;
}
.course-program-heading .course-icon-disc {
  border-radius: 20px;
}
.course-program-heading p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  padding-right: 6px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.course-program-heading p span + span {
  padding-left: 16px;
  background: url('/assets/course-icons/dot.svg') left center / 4px 4px no-repeat;
}
.course-availability-note {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  padding: 10px 23px;
  margin-bottom: 12px !important;
  border-radius: 14px;
  background: #f3efffc9;
  color: #6d6491;
  font-size: 12px;
  letter-spacing: -0.035em;
  line-height: 1.4;
}
.course-availability-note .course-icon {
  width: 19px;
  height: 19px;
}
.course-detail-page .outline-module {
  border-radius: 15px;
  background: #ffffffa8;
}
.course-detail-page .outline-module > summary {
  margin: 0;
  min-height: 80px;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  gap: 29px;
  padding: 16px 25px 16px 23px;
}
.course-detail-page .outline-module-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f1edff;
  color: #4316ff;
  font-size: 16px;
  font-weight: 600;
}
.course-detail-page .outline-module summary strong {
  color: #3810ef;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.course-detail-page .outline-module summary small {
  margin-top: 3px;
  color: #77708f;
  font-size: 14px;
  font-weight: 600;
}
.course-detail-page .outline-chevron .course-icon {
  width: 16px;
  height: 16px;
}
.course-detail-page .outline-lessons {
  margin: 0 18px 15px;
  padding: 0 16px;
  border: 1px solid #eee9ff;
  border-radius: 13px;
  background: #ffffff9e;
}
.course-detail-page .outline-lessons li {
  border-top: 1px solid #e9e3f9;
}
.course-detail-page .outline-lessons li:first-child {
  border-top: 0;
}
.course-detail-page .outline-lesson-static,
.course-detail-page .outline-lessons a {
  min-height: 67px;
  gap: 24px;
  padding: 10px 1px;
}
.course-detail-page .lesson-state {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  border-color: #e4dcff;
  background: #fff;
}
.course-detail-page .lesson-state .course-icon {
  width: 21px;
  height: 21px;
}
.course-detail-page .outline-lesson-copy {
  font-size: 14px;
  line-height: 1.4;
}
.course-detail-page .outline-lesson-copy small {
  font-size: 14px;
  margin-top: 3px;
}
.course-detail-page .is-pending .outline-lesson-copy {
  color: var(--muted);
}
.course-purchase-panel {
  position: sticky;
  top: 78px;
  min-height: 616px;
  padding: 24px 26px;
  box-shadow: 0 16px 40px #5633b00a;
}
.purchase-crown {
  margin-bottom: 20px;
  background: #f2edff;
  box-shadow: 0 6px 14px #5f35c510;
}
.course-purchase-panel h2 {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.course-purchase-panel .course-purchase-terms {
  margin: 12px 0;
  line-height: 1.65;
}
.course-price {
  display: block;
  margin: 11px 0 19px;
  font-size: 48px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.course-purchase-benefits {
  display: grid;
  gap: 8px;
  margin: 0 0 44px;
  padding: 0;
  list-style: none;
}
.course-purchase-benefits li {
  display: flex;
  align-items: start;
  gap: 13px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: -0.035em;
  line-height: 1.45;
}
.course-purchase-benefits li > span:last-child {
  padding-top: 5px;
}
.course-benefit-check {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eee8ffb5;
}
.course-benefit-check .course-icon {
  width: 19px;
  height: 19px;
}
.course-detail-page .course-purchase-button {
  gap: 10px;
  min-height: 58px;
  padding: 16px 17px;
  border-radius: 18px;
  border: 0;
  background: #8958f2;
  box-shadow:
    inset 0 8px 17px #ffffff29,
    0 5px 12px #6844db22;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.course-detail-page .course-purchase-button:disabled {
  opacity: 1;
  cursor: not-allowed;
}
.course-purchase-button .course-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.course-purchase-button:hover:enabled {
  background: #7140df;
}
.course-payment-note {
  display: block;
  margin-top: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.course-access-panel {
  margin: 28px 2px 0;
  padding: 20px 27px 18px;
}
.course-access-heading {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-bottom: 5px;
}
.course-access-heading .course-icon-disc {
  width: 52px;
  height: 52px;
}
.course-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.course-access-grid li {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 25px;
  min-height: 118px;
  padding: 17px 20px;
  border: 1px solid #eae4ff;
  border-radius: 15px;
  background: #ffffffa8;
}
.course-access-grid .course-icon-disc {
  width: 68px;
  height: 68px;
  background: #f2edffb5;
}
.course-access-grid .course-icon {
  width: 34px;
  height: 34px;
}
.course-access-grid h3 {
  margin-bottom: 4px;
}
.course-access-grid p {
  max-width: 242px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}
.course-detail-page .course-automatic-access {
  margin: 18px auto 34px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}
@media (min-width: 1100px) {
  .course-hero-art {
    width: 530px;
    top: -10px;
    right: -36px;
  }
  .course-hero-content {
    min-height: 330px;
  }
}
@media (max-width: 820px) {
  .course-hero-inner {
    width: calc(100% - 68px);
  }
  .course-hero-art {
    width: 420px;
    right: -42px;
    top: 28px;
  }
  .course-hero-summary {
    font-size: 15px;
  }
}
@media (max-width: 760px) {
  .course-detail-grid {
    grid-template-columns: 1fr;
  }
  .course-purchase-panel {
    position: relative;
    top: auto;
    min-height: 0;
    padding: 26px;
  }
  .course-purchase-benefits {
    margin-bottom: 26px;
  }
  .course-purchase-panel .course-surface-art {
    object-position: center bottom;
  }
  .course-access-panel {
    padding: 20px;
    margin-inline: 0;
  }
  .course-access-grid {
    grid-template-columns: 1fr;
  }
  .course-hero-art {
    width: 380px;
  }
  .course-hero-copy {
    max-width: 345px;
  }
  .course-hero-facts {
    gap: 7px;
  }
  .course-hero-facts li {
    padding: 8px 10px;
    font-size: 11px;
    gap: 6px;
  }
}
@media (max-width: 600px) {
  .course-hero-inner,
  .course-detail-container {
    width: calc(100% - 36px);
    margin-inline: auto;
  }
  .course-hero-inner {
    padding-top: 17px;
  }
  .course-back {
    min-height: 34px;
    font-size: 14px;
  }
  .course-hero-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .course-hero-art {
    position: static;
    order: -1;
    width: min(100%, 330px);
    margin: 0 auto;
  }
  .course-hero-copy {
    max-width: none;
    padding: 0 0 30px;
  }
  .course-hero h1 {
    font-size: 64px;
    margin-bottom: 14px;
  }
  .course-hero-summary {
    font-size: 16px;
  }
  .course-hero-facts {
    margin-top: 20px;
  }
  .course-detail-container {
    margin-top: 22px;
  }
  .course-welcome {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 16px;
  }
  .course-welcome .course-icon-disc {
    width: 42px;
    height: 42px;
  }
  .course-welcome h2 {
    font-size: 20px;
    margin-top: 4px;
    margin-bottom: 10px;
  }
  .course-welcome p {
    font-size: 14px;
  }
  .course-program-heading {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0 12px;
    margin-top: 24px;
  }
  .course-program-heading .course-icon-disc {
    width: 44px;
    height: 44px;
    grid-row: 1 / 3;
    border-radius: 17px;
  }
  .course-program-heading h2,
  .course-access-heading h2 {
    font-size: 23px;
  }
  .course-program-heading p {
    margin: 4px 0 0;
    padding: 0;
  }
  .course-availability-note {
    align-items: start;
    padding: 13px 15px;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
  }
  .course-detail-page .outline-module > summary {
    grid-template-columns: 38px minmax(0, 1fr) 16px;
    padding: 15px 13px;
    gap: 12px;
  }
  .course-detail-page .outline-module-number {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
  .course-detail-page .outline-module summary strong {
    font-size: 16px;
  }
  .course-detail-page .outline-module summary small {
    font-size: 13px;
  }
  .course-detail-page .outline-lessons {
    margin: 0 10px 12px;
    padding: 0 10px;
  }
  .course-detail-page .outline-lesson-static {
    gap: 13px;
    min-height: 72px;
  }
  .course-detail-page .lesson-state {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }
  .course-detail-page .outline-lesson-copy {
    font-size: 14px;
  }
  .course-access-panel {
    padding: 18px 13px 13px;
  }
  .course-access-heading {
    gap: 13px;
    margin-bottom: 14px;
  }
  .course-access-heading .course-icon-disc {
    width: 44px;
    height: 44px;
  }
  .course-access-grid li {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 13px;
    min-height: 110px;
  }
  .course-access-grid .course-icon-disc {
    width: 54px;
    height: 54px;
  }
  .course-access-grid .course-icon {
    width: 30px;
    height: 30px;
  }
  .course-access-grid p {
    font-size: 14px;
  }
}
