/* FAQ + community callouts */
.faq-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.faq-main {
  flex: 1;
  padding: 72px 0 96px;
}

.faq-hero {
  margin-bottom: 48px;
}

.faq-hero__title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 12px;
}

.faq-hero__lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 560px;
}

.faq-section {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.faq-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-section--compact {
  padding: 64px 0;
}

.faq-section__header {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.faq-section__header .section-label {
  justify-content: center;
}

.faq-section__header .section-title {
  margin-bottom: 12px;
}

.faq-section__header .section-header__lead {
  margin-inline: auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  text-align: left;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item[open] {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, var(--bg-surface), var(--bg-elevated));
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  background: var(--accent-soft);
  transition: transform var(--transition), border-color var(--transition);
}

.faq-item[open] .faq-item__question::after {
  content: '−';
  border-color: var(--accent-border);
}

.faq-item__answer {
  padding: 0 20px 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.faq-item__answer p + p {
  margin-top: 12px;
}

.faq-item__answer a {
  color: var(--accent-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.faq-item__answer a:hover {
  color: var(--accent);
}

/* Community banner */
.community-banner {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, var(--accent-soft), transparent 60%);
}

.community-banner--inset {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent-border);
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-elevated));
}

.community-banner--inset .community-banner__inner {
  padding: 24px 28px;
}

.community-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.community-banner__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-muted);
  margin-bottom: 6px;
}

.community-banner__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 520px;
}

.community-banner__text a {
  color: var(--accent-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.community-banner__text a:hover {
  color: var(--accent);
}

.community-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__community {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 280px;
}

.footer__community a {
  color: var(--accent-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__community a:hover {
  color: var(--accent);
}
