html {
  scroll-behavior: smooth;
}

.home-page {
  background-color: var(--surface);
}

.cta-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;

  width: 100%;
  min-height: 56px;
  padding: .75rem 1.5rem;

  border-radius: .625rem;
  background-color: var(--main);
  box-shadow: 0 8px 22px -8px var(--main-shadow);

  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  color: var(--light-text);
}

.cta-link__icon {
  width: 20px;
  height: 20px;

  fill: currentColor;
}

.cta-link__label,
.cta-link__icon {
  color: var(--light-text);
}

.cta-link__icon path {
  fill: var(--light-text);
}

.cta-link--outline {
  border: 1px solid var(--main);
  background-color: transparent;
  box-shadow: none;

  color: var(--main);
}

.cta-link--outline .cta-link__label,
.cta-link--outline .cta-link__icon {
  color: var(--main);
}

.cta-link--outline .cta-link__icon path {
  fill: var(--main);
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;

  width: 100%;
  min-height: 648px;
  padding: 4rem 3rem;

  background-color: var(--background);
}

.hero-section__content {
  width: 100%;
  max-width: 503px;
}

.hero-section__title {
  margin-bottom: 2.25rem;

  font-size: 3rem;
  font-weight: 700;
  line-height: 1.05;
}

.hero-section__subtitle {
  margin-bottom: 2.5rem;

  font-size: 1rem;
  line-height: 1.5;
  color: var(--secondary-text);
}

.hero-section__cta {
  max-width: 360px;
}

.hero-section__image {
  display: block;

  width: 100%;
  max-width: 548px;
  height: 548px;

  border-radius: 1.25rem;

  object-fit: cover;
}

.tag-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;

  width: 100%;
  min-height: 59px;
  padding: .75rem 2rem;

  background-color: var(--secondary);
}

.tag-strip__item {
  width: 174px;
  padding: .25rem .75rem;

  border: 1px solid var(--light-text);
  border-radius: 99rem;

  font-size: .875rem;
  text-align: center;
  color: var(--light-text);
}

.solution-section,
.ingredients-section,
.routine-section {
  width: 100%;
  padding: 8rem 3rem;
}

.solution-section__content,
.ingredients-section__content,
.routine-section__content {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.solution-section__content,
.ingredients-section__content {
  display: flex;
  align-items: center;
  gap: 4.5rem;
}

.solution-section__intro,
.solution-section__list,
.ingredients-section__body,
.ingredients-section__image {
  width: 50%;
}

.ingredients-section__image {
  display: block;

  max-width: 498px;

  border-radius: 1.25rem;

  object-fit: cover;
}

.solution-section__title,
.ingredients-section__title {
  margin-bottom: 1.5rem;

  font-size: 2.125rem;
  font-weight: 700;
  line-height: 1.15;
}

.solution-section__subtitle,
.ingredients-section__subtitle {
  margin-bottom: 2rem;

  font-size: 1rem;
  line-height: 1.5;
  color: var(--secondary-text);
}

.solution-section__cta,
.ingredients-section__cta {
  max-width: 360px;
  margin-top: 2rem;
}

.solution-section__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.solution-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.solution-card__icon {
  width: 48px;
  height: 48px;
  padding: .75rem;

  border-radius: .75rem;
  background-color: var(--background);
}

.solution-card__title {
  margin-bottom: .25rem;

  font-size: 1rem;
  font-weight: 700;
}

.solution-card__text {
  font-size: .875rem;
  line-height: 1.5;
  color: var(--secondary-text);
}

.ingredients-section {
  background-color: var(--background);
}

.ingredients-section__image {
  order: 1;
}

.ingredients-section__content {
  order: 2;
}

.ingredients-section__list {
  border-top: 1px solid var(--border);
}

.ingredient-item {
  padding: 1rem 0;

  border-bottom: 1px solid var(--border);
}

.ingredient-item__summary,
.home-faq-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  cursor: pointer;
  list-style: none;
}

.ingredient-item__summary::-webkit-details-marker,
.home-faq-item__summary::-webkit-details-marker {
  display: none;
}

.ingredient-item__title {
  font-size: 1rem;
  font-weight: 700;
}

.ingredient-item__toggle,
.home-faq-item__toggle {
  flex: 0 0 auto;

  font-size: 1.5rem;
  line-height: 1;
  color: var(--secondary);
}

.ingredient-item[open] .ingredient-item__toggle,
.home-faq-item[open] .home-faq-item__toggle {
  font-size: 0;
}

.ingredient-item[open] .ingredient-item__toggle::before,
.home-faq-item[open] .home-faq-item__toggle::before {
  content: "−";

  font-size: 1.5rem;
}

.ingredient-item__text {
  padding-top: .75rem;

  font-size: .875rem;
  line-height: 1.5;
  color: var(--secondary-text);
}

.ingredients-section__footnotes {
  margin-top: 1.5rem;
}

.ingredients-section__footnote {
  font-size: .75rem;
  line-height: 1.5;
  color: var(--secondary-text);
}

.routine-section__title {
  margin-bottom: 4.5rem;

  font-size: 3rem;
  font-weight: 700;
  text-align: center;
}

.routine-section__list {
  display: flex;
  justify-content: center;
  gap: 4.5rem;
}

.routine-card {
  display: flex;
  align-items: center;
  flex-direction: column;

  width: 100%;
  max-width: 260px;

  text-align: center;
}

.routine-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 150px;
  height: 150px;
  margin-bottom: 1.5rem;

  border-radius: 99rem;
  background-color: var(--background);

  color: var(--main);
}

.routine-card__icon {
  width: 64px;
  height: 64px;

  color: var(--main);
  stroke: var(--main);
  stroke-width: 1.5;
}

.routine-card__icon path,
.routine-card__icon circle,
.routine-card__icon rect,
.routine-card__icon line {
  stroke: var(--main);
}

.routine-card__title {
  margin-bottom: .5rem;

  font-size: 1.125rem;
  font-weight: 700;
}

.routine-card__text {
  font-size: .875rem;
  line-height: 1.5;
  color: var(--secondary-text);
}

.routine-section__cta {
  max-width: 360px;
  margin: 3rem auto 0;
}

.home-faq {
  width: 100%;
  padding: 4rem 1rem;

  background-color: var(--background);
}

.home-faq__content {
  width: 100%;
  max-width: 742px;
  margin: 0 auto;
}

.home-faq__title {
  margin-bottom: 2.5rem;

  font-size: 2.125rem;
  font-weight: 700;
  text-align: center;
}

.home-faq__list {
  margin-bottom: 2.5rem;
}

.home-faq-item {
  padding: 1.25rem 0;

  border-bottom: 1px solid var(--border);
}

.home-faq-item__title {
  font-size: 1rem;
  font-weight: 700;
}

.home-faq-item__text {
  padding-top: 1rem;

  font-size: .875rem;
  line-height: 1.5;
  color: var(--secondary-text);
}

.home-faq__cta {
  max-width: 360px;
  margin: 0 auto;
}

@media (max-width: 64rem) {
  .hero-section {
    gap: 3rem;
  }

  .solution-section__content,
  .ingredients-section__content {
    gap: 3rem;
  }
}

@media (max-width: 48rem) {
  .hero-section {
    flex-direction: column;
    gap: 2.5rem;

    padding: 3rem 1rem;
  }

  .hero-section__content {
    text-align: center;
  }

  .hero-section__title {
    margin-bottom: 1.5rem;

    font-size: 2.5rem;
  }

  .hero-section__cta {
    margin: 0 auto;
  }

  .hero-section__image {
    height: auto;
  }

  .tag-strip {
    flex-wrap: wrap;
  }

  .solution-section,
  .ingredients-section,
  .routine-section {
    padding: 4rem 1rem;
  }

  .solution-section__content,
  .ingredients-section__content {
    flex-direction: column;
  }

  .solution-section__intro,
  .solution-section__list,
  .ingredients-section__body,
  .ingredients-section__image {
    width: 100%;
  }

  .ingredients-section__image {
    order: 2;
  }

  .ingredients-section__content {
    order: 1;
  }

  .routine-section__title {
    margin-bottom: 3rem;

    font-size: 2.25rem;
  }

  .routine-section__list {
    align-items: center;
    flex-direction: column;
    gap: 3rem;
  }

}

@media (max-width: 36rem) {
  .hero-section__title {
    font-size: 2.125rem;
  }

  .tag-strip__item {
    width: 140px;
  }

  .solution-section__title,
  .ingredients-section__title,
  .home-faq__title {
    font-size: 1.75rem;
  }

}

@media (max-width: 1200px) {
  .hero-section,
  .solution-section,
  .ingredients-section,
  .routine-section {
    padding-right: 2rem;
    padding-left: 2rem;
  }
}

@media (max-width: 1024px) {
  .hero-section {
    gap: 3rem;

    min-height: 580px;
  }

  .hero-section__image {
    max-width: 460px;
    height: 460px;
  }

  .tag-strip {
    flex-wrap: wrap;
  }

  .solution-section,
  .ingredients-section,
  .routine-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .solution-section__content,
  .ingredients-section__content {
    gap: 3rem;
  }

  .routine-section__list {
    gap: 2rem;
  }
}

@media (max-width: 864px) {
  .hero-section {
    flex-direction: column;
    gap: 2.5rem;

    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero-section__content {
    max-width: 548px;

    text-align: center;
  }

  .hero-section__cta {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-section__image {
    max-width: 548px;
    height: auto;
  }

  .solution-section__content,
  .ingredients-section__content {
    align-items: stretch;
    flex-direction: column;
  }

  .solution-section__intro,
  .solution-section__list,
  .ingredients-section__body,
  .ingredients-section__image {
    width: 100%;
  }

  .solution-section__cta,
  .ingredients-section__cta {
    max-width: 100%;
  }

  .ingredients-section__image {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .hero-section,
  .solution-section,
  .ingredients-section,
  .routine-section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .tag-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;

    padding: 1rem;
  }

  .tag-strip__item {
    width: 100%;
  }

  .solution-section,
  .ingredients-section,
  .routine-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .solution-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 1rem;
  }

  .solution-card__icon {
    grid-row: 1 / 3;
  }

  .solution-card__title,
  .solution-card__text {
    grid-column: 2;
  }

  .ingredients-section__content {
    gap: 2rem;
  }

  .routine-section__list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .routine-card {
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 576px) {
  .hero-section {
    gap: 2rem;

    min-height: 0;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-section__title {
    font-size: 2.125rem;
  }

  .hero-section__subtitle {
    margin-bottom: 2rem;
  }

  .cta-link {
    min-height: 52px;
    padding: .75rem 1rem;
  }

  .solution-section__title,
  .ingredients-section__title,
  .routine-section__title,
  .home-faq__title {
    font-size: 1.75rem;
  }

  .solution-section__list {
    gap: 1.25rem;
  }

  .solution-card {
    grid-template-columns: 42px 1fr;
    column-gap: .75rem;
  }

  .solution-card__icon {
    width: 42px;
    height: 42px;
    padding: .625rem;
  }

  .routine-section__title {
    margin-bottom: 2.5rem;
  }

  .routine-card__icon-wrap {
    width: 120px;
    height: 120px;
  }

  .routine-card__icon {
    width: 52px;
    height: 52px;
  }

  .home-faq {
    padding: 3rem 1rem;
  }

  .home-faq-item__summary {
    gap: .75rem;
  }
}

@media (max-width: 375px) {
  .hero-section__title {
    font-size: 1.875rem;
  }

  .tag-strip {
    grid-template-columns: 1fr;
  }

  .solution-section,
  .ingredients-section,
  .routine-section {
    padding-right: .75rem;
    padding-left: .75rem;
  }

  .solution-card__text,
  .ingredient-item__text,
  .routine-card__text,
  .home-faq-item__text {
    font-size: .8rem;
  }
}
