.legal-page {
  background-color: #F7F5F0;
  color: #1A1A1A;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

.legal-page h1,
.legal-page h2,
.legal-page h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.2;
  color: #1A1A1A;
}

.legal-page a {
  color: #9A6A1F;
  text-decoration: underline;
}

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

/* ===== Header ===== */
.legal-header {
  background: linear-gradient(135deg, #1C1A16 0%, #3A2F1C 100%);
  padding: 72px 0 60px;
}

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

.legal-header .back-link {
  display: inline-block;
  color: #E0B45C;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 28px;
}

.legal-header .back-link:hover {
  color: #F7F5F0;
}

.legal-header .brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #E0B45C;
  margin-bottom: 14px;
  display: block;
}

.legal-header h1 {
  color: #F7F5F0;
  font-size: 44px;
  margin-bottom: 16px;
}

.legal-header .lede {
  color: #D8D2C4;
  font-size: 16px;
  max-width: 640px;
}

/* ===== Body content ===== */
.legal-content {
  padding: 56px 0 80px;
}

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

.legal-content .toc {
  background-color: #F0ECE3;
  border-left: 4px solid #C8923E;
  border-radius: 4px;
  padding: 28px 30px;
  margin-bottom: 48px;
}

.legal-content .toc h2 {
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9A6A1F;
  margin-bottom: 16px;
}

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

.legal-content .toc li {
  margin-bottom: 10px;
  break-inside: avoid;
}

.legal-content .toc a {
  color: #45403A;
  text-decoration: none;
  font-size: 14.5px;
}

.legal-content .toc a:hover {
  color: #9A6A1F;
}

.legal-content section {
  background-color: transparent !important;
  margin-bottom: 48px;
}

.legal-content h2 {
  font-size: 28px;
  color: #1A1A1A;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #E3DDD0;
}

.legal-content h3 {
  font-size: 20px;
  color: #1A1A1A;
  margin: 28px 0 12px;
}

.legal-content p {
  color: #45403A;
  margin-bottom: 18px;
}

.legal-content ul {
  margin: 0 0 20px 22px;
  padding: 0;
}

.legal-content li {
  color: #45403A;
  margin-bottom: 10px;
}

.legal-content strong {
  color: #1A1A1A;
}

/* ===== Footer ===== */
.legal-footer {
  background-color: #1C1A16;
  padding: 40px 0;
  text-align: center;
}

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

.legal-footer p {
  color: #D8D2C4;
  font-size: 14px;
  margin-bottom: 12px;
}

.legal-footer a {
  color: #E0B45C;
  text-decoration: none;
}

.legal-footer a:hover {
  color: #F7F5F0;
}

/* ===== Scope isolation ===== */
.legal-page .legal-content section {
  background-color: transparent !important;
}

@media (max-width: 640px) {
  .legal-content .toc ol {
    columns: 1;
  }

  .legal-header h1 {
    font-size: 34px;
  }
}
