/* ═══════════════════════════════════════════════════════════════
   LUNAR — FAQ HUB LAYER
   Extends site-core.css. Two-column layout on desktop:
   sticky category rail (left) + accordion sections (right).
   Reuses .faq-item / .faq-trigger / .faq-panel from site-core.css.
   ═══════════════════════════════════════════════════════════════ */

.faq-hero {
  padding: clamp(48px, 6vw, 88px) 0 clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--border-subtle);
}
.faq-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
}
.faq-hero p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0;
}

/* Jump-to filter chips (mobile-first quick jump) */
.faq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.faq-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 13px; font-weight: 500;
  text-decoration: none;
  background: var(--bg-glass);
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.faq-chip:hover { color: var(--text-primary); border-color: var(--accent); background: var(--bg-card-hover); }
.faq-chip i { color: var(--accent-light); font-size: 12px; }

/* Two-column body */
.faq-body { padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.faq-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Sidebar */
.faq-sidebar {
  position: sticky; top: calc(var(--header-height) + 20px);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 20px;
}
@media (max-width: 900px) { .faq-sidebar { position: static; } }
.faq-sidebar h2 {
  font-family: var(--font-primary);
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0 0 14px;
}
.faq-sidebar ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.faq-sidebar li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.faq-sidebar li a:hover { color: var(--text-primary); background: var(--bg-glass); }
.faq-sidebar li a .n { color: var(--text-muted); font-size: 12px; font-weight: 600; }

.faq-sidebar-cta {
  margin-top: 18px;
  padding: 14px;
  background: var(--bg-glass);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13px; line-height: 1.55; color: var(--text-tertiary);
}
.faq-sidebar-cta strong { color: var(--text-primary); display: block; margin-bottom: 4px; }
.faq-sidebar-cta a { color: var(--accent-light); font-weight: 600; text-decoration: none; }
.faq-sidebar-cta a:hover { text-decoration: underline; }

/* Category sections */
.faq-cat { margin-bottom: 48px; scroll-margin-top: calc(var(--header-height) + 20px); }
.faq-cat:last-child { margin-bottom: 0; }
.faq-cat-head {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.faq-cat-head .cat-icon {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  display: grid; place-items: center;
  background: var(--bg-glass); color: var(--accent-light);
  font-size: 14px;
  flex-shrink: 0;
  align-self: center;
}
.faq-cat-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0;
}
.faq-cat-head .n {
  margin-left: auto;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted);
}

/* Restyle the shared .faq-item block for this page */
.faq-body .faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-body .faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-body .faq-item:hover { border-color: var(--border-light); }
.faq-body .faq-trigger {
  width: 100%;
  text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 22px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 15.5px; font-weight: 600; line-height: 1.4;
}
.faq-body .faq-trigger .pm {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-glass);
  color: var(--accent-light);
  font-size: 14px; font-weight: 400;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.faq-body .faq-trigger[aria-expanded="true"] .pm { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-body .faq-panel {
  padding: 0 22px 20px;
  color: var(--text-secondary);
  font-size: 15px; line-height: 1.65;
}
.faq-body .faq-panel a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; }
.faq-body .faq-panel a:hover { color: var(--text-primary); }

/* Contact CTA at bottom */
.faq-contact {
  margin-top: 40px;
  padding: 28px 26px;
  background: linear-gradient(135deg, rgba(66,133,244,0.12) 0%, rgba(34,211,238,0.06) 100%), var(--bg-card-solid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px; justify-content: space-between;
}
.faq-contact h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0 0 4px;
}
.faq-contact p { color: var(--text-secondary); font-size: 14px; margin: 0; }
.faq-contact .cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
