/* ==========================================================================
   AUDIOTROCITIES LLC — Legal pages stylesheet
   Dark theme: studio black #121212 / ivory #F2F2F0 / chrome silver #9AA4AE
   Loaded only by privacy.html and terms-of-service.html.
   ========================================================================== */

.legal-page {
  background: #121212;
  color: #F2F2F0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.legal-page * {
  box-sizing: border-box;
}

.legal-page a {
  color: #D6DBE0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page a:hover {
  color: #9AA4AE;
}

.legal-page ::selection {
  background: #9AA4AE;
  color: #121212;
}

.legal-page :focus-visible {
  outline: 2px solid #9AA4AE;
  outline-offset: 2px;
}

/* Scope isolation: legal content sections never inherit accent backgrounds. */
.legal-page .legal-content section {
  background-color: transparent !important;
}

/* Legal page header — a solid dark panel so the ivory title contrasts. */
.legal-page .legal-header {
  background: #1E1E20;
  border-bottom: 1px solid #9AA4AE;
  padding: 52px 0 44px;
}

.legal-page .legal-header .legal-header-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-page .legal-header .legal-kicker {
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #D6DBE0;
  display: block;
  margin-bottom: 14px;
}

.legal-page .legal-header h1 {
  color: #F2F2F0;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.legal-page .legal-header .legal-meta {
  color: #D6DBE0;
  font-size: 14px;
  margin: 0;
}

/* Content container — max-width with centered margins and side padding. */
.legal-page .legal-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px 56px;
}

/* Table of contents */
.legal-page .legal-toc {
  background: #1E1E20;
  border: 1px solid #3A3A3E;
  padding: 28px 28px 26px;
  margin: 36px 0 0;
}

.legal-page .legal-toc h2 {
  color: #9AA4AE;
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 16px;
  padding: 0;
  border: none;
}

.legal-page .legal-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 36px;
}

.legal-page .legal-toc li {
  margin-bottom: 8px;
  break-inside: avoid;
}

.legal-page .legal-toc a {
  color: #D6DBE0;
  font-size: 14px;
  text-decoration: none;
  line-height: 1.5;
}

.legal-page .legal-toc a:hover {
  color: #9AA4AE;
  text-decoration: underline;
}

/* Body content */
.legal-page .legal-content {
  padding-top: 12px;
}

.legal-page .legal-content h2 {
  color: #9AA4AE;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 52px 0 14px;
  padding-top: 8px;
}

.legal-page .legal-content h2:first-of-type {
  margin-top: 40px;
}

.legal-page .legal-content h3 {
  color: #F2F2F0;
  font-size: 20px;
  font-weight: 700;
  margin: 26px 0 10px;
}

.legal-page .legal-content p {
  color: #F2F2F0;
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 18px;
}

.legal-page .legal-content ul,
.legal-page .legal-content ol {
  color: #F2F2F0;
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 18px;
  padding-left: 26px;
}

.legal-page .legal-content li {
  margin-bottom: 8px;
}

.legal-page .legal-content li::marker {
  color: #9AA4AE;
}

.legal-page .legal-content address {
  font-style: normal;
  color: #D6DBE0;
  margin: 0 0 18px;
}

/* Legal footer — links back to the homepage */
.legal-page .legal-footer {
  background: #1E1E20;
  border-top: 1px solid #9AA4AE;
  padding: 28px 0;
}

.legal-page .legal-footer .legal-footer-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-page .legal-footer p {
  color: #D6DBE0;
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 6px;
}

.legal-page .legal-footer .legal-home {
  display: inline-block;
  margin-top: 10px;
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #9AA4AE;
  text-decoration: none;
}

.legal-page .legal-footer .legal-home:hover {
  color: #F2F2F0;
  text-decoration: underline;
}

/* Back to top helper */
.legal-page .legal-top {
  display: inline-block;
  margin-top: 6px;
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #9AA4AE;
  text-decoration: none;
}

.legal-page .legal-top:hover {
  color: #F2F2F0;
  text-decoration: underline;
}

@media (max-width: 680px) {
  .legal-page .legal-header h1 {
    font-size: 30px;
  }

  .legal-page .legal-toc ul {
    columns: 1;
  }

  .legal-page .legal-content h2 {
    font-size: 22px;
  }
}
