.course-faq {
  padding: 28px clamp(20px, 4vw, 74px) 64px;
  background: radial-gradient(ellipse at 50% 0%, #123d3226, transparent 65%), #101010;
}
.course-faq__inner { max-width: 1040px; margin-inline: auto; }
.course-faq__heading { margin-bottom: 30px; text-align: center; }
.course-faq__heading .course-faq__eyebrow {
  margin: 0 0 12px;
  color: #85d6ad;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.course-faq__heading h2 { text-wrap: balance; }
.course-faq__heading > p:last-child { max-width: 640px; text-wrap: pretty; }
.course-faq__list { display: grid; gap: 12px; }
.course-faq__item {
  min-width: 0;
  border: 1px solid #477c6c55;
  border-radius: 14px;
  background: #121e1d;
  transition: border-color .2s ease, background .2s ease;
}
.course-faq__item[open] { border-color: #55c18b70; background: #152722; }
.course-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 70px;
  padding: 20px 24px;
  border-radius: 13px;
  list-style: none;
  cursor: pointer;
}
.course-faq__item summary::-webkit-details-marker { display: none; }
.course-faq__item summary::marker { content: ''; }
.course-faq__item summary:hover { background: #69d69c08; }
.course-faq__item h3 {
  margin: 0;
  color: #e7f3ed;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}
.course-faq__toggle {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: #67eaa0;
}
.course-faq__toggle::before, .course-faq__toggle::after {
  content: '';
  position: absolute;
  top: 11px;
  left: 5px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.course-faq__toggle::after { transform: rotate(90deg); transition: transform .2s ease; }
.course-faq__item[open] .course-faq__toggle::after { transform: rotate(0deg); }
.course-faq__answer { padding: 0 70px 22px 24px; }
.course-faq__answer p {
  margin: 0;
  color: #adc4bd;
  font-size: 13px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.course-faq__answer a { color: #85eab0; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.course-faq :is(summary, a):focus-visible { outline: 2px solid #85eab0; outline-offset: 4px; }
@media (max-width: 640px) {
  .course-faq { padding: 16px 16px 40px; }
  .course-faq__heading { margin-bottom: 24px; }
  .course-faq__list { gap: 10px; }
  .course-faq__item summary { min-height: 64px; padding: 17px 16px; gap: 14px; }
  .course-faq__item h3 { font-size: 13px; }
  .course-faq__answer { padding: 0 16px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .course-faq__item, .course-faq__toggle::after { transition: none; }
}
