.faq {
  container-type: inline-size;
  width: min(100%, 430px);
  justify-self: center;
  background: #010c0d;
  color: #ffffff;
  font-family: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
}

.faq__inner {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 36px 16px 36px;
}

.faq__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto 22px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: #3dff4a;
  color: #06210c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.faq__badge-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #06210c;
  color: #3dff4a;
  font-size: 13px;
  font-weight: 800;
}

.faq__title {
  margin: 0 auto 14px;
  max-width: 340px;
  text-align: center;
  font-size: clamp(40px, 11cqw, 52px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -1.2px;
}

.faq__title-accent {
  display: block;
  color: #3dff4a;
}

.faq__lead {
  margin: 0 auto 28px;
  max-width: 320px;
  text-align: center;
  color: #a7adb4;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  border-radius: 18px;
  background: rgba(8, 16, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq__item[open] {
  border-color: rgba(61, 255, 74, 0.85);
  box-shadow:
    0 0 0 1px rgba(61, 255, 74, 0.18),
    0 0 24px rgba(61, 255, 74, 0.12);
}

.faq__item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  cursor: pointer;
  list-style: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary span:first-child {
  flex: 1;
  min-width: 0;
}

.faq__toggle {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #3dff4a;
}

.faq__toggle::before,
.faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 1px;
  background: #06210c;
  transform: translate(-50%, -50%);
}

.faq__toggle::before {
  width: 12px;
  height: 2px;
}

.faq__toggle::after {
  width: 2px;
  height: 12px;
}

.faq__item[open] .faq__toggle::after {
  display: none;
}

.faq__item p {
  margin: 0;
  padding: 0 16px 18px;
  color: #c5cbd1;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.45;
}

.faq__item summary:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
  border-radius: 14px;
}

.faq__result {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 22px;
  border-radius: 22px;
  background: #3dff4a;
  color: #111b24;
  box-shadow: 0 16px 36px rgba(61, 255, 74, 0.16);
  transition: transform 0.25s ease;
}

.faq__result p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.faq__result strong {
  font-weight: 800;
}

.faq__result-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #111b24;
  color: #3dff4a;
}

.faq__result-arrow svg {
  width: 18px;
  height: 18px;
}

@media (hover: hover) {
  .faq__result:hover {
    transform: translateY(-2px);
  }
}
