/* FAQ page — accordion cards + help CTA (faq.html only) */

.faq-page {
  background: #f8fafc;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
}

.faq-shell {
  --faq-gutter-left: clamp(48px, 9vw, 180px);
  --faq-gutter-right: clamp(24px, 4vw, 48px);
  width: min(1080px, calc(100% - var(--faq-gutter-left) - var(--faq-gutter-right)));
  max-width: 1080px;
  margin-left: var(--faq-gutter-left);
  margin-right: auto;
  padding: 0 0 60px;
  box-sizing: border-box;
}

.faq-header {
  margin-bottom: 26px;
}

.faq-header h1 {
  margin: 0 0 10px;
  font-size: clamp(1.72rem, 4vw, 1.96rem);
  line-height: 1.2;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.faq-subtitle,
.faq-header .page-lede {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #64748b;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item:hover {
  border-color: rgba(203, 213, 225, 1);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  box-sizing: border-box;
}

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

.faq-item summary::marker {
  content: "";
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: #2563eb;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  padding-bottom: 12px;
  min-height: 0;
}

.faq-answer {
  padding: 0 20px 18px;
  color: #475569;
  line-height: 1.65;
  font-size: 1rem;
}

.faq-answer p {
  margin: 0;
}

.faq-answer a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.faq-answer a:hover {
  text-decoration: underline;
}

.faq-help-card {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq-help-card h2 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.faq-help-card p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
  font-size: 0.98rem;
}

.faq-help-card a {
  flex: 0 0 auto;
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.faq-help-card a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 768px) {
  .faq-shell {
    --faq-gutter-left: 16px;
    --faq-gutter-right: 16px;
    width: min(100%, calc(100% - 32px));
    padding: 0 0 52px;
  }

  .faq-header {
    margin-bottom: 24px;
  }

  .faq-item summary {
    padding: 18px 18px;
    font-size: 1rem;
    min-height: 56px;
  }

  .faq-answer {
    padding: 0 18px 18px;
    font-size: 0.98rem;
  }

  .faq-help-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 18px;
  }
}
