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

*[hidden] {
  display: none;
}

html {
  font-family: Avenir, system-ui, sans-serif;
  color: #12110e;
  background: #fef8de;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-bottom: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

body {
  min-height: 100vh;
  padding: 0;
  margin: 0;
  line-height: 1;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentcolor;
}

img,
picture {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

:target {
  scroll-margin-top: 5ex;
}

.hero {
  padding: 40px 16px 0;
}

.hero__body {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__media {
  flex-grow: 1;
  flex-basis: 448px;
}

.hero__content {
  flex-grow: 999;
  flex-basis: 0;
  min-width: 50%;
}

.hero__title {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: #b12425;
}

.hero__description,
.hero__features {
  padding: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 32px;
  color: #2d652f;
}

.hero__description {
  margin-top: 40px;
}

.hero__features {
  margin-top: 16px;
  list-style-position: inside;
}

.hero__cta {
  margin-top: 40px;
}

.hero__cta > a {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 24px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: #da4024;
  border-radius: 999px;
}

.hero__course-cover {
  color: rgb(110 141 44);
  border-radius: 16px;
  box-shadow:
    0 20px 25px -5px rgb(110 141 44 / 50%),
    0 8px 10px -6px rgb(110 141 44 / 50%);
}

.content-column {
  padding: 24px 16px;
  font-size: 18px;
  line-height: 28px;
  background: #d4ea95;
  border-radius: 16px;
}

.content-column h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #2d652f;
}

.content-column ul,
.content-column ol {
  padding: 0 0 0 16px;
  margin: 16px 0 0;
  color: #8e44ad;
  list-style: disc;
}

.content-column ul > * + *,
.content-column ol > * + * {
  margin-top: 8px;
}

.contents__title {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: #2d652f;
}

.contents__description {
  padding: 0;
  margin: 0;
  font-size: 18px;
  line-height: 32px;
}

.contents__columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.contents__columns > * {
  flex-grow: 1;
  flex-basis: calc((720px - 100%) * 999);
}

.contents__columns > :nth-last-child(n+ 4),
.contents__columns > :nth-last-child(n+ 4) ~ * {
  flex-basis: 100%;
}

.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 640px;
}

.subscribe-form > :first-child {
  flex-grow: 999;
  flex-basis: 0;
  min-width: 50%;
}

.subscribe-form > :last-child {
  flex-grow: 1;
}

.subscribe-form > input,
.subscribe-form > button {
  height: 48px;
  padding: 0 16px;
  font-size: 16px;
  line-height: 1;
  appearance: none;
  border-radius: 8px;
}

.subscribe-form > input {
  background: #fff;
  border: 1px solid #da4024;
  border-right: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.subscribe-form > input::placeholder {
  color: inherit;
  opacity: 0.4;
}

.subscribe-form > button {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: #fff;
  text-align: center;
  background: #da4024;
  border: 1px solid #da4024;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.signup__title {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: #2d652f;
}

.signup__description {
  padding: 0;
  margin: 0;
  font-size: 18px;
  line-height: 32px;
}

.signup__form {
  margin-top: 20px;
}

.signup__footnote {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 16px;
}

.main {
  padding: 0 16px;
}

.main__contents,
.main__signup {
  max-width: 1200px;
  margin: 80px auto 0;
}

.footer {
  padding: 0 16px;
  margin-top: 80px;
}

.footer__body {
  max-width: 1200px;
  padding: 20px 0 40px;
  margin: 0 auto;
  border-top: 1px solid rgb(0 0 0 / 10%);
}

.footer__nav {
  display: flex;
  gap: 16px 24px;
  align-items: center;
  font-size: 16px;
  line-height: 20px;
}

.footer__nav > a {
  font-weight: 700;
  color: #8e44ad;
}

.footer__disclaimers {
  margin-top: 32px;
  font-size: 14px;
  line-height: 16px;
  color: #2d652f;
}

.footer__disclaimers > p {
  margin-top: 0;
}

.footer__disclaimers > p + p {
  margin-top: 1em;
}

.footer__copyright {
  margin: 32px 0 0;
  font-size: 16px;
  line-height: 20px;
}
