:root {
  --font-heading: 'omnes-pro', 'Nunito', sans-serif;
  --font-body: 'Quicksand', sans-serif;
  --purple: #5b1859;
  --pink: #ff5a9a;
  --pink-soft: #fde0ec;
  --yellow-soft: #fffae2;
  --text: #1f1c23;
  --muted: #9c98a0;
  --field-border: #cfcfd2;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--white);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.33;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  font-weight: 700;
}

.container {
  width: min(100%, 1030px);
  margin: 0 auto;
}

.hero-section {
  padding: 76px 24px 74px;
  background: var(--white);
}

.hero-container {
  display: grid;
  grid-template-columns: 392px 1fr;
  gap: 82px;
  align-items: center;
}

.author-logo {
  width: 214px;
  margin-bottom: 40px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--pink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2 {
  margin: 0;
  color: var(--purple);
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero-copy h1 {
  margin-bottom: 30px;
  font-size: 45px;
}

.intro {
  margin: 0 0 32px;
  max-width: 392px;
  font-size: 20px;
  font-weight: 500;
}

.intro strong {
  font-weight: 700;
}

.intro span,
.download-card p span,
.community-container h2 span {
  color: var(--pink);
  font-weight: 700;
}

.hero-art {
  align-self: start;
}

.hero-art img {
  width: 530px;
  margin: 0 auto;
}

.optin-form {
  display: grid;
  gap: 13px;
  width: 100%;
}

.formkit-alert {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.formkit-alert:not(:empty) {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid #f7a8bf;
  border-radius: 4px;
  color: #8b1740;
  background: #fff0f5;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.formkit-alert li {
  margin: 0;
}

.optin-form label,
.optin-form .formkit-field {
  display: block;
}

.optin-form label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.optin-form input {
  width: 100%;
  height: 33px;
  padding: 0 11px;
  border: 1px solid var(--field-border);
  border-radius: 2px;
  color: #444047;
  background: var(--white);
  font: 500 16px var(--font-body);
}

.optin-form input::placeholder {
  color: #bbb8bd;
}

.optin-form button {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--purple);
  font: 700 18px var(--font-body);
  cursor: pointer;
}

.optin-form button > span {
  display: block;
}

.optin-form button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.form-note {
  margin: 28px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  font-weight: 500;
}

.success-view {
  text-align: center;
  padding: 12px 4px;
}

.success-icon {
  font-size: 40px;
  line-height: 1;
  margin: 0 0 12px;
}

.success-title {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--purple);
  font-weight: 700;
  margin: 0 0 8px;
}

.success-copy {
  font-size: 15px;
  color: var(--purple);
  font-weight: 500;
  margin: 0;
}

.pink-band {
  position: relative;
  background: var(--pink-soft);
}

.notch-top::before,
.notch-bottom::after {
  position: absolute;
  left: 50%;
  z-index: 1;
  width: 0;
  height: 0;
  content: "";
  transform: translateX(-50%);
}

.notch-top::before {
  top: 0;
  border-right: 34px solid transparent;
  border-left: 34px solid transparent;
  border-top: 18px solid var(--white);
}

.notch-bottom::after {
  bottom: -18px;
  border-right: 34px solid transparent;
  border-left: 34px solid transparent;
  border-top: 18px solid var(--pink-soft);
}

.inside-section {
  padding: 70px 24px 66px;
}

.inside-container {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 82px;
  align-items: center;
}

.inside-art img {
  width: 500px;
}

.inside-card {
  min-height: 508px;
  padding: 63px 50px 46px 56px;
  background: var(--white);
}

.inside-card h2 {
  margin-bottom: 32px;
  text-align: center;
  font-size: 36px;
}

.inside-card ul {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inside-card li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 18px;
  align-items: start;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.33;
}

.inside-card i {
  margin-top: 5px;
  color: var(--pink);
  font-size: 16px;
}

.community-section {
  padding: 70px 24px 72px;
  background: var(--white);
}

.community-container h2 {
  margin-bottom: 69px;
  text-align: center;
  font-size: 36px;
  line-height: 1.04;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 518px));
  justify-content: center;
  gap: 52px;
}

.community-grid img {
  width: 518px;
  box-shadow: 0 8px 20px rgba(48, 36, 44, 0.16);
}

.faq-section {
  position: relative;
  padding: 72px 0 84px;
  background: var(--yellow-soft);
}

.faq-section.notch-top::before {
  border-top-color: var(--white);
}

.download-section.notch-top::before {
  border-top-color: var(--yellow-soft);
}

.faq-inner {
  max-width: 990px;
  margin: 0 auto;
  padding: 0 32px;
}

.faq-section h2 {
  margin: 0 0 48px;
  color: var(--purple);
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  text-wrap: balance;
}

.faq-list {
  display: grid;
  max-width: 720px;
  margin: 0 auto;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 6px 20px rgba(84, 24, 77, 0.08);
  transition: box-shadow 140ms ease;
}

.faq-item:hover {
  box-shadow: 0 10px 30px rgba(84, 24, 77, 0.14);
}

.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.faq-q-text {
  flex: 1;
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.faq-icon {
  display: flex;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  padding-bottom: 5px;
  border-radius: 50%;
  color: #ff319f;
  background: #ffe8f4;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.faq-a {
  display: none;
  padding: 0 28px 22px;
}

.faq-a-inner {
  padding-top: 16px;
  border-top: 1px solid rgba(84, 24, 77, 0.08);
}

.faq-a p {
  margin: 0;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.68;
}

.faq-item.open .faq-a {
  display: block;
}

.download-section {
  padding: 65px 24px 78px;
}

.download-card {
  width: min(100%, 610px);
  margin: 0 auto;
  padding: 55px 60px 50px;
  background: var(--white);
}

.download-card h2 {
  margin-bottom: 28px;
  text-align: center;
  font-size: 36px;
}

.download-card p:not(.form-note) {
  margin: 0 0 29px;
  font-size: 19px;
  font-weight: 500;
}

.download-card .optin-form {
  gap: 12px;
}

.download-card .optin-form input {
  height: 33px;
}

.download-card .optin-form button {
  min-height: 58px;
}

.download-card .form-note {
  margin-top: 27px;
}

.footer {
  padding: 72px 24px 45px;
  text-align: center;
  background: var(--white);
}

.footer-logo {
  width: 256px;
  margin: 0 auto 40px;
}

.footer p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 600px) {
  body {
    font-size: 18px;
  }

  .container {
    width: min(100%, 650px);
  }

  .hero-section {
    padding: 34px 33px 18px;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    gap: 39px;
    align-items: stretch;
  }

  .hero-copy {
    order: 1;
  }

  .hero-art {
    order: 2;
  }

  .author-logo {
    width: 196px;
    margin-bottom: 34px;
  }

  .eyebrow {
    margin-bottom: 13px;
    font-size: 18px;
  }

  .hero-copy h1 {
    margin-bottom: 23px;
    font-size: 38px;
    line-height: 0.98;
  }

  .intro {
    margin-bottom: 27px;
    max-width: 100%;
    font-size: 18px;
    line-height: 1.35;
  }

  .hero-art img {
    width: min(100%, 430px);
  }

  .optin-form {
    gap: 10px;
  }

  .optin-form input {
    height: 30px;
    font-size: 14px;
  }

  .optin-form button {
    min-height: 53px;
    font-size: 15px;
  }

  .form-note {
    margin-top: 24px;
    font-size: 10px;
  }

  .notch-top::before {
    border-right-width: 28px;
    border-left-width: 28px;
    border-top-width: 16px;
  }

  .notch-bottom::after {
    bottom: -16px;
    border-right-width: 28px;
    border-left-width: 28px;
    border-top-width: 16px;
  }

  .inside-section {
    padding: 45px 0 35px;
  }

  .inside-container {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
  }

  .inside-art {
    width: 100%;
    padding: 0 16px;
  }

  .inside-art img {
    width: min(100%, 456px);
    margin: 0 auto;
  }

  .inside-card {
    width: calc(100% - 20px);
    min-height: 0;
    margin: 0 10px;
    padding: 10px 24px;
    background: var(--white);
  }

  .inside-card h2 {
    margin-bottom: 28px;
    font-size: 31px;
    line-height: 1;
  }

  .inside-card ul {
    gap: 18px;
  }

  .inside-card li {
    grid-template-columns: 16px 1fr;
    gap: 17px;
    font-size: 17px;
    line-height: 1.28;
  }

  .inside-card i {
    margin-top: 3px;
    font-size: 14px;
  }

  .community-section {
    padding: 43px 16px 47px;
  }

  .community-container h2 {
    margin-bottom: 35px;
    font-size: 31px;
    line-height: 1.05;
  }

  .community-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .community-grid img {
    width: 100%;
  }

  .faq-section {
    padding: 54px 0 58px;
  }

  .faq-inner {
    padding: 0 20px;
  }

  .faq-section h2 {
    margin-bottom: 34px;
    font-size: 28px;
  }

  .faq-q {
    padding: 18px 20px;
  }

  .faq-q-text {
    font-size: 16px;
  }

  .faq-a {
    padding: 0 20px 20px;
  }

  .download-section {
    padding: 40px 30px 37px;
  }

  .download-card {
    padding: 31px 28px 32px;
  }

  .download-card h2 {
    margin-bottom: 22px;
    font-size: 31px;
  }

  .download-card p:not(.form-note) {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.34;
  }

  .download-card .optin-form button {
    min-height: 53px;
    font-size: 14px;
  }

  .footer {
    padding: 42px 14px 17px;
  }

  .footer-logo {
    width: 138px;
    margin-bottom: 22px;
  }

  .footer p {
    font-size: 12px;
    line-height: 1.5;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  body {
    font-size: 18px;
  }

  .container {
    width: min(100%, 668px);
  }

  .hero-section {
    padding: 88px 0 19px;
  }

  .hero-container {
    display: grid;
    grid-template-columns: 240px 362px;
    gap: 66px;
    align-items: start;
  }

  .author-logo {
    width: 200px;
    margin-bottom: 36px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 17px;
  }

  .hero-copy h1 {
    margin-bottom: 27px;
    font-size: 45px;
    line-height: 1.02;
  }

  .intro {
    margin-bottom: 28px;
    max-width: 240px;
    font-size: 20px;
    line-height: 1.28;
  }

  .hero-art img {
    width: 362px;
  }

  .optin-form {
    gap: 11px;
  }

  .optin-form input {
    height: 31px;
    font-size: 15px;
  }

  .optin-form button {
    min-height: 54px;
    font-size: 15px;
  }

  .form-note {
    margin-top: 24px;
    font-size: 11px;
    line-height: 1.15;
  }

  .inside-section {
    padding: 59px 0 127px;
  }

  .inside-container {
    width: 100%;
    grid-template-columns: 362px 1fr;
    gap: 0;
    align-items: center;
  }

  .inside-art img {
    width: 362px;
    margin-left: 0;
  }

  .inside-card {
    min-height: 0;
    padding: 39px 36px 36px 34px;
  }

  .inside-card h2 {
    margin-bottom: 28px;
    font-size: 31px;
    line-height: 1;
    white-space: nowrap;
  }

  .inside-card ul {
    gap: 18px;
  }

  .inside-card li {
    grid-template-columns: 17px 1fr;
    gap: 17px;
    font-size: 17px;
    line-height: 1.33;
  }

  .inside-card i {
    margin-top: 4px;
    font-size: 14px;
  }

  .community-section {
    padding: 55px 14px 58px;
  }

  .community-container h2 {
    margin: 0 auto 50px;
    max-width: 690px;
    font-size: 32px;
    line-height: 1.08;
  }

  .community-grid {
    grid-template-columns: repeat(2, minmax(0, 328px));
    gap: 29px;
  }

  .community-grid img {
    width: 328px;
  }

  .download-section {
    padding: 52px 0 63px;
  }

  .download-card {
    width: 386px;
    padding: 37px 36px 40px;
  }

  .download-card h2 {
    margin-bottom: 25px;
    font-size: 31px;
  }

  .download-card p:not(.form-note) {
    margin-bottom: 23px;
    font-size: 17px;
    line-height: 1.34;
  }

  .download-card .optin-form button {
    min-height: 54px;
    font-size: 14px;
  }

  .footer {
    padding: 60px 18px 34px;
  }

  .footer-logo {
    width: 198px;
    margin-bottom: 30px;
  }

  .footer p {
    font-size: 14px;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .container {
    width: min(100%, 900px);
  }

  .hero-container,
  .inside-container {
    gap: 54px;
  }

  .hero-container {
    grid-template-columns: 360px 1fr;
  }

  .hero-art img {
    width: 470px;
  }

  .inside-container {
    grid-template-columns: 410px 1fr;
  }

  .inside-art img {
    width: 410px;
  }

  .inside-card {
    padding-right: 40px;
    padding-left: 40px;
  }

  .community-grid {
    grid-template-columns: repeat(2, minmax(0, 430px));
  }

  .community-grid img {
    width: 430px;
  }
}
