/* ===== FAQ page ===== */

.faq-main {
  flex: 1;
  padding: 40px max(20px, 4vw) 80px;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Hero ── */
.faq-hero {
  text-align: center;
  padding: 40px 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.faq-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 20px;
  padding: 4px 12px;
}

.faq-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.faq-subtitle {
  font-size: 16px;
  color: var(--text-2);
  max-width: 480px;
  line-height: 1.6;
}

/* ── Category sections ── */
.faq-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 24px;
}

.faq-category {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}

/* ── Accordion items ── */
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .15s;
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--line-strong);
}

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

/* Hide browser's default disclosure triangle */
.faq-q::-webkit-details-marker { display: none; }

.faq-q:hover { color: var(--text); }

.faq-arrow {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--text-3);
  transition: transform .2s ease, color .15s;
  display: inline-block;
  line-height: 1;
}

.faq-item[open] .faq-arrow {
  transform: rotate(90deg);
  color: var(--accent);
}

.faq-a {
  padding: 0 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.faq-a p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
}

.faq-a a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity .15s;
}

.faq-a a:hover { opacity: .75; }

.faq-a strong { color: var(--text-1); font-weight: 600; }

.faq-a em {
  color: var(--text-3);
  font-style: italic;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .faq-hero { padding: 28px 0 20px; }
  .faq-hero h1 { font-size: 26px; }
  .faq-q { font-size: 14px; padding: 16px; }
  .faq-a { padding: 0 16px 16px; padding-top: 12px; }
}
