@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}

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

#root, #__next {
  isolation: isolate;
}

input[type=radio] {
  opacity: 0;
  position: absolute;
}

body {
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  background-color: #F8EEFF;
  color: #301534;
  font-style: normal;
  position: relative;
}

.fw400 {
  font-weight: 400;
}

.fw600 {
  font-weight: 600;
}

.fw700 {
  font-weight: 700;
}

.header {
  min-block-size: 14.5rem;
  background-image: url("../assets/images/background-pattern-mobile.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.main {
  position: relative;
}

.wrap {
  padding: 0 1.5rem 8.9rem 1.5rem;
  position: relative;
  margin-top: -5.6rem;
}

.faq_card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  max-inline-size: 37.5rem;
  margin: 0 auto;
}

.faq_header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.faq_header_img_cont {
  block-size: 1.3rem;
  inline-size: 1.3rem;
}

.faq_header_img {
  display: block;
  block-size: 100%;
  inline-size: 100%;
}

.faq_header_h1 {
  font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
  line-height: 1.19;
  color: #301534;
}

.faq_ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.faq_li:not(:last-child) {
  border-bottom: 1px solid #F8EEFF;
}

.faq_li:nth-child(2), .faq_li:nth-child(3) {
  padding: 1.5rem 0;
}

.faq_li:nth-child(1) {
  padding-bottom: 1.5rem;
}

.faq_li:nth-child(4) {
  padding-top: 1.5rem;
}

.faq_li h2 {
  text-wrap: initial;
}

.accordion_btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: clamp(1rem, 0.26vw + 15.2px, 1.125rem);
  line-height: 1.19;
  color: #301534;
  gap: 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  width: 100%;
  transition: color 0.3s ease-in-out;
}

.accordion_btn:hover {
  color: #AD28EB;
}

.faq_button_img {
  display: none;
}

.faq_button_img.active {
  display: block;
}

.faq_answer {
  font-size: clamp(14px, 0.26vw + 13.2px, 16px);
  line-height: 1.5;
  color: #8B6990;
}

.attribution_h2 {
  text-align: center;
  padding: 0.5rem 1.5rem;
  font-size: clamp(0.875rem, 2vw, 0.94rem);
  text-wrap: initial;
}

.attribution a {
  color: #AD28EB;
}

@media screen and (min-width: 48rem) {
  .header {
    min-block-size: 20rem;
    background-image: url("../assets/images/background-pattern-desktop.svg");
  }
  .wrap {
    padding: 0 1.5rem 10.5rem 1.5rem;
    position: relative;
    margin-top: -9.5rem;
  }
  .faq_card {
    padding: 2.5rem;
    border-radius: 1rem;
    gap: 2rem;
    max-inline-size: 37.5rem;
    margin: 0 auto;
  }
  .faq_header_img_cont {
    block-size: 2.2rem;
    inline-size: 2.2rem;
  }
  .faq_li:nth-child(2), .faq_li:nth-child(3) {
    padding: 1.5rem 0;
  }
  .faq_li:nth-child(1) {
    padding-bottom: 1.5rem;
  }
  .faq_li:nth-child(4) {
    padding-top: 1.5rem;
  }
}