/* /support and /privacy share the same "legal page" surface: a quiet,
   readable column with the public nav on top. Page-local rules live here;
   typography + colour comes from globals/global.css. */

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.legal-head {
  margin-bottom: 28px;
}
.legal-head h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--hi);
}
.legal-head p {
  font-size: 15px;
  line-height: 1.55;
  max-width: 56ch;
  margin: 0;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
  color: var(--text);
}
.legal-page h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 20px 0 6px;
  color: var(--text);
}
.legal-page p { font-size: 14px; line-height: 1.65; color: var(--text-muted); margin: 0 0 12px; }
.legal-page ul,
.legal-page ol { padding-left: 20px; margin: 0 0 12px; color: var(--text-muted); font-size: 14px; line-height: 1.65; }
.legal-page li { margin: 4px 0; }
.legal-page b { color: var(--text); font-weight: 600; }
.legal-page a { color: var(--accent-bright); text-decoration: none; }
.legal-page a:hover { text-decoration: underline; }

.legal-card { margin-bottom: 16px; }
.legal-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.legal-email {
  display: block;
  font-family: var(--font-mono);
  font-size: 16px;
  margin-top: 4px;
  color: var(--accent-bright);
}

/* Collapsible FAQ rows. Native <details>, styled to feel like a card list. */
.legal-page details {
  border-top: 1px solid var(--border);
  padding: 14px 4px;
}
.legal-page details:last-of-type { border-bottom: 1px solid var(--border); }
.legal-page details summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.legal-page details summary::-webkit-details-marker { display: none; }
.legal-page details summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--text-dim);
  transition: transform 150ms ease;
}
.legal-page details[open] summary::after { content: "−"; }
.legal-page details > div { padding-top: 10px; }

.legal-foot {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

@media (max-width: 600px) {
  .legal-page { padding: 24px 16px 60px; }
  .legal-contact { gap: 12px; }
  .legal-contact .btn { width: 100%; justify-content: center; }
}
