@font-face {
  font-family: "Work Sans";
  src: url("../../assets/fonts/WorkSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

body {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: "Work Sans", sans-serif;
  background-color: #f8eeff;
}

body::before {
  content: "";
  flex: 1 0 0;
}

body::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 232px;
  background: #301534 url("../../assets/images/background-pattern-mobile.svg") center/cover no-repeat;
}
@media (min-width: 48em) {
  body::after {
    height: 320px;
    background-image: url("../../assets/images/background-pattern-desktop.svg");
  }
}

.card {
  width: min(100% - 2 * min(1.5rem, 6.4vw), 37.5rem);
  margin-inline: auto;
  display: grid;
  gap: min(1.5rem, 6.4vw);
  padding: min(1.5rem, 6.4vw);
  border-radius: 0.5rem;
  background-color: #fff;
  box-shadow: 0 32px 28px rgba(80, 0, 118, 0.1);
}
@media (min-width: 48em) {
  .card {
    gap: 2rem;
    padding: 2.5rem;
    border-radius: 1rem;
  }
}

.card__header {
  display: flex;
  align-items: center;
  gap: min(1.5rem, 6.4vw);
}

.card__star {
  width: 1.5rem;
  height: 1.5rem;
}
@media (min-width: 48em) {
  .card__star {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.card__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1875;
  color: #301534;
  overflow-wrap: anywhere;
}
@media (min-width: 48em) {
  .card__title {
    font-size: 3.5rem;
    line-height: 1.1786;
  }
}

.faq__item + .faq__item {
  margin-block-start: 1.5rem;
  padding-block-start: 1.5rem;
  border-block-start: 1px solid #f8eeff;
}

.faq__heading {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1875;
}
@media (min-width: 48em) {
  .faq__heading {
    font-size: 1.125rem;
    line-height: 1.1667;
  }
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: min(1.5rem, 6.4vw);
  padding: 0;
  border: 0;
  background: none;
  font-weight: inherit;
  text-align: start;
  color: #301534;
  overflow-wrap: anywhere;
}
@media (min-width: 48em) {
  .faq__question {
    gap: 1rem;
  }
}

.faq__icon {
  flex-shrink: 0;
  width: 1.875rem;
  height: 1.875rem;
}

.faq__question[aria-expanded=true] .faq__icon--plus,
.faq__question[aria-expanded=false] .faq__icon--minus {
  display: none;
}

.faq__answer {
  margin-block-start: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #8b6990;
}
@media (min-width: 48em) {
  .faq__answer {
    font-size: 1rem;
  }
}

@media (hover: hover) {
  .faq__question:hover {
    color: #ad28eb;
  }
}
.attribution a:hover {
  text-decoration-thickness: 2px;
}

.faq__question:focus-visible,
.attribution a:focus-visible {
  outline: 2px solid #ad28eb;
  outline-offset: 4px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .faq__question {
    transition: color 0.2s;
  }
}
.attribution {
  flex: 1 0 0;
  display: grid;
  align-content: end;
  font-size: 0.6875rem;
  line-height: 1.5;
  text-align: center;
  color: #301534;
}
.attribution p {
  padding: 2rem 1rem 1rem;
}
.attribution a {
  color: inherit;
  text-underline-offset: 2px;
}
