/* ============================================================
   legal.css — single-column centred legal documents
   Loaded ONLY by privacy.html and terms-of-service.html
   Background OWN here (independent of style.css)
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: #F6F2E5;
}

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.7;
  background: #F6F2E5;
  color: #191814;
}

.legal-page {
  background: #F6F2E5;
  color: #191814;
  width: 100%;
}

/* scope isolation — ensure chapters painted fresh over any band */
.legal-page .legal-content section {
  background: transparent;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

.legal-banner {
  background: #191814;
  color: #F6F2E5;
  border-bottom: 6px solid #B85C38;
}

.legal-banner-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 46px;
  padding-bottom: 40px;
}

.banner-topline {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #B85C38;
  margin-bottom: 12px;
}

h1 {
  font-size: 40px;
  font-weight: normal;
  margin: 0 0 10px;
  line-height: 1.15;
  color: #F6F2E5;
}

.leg-meta {
  font-size: 15px;
  color: #F6F2E5;
  opacity: 1;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-return {
  display: inline-block;
  margin-top: 34px;
  color: #191814;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 2px solid #B85C38;
  padding-bottom: 3px;
}

.legal-return:hover {
  color: #B85C38;
}

.toc-layout {
  margin: 30px 0 8px;
  padding: 26px 28px;
  border: 1px solid #8B8D86;
  background: #F1EFE7;
}

.toc-title {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #B85C38;
  margin: 0 0 14px;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 40px;
}

.toc-list li {
  margin: 0 0 8px;
  break-inside: avoid;
}

.toc-link {
  text-decoration: none;
  color: #191814;
  font-size: 15px;
}

.toc-link:hover {
  color: #B85C38;
  text-decoration: underline;
}

.legal-chapter {
  padding-top: 0;
}

.legal-chapter section {
  margin: 0;
  padding: 26px 0 8px;
  border-top: 1px solid #C9C0AF;
}

h2 {
  font-size: 27px;
  font-weight: normal;
  color: #191814;
  margin: 0 0 14px;
  line-height: 1.25;
  padding-top: 10px;
  border-top: 3px solid #B85C38;
}

h3 {
  font-size: 19px;
  font-weight: bold;
  color: #191814;
  margin: 20px 0 10px;
}

p {
  margin: 0 0 16px;
}

strong {
  color: #191814;
}

ul {
  margin: 6px 0 18px;
  padding-left: 26px;
}

li {
  margin-bottom: 8px;
}

.company-line {
  margin: 0 0 6px;
}

.legal-foot {
  border-top: 1px solid #C9C0AF;
  margin-top: 40px;
  padding-top: 22px;
  margin-bottom: 70px;
}

.legal-foot a {
  color: #B85C38;
  text-decoration: none;
  font-family: 'Courier New', monospace;
  font-size: 14px;
}

.legal-foot a:hover {
  text-decoration: underline;
}
