/* ========================================
   ListingLock — FAQ Page
   Typography + expand/collapse for /faq.
   Single canonical source — keeps the
   page readable + crawl-safe.
   ======================================== */

.faq-page {
  background: var(--bg-white);
  color: var(--fg-body);
  font-family: var(--font);
}

.faq-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

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

.faq-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: 0.02em;
  padding: 6px 12px;
  background: var(--bg-accent);
  border: 1px solid var(--accent-light);
  border-radius: 100px;
  margin-bottom: 18px;
}

.faq-hero h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.faq-sub {
  font-size: 1.05rem;
  color: var(--fg-body);
  line-height: 1.7;
  max-width: 640px;
}

.faq-section {
  scroll-margin-top: 80px;
}

.faq-list {
  list-style: none;
  counter-reset: faq-counter;
  padding: 0;
  margin: 0;
}

.faq-list > li {
  border-bottom: 1px solid var(--border-light);
}

.faq-list > li:first-child {
  border-top: 1px solid var(--border-light);
}

.faq-list details {
  padding: 22px 0;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-weight: 700;
  font-size: 17px;
  color: var(--fg);
  line-height: 1.4;
  letter-spacing: -0.01em;
  padding-right: 28px;
  position: relative;
}

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

.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg-accent);
  padding: 4px 8px;
  border-radius: 6px;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.faq-list details p {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-body);
}

.faq-list details a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.faq-closing {
  margin-top: 56px;
  text-align: center;
}

@media (max-width: 640px) {
  .faq-container {
    padding: 40px 20px 64px;
  }

  .faq-hero h1 {
    font-size: 32px;
  }

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

  .faq-list summary {
    font-size: 16px;
  }

  .faq-num {
    font-size: 11px;
    padding: 3px 6px;
  }
}
