/* content.css — CMS-driven pages: legal, support, dynamic content (owned by CMS agent) */

/* ---------- legal: rendered CMS body (p / ul / strong inside sections) ---------- */
.legal-sec-body p { margin: 0 0 10px; }
.legal-sec-body p:last-child { margin-bottom: 0; }
.legal-sec-body ul { margin: 0 0 10px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal-sec-body ul:last-child { margin-bottom: 0; }
.legal-sec-body li::marker { color: var(--accent-danger); }
.legal-sec-body strong { color: var(--ink); font-weight: 600; }
.legal-lead { padding-bottom: 4px; border-bottom: 1px solid var(--line); }

/* ---------- support: intro copy ---------- */
.support-intro { max-width: 560px; margin-bottom: 22px; }
.support-intro p { margin: 0 0 10px; font-size: 14px; color: var(--ink-dim); line-height: 1.65; }
.support-intro p:last-child { margin-bottom: 0; }
.support-intro strong { color: var(--ink); font-weight: 600; }

/* ---------- support: FAQ accordion (interactive) ---------- */
button.faq-q {
  appearance: none; -webkit-appearance: none;
  display: flex; align-items: center; gap: 12px; width: 100%;
  margin: 0; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
}
button.faq-q:focus-visible {
  outline: none; border-radius: var(--r-sm);
  box-shadow: 0 0 0 2px var(--accent-warn);
}
.faq-q-text { min-width: 0; overflow-wrap: anywhere; }
.faq-q-mark { flex: 0 0 auto; transition: color var(--t-fast) var(--ease-std); }
.faq-a { overflow-wrap: anywhere; }
.faq-a[hidden] { display: none; }

/* ---------- small screens: keep everything inside the viewport ---------- */
@media (max-width: 480px) {
  .support-title { font-size: 32px; }
  .faq-item { padding: 13px 14px; }
  .faq-a { max-width: none; }
  .support-email { overflow-wrap: anywhere; }
  .legal-title { font-size: 30px; }
  .legal-sec-body, .legal-toc-item { overflow-wrap: anywhere; }
}
