.bf-faq-main { max-width: 1150px; margin: auto; padding: 0 24px 56px; }
.bf-faq-hero { padding: 50px 0 30px; }
.bf-faq-badge { display: inline-block; padding: 8px 21px; margin-bottom: 20px; border-radius: 30px; background: #eee7fc; color: var(--bf-purple); font-size: 17px; font-weight: 700; }
:is(.buddyfile-faq, .buddyfile-terms) .bf-faq-hero h1 { font-size: clamp(34px, 4.8vw, 60px); }
.bf-faq-hero > p { margin-top: 16px; font-size: 22px; }
.buddyfile-faq .bf-navigation > a[aria-current="page"] { color: var(--bf-purple); font-weight: 600; text-decoration: underline; text-underline-offset: 10px; }
.bf-faq-list { padding: 26px 24px; background: #fff; border: 1px solid #e6e1f2; border-radius: 20px; box-shadow: 0 10px 35px #6d28d903; }
:is(.buddyfile-faq, .buddyfile-terms) .bf-faq-list { display: flex; flex-direction: column; }
:is(.buddyfile-faq, .buddyfile-terms) .bf-faq-item { flex-shrink: 0; }
.bf-faq-item { border: 1px solid #e9e3f7; scroll-margin-top: 110px; }
.bf-faq-item.is-animating { overflow: hidden; }
.bf-faq-item + .bf-faq-item { margin-top: -1px; }
.bf-faq-item:first-child, .bf-faq-item[open] + .bf-faq-item { border-top-left-radius: 12px; border-top-right-radius: 12px; }
.bf-faq-item:last-child, .bf-faq-item:has(+ .bf-faq-item[open]) { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }
.bf-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 24px; color: var(--bf-ink); font-size: 20px; font-weight: 650; line-height: 1.5; cursor: pointer; list-style: none; border-radius: inherit; }
.bf-faq-item summary::-webkit-details-marker { display: none; }
.bf-faq-item summary:hover { color: var(--bf-purple); background: #fbf9fe; }
.bf-faq-item[open] { background: #f7f3fe; border-radius: 12px; margin-top: 14px; margin-bottom: 14px; }
.bf-faq-item[open]:first-child { margin-top: 0; }
.bf-faq-item[open]:last-child { margin-bottom: 0; }
.bf-faq-item[open] + .bf-faq-item { margin-top: 0; }
.bf-faq-item[open] summary { color: var(--bf-purple); background: transparent; padding-top: 24px; padding-bottom: 24px; }
.bf-faq-answer { padding: 4px 24px 28px; color: #52627d; font-size: 18px; line-height: 1.7; overflow-wrap: anywhere; }
.bf-faq-toggle { display: block; width: 13px; height: 13px; margin: 0 8px 6px; flex: 0 0 13px; border-right: 2.5px solid var(--bf-purple); border-bottom: 2.5px solid var(--bf-purple); transform: rotate(45deg); }
.bf-faq-item[open] .bf-faq-toggle { transform: rotate(225deg); margin-bottom: -6px; }
.bf-faq-help { display: flex; align-items: center; gap: 40px; padding: 34px 38px; margin-top: 28px; border: 1px solid #eee7fb; border-radius: 14px; background: #f5f0fd; }
.bf-faq-help-icon { display: flex; align-items: center; padding-right: 40px; flex: 0 0 144px; min-height: 82px; border-right: 1px solid #dfd6f3; color: var(--bf-purple); }
.bf-faq-help-icon svg { width: 100px; height: 80px; }
.bf-faq-help-copy { flex: 1; min-width: 0; }
.buddyfile-faq .bf-faq-help h2 { margin: 0; font-size: 24px; line-height: 1.3; letter-spacing: -.5px; }
.bf-faq-help p { margin: 8px 0 0; color: #52627d; font-size: 18px; line-height: 1.5; }
.buddyfile-faq .bf-faq-contact { display: inline-flex; align-items: center; justify-content: center; gap: 18px; flex-shrink: 0; padding: 17px 26px; border: 1px solid var(--bf-purple); border-radius: 10px; color: #fff; background: linear-gradient(110deg, #6d28d9, #6421d3); font-size: 17px; font-weight: 600; text-decoration: none; }
.bf-faq-contact > span { font-size: 26px; line-height: 1; font-weight: 400; }
.buddyfile-faq .bf-faq-contact:hover { background: #5920b7; color: #fff; text-decoration: none; }
.bf-terms-content p { margin: 0 0 16px; }
.bf-terms-content h2 { margin: 28px 0 12px; font-size: 24px; line-height: 1.4; }
.bf-terms-content h2:first-child { margin-top: 0; }
.bf-terms-content ol, .bf-terms-content ul { padding-left: 26px; }
.bf-terms-content ol { margin-bottom: 0; }
.bf-terms-content ul { margin: 10px 0 24px; }
.bf-terms-content li { margin-bottom: 8px; }
.bf-terms-content ol > li { color: var(--bf-ink); font-weight: 600; }
.bf-terms-content ul:last-child { margin-bottom: 0; }
.buddyfile-terms .bf-footer a[aria-current="page"] { color: var(--bf-purple); font-weight: 600; }
@media (max-width: 1000px) {
  .bf-faq-help { gap: 24px; padding: 28px; }
  .bf-faq-help-icon { flex-basis: 110px; padding-right: 24px; }
  .bf-faq-help-icon svg { width: 82px; }
  .buddyfile-faq .bf-faq-help h2 { font-size: 21px; }
  .bf-faq-help p { font-size: 16px; }
  .buddyfile-faq .bf-faq-contact { padding: 15px 20px; font-size: 15px; }
}
@media (max-width: 700px) {
  .bf-faq-main { padding: 0 18px 36px; }
  .bf-faq-hero { padding: 32px 0 26px; }
  .bf-faq-badge { font-size: 15px; padding: 6px 18px; margin-bottom: 16px; }
  :is(.buddyfile-faq, .buddyfile-terms) .bf-faq-hero h1 { font-size: 34px; }
  .bf-faq-hero > p { font-size: 17px; }
  .bf-faq-list { padding: 16px 12px; border-radius: 18px; }
  .bf-faq-item summary { padding: 18px 16px; gap: 18px; font-size: 17px; }
  .bf-faq-item[open] summary { padding-top: 20px; padding-bottom: 18px; }
  .bf-faq-answer { padding: 0 16px 22px; font-size: 16px; }
  .bf-faq-toggle { width: 11px; height: 11px; flex-basis: 11px; margin-right: 3px; }
  .bf-faq-help { flex-wrap: wrap; justify-content: center; gap: 18px; padding: 24px 20px; text-align: center; }
  .bf-faq-help-icon { flex: 0 0 100%; justify-content: center; min-height: 0; border: 0; padding: 0; }
  .bf-faq-help-icon svg { width: 76px; height: 60px; }
  .bf-faq-help-copy { flex-basis: 100%; }
  .buddyfile-faq .bf-faq-help h2 { font-size: 22px; }
  .buddyfile-faq .bf-faq-contact { padding: 14px 22px; font-size: 16px; }
}
