:root {
  color-scheme: light;
  font-family: "Montserrat", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --green: #309d32;
  --green-dark: #218c28;
  --ink: #171514;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #faf9f7;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

.site-footer {
  border-top: 1px solid #e4eadf;
  background: linear-gradient(115deg, #f5f9f0, #fff 58%, #f7faf3);
  color: #482d2b;
}

.site-footer__inner {
  display: grid;
  width: min(100% - 9vw, 1240px);
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 34px;
  margin-inline: auto;
  padding-block: 30px;
}

.site-footer__author p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer__copyright {
  font-weight: 700;
}

.site-footer__registration {
  margin-top: 5px !important;
  color: #68615d;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 24px;
}

.site-footer__nav a {
  color: #514743;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 160ms ease;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: #318a30;
  text-decoration: underline;
}

.site-footer__nav a:focus-visible {
  outline: 2px solid #62b94b;
  outline-offset: 3px;
  border-radius: 2px;
}

.back-to-top {
  position: fixed;
  z-index: 20;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: max(24px, env(safe-area-inset-left));
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid #d4e7ca;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #f0f8e9);
  box-shadow: 0 7px 20px rgb(46 57 38 / 15%);
  color: #318a30;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 220ms ease, transform 220ms ease, background 180ms ease, box-shadow 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top svg {
  width: 25px;
  height: 25px;
  transition: transform 180ms ease;
}

.back-to-top:hover {
  border-color: #73b95d;
  background: linear-gradient(145deg, #f7fbf3, #e5f3dc);
  box-shadow: 0 10px 24px rgb(46 97 38 / 22%);
  transform: translateY(-3px);
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 3px solid #62b94b;
  outline-offset: 3px;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  background-color: #faf9f7;
  background-image: url("bg_hero.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero__inner {
  display: grid;
  width: min(100% - 9vw, 1510px);
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, .92fr);
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(24px, 4vw, 68px);
  row-gap: clamp(16px, 2.4vh, 28px);
  margin-inline: auto;
  padding-block: clamp(30px, 5vh, 62px) clamp(24px, 4vh, 42px);
}

.hero__copy {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  align-self: center;
}

.hero__intro {
  max-width: 700px;
  margin: 0 0 clamp(24px, 4vh, 42px);
  padding-left: clamp(14px, 1.4vw, 22px);
  border-left: 5px solid #55c74b;
  color: var(--ink);
  font-size: clamp(15px, 1.28vw, 21px);
  font-weight: 800;
  line-height: 1.2;
}

.hero__eyebrow {
  margin: 0 0 clamp(8px, 1.5vh, 16px);
  color: #696765;
  font-size: clamp(25px, 2.8vw, 42px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.hero__title-dark {
  max-width: 100%;
  color: #482d2b;
  font-size: clamp(34px, 4.05vw, 64px);
  letter-spacing: -.055em;
  white-space: nowrap;
}

.hero__title-green {
  color: var(--green);
  font-size: clamp(43px, 5.15vw, 78px);
  letter-spacing: -.06em;
}

.hero__swoosh {
  display: block;
  width: min(60%, 420px);
  height: 14px;
  margin: clamp(10px, 1.6vh, 16px) 0 clamp(18px, 2.8vh, 30px);
  border-top: 8px solid #d7f3ad;
  border-radius: 50%;
  transform: rotate(2deg);
}

.benefits {
  display: grid;
  justify-items: start;
  gap: clamp(7px, 1vh, 11px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefits__item {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  padding: 8px 15px;
  border: 1px solid rgb(255 255 255 / 82%);
  border-radius: 16px;
  background: rgb(255 255 255 / 88%);
  color: var(--ink);
  font-size: clamp(13px, 1.03vw, 16px);
  font-weight: 500;
  line-height: 1.35;
}

.benefits__check {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border: 2px solid var(--green);
  border-radius: 7px;
  color: var(--green-dark);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

.author {
  display: flex;
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  flex-direction: column;
  align-items: center;
  align-self: center;
  justify-self: center;
  width: min(100%, 440px);
}

.author__image {
  display: block;
  width: auto;
  height: clamp(290px, 49vh, 490px);
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 8px 14px rgb(44 34 25 / 8%));
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, rgb(0 0 0 / 82%) 89%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, rgb(0 0 0 / 82%) 89%, transparent 100%);
}

.author-card {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  margin-top: 10px;
  padding: 18px 22px;
  border: 1px solid rgb(255 255 255 / 86%);
  border-radius: 20px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 9px 28px rgb(47 53 35 / 10%);
  text-align: center;
}

.author-card__name {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(100deg, #61bd49, #238f24);
  color: #fff;
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 800;
  line-height: 1.2;
}

.author-card__text {
  max-width: 32ch;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(14px, 1.22vw, 18px);
  font-weight: 500;
  line-height: 1.4;
}

.hero__cta {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  width: min(100%, 900px);
  margin: 0;
  padding: 16px 26px;
  border: 1px solid rgb(255 255 255 / 90%);
  border-radius: 18px;
  background: rgb(255 255 255 / 90%);
  box-shadow: 0 6px 22px rgb(47 53 35 / 8%);
  color: #285c28;
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-wrap: balance;
}

.hero.is-ready .hero__copy,
.hero.is-ready .author,
.hero.is-ready .hero__cta {
  animation: rise-in 550ms both;
}

.hero.is-ready .author {
  animation-delay: 90ms;
}

.hero.is-ready .hero__cta {
  animation-delay: 160ms;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 761px) and (max-height: 760px) {
  .hero__inner {
    min-height: 760px;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
    row-gap: 16px;
    padding-block: 26px 22px;
  }

  .hero__intro {
    margin-bottom: 20px;
    font-size: clamp(14px, 1.2vw, 18px);
  }

  .hero__eyebrow {
    margin-bottom: 8px;
    font-size: clamp(23px, 2.6vw, 35px);
  }

  .hero__title-dark {
    font-size: clamp(31px, 3.75vw, 53px);
  }

  .hero__title-green {
    font-size: clamp(39px, 4.75vw, 65px);
  }

  .hero__swoosh {
    height: 10px;
    margin: 8px 0 14px;
    border-top-width: 7px;
  }

  .benefits {
    gap: 6px;
  }

  .benefits__item {
    min-height: 38px;
    padding-block: 5px;
    font-size: clamp(12px, .96vw, 14px);
  }

  .author__image {
    height: 39vh;
  }

  .author-card {
    margin-top: 4px;
    padding: 13px 17px;
  }

  .author-card__name {
    margin-bottom: 6px;
    padding-block: 6px;
  }

  .hero__cta {
    padding-block: 12px;
    font-size: clamp(14px, 1.3vw, 18px);
  }
}

@media (max-width: 1024px) {
  .hero__inner {
    width: min(100% - 48px, 900px);
    grid-template-columns: minmax(0, 1.08fr) minmax(255px, .92fr);
    column-gap: clamp(18px, 3vw, 32px);
  }

  .hero__title-dark {
    font-size: clamp(32px, 4.15vw, 43px);
  }

  .hero__title-green {
    font-size: clamp(41px, 5.5vw, 57px);
  }

  .author__image {
    height: clamp(260px, 43vh, 390px);
  }

  .benefits__item {
    font-size: clamp(12px, 1.45vw, 15px);
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 100svh;
    overflow: visible;
    background-position: 59% center;
  }

  .hero::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(250 249 247 / 95%) 0%, rgb(250 249 247 / 88%) 58%, rgb(250 249 247 / 27%) 100%);
    content: "";
  }

  .hero__inner {
    position: relative;
    z-index: 1;
    width: min(100% - 36px, 540px);
    min-height: 100svh;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-content: start;
    gap: 26px;
    padding-block: 28px 30px;
  }

  .hero__copy {
    grid-column: 1;
    grid-row: 1;
  }

  .hero__intro {
    max-width: 100%;
    margin-bottom: clamp(22px, 4svh, 34px);
    font-size: clamp(15px, 4vw, 19px);
  }

  .hero__eyebrow {
    margin-bottom: 10px;
    font-size: clamp(26px, 8vw, 38px);
  }

  .hero__title-dark {
    font-size: clamp(33px, 9.4vw, 49px);
  }

  .hero__title-green {
    font-size: clamp(39px, 11.3vw, 58px);
  }

  .desktop-break {
    display: none;
  }

  .hero__swoosh {
    margin: 10px 0 18px;
  }

  .benefits {
    gap: 8px;
  }

  .benefits__item {
    width: fit-content;
    min-height: 42px;
    gap: 10px;
    padding: 7px 11px;
    border-radius: 14px;
    font-size: clamp(12px, 3.5vw, 15px);
  }

  .benefits__check {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }

  .author {
    grid-column: 1;
    grid-row: 2;
    width: min(100%, 370px);
  }

  .author__image {
    height: clamp(190px, 52vw, 270px);
    max-width: 100%;
  }

  .author-card {
    width: min(100%, 350px);
    margin-top: 8px;
    padding: 16px 18px;
  }

  .author-card__name {
    font-size: 18px;
  }

  .author-card__text {
    font-size: 15px;
  }

  .hero__cta {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    margin: 0;
    padding: 14px 17px;
    font-size: clamp(14px, 3.8vw, 17px);
  }
}

@media (max-width: 380px) {
  .hero__inner {
    width: calc(100% - 28px);
    gap: 22px;
  }

  .hero__intro {
    padding-left: 12px;
  }

  .hero__title-dark {
    font-size: 32px;
  }

  .hero__title-green {
    font-size: 38px;
  }

  .benefits__item {
    font-size: 12px;
  }
}

/* Second screen: audience / why a website matters. */
.audience {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 0 clamp(72px, 9vw, 124px);
  background:
    radial-gradient(ellipse at 8% 12%, rgb(224 243 210 / 42%), transparent 34%),
    radial-gradient(ellipse at 96% 78%, rgb(248 239 225 / 45%), transparent 30%),
    #fff;
  color: var(--ink);
}

.audience__inner {
  width: min(100% - 9vw, 1510px);
  margin-inline: auto;
}

.audience__header {
  margin: 0 auto clamp(34px, 5vw, 64px);
  text-align: center;
}

.audience__title {
  margin: 0;
  color: #482d2b;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.12;
  text-wrap: balance;
}

.audience__rule,
.creation__rule,
.independent__rule,
.learning__rule {
  display: block;
  width: clamp(72px, 8vw, 108px);
  height: 13px;
  margin: 17px auto 0;
  border-top: 7px solid #7bc954;
  border-radius: 50%;
  transform: rotate(-2deg);
}

.audience__layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(40px, 7vw, 112px);
}

.audience__visual {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 300px;
  place-items: center;
  margin: 0;
  isolation: isolate;
}

.audience__shape {
  position: absolute;
  z-index: -1;
  width: min(88%, 410px);
  aspect-ratio: 1;
  border-radius: 43% 57% 62% 38% / 45% 40% 60% 55%;
  background: linear-gradient(145deg, rgb(228 246 212 / 88%), rgb(242 248 232 / 48%));
  filter: blur(1px);
}

.audience__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 550px;
}

.audience__copy {
  min-width: 0;
  max-width: 760px;
  font-size: clamp(17px, 1.22vw, 19px);
  font-weight: 400;
  line-height: 1.55;
}

.audience__copy p {
  margin: 0 0 20px;
}

.audience__copy strong {
  font-weight: 700;
}

.audience__lead {
  margin-bottom: 24px !important;
  padding: 3px 0 3px 18px;
  border-left: 3px solid #55c74b;
  color: #482d2b;
  font-size: clamp(19px, 1.55vw, 23px);
  font-weight: 700;
  line-height: 1.5;
}

.audience__copy .audience__closing {
  margin: 30px 0 0;
  padding: 18px 22px;
  border: 1px solid rgb(73 139 55 / 10%);
  border-radius: 18px;
  background: linear-gradient(110deg, #f0f8e9, #f7faef);
  color: #315d2d;
  font-size: clamp(18px, 1.35vw, 21px);
  font-weight: 700;
  line-height: 1.55;
}

.course-cta {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 28px auto 0;
  padding: 22px clamp(30px, 4vw, 50px);
  border: 1px solid #258b29;
  border-radius: 250px;
  background: linear-gradient(115deg, #45b33c, #248f2a);
  box-shadow: 0 9px 22px rgb(43 143 42 / 22%);
  color: #fff;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.course-cta::after {
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.course-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgb(43 143 42 / 28%);
}

.course-cta:hover::after {
  transform: translateX(3px) rotate(45deg);
}

.course-cta:focus-visible {
  outline: 3px solid #245e25;
  outline-offset: 4px;
}

/* Third screen: ways to create a website. */
.creation {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 0 clamp(72px, 9vw, 124px);
  background:
    radial-gradient(ellipse at 92% 18%, rgb(224 243 210 / 38%), transparent 32%),
    radial-gradient(ellipse at 8% 92%, rgb(248 239 225 / 35%), transparent 30%),
    #fff;
  color: var(--ink);
}

.creation__inner {
  width: min(100% - 9vw, 1510px);
  margin-inline: auto;
}

.creation__header {
  margin: 0 auto clamp(34px, 5vw, 62px);
  text-align: center;
}

.creation__title {
  margin: 0;
  color: #482d2b;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
  text-wrap: balance;
}

.creation__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  grid-template-areas: "copy visual";
  align-items: start;
  gap: clamp(38px, 6vw, 92px);
}

.creation__copy {
  grid-area: copy;
  min-width: 0;
  max-width: 900px;
  font-size: clamp(17px, 1.22vw, 19px);
  font-weight: 400;
  line-height: 1.6;
}

.creation__copy p {
  margin: 0 0 20px;
}

.creation__copy strong {
  font-weight: 700;
}

.creation__lead {
  margin-bottom: 24px !important;
  padding: 3px 0 3px 18px;
  border-left: 3px solid #55c74b;
  color: #482d2b;
  font-size: clamp(19px, 1.55vw, 23px);
  font-weight: 700;
  line-height: 1.5;
}

.creation__solution {
  margin-top: 26px;
  padding: 22px 24px 4px;
  border: 1px solid rgb(73 139 55 / 9%);
  border-radius: 20px;
  background: linear-gradient(120deg, #f1f8eb, #f8faF3);
}

.creation__closing {
  margin: 24px 0 0 !important;
  padding: 16px 20px;
  border: 1px solid rgb(73 139 55 / 10%);
  border-radius: 17px;
  background: linear-gradient(110deg, #edf7e5, #f5f9ed);
  color: #315d2d;
  font-weight: 700;
  line-height: 1.55;
}

.creation__visual {
  position: relative;
  grid-area: visual;
  align-self: center;
  padding: 8px 0;
}

.creation__steps {
  position: relative;
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.creation__steps::before {
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 42px;
  width: 1px;
  background: linear-gradient(#d9e4d4, #91c87c);
  content: "";
}

.creation__step {
  position: relative;
  display: flex;
  min-height: 84px;
  align-items: center;
  gap: 17px;
  padding: 15px 18px;
  border: 1px solid #e7ebe5;
  border-radius: 18px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 7px 22px rgb(43 58 35 / 5%);
}

.creation__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid #edf0eb;
  border-radius: 14px;
  background: #f8faf7;
  color: #667263;
}

.creation__icon svg {
  display: block;
  width: 36px;
  height: 36px;
}

.creation__step-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.creation__step-title {
  color: #312b29;
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 700;
  line-height: 1.35;
}

.creation__step-caption {
  color: #6d716b;
  font-size: 14px;
  line-height: 1.4;
}

.creation__step--active {
  border-color: #92c97d;
  background: linear-gradient(115deg, #f0f8e9, #f8fbf3);
  box-shadow: 0 9px 24px rgb(54 112 43 / 9%);
}

.creation__step--active .creation__icon {
  border-color: #d4e9c8;
  background: #fff;
  color: #348f32;
}

.creation__step--active .creation__step-title {
  color: #2e742d;
}

@media (max-width: 1024px) {
  .creation__inner {
    width: min(100% - 64px, 920px);
  }

  .creation__layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 1fr);
    gap: 36px;
  }

  .creation__visual {
    position: relative;
  }

  .creation__copy {
    font-size: 17px;
    line-height: 1.6;
  }
}

@media (max-width: 820px) {
  .creation {
    padding-block: 58px 72px;
  }

  .creation__inner {
    width: min(100% - 40px, 640px);
  }

  .creation__header {
    margin-bottom: 28px;
  }

  .creation__title {
    font-size: clamp(28px, 5.8vw, 40px);
  }

  .creation__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "lead"
      "copy"
      "visual"
      "solution"
      "closing";
    gap: 0;
  }

  .creation__copy {
    display: contents;
  }

  .creation__lead {
    grid-area: lead;
    margin-bottom: 22px !important;
  }

  .creation__intro-copy {
    grid-area: copy;
  }

  .creation__intro-copy p {
    margin-bottom: 18px;
  }

  .creation__visual {
    position: static;
    grid-area: visual;
    width: min(100%, 500px);
    justify-self: center;
    margin: 4px 0 26px;
  }

  .creation__solution {
    grid-area: solution;
    margin: 0;
    padding: 20px 20px 2px;
  }

  .creation__closing {
    grid-area: closing;
    margin-top: 22px !important;
  }
}

@media (max-width: 390px) {
  .creation {
    padding-block: 48px 58px;
  }

  .creation__inner {
    width: calc(100% - 36px);
  }

  .creation__header {
    margin-bottom: 22px;
  }

  .creation__title {
    font-size: clamp(25px, 7.2vw, 29px);
  }

  .creation__copy {
    font-size: 16px;
    line-height: 1.6;
  }

  .creation__lead {
    margin-bottom: 18px !important;
    padding-left: 14px;
    font-size: 18px;
  }

  .creation__steps {
    gap: 14px;
  }

  .creation__step {
    min-height: 76px;
    gap: 12px;
    padding: 12px;
  }

  .creation__steps::before {
    left: 34px;
  }

  .creation__icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .creation__icon svg {
    width: 33px;
    height: 33px;
  }

  .creation__step-title {
    font-size: 15px;
  }

  .creation__step-caption {
    font-size: 13px;
  }

  .creation__solution {
    padding: 17px 16px 1px;
    border-radius: 18px;
  }

  .creation__closing {
    padding: 14px 16px;
  }
}

@media (max-width: 1024px) {
  .audience__inner {
    width: min(100% - 64px, 920px);
  }

  .audience__layout {
    grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
    gap: 40px;
  }

  .audience__visual {
    min-height: 240px;
  }

  .audience__copy {
    font-size: 17px;
    line-height: 1.55;
  }
}

@media (max-width: 820px) {
  .audience {
    padding-block: 58px 72px;
  }

  .audience__inner {
    width: min(100% - 40px, 640px);
  }

  .audience__header {
    margin-bottom: 28px;
  }

  .audience__title {
    font-size: clamp(30px, 6vw, 42px);
  }

  .audience__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .audience__visual {
    width: min(100%, 460px);
    min-height: 0;
    justify-self: center;
    padding: 8px 0;
  }

  .audience__image {
    width: 100%;
    max-width: 430px;
  }

  .audience__copy {
    max-width: none;
    font-size: 17px;
    line-height: 1.55;
  }

  .audience__copy p {
    margin-bottom: 18px;
  }
}

@media (max-width: 390px) {
  .audience {
    padding-block: 48px 58px;
  }

  .audience__inner {
    width: calc(100% - 36px);
  }

  .audience__header {
    margin-bottom: 22px;
  }

  .audience__title {
    font-size: clamp(28px, 8vw, 32px);
  }

  .audience__layout {
    gap: 20px;
  }

  .audience__image {
    max-width: 340px;
  }

  .audience__copy {
    font-size: 16px;
    line-height: 1.55;
  }

  .audience__copy p {
    margin-bottom: 16px;
  }

  .audience__lead {
    margin-bottom: 20px !important;
    padding-left: 14px;
    font-size: 18px;
  }

  .audience__copy .audience__closing {
    margin-top: 24px;
    padding: 16px 17px;
    font-size: 17px;
  }
}

/* Fourth screen: build and own your website. */
.independent {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(58px, 7vw, 96px) 0 clamp(68px, 8vw, 108px);
  background-color: #faf9f7;
  color: var(--ink);
}

.independent::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: url("bg_for.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  content: "";
}

.independent__inner {
  width: min(100% - 9vw, 1510px);
  margin-inline: auto;
}

.independent__header {
  margin: 0 auto clamp(32px, 4.5vw, 54px);
  text-align: center;
}

.independent__title {
  margin: 0;
  color: #482d2b;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.16;
  text-wrap: balance;
}

.independent__title span:last-child {
  color: var(--green);
}

.independent__body {
  display: block;
}

.independent__card {
  width: min(100%, 900px);
  margin-inline: auto;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgb(255 255 255 / 88%);
  border-radius: 24px;
  background: rgb(255 255 255 / 91%);
  box-shadow: 0 14px 42px rgb(48 54 38 / 10%);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  font-size: clamp(17px, 1.22vw, 19px);
  font-weight: 400;
  line-height: 1.6;
}

.independent__card > p {
  margin: 0 0 18px;
}

.independent__highlight {
  margin-top: 24px;
  padding: 18px 20px 2px;
  border: 1px solid rgb(73 139 55 / 9%);
  border-radius: 19px;
  background: linear-gradient(120deg, rgb(239 248 231 / 96%), rgb(248 251 243 / 96%));
}

.independent__highlight p {
  margin: 0 0 16px;
}

.independent__highlight strong {
  color: var(--green-dark);
  font-weight: 800;
}

@media (max-width: 1024px) {
  .independent__inner {
    width: min(100% - 64px, 920px);
  }

  .independent__card {
    font-size: 17px;
  }
}

@media (max-width: 820px) {
  .independent {
    padding-block: 56px 68px;
  }

  .independent__inner {
    width: min(100% - 40px, 640px);
  }

  .independent__header {
    margin-bottom: 28px;
  }

  .independent__title {
    font-size: clamp(29px, 6vw, 40px);
  }

  .independent__card {
    width: 100%;
    padding: 24px;
    border-radius: 22px;
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 8px 28px rgb(48 54 38 / 8%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (max-width: 390px) {
  .independent {
    padding-block: 46px 56px;
  }

  .independent__inner {
    width: calc(100% - 36px);
  }

  .independent__header {
    margin-bottom: 22px;
  }

  .independent__title {
    font-size: clamp(27px, 7.2vw, 30px);
  }

  .independent__body {
    gap: 14px;
  }

  .independent__card {
    padding: 19px 17px;
    border-radius: 19px;
    font-size: 16px;
    line-height: 1.6;
  }

  .independent__card > p {
    margin-bottom: 16px;
  }

  .independent__highlight {
    margin-top: 20px;
    padding: 15px 15px 1px;
    border-radius: 16px;
  }
}

/* Fifth screen: learning to build websites is easy. */
.learning {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 108px) 0 clamp(72px, 9vw, 120px);
  background:
    radial-gradient(ellipse at 5% 10%, rgb(226 244 214 / 48%), transparent 30%),
    radial-gradient(ellipse at 95% 88%, rgb(236 246 225 / 38%), transparent 32%),
    #fff;
  color: var(--ink);
}

.learning::before,
.learning::after {
  position: absolute;
  z-index: 0;
  width: clamp(130px, 20vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, rgb(228 246 212 / 42%), rgb(244 249 235 / 12%));
  content: "";
  pointer-events: none;
}

.learning::before {
  top: 14%;
  left: -10%;
}

.learning::after {
  right: -10%;
  bottom: 7%;
}

.learning__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 9vw, 1510px);
  margin-inline: auto;
}

.learning__header {
  margin: 0 auto clamp(34px, 5vw, 62px);
  text-align: center;
}

.learning__title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .22em;
  margin: 0;
  color: #482d2b;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
  text-wrap: balance;
}

.learning__title-accent {
  color: #238f24;
}

.learning__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}

.learning__card {
  min-width: 0;
  margin: 0;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgb(73 139 55 / 8%);
  border-radius: 24px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 12px 36px rgb(48 54 38 / 8%);
  list-style: none;
}

.learning__item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 19px 0;
  border-bottom: 1px solid #e9eee6;
}

.learning__item:first-child {
  padding-top: 0;
}

.learning__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.learning__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #e1efd8;
  border-radius: 13px;
  background: #f0f8e9;
  color: #328e31;
}

.learning__icon svg {
  display: block;
  width: 29px;
  height: 29px;
}

.learning__item p {
  min-width: 0;
  margin: 1px 0 0;
  color: #242321;
  font-size: clamp(16px, 1.18vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.learning__item--question p {
  color: #2f742d;
  font-weight: 700;
}

.learning__item--question .learning__icon {
  border-color: #cfe6c2;
  background: #e9f5df;
}

.learning__visual {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.learning__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 560px;
}

@media (max-width: 1024px) {
  .learning__inner {
    width: min(100% - 64px, 920px);
  }

  .learning__layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 30px;
  }

  .learning__card {
    padding: 24px;
  }

  .learning__item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding-block: 16px;
  }

  .learning__icon {
    width: 40px;
    height: 40px;
  }

  .learning__icon svg {
    width: 27px;
    height: 27px;
  }
}

@media (max-width: 820px) {
  .learning {
    padding-block: 58px 72px;
  }

  .learning__inner {
    width: min(100% - 40px, 640px);
  }

  .learning__header {
    margin-bottom: 26px;
  }

  .learning__title {
    font-size: clamp(28px, 5.8vw, 40px);
  }

  .learning__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "visual" "card";
    gap: 22px;
  }

  .learning__visual {
    grid-area: visual;
  }

  .learning__visual img {
    max-width: 390px;
  }

  .learning__card {
    grid-area: card;
    padding: 25px;
  }

  .learning__item p {
    font-size: 17px;
  }
}

@media (max-width: 390px) {
  .learning {
    padding-block: 48px 58px;
  }

  .learning__inner {
    width: calc(100% - 36px);
  }

  .learning__header {
    margin-bottom: 21px;
  }

  .learning__title {
    gap: .18em;
    font-size: clamp(25px, 7vw, 29px);
  }

  .learning__layout {
    gap: 17px;
  }

  .learning__visual img {
    max-width: 330px;
  }

  .learning__card {
    padding: 18px 16px;
    border-radius: 20px;
  }

  .learning__item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 11px;
    padding-block: 14px;
  }

  .learning__icon {
    width: 35px;
    height: 35px;
    border-radius: 11px;
  }

  .learning__icon svg {
    width: 24px;
    height: 24px;
  }

  .learning__item p {
    font-size: 16px;
    line-height: 1.55;
  }
}

/* Video course content section. */
.course-content {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 108px) 0 clamp(76px, 9vw, 124px);
  background:
    radial-gradient(ellipse at 8% 8%, rgb(226 244 214 / 43%), transparent 30%),
    radial-gradient(ellipse at 94% 82%, rgb(241 247 231 / 43%), transparent 31%),
    #fff;
  color: var(--ink);
}

.course-content__inner {
  width: min(100% - 9vw, 1100px);
  margin-inline: auto;
}

.course-content__header {
  margin: 0 auto clamp(30px, 4vw, 48px);
  text-align: center;
}

.course-content__title {
  margin: 0;
  color: #482d2b;
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
  text-wrap: balance;
}

.course-content__video-wrap {
  width: 100%;
  margin: 0 auto clamp(42px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid rgb(67 110 52 / 12%);
  border-radius: 24px;
  background: #e9eee6;
  box-shadow: 0 16px 42px rgb(40 53 31 / 12%);
}

.course-content__preview {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #e9eee6;
  cursor: pointer;
}

.course-content__preview::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(255 255 255 / 7%), rgb(245 249 238 / 19%));
  content: "";
  pointer-events: none;
}

.course-content__preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  transition: transform 350ms ease;
}

.course-content__preview:hover img {
  transform: scale(1.025);
}

.course-content__play {
  position: relative;
  z-index: 1;
  display: grid;
  width: clamp(76px, 9vw, 108px);
  aspect-ratio: 1;
  place-items: center;
  padding-left: 8px;
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 50%;
  background: rgb(255 255 255 / 91%);
  box-shadow: 0 8px 28px rgb(25 50 20 / 20%);
  color: #309d32;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.course-content__play svg {
  width: 68%;
  height: 68%;
}

.course-content__preview:hover .course-content__play,
.course-content__preview:focus-visible .course-content__play {
  transform: scale(1.09);
  box-shadow: 0 12px 34px rgb(25 50 20 / 25%);
}

.course-content__preview:focus-visible {
  outline: 3px solid #309d32;
  outline-offset: -5px;
}

.course-content__modules {
  display: grid;
  gap: 13px;
}

.course-module {
  overflow: hidden;
  border: 1px solid #e5eddf;
  border-radius: 18px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 5px 18px rgb(45 61 36 / 5%);
}

.course-module[open] {
  border-color: #d4e7ca;
}

.course-module__summary {
  display: grid;
  min-height: 78px;
  grid-template-columns: 46px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  color: #482d2b;
  cursor: pointer;
  list-style: none;
}

.course-module__summary::-webkit-details-marker {
  display: none;
}

.course-module__summary::marker {
  content: "";
}

.course-module__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #e0edd8;
  border-radius: 13px;
  background: #f1f8eb;
  color: #328e31;
}

.course-module__icon svg {
  width: 27px;
  height: 27px;
}

.course-module__title {
  min-width: 0;
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.course-module__toggle {
  position: relative;
  width: 26px;
  height: 26px;
  justify-self: end;
  border-radius: 50%;
  background: #eff7e9;
  color: #318b2e;
}

.course-module__toggle::before,
.course-module__toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.course-module__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.course-module[open] .course-module__toggle::after {
  transform: translate(-50%, -50%) rotate(0);
}

.course-module__summary:focus-visible {
  outline: 3px solid #62b94b;
  outline-offset: -4px;
}

.course-module__content {
  overflow: hidden;
  border-top: 1px solid transparent;
  transition: border-color 220ms ease;
}

.course-module[open] .course-module__text {
  border-top-color: #edf1e9;
}

.course-module__text p {
  margin: 0;
  padding: 20px 28px 24px 84px;
  color: #262522;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.course-module__text p + p {
  padding-top: 0;
}

.course-module__summary:hover .course-module__title {
  color: #2f782c;
}

.course-video {
  width: min(94vw, calc(90vh * 16 / 9));
  max-width: 94vw;
  max-height: 90vh;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.course-video::backdrop {
  background: rgb(12 16 12 / 84%);
  backdrop-filter: blur(4px);
}

.course-video__panel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 16px;
  background: #090b09;
  box-shadow: 0 24px 80px rgb(0 0 0 / 40%);
}

.course-video__player {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #090b09;
  object-fit: contain;
}

.course-video__close {
  position: absolute;
  z-index: 2;
  top: -18px;
  right: -18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 50%;
  background: #fff;
  color: #263323;
  font: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.course-video__close:focus-visible {
  outline: 3px solid #6ac451;
  outline-offset: 3px;
}

/* Results screen: cards with course outcomes. */
.results {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 108px) 0 clamp(76px, 9vw, 124px);
  background-image:
    radial-gradient(ellipse at 5% 12%, rgb(226 244 214 / 43%), transparent 30%),
    radial-gradient(ellipse at 95% 86%, rgb(241 247 231 / 42%), transparent 31%),
    url("bg_fon_blocks.jpg");
  background-attachment: scroll, scroll, fixed;
  background-position: center, center, center;
  background-repeat: no-repeat;
  background-size: auto, auto, cover;
  background-color: #fff;
  color: var(--ink);
}

.results__inner {
  width: min(100% - 9vw, 1024px);
  margin-inline: auto;
}

.results__header {
  margin: 0 auto clamp(34px, 4.5vw, 56px);
  text-align: center;
}

.results__title {
  margin: 0;
  color: #482d2b;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
  text-wrap: balance;
}

.results__subtitle {
  max-width: 940px;
  margin: 23px auto 0;
  color: #2d842c;
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(20px, 2.4vw, 30px);
}

.results-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding: clamp(24px, 2.5vw, 32px);
  border: 1px solid #e5eddf;
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 8px 26px rgb(45 61 36 / 6%);
  text-align: center;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.results-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgb(45 61 36 / 11%);
}

.results-card__image {
  display: block;
  width: 100%;
  height: 128px;
  flex: 0 0 128px;
  margin: 0 auto 20px;
  object-fit: contain;
  object-position: center;
}

.results-card__title {
  margin: 0;
  color: #482d2b;
  font-size: clamp(19px, 1.55vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}

.results-card__text {
  margin: 13px 0 0;
  color: #242321;
  font-size: clamp(16px, 1.18vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
  overflow-wrap: anywhere;
}

/* Author introduction section. */
.about-author {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 108px) 0 clamp(76px, 9vw, 124px);
  background:
    radial-gradient(ellipse at 7% 18%, rgb(226 244 214 / 46%), transparent 30%),
    radial-gradient(ellipse at 94% 84%, rgb(241 247 231 / 40%), transparent 32%),
    #fff;
  color: var(--ink);
}

.about-author__inner {
  width: min(100% - 9vw, 1240px);
  margin-inline: auto;
}

.about-author__header {
  margin: 0 auto clamp(34px, 5vw, 60px);
  text-align: center;
}

.about-author__section-title {
  margin: 0;
  color: #482d2b;
  font-size: clamp(31px, 3.8vw, 50px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
  text-wrap: balance;
}

.about-author__layout {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(40px, 6vw, 84px);
}

.about-author__portrait {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  isolation: isolate;
}

.about-author__shape {
  position: absolute;
  z-index: -1;
  width: min(92%, 440px);
  aspect-ratio: .88;
  border-radius: 48% 52% 44% 56% / 39% 43% 57% 61%;
  background: linear-gradient(145deg, rgb(220 243 204 / 88%), rgb(242 249 231 / 48%));
}

.about-author__portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 430px;
  border-radius: 24px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 10px 20px rgb(47 53 35 / 10%));
}

.about-author__content {
  min-width: 0;
  max-width: 760px;
}

.about-author__identity {
  margin-bottom: 24px;
}

.about-author__name {
  margin: 0 0 8px;
  color: #482d2b;
  font-size: clamp(36px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.about-author__role {
  margin: 0;
  color: #2d842c;
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 700;
  line-height: 1.45;
}

.about-author__story {
  color: #242321;
  font-size: clamp(17px, 1.22vw, 19px);
  line-height: 1.6;
}

.about-author__story p {
  margin: 0 0 18px;
}

.about-author__story .about-author__mission {
  margin-top: 22px;
  color: #482d2b;
  font-weight: 700;
}

.about-author__quote {
  margin: 24px 0 0;
  padding: 17px 20px;
  border: 1px solid rgb(73 139 55 / 9%);
  border-left: 3px solid #55c74b;
  border-radius: 0 16px 16px 0;
  background: linear-gradient(110deg, #f0f8e9, #f7faef);
  color: #315d2d;
  font-size: clamp(16px, 1.15vw, 18px);
  font-weight: 600;
  line-height: 1.6;
}

.about-author__quote p {
  margin: 0;
}

.about-author__content > .course-cta {
  margin: 30px 0 0;
}

/* Course fit section: who the course is for. */
.course-fit {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 7vw, 92px) 0 clamp(72px, 8vw, 108px);
  background:
    radial-gradient(ellipse at 8% 12%, rgb(225 243 214 / 43%), transparent 31%),
    radial-gradient(ellipse at 94% 88%, rgb(247 239 229 / 48%), transparent 32%),
    #fff;
  color: var(--ink);
}

.course-fit__inner {
  width: min(100% - 9vw, 1240px);
  margin-inline: auto;
}

.course-fit__grid {
  display: grid;
  gap: clamp(44px, 6vw, 76px);
}

.course-fit__main-header {
  margin: 0 auto clamp(34px, 4.5vw, 54px);
  text-align: center;
}

.course-fit__main-title {
  margin: 0;
  color: #482d2b;
  font-size: clamp(31px, 3.8vw, 50px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
  text-wrap: balance;
}

.course-fit__suitable {
  display: grid;
  grid-template-columns: minmax(230px, .43fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  padding: clamp(28px, 4vw, 50px);
  border: 1px solid #d6e9cb;
  border-radius: 26px;
  background: linear-gradient(125deg, #edf7e6, #f8fbf4 75%);
  box-shadow: 0 12px 32px rgb(46 57 38 / 7%);
}

.course-fit__illustration {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 330px;
  justify-self: center;
  place-items: center;
}

.course-fit__illustration > svg {
  display: block;
  width: 100%;
  height: auto;
}

.course-fit__check {
  position: absolute;
  right: 7%;
  bottom: 4%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #d1e7c5;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 18px rgb(48 91 38 / 10%);
  color: #348c30;
}

.course-fit__check svg {
  width: 27px;
  height: 27px;
}

.course-fit__suitable-content {
  min-width: 0;
}

.course-fit__suitable-header {
  margin-bottom: 20px;
}

.course-fit__title,
.course-fit__limits-title {
  margin: 0;
  color: #482d2b;
  font-size: clamp(27px, 2.65vw, 35px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
  text-wrap: balance;
}

.course-fit__subtitle {
  margin: 13px 0 0;
  color: #318a30;
  font-size: clamp(19px, 1.65vw, 22px);
  font-weight: 700;
  line-height: 1.45;
}

.course-fit__suitable-copy {
  color: #242321;
  font-size: clamp(16px, 1.16vw, 18px);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.course-fit__suitable-copy p {
  margin: 0 0 18px;
}

.course-fit__suitable-copy p:last-child {
  margin-bottom: 0;
}

.course-fit__suitable-copy .course-fit__last {
  margin-top: 22px;
  margin-bottom: 0;
  padding: 15px 17px;
  border: 1px solid #e3efdc;
  border-left: 3px solid #55c74b;
  border-radius: 0 14px 14px 0;
  background: rgb(255 255 255 / 82%);
  color: #315d2d;
  font-weight: 700;
}

.course-fit__limits {
  width: min(100%, 980px);
  justify-self: center;
  margin-top: clamp(12px, 2vw, 24px);
}

.course-fit__limits-header {
  margin: 0 auto 26px;
  text-align: center;
}

.course-fit__limits-title {
  font-size: clamp(26px, 2.8vw, 36px);
}

.course-fit__limits-rule {
  display: block;
  width: 64px;
  height: 5px;
  margin: 15px auto 0;
  border-radius: 999px;
  background: #bd9075;
}

.course-fit__accordion {
  display: grid;
  gap: 11px;
}

.course-fit__item {
  overflow: hidden;
  border: 1px solid #e8e9e4;
  border-radius: 16px;
  background: rgb(255 255 255 / 95%);
  box-shadow: 0 4px 14px rgb(46 57 38 / 4%);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.course-fit__item[open] {
  border-color: #dce8d5;
}

.course-fit__item:hover {
  box-shadow: 0 8px 20px rgb(46 57 38 / 8%);
}

.course-fit__summary {
  display: grid;
  min-height: 70px;
  grid-template-columns: 38px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 14px;
  padding: 13px 19px;
  color: #482d2b;
  cursor: pointer;
  list-style: none;
}

.course-fit__summary::-webkit-details-marker {
  display: none;
}

.course-fit__summary::marker {
  content: "";
}

.course-fit__item-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #e4eadf;
  border-radius: 11px;
  background: #f5f8f2;
  color: #87927f;
}

.course-fit__item-icon svg {
  width: 22px;
  height: 22px;
}

.course-fit__item-title {
  min-width: 0;
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.course-fit__toggle {
  position: relative;
  width: 25px;
  height: 25px;
  justify-self: end;
  border-radius: 50%;
  background: #f0f6eb;
  color: #438b36;
}

.course-fit__toggle::before,
.course-fit__toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.course-fit__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.course-fit__item[open] .course-fit__toggle::after {
  transform: translate(-50%, -50%) rotate(0);
}

.course-fit__summary:focus-visible {
  outline: 3px solid #62b94b;
  outline-offset: -3px;
}

.course-fit__item-content {
  overflow: hidden;
  border-top: 1px solid transparent;
}

.course-fit__item[open] .course-fit__item-content {
  border-top-color: #edf0e9;
}

.course-fit__item-content p {
  margin: 0;
  padding: 17px 22px 20px 71px;
  color: #292825;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* Course pricing section. */
.course-price {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 7vw, 92px) 0 clamp(72px, 8vw, 108px);
  background:
    radial-gradient(ellipse at 7% 12%, rgb(226 244 214 / 45%), transparent 30%),
    radial-gradient(ellipse at 95% 88%, rgb(236 246 225 / 38%), transparent 32%),
    #fff;
  color: var(--ink);
}

.course-price__inner {
  width: min(100% - 9vw, 1240px);
  margin-inline: auto;
}

.course-price__header {
  margin: 0 auto clamp(30px, 4vw, 48px);
  text-align: center;
}

.course-price__title {
  margin: 0;
  color: #482d2b;
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.course-price__notice {
  position: relative;
  display: flex;
  max-width: 920px;
  align-items: flex-start;
  justify-content: center;
  gap: 17px;
  margin: 0 auto 22px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #d9eacc;
  border-radius: 23px;
  background: linear-gradient(125deg, #edf7e6, #f8fbf4 75%);
  box-shadow: 0 10px 28px rgb(46 57 38 / 7%);
  text-align: center;
}

.course-price__notice-icon,
.course-price__installment > svg,
.course-price__updates > svg {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  color: #398d34;
}

.course-price__notice-icon {
  margin-top: 2px;
}

.course-price__notice-copy {
  min-width: 0;
}

.course-price__notice-title {
  display: block;
  margin-bottom: 8px;
  color: #482d2b;
  font-size: 21px;
  font-weight: 800;
}

.course-price__notice-copy p {
  margin: 0;
  font-size: clamp(16px, 1.28vw, 18px);
  line-height: 1.65;
}

.course-price__emphasis {
  color: #318a30;
  font-weight: 800;
}

.course-price__installment {
  display: flex;
  max-width: 920px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0 auto;
  padding: 17px 22px;
  border: 1px solid #d8e8ce;
  border-radius: 18px;
  background: #fff;
  color: #34312e;
  text-align: center;
}

.course-price__installment--intro {
  margin-bottom: clamp(34px, 4vw, 50px);
}

.course-price__installment p,
.course-price__updates p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.course-price__plans {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(18px, 2.5vw, 30px);
}

.course-price__card {
  min-width: 0;
  padding: clamp(25px, 3vw, 36px);
  border: 1px solid #e5e8e0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 30px rgb(46 57 38 / 8%);
}

.course-price__card--lifetime {
  border: 2px solid #82bd68;
  box-shadow: 0 0 0 5px rgb(101 173 75 / 8%), 0 14px 36px rgb(46 97 38 / 12%);
}

.course-price__plan-title {
  margin: 0 0 18px;
  color: #482d2b;
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.course-price__subtitle {
  margin: 0 0 18px;
  padding: 10px 13px;
  border-radius: 12px;
  background: #f0f7eb;
  color: #318a30;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.course-price__description {
  color: #302d2a;
  font-size: 16px;
  line-height: 1.65;
}

.course-price__description p {
  margin: 0 0 15px;
}

.course-price__description p:last-child {
  margin-bottom: 0;
}

.course-price__features {
  display: grid;
  gap: 14px;
  margin: 22px 0 24px;
}

.course-price__features p {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 0;
  color: #302d2a;
  font-size: 15px;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.course-price__features svg {
  width: 21px;
  height: 21px;
  margin-top: 1px;
  color: #3f9a36;
}

.course-price__features strong {
  color: #292825;
  font-weight: 700;
}

.course-price__pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 15px;
  margin-top: 25px;
}

.course-price__old-price {
  color: #85817e;
  font-size: 17px;
}

.course-price__new-price {
  color: #318a30;
  font-size: clamp(34px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.course-price__button {
  width: 100%;
  min-height: 62px;
  margin-top: 20px;
  padding: 17px 22px;
  font-weight: 700;
  cursor: pointer;
}

.course-price__button::after {
  display: none;
}

.course-price__installment--details {
  margin-top: clamp(28px, 3.5vw, 42px);
  background: linear-gradient(120deg, #f0f8e9, #f8fbf4);
}

.course-price__updates {
  display: flex;
  max-width: 920px;
  align-items: flex-start;
  gap: 15px;
  margin: 18px auto 0;
  padding: 20px 24px;
  border-left: 4px solid #55c74b;
  border-radius: 0 15px 15px 0;
  background: #f6faf2;
  color: #315d2d;
}

.course-price-dialog {
  width: min(560px, calc(100% - 32px));
  max-width: none;
  max-height: min(90vh, 720px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--ink);
}

.course-price-dialog::backdrop {
  background: rgb(22 20 18 / 68%);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.course-price-dialog__panel {
  position: relative;
  max-height: min(90vh, 720px);
  padding: clamp(30px, 6vw, 48px);
  overflow-y: auto;
  border: 1px solid #e6e9e1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgb(0 0 0 / 22%);
}

.course-price-dialog__close {
  position: absolute;
  top: 12px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f1f5ed;
  color: #482d2b;
  font: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.course-price-dialog__close:focus-visible {
  outline: 3px solid #62b94b;
  outline-offset: 2px;
}

.course-price-dialog__title {
  margin: 0 38px 16px 0;
  color: #482d2b;
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 800;
}

.course-price-dialog__description {
  margin: 0;
  color: #302d2a;
  font-size: 17px;
  line-height: 1.7;
}

.course-price-dialog__confirm {
  width: 100%;
  min-height: 62px;
  margin-top: 26px;
  padding: 17px 22px;
  font-weight: 700;
}

.course-price-dialog__confirm::after {
  display: none;
}

body.course-price-dialog-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

/* Frequently asked questions. */
.faq {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 108px) 0 clamp(76px, 9vw, 124px);
  background-image:
    radial-gradient(ellipse at 5% 12%, rgb(226 244 214 / 43%), transparent 30%),
    radial-gradient(ellipse at 95% 86%, rgb(241 247 231 / 42%), transparent 31%),
    url("bg_fon_blocks.jpg");
  background-attachment: scroll, scroll, fixed;
  background-position: center, center, center;
  background-repeat: no-repeat;
  background-size: auto, auto, cover;
  background-color: #fff;
  color: var(--ink);
}

.faq__inner {
  width: min(100% - 9vw, 1024px);
  margin-inline: auto;
}

.faq__header {
  margin: 0 auto clamp(32px, 4vw, 48px);
  text-align: center;
}

.faq__title {
  margin: 0;
  color: #482d2b;
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
  text-wrap: balance;
}

.faq__subtitle {
  max-width: 720px;
  margin: 20px auto 0;
  color: #393532;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
  text-wrap: balance;
}

.faq__list {
  display: grid;
  gap: 13px;
}

.faq__item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e6e9e2;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 20px rgb(46 57 38 / 6%);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.faq__item[open] {
  border-color: #cfe3c3;
  background: #fefffc;
  box-shadow: 0 8px 24px rgb(46 97 38 / 9%);
}

.faq__question {
  display: grid;
  min-height: 78px;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 16px;
  padding: 15px 22px;
  color: #482d2b;
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::marker {
  content: "";
}

.faq__question:focus-visible {
  outline: 3px solid #62b94b;
  outline-offset: -3px;
}

.faq__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #e0edd8;
  border-radius: 13px;
  background: #f1f8eb;
  color: #328e31;
  font-size: 21px;
  font-weight: 800;
}

.faq__question-text {
  min-width: 0;
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.faq__toggle {
  position: relative;
  width: 27px;
  height: 27px;
  justify-self: end;
  border-radius: 50%;
  background: #eff7e9;
  color: #318b2e;
}

.faq__toggle::before,
.faq__toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.faq__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__toggle::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq__answer {
  overflow: hidden;
  border-top: 1px solid transparent;
  color: #242321;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.faq__list.is-enhanced .faq__answer {
  height: 0;
}

.faq__item[open] .faq__answer {
  border-top-color: #edf0e9;
}

.faq__answer p {
  margin: 0;
  padding: 17px 25px 0 80px;
}

.faq__answer p:last-child {
  padding-bottom: 21px;
}

.faq__answer p + p {
  padding-top: 14px;
}

@media (max-width: 900px) {
  .site-footer__inner {
    width: min(100% - 40px, 760px);
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .site-footer__nav {
    justify-content: flex-start;
  }

  .course-price__plans {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .faq__inner {
    width: min(100% - 40px, 760px);
  }

  .course-fit__suitable {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .course-fit__illustration {
    width: min(100%, 280px);
  }

  .course-fit__suitable-header {
    text-align: center;
  }

  .course-fit__last {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-footer__inner {
    width: calc(100% - 36px);
    gap: 18px;
    padding-block: 24px;
  }

  .site-footer__nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .site-footer__nav a {
    font-size: 15px;
  }

  .faq {
    padding-block: 48px 60px;
  }

  .faq__inner {
    width: calc(100% - 36px);
  }

  .faq__header {
    margin-bottom: 27px;
  }

  .faq__title {
    font-size: clamp(28px, 7.5vw, 36px);
  }

  .faq__subtitle {
    margin-top: 15px;
    font-size: 16px;
  }

  .faq__list {
    gap: 10px;
  }

  .faq__item {
    border-radius: 18px;
  }

  .faq__question {
    min-height: 72px;
    grid-template-columns: 36px minmax(0, 1fr) 25px;
    gap: 11px;
    padding: 13px 14px;
  }

  .faq__icon {
    width: 35px;
    height: 35px;
    border-radius: 11px;
  }

  .faq__question-text {
    font-size: 16px;
  }

  .faq__answer {
    font-size: 16px;
  }

  .faq__answer p {
    padding: 15px 16px 0;
  }

  .faq__answer p:last-child {
    padding-bottom: 18px;
  }

  .faq__answer p + p {
    padding-top: 12px;
  }

  .course-fit {
    padding-block: 48px 60px;
  }

  .course-fit__inner {
    width: calc(100% - 36px);
  }

  .course-fit__main-header {
    margin-bottom: 28px;
  }

  .course-fit__main-title {
    font-size: clamp(27px, 7.5vw, 34px);
  }

  .course-fit__grid {
    gap: 38px;
  }

  .course-fit__suitable {
    gap: 16px;
    padding: 22px 18px;
    border-radius: 21px;
  }

  .course-fit__illustration {
    width: min(100%, 230px);
  }

  .course-fit__check {
    width: 39px;
    height: 39px;
  }

  .course-fit__suitable-header {
    margin-bottom: 16px;
  }

  .course-fit__title,
  .course-fit__limits-title {
    font-size: clamp(24px, 6vw, 29px);
  }

  .course-fit__subtitle {
    font-size: 19px;
  }

  .course-fit__suitable-copy {
    font-size: 16px;
  }

  .course-fit__limits-header {
    margin-bottom: 19px;
  }

  .course-fit__summary {
    min-height: 65px;
    grid-template-columns: 34px minmax(0, 1fr) 24px;
    gap: 10px;
    padding: 11px 12px;
  }

  .course-fit__item-icon {
    width: 33px;
    height: 33px;
  }

  .course-fit__item-title {
    font-size: 15px;
  }

  .course-fit__item-content p {
    padding: 15px 15px 18px;
    font-size: 16px;
  }
}

/*
.course-fit__card {
  min-width: 0;
  padding: clamp(25px, 2.8vw, 36px);
  border: 1px solid;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgb(46 57 38 / 8%);
}

.course-fit__card--suitable {
  border-color: #d6e9cb;
  background: linear-gradient(145deg, #f1f8eb, #fbfdf8 78%);
}

.course-fit__card--limits {
  border-color: #eee7df;
  background: linear-gradient(145deg, #fff, #fcfaf7);
}

.course-fit__header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  margin-bottom: 24px;
}

.course-fit__heading-icon {
  display: grid;
  width: 42px;
  height: 42px;
  grid-row: span 2;
  place-items: center;
  border: 1px solid #d9eacc;
  border-radius: 13px;
  background: rgb(255 255 255 / 75%);
  color: #398d34;
}

.course-fit__heading-icon svg {
  width: 30px;
  height: 30px;
}

.course-fit__card--limits .course-fit__heading-icon {
  border-color: #eee2d6;
  color: #a8795e;
}

.course-fit__title {
  min-width: 0;
  margin: 0;
  color: #482d2b;
  font-size: clamp(25px, 2.3vw, 32px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.course-fit__rule {
  width: 64px;
  height: 4px;
  grid-column: 2;
  margin-top: 13px;
  border-radius: 999px;
  background: #57af43;
}

.course-fit__card--limits .course-fit__rule {
  background: #bd9075;
}

.course-fit__subtitle {
  margin: 0 0 18px;
  color: #318a30;
  font-size: clamp(19px, 1.65vw, 22px);
  font-weight: 700;
  line-height: 1.45;
}

.course-fit__suitable-copy,
.course-fit__limits-copy {
  color: #242321;
  font-size: clamp(16px, 1.16vw, 18px);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.course-fit__suitable-copy p,
.course-fit__limits-copy p {
  margin: 0 0 19px;
}

.course-fit__suitable-copy p:last-child,
.course-fit__limits-copy p:last-child {
  margin-bottom: 0;
}

.course-fit__suitable-copy .course-fit__last {
  margin-top: 23px;
  margin-bottom: 0;
  padding: 15px 17px;
  border: 1px solid rgb(66 133 48 / 9%);
  border-left: 3px solid #55c74b;
  border-radius: 0 14px 14px 0;
  background: linear-gradient(110deg, #eaf5e2, #f5f9ef);
  color: #315d2d;
  font-weight: 700;
}

.course-fit__limits-copy p + p {
  margin-top: 0;
  padding-top: 18px;
  border-top: 1px solid #eee9e3;
}

.course-fit__limits-copy p:last-child {
  color: #443c37;
}
*/

.results > .results__inner > .course-cta {
  margin-top: clamp(40px, 4.2vw, 50px);
}

@media (max-width: 820px) {
  .results {
    padding-block: 58px 76px;
  }

  .results__inner {
    width: min(100% - 40px, 700px);
  }

  .results__header {
    margin-bottom: 30px;
  }

  .results__title {
    font-size: clamp(30px, 6vw, 42px);
  }

  .results__subtitle {
    margin-top: 18px;
    font-size: 18px;
  }

  .results__grid {
    gap: 18px;
  }

  .results-card {
    padding: 22px 20px;
    border-radius: 20px;
  }

  .results-card__image {
    height: 118px;
    flex-basis: 118px;
    margin-bottom: 16px;
  }

  .results-card__title {
    font-size: 19px;
  }

  .results-card__text {
    font-size: 16px;
  }

  .about-author {
    padding-block: 58px 72px;
  }

  .about-author__inner {
    width: min(100% - 40px, 680px);
  }

  .about-author__header {
    margin-bottom: 30px;
  }

  .about-author__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .about-author__portrait img {
    width: min(100%, 350px);
  }

  .about-author__content {
    max-width: none;
  }

  .about-author__identity {
    margin-bottom: 20px;
    text-align: center;
  }

  .about-author__name {
    font-size: clamp(34px, 7vw, 42px);
  }

  .about-author__role {
    font-size: 19px;
  }

  .about-author__content > .course-cta {
    margin-inline: auto;
  }

  .course-fit {
    padding-block: 58px 72px;
  }

  .course-fit__inner {
    width: min(100% - 40px, 680px);
  }

  .course-fit__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .course-fit__card {
    padding: 27px;
  }

  .course-fit__title {
    font-size: clamp(26px, 5vw, 31px);
  }
}

@media (max-width: 560px) {
  .course-price {
    padding-block: 48px 60px;
  }

  .course-price__inner {
    width: calc(100% - 36px);
  }

  .course-price__header {
    margin-bottom: 27px;
  }

  .course-price__title {
    font-size: clamp(29px, 8vw, 36px);
  }

  .course-price__notice {
    gap: 10px;
    padding: 20px 15px;
    border-radius: 20px;
  }

  .course-price__notice-icon {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
  }

  .course-price__notice-copy p {
    font-size: 15px;
    line-height: 1.6;
  }

  .course-price__notice-copy br {
    display: none;
  }

  .course-price__installment {
    gap: 10px;
    padding: 15px 13px;
  }

  .course-price__installment > svg,
  .course-price__updates > svg {
    flex-basis: 25px;
    width: 25px;
    height: 25px;
  }

  .course-price__installment p,
  .course-price__updates p {
    font-size: 15px;
  }

  .course-price__plans {
    gap: 18px;
  }

  .course-price__card {
    padding: 23px 18px;
    border-radius: 21px;
  }

  .course-price__plan-title {
    font-size: 22px;
  }

  .course-price__features p {
    font-size: 15px;
  }

  .course-price__new-price {
    font-size: 37px;
  }

  .course-price__button {
    min-height: 60px;
    padding-inline: 16px;
    font-size: 16px;
  }

  .course-price__updates {
    gap: 10px;
    padding: 16px 14px;
  }

  .course-price-dialog__panel {
    padding: 38px 22px 24px;
    border-radius: 21px;
  }

  .course-price-dialog__description {
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .course-price__notice {
    display: block;
  }

  .course-price__notice-icon {
    margin: 0 auto 8px;
  }
}

@media (max-width: 560px) {
  .results {
    padding-block: 48px 60px;
  }

  .results__inner {
    width: calc(100% - 36px);
  }

  .results__header {
    margin-bottom: 24px;
  }

  .results__title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .results__subtitle {
    margin-top: 15px;
    font-size: 16px;
  }

  .results__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .results-card {
    padding: 22px 19px;
  }

  .results-card__image {
    height: 112px;
    flex-basis: 112px;
    margin-bottom: 14px;
  }

  .results-card__title {
    font-size: 20px;
  }

  .results-card__text {
    margin-top: 11px;
    font-size: 16px;
    line-height: 1.55;
  }

  .about-author {
    padding-block: 48px 60px;
  }

  .about-author__inner {
    width: calc(100% - 36px);
  }

  .about-author__header {
    margin-bottom: 24px;
  }

  .about-author__section-title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .about-author__layout {
    gap: 22px;
  }

  .about-author__portrait img {
    width: min(100%, 290px);
  }

  .about-author__identity {
    margin-bottom: 17px;
  }

  .about-author__name {
    font-size: 34px;
  }

  .about-author__role {
    font-size: 17px;
  }

  .about-author__story {
    font-size: 16px;
    line-height: 1.6;
  }

  .about-author__story p {
    margin-bottom: 16px;
  }

  .about-author__quote {
    margin-top: 20px;
    padding: 15px 16px;
    font-size: 16px;
  }

  .about-author__content > .course-cta {
    margin-top: 24px;
  }

  .course-fit {
    padding-block: 48px 60px;
  }

  .course-fit__inner {
    width: calc(100% - 36px);
  }

  .course-fit__grid {
    gap: 17px;
  }

  .course-fit__card {
    padding: 21px 18px;
    border-radius: 21px;
  }

  .course-fit__header {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 11px;
    margin-bottom: 20px;
  }

  .course-fit__heading-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .course-fit__heading-icon svg {
    width: 27px;
    height: 27px;
  }

  .course-fit__title {
    font-size: clamp(24px, 6vw, 28px);
  }

  .course-fit__suitable-copy,
  .course-fit__limits-copy {
    font-size: 16px;
    line-height: 1.6;
  }

  .course-fit__suitable-copy p,
  .course-fit__limits-copy p {
    margin-bottom: 16px;
  }
}

body.course-video-open {
  overflow: hidden;
}

@media (max-width: 820px) {
  .course-content {
    padding-block: 56px 76px;
  }

  .course-content__inner {
    width: min(100% - 40px, 700px);
  }

  .course-content__title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .course-content__video-wrap {
    margin-bottom: 40px;
    border-radius: 19px;
  }

  .course-content__play {
    width: 82px;
  }

  .course-module__summary {
    min-height: 72px;
    grid-template-columns: 42px minmax(0, 1fr) 26px;
    gap: 13px;
    padding: 12px 16px;
  }

  .course-module__icon {
    width: 40px;
    height: 40px;
  }

  .course-module__text p {
    padding: 18px 20px 22px 71px;
    font-size: 16px;
  }

  .course-video {
    width: 94vw;
    max-height: 90dvh;
  }

  .course-video__close {
    top: -16px;
    right: -8px;
  }
}

@media (max-width: 390px) {
  .course-content {
    padding-block: 46px 60px;
  }

  .course-content__inner {
    width: calc(100% - 32px);
  }

  .course-content__title {
    font-size: clamp(26px, 7vw, 30px);
  }

  .course-content__video-wrap {
    margin-bottom: 32px;
    border-radius: 16px;
  }

  .course-content__play {
    width: 72px;
  }

  .course-content__modules {
    gap: 10px;
  }

  .course-module {
    border-radius: 15px;
  }

  .course-module__summary {
    min-height: 68px;
    grid-template-columns: 36px minmax(0, 1fr) 24px;
    gap: 10px;
    padding: 11px 12px;
  }

  .course-module__icon {
    width: 35px;
    height: 35px;
    border-radius: 11px;
  }

  .course-module__icon svg {
    width: 23px;
    height: 23px;
  }

  .course-module__title {
    font-size: 15px;
  }

  .course-module__text p {
    padding: 15px 15px 19px;
    font-size: 16px;
  }

  .course-module__text p + p {
    padding-top: 0;
  }

  .course-video {
    width: 94vw;
  }

  .course-video__panel {
    border-radius: 10px;
  }

  .course-video__close {
    top: -48px;
    right: 0;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}