/* ============================================================
   BALU ECOMMERCE LIMITED — Legal pages stylesheet
   Loaded ONLY by privacy.html and terms-of-service.html
   Defines its own background and text colors (strong contrast)
   ============================================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: Georgia, "Times New Roman", Cambria, serif;
  background-color: #2B2E31;
  color: #F0E7D2;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #D2A24C;
}

a:hover {
  color: #E6C888;
}

/* plain legal header — solid background, strong h1 contrast */
.legal-header {
  background-color: #131519;
  border-bottom: 4px solid #9A7A38;
  padding: 30px 24px;
}

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

.legal-header .legal-brand {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D2A24C;
  margin-bottom: 12px;
}

.legal-header h1 {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 2.1rem;
  color: #F0E7D2;
  margin-bottom: 10px;
}

.legal-header .legal-meta {
  color: #EAE0C8;
  font-size: 0.92rem;
}

.legal-header .legal-home {
  display: inline-block;
  margin-top: 14px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.76rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: #D2A24C;
  color: #23241C;
  padding: 9px 18px;
  border-radius: 20px 20px 4px 4px;
  border: 2px solid #B99049;
}

.legal-header .legal-home:hover {
  background-color: #E0B666;
  text-decoration: none;
}

/* centered single-column legal form */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 46px 24px 70px;
}

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

.legal-content h2 {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1.4rem;
  color: #D2A24C;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #4A4F57;
}

.legal-content h3 {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1.08rem;
  color: #F0E7D2;
  margin: 18px 0 10px;
}

.legal-content p {
  color: #EFE6D0;
  margin-bottom: 14px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px 26px;
  color: #EFE6D0;
}

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

.legal-content strong {
  color: #FFFFFF;
}

/* table of contents */
.toc {
  background-color: #131519;
  border: 2px solid #9A7A38;
  border-radius: 5px;
  padding: 26px 26px 20px;
  margin-bottom: 44px;
}

.toc h2 {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1.1rem;
  color: #D2A24C;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid #4A4F57;
  padding-bottom: 10px;
  margin-bottom: 16px;
}

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

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

.toc a {
  color: #F0E7D2;
  font-size: 0.92rem;
}

.toc a:hover {
  color: #D2A24C;
}

/* intro callout */
.legal-intro {
  background-color: #1B1E22;
  border-left: 5px solid #D2A24C;
  border-radius: 3px;
  padding: 22px 24px;
  margin-bottom: 40px;
}

.legal-intro p {
  color: #EFE6D0;
  margin-bottom: 10px;
}

.legal-intro p:last-child {
  margin-bottom: 0;
}

/* plain legal footer */
.legal-footer {
  background-color: #131519;
  border-top: 4px solid #9A7A38;
  padding: 34px 24px;
}

.legal-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  color: #EAE0C8;
  font-size: 0.9rem;
}

.legal-footer p {
  margin-bottom: 10px;
}

.legal-footer a {
  color: #D2A24C;
  font-weight: bold;
}

.legal-footer .legal-footer-links {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #4A4F57;
}

@media (max-width: 640px) {
  .toc ol {
    columns: 1;
  }
  .legal-header h1 {
    font-size: 1.6rem;
  }
}
