/* ===================================================================
   LEGAL PAGES — Privacy Policy, Disclaimer, Counseling Policy
   Clean, professional, government-style legal document formatting
   =================================================================== */

.legal-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
}

/* Document header block */
.legal-doc-header {
  border-bottom: 2px solid var(--navy);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
}
.legal-doc-org {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}
.legal-doc-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.legal-doc-date {
  font-size: 0.88rem;
  color: var(--gray-600);
}

/* Intro / preamble paragraph */
.legal-body .legal-preamble {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--gray-700);
  margin-bottom: 2.5rem;
}

/* Section headings */
.legal-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2.25rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--gray-200);
}
.legal-body h3:first-of-type {
  margin-top: 0;
}

/* Group heading (e.g. "Key Disclosures and Limitations") */
.legal-body h2.legal-group-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 1.5rem;
  padding: 0.6rem 0;
  border-bottom: 2px solid var(--navy);
  letter-spacing: 0.02em;
}

/* Body text */
.legal-body p {
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--gray-700);
  margin-bottom: 1rem;
  text-align: justify;
}

/* Lists */
.legal-body ul {
  margin: 0.5rem 0 1.25rem 1.5rem;
  padding: 0;
}
.legal-body ul li {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 0.35rem;
  list-style-type: disc;
}

/* Numbered sub-clauses (1.1, 1.2 etc) */
.legal-body ol.legal-clauses {
  list-style: none;
  margin: 0.5rem 0 1.5rem 0;
  padding: 0;
}
.legal-body ol.legal-clauses li {
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--gray-700);
  margin-bottom: 0.75rem;
  padding-left: 2.75rem;
  position: relative;
}
.legal-body ol.legal-clauses li .clause-num {
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--navy);
}

/* Italic note / emphasis */
.legal-body .legal-aside {
  font-style: italic;
  color: var(--gray-600);
  font-size: 0.9rem;
  margin: 0.25rem 0 1.25rem;
}

/* Contact line */
.legal-body .legal-contact-line a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.legal-body .legal-contact-line a:hover {
  text-decoration: underline;
}

/* Document footer / effective date */
.legal-doc-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.legal-doc-footer-date {
  font-size: 0.85rem;
  color: var(--gray-600);
}
.legal-doc-footer-links {
  display: flex;
  gap: 1.25rem;
}
.legal-doc-footer-links a {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-decoration: none;
}
.legal-doc-footer-links a:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* Services list (bottom of disclaimer) */
.legal-body .services-list {
  columns: 2;
  column-gap: 2rem;
  margin: 0.75rem 0 1.5rem 1.5rem;
  padding: 0;
}
.legal-body .services-list li {
  break-inside: avoid;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-body {
    padding: 2.5rem 0 3.5rem;
  }
  .legal-body p {
    text-align: left;
  }
  .legal-body .services-list {
    columns: 1;
  }
  .legal-doc-footer {
    flex-direction: column;
  }
}
