/* Homepage FAQ and contact section. */
body.home .fm-faq-contact-section {
  background: var(--fm-neutral-0);
  color: var(--fm-neutral-900);
  padding: 0 0 60px;
}

body.home .fm-faq-contact-section > .fm-container {
  width: calc(100% - 2rem);
  max-width: var(--fm-container);
  margin-inline: auto;
  box-sizing: border-box;
}

body.home .fm-faq-contact-section__header,
body.home .fm-faq-contact-section__content {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.7fr);
  gap: clamp(32px, 5vw, 64px);
}

body.home .fm-faq-contact-section__header {
  align-items: start;
  margin-bottom: 46px;
}

body.home .fm-faq-contact-section__badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--fm-neutral-50);
  color: var(--fm-neutral-500);
  font: var(--fm-type-interface-xs);
}

body.home .fm-faq-contact-section__badge-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--fm-primary-50);
}

body.home .fm-faq-contact-section__badge-icon img {
  display: block;
  width: 12px;
  height: 12px;
}

body.home .fm-faq-contact-section__title {
  max-width: 620px;
  margin: 0;
  font: var(--fm-type-display-section);
  letter-spacing: var(--fm-type-display-section-letter-spacing, -1%);
  color: #000000;
}

body.home .fm-faq-contact-section__content {
  align-items: start;
}

body.home .fm-faq-contact-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 22px;
  border-radius: 30px;
  background: var(--fm-neutral-50);
}

body.home .fm-faq-contact-card__intro {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

body.home .fm-faq-contact-card__icon {
  display: inline-flex;
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: var(--fm-neutral-0);
}

body.home .fm-faq-contact-card__icon img {
  display: block;
  width: 58px;
  height: 58px;
}

body.home .fm-faq-contact-card h3 {
  margin: 4px 0 8px;
  font: var(--fm-type-heading-h3);
  color: #000000;
}

body.home .fm-faq-contact-card p {
  max-width: 310px;
  margin: 0;
  color: var(--fm-neutral-500);
  font: var(--fm-type-body-s-regular);
}

body.home .fm-faq-contact-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

body.home .fm-faq-contact-button {
  display: inline-flex;
  height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 22px;
  border: 0;
  border-radius: 20px;
  font: var(--fm-type-interface-l);
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

body.home .fm-faq-contact-button--dark {
  background: var(--fm-neutral-900);
  color: var(--fm-neutral-0);
}

body.home .fm-faq-contact-button--dark:hover,
body.home .fm-faq-contact-button--dark:focus-visible {
  background: var(--fm-neutral-800);
}

body.home .fm-faq-contact-button--light {
  justify-content: center;
  background: var(--fm-neutral-0);
  color: var(--fm-primary-500);
}

body.home .fm-faq-contact-button--light:hover,
body.home .fm-faq-contact-button--light:focus-visible {
  background: var(--fm-primary-50);
}

body.home .fm-faq-contact-button__arrow {
  font-size: 26px;
  line-height: 1;
}

body.home .fm-faq-list {
  display: grid;
  gap: 14px;
}

body.home .fm-faq-item {
  border-radius: 20px;
  background: var(--fm-neutral-50);
  overflow: hidden;
}

body.home .fm-faq-item summary {
  display: flex;
  height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 26px;
  color: var(--fm-neutral-900);
  cursor: pointer;
  font: var(--fm-type-interface-l);
  list-style: none;
}

body.home .fm-faq-item summary::-webkit-details-marker {
  display: none;
}

body.home .fm-faq-item summary:focus-visible {
  outline: 2px solid var(--fm-primary-500);
  outline-offset: -2px;
}

body.home .fm-faq-item__chevron {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-right: 1.5px solid var(--fm-neutral-500);
  border-bottom: 1.5px solid var(--fm-neutral-500);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

body.home .fm-faq-item[open] .fm-faq-item__chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

body.home .fm-faq-item__answer {
  padding: 0 26px 22px;
  color: var(--fm-neutral-500);
  font: var(--fm-type-body-s-regular);
}

body.home .fm-faq-item__answer p {
  max-width: 720px;
  margin: 0;
}

@media (max-width: 900px) {
  body.home .fm-faq-contact-section__header,
  body.home .fm-faq-contact-section__content {
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.4fr);
    gap: 28px;
  }

  body.home .fm-faq-contact-card {
    padding: 20px;
  }

  body.home .fm-faq-contact-card__icon {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  body.home .fm-faq-contact-card__icon img {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 767px) {
  body.home .fm-faq-contact-section {
    padding: 0 0 70px;
  }

  body.home .fm-faq-contact-section > .fm-container {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding-inline: 20px;
    box-sizing: border-box;
  }

  body.home .fm-faq-contact-section__header,
  body.home .fm-faq-contact-section__content {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  body.home .fm-faq-contact-section__header {
    margin-bottom: 24px;
  }

  body.home .fm-faq-contact-section__badge {
    margin-bottom: 16px;
  }

  body.home .fm-faq-contact-section__title {
    font: var(--fm-type-heading-h1);
  }

  body.home .fm-faq-contact-section__content {
    gap: 32px;
  }

  body.home .fm-faq-list {
    order: 1;
    width: 100%;
    gap: 16px;
  }

  body.home .fm-faq-contact-card {
    order: 2;
    min-height: 0;
    gap: 32px;
    padding: 20px;
    border-radius: 22px;
  }

  body.home .fm-faq-contact-card__intro {
    gap: 16px;
  }

  body.home .fm-faq-contact-card__icon {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
    border-radius: 14px;
  }

  body.home .fm-faq-contact-card__icon img {
    width: 32px;
    height: 32px;
  }

  body.home .fm-faq-contact-card h3 {
    margin: 2px 0 6px;
    font: var(--fm-type-heading-h3);
  }

  body.home .fm-faq-contact-card p {
    font: var(--fm-type-body-m-regular);
  }

  body.home .fm-faq-contact-card__actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.home .fm-faq-contact-button {
    min-height: 52px;
    border-radius: 20px;
  }

  body.home .fm-faq-item {
    border-radius: 20px;
  }

  body.home .fm-faq-item summary {
    height: 64px;
    padding: 0 24px;
    font: var(--fm-type-interface-l);
  }

  body.home .fm-faq-item__answer {
    padding: 0 24px 18px;
    font: var(--fm-type-body-s-regular);
  }
}
