/* ==========================================================================
   Consumii — Legal & Support Page Styles
   Load after tokens.css + style.css
   ========================================================================== */

/* --- Legal Pages --- */
.legal {
  padding: 3rem 0 5rem;
  max-width: 800px;
  margin: 0 auto;
}

.legal h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.legal .meta {
  color: var(--c-text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

.legal .lang-notice {
  background: var(--c-bg-elevated);
  padding: 0.75rem 1rem;
  border-radius: var(--c-radius-sm);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
  display: inline-block;
}

.legal h2 {
  font-size: 1.375rem;
  margin: 2.5rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--c-border);
}

.legal h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal h3 {
  font-size: 1.125rem;
  margin: 1.5rem 0 0.5rem;
}

.legal ul, .legal ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal li {
  margin-bottom: 0.375rem;
}

.legal hr {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: 2rem 0;
}

/* TOC */
.toc {
  background: var(--c-bg-elevated);
  padding: 1.5rem;
  border-radius: var(--c-radius-md);
  margin-bottom: 2rem;
}

.toc h3 {
  font-size: 0.9375rem;
  margin: 0 0 0.75rem;
}

.toc ol {
  padding-left: 1.5rem;
  margin: 0;
}

.toc li {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.toc a {
  color: var(--c-text-secondary);
}

/* --- FAQ / Support --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--c-border);
}

.faq-item summary {
  padding: 1.25rem 0;
  font-weight: 600;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--c-text);
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--c-text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 1rem;
}

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

.faq-item .answer {
  padding-bottom: 1.25rem;
  color: var(--c-text-secondary);
  font-size: 1rem;
}

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

/* Contact card */
.contact-card {
  background: var(--c-bg-elevated);
  border: 1px solid var(--c-border);
  border-radius: var(--c-radius-lg);
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}

.contact-card h3 {
  margin-bottom: 0.75rem;
}

.contact-card a {
  font-size: 1.125rem;
  font-weight: 600;
}
