/* ============================================================
   BioZent LLC — shared legal stylesheet
   Loaded alone by privacy.html and terms-of-service.html.
   Defines page background and text colors with strong contrast.
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  color: #2C2F33;
  background-color: #EEEBE3;
  overflow-x: hidden;
}

/* ---- legal header: solid background, strong h1 contrast ---- */

.legal-header {
  background-color: #26303A;
  padding: 34px 24px 30px 24px;
}

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

.legal-header a.legal-home {
  color: #C6C4BB;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
}

.legal-header a.legal-home:hover {
  color: #EEEBE3;
  text-decoration: underline;
}

.legal-header h1 {
  color: #EEEBE3;
  font-size: 2.3rem;
  line-height: 1.15;
  margin-top: 12px;
  letter-spacing: -0.01em;
}

.legal-header p {
  color: #C6C4BB;
  margin-top: 10px;
  font-size: 0.95rem;
}

/* ---- TOC ---- */

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

.legal-toc h2 {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2D6E9E;
  margin-bottom: 14px;
}

.legal-toc ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 30px;
  border-top: 2px solid #C6C4BB;
  border-bottom: 2px solid #C6C4BB;
  padding: 20px 0;
  margin-bottom: 10px;
}

.legal-toc ol li {
  font-size: 0.9rem;
}

.legal-toc ol li a {
  color: #2C2F33;
  text-decoration: none;
}

.legal-toc ol li a:hover {
  color: #2D6E9E;
  text-decoration: underline;
}

/* ---- legal content, single column centered ---- */

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

.legal-content section {
  background-color: #EEEBE3 !important;
  margin-top: 40px;
}

.legal-content h2 {
  font-size: 1.45rem;
  color: #2C2F33;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 3px solid #2D6E9E;
}

.legal-content h3 {
  font-size: 1.08rem;
  color: #2C2F33;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-content p {
  margin-bottom: 15px;
  color: #2C2F33;
}

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

.legal-content ul li {
  margin-bottom: 8px;
  color: #2C2F33;
}

.legal-contact-card {
  background-color: #E4DFD2;
  border-left: 6px solid #2D6E9E;
  border-radius: 0 4px 4px 0;
  padding: 22px 26px;
  margin-top: 16px;
}

.legal-contact-card p {
  margin-bottom: 6px;
}

.legal-contact-card a {
  color: #2C2F33;
  font-weight: 700;
}

/* ---- legal footer ---- */

.legal-footer {
  background-color: #26303A;
  padding: 30px 24px;
}

.legal-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  color: #C6C4BB;
  font-size: 0.86rem;
}

.legal-footer-inner a {
  color: #EEEBE3;
  font-weight: 700;
  text-decoration: none;
}

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

@media (max-width: 700px) {
  .legal-toc ol {
    grid-template-columns: 1fr;
  }
  .legal-header h1 {
    font-size: 1.8rem;
  }
}
