/* =============================================================
   GHFHEALTH LIMITED — legal.css
   Shared legal stylesheet loaded ONLY by /privacy and /terms-of-service.
   Strong contrast on a calm light page for long-form readable law.
   ============================================================= */

body {
  margin: 0;
  background: #E8ECE9;
  color: #16201C;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html { scroll-behavior: smooth; }

a { color: #1F7A4D; }
p { margin: 0 0 1em; }

/* Scope-isolation: legal pages carry their own background everywhere */
.legal-page { background: #E8ECE9; }
.legal-page .legal-content,
.legal-page section,
.legal-page .legal-content section,
.legal-page .legal-bottom,
.legal-page .legal-hero,
.legal-page header,
.legal-page .legal-header {
  background: #E8ECE9;
}

/* Content sections must never inherit another page background */
.legal-page .legal-content section { background: transparent !important; }

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

/* Legal header as a solid plate on the deep night green */
.legal-header {
  display: block;
  background: #1F4A33;
  color: #EDF1EC;
  border-bottom: 6px solid #1F7A4D;
  padding: 0;
}
.legal-header .legal-header-in .lback {
  color: #2A8A5C;
}
.legal-header .legal-header-in {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  background: transparent;
}
.legal-header .legal-header-in h1 {
  color: #EDF1EC;
  margin: 0;
  padding: 44px 0 8px;
  font-size: 2.4rem;
  line-height: 1.15;
}
.legal-header .legal-header-in p.est {
  color: #EDF1EC;
  margin: 0 0 14px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.legal-header .lback {
  color: #EDF1EC;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 18px;
}

/* Company plate heading (root so scoped-body applies) */
.company-plate-line { text-align: left; }

.legal-page h2 {
  color: #12341F;
  font-size: 1.45rem;
  margin: 2.2em 0 0.4em;
  padding-bottom: 4px;
  border-bottom: 2px solid #1F7A4D;
}
.legal-page h3 { color: #12341F; font-size: 1.1rem; margin: 1.4em 0 0.3em; }
.legal-page ul, .legal-page ol { padding-left: 22px; margin: 0 0 1em 0; }
.legal-page li { margin-bottom: 0.4em; }
.legal-page strong { color: #0F2E1B; }

/* Date-of-last-update note */
.legal-updated { font-size: 0.9rem; color: #2A4A3A; margin-bottom: 2em; border-left: 4px solid #1F7A4D; padding-left: 12px; }

/* Table of contents */
.legal-toc {
  background: #FBFCFA;
  border: 1px solid #C8D8CB;
  padding: 20px 24px;
  border-radius: 8px;
  margin: 10px 0 28px;
}
.legal-toc h2 {
  border-bottom: none;
  margin-top: 0;
}
.legal-toc .toc-cols { column-count: 2; column-gap: 30px; }
.legal-toc a {
  display: block;
  color: #1F7A4D;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.legal-toc a:hover { text-decoration: underline; }
@media (max-width: 640px) { .legal-toc .toc-cols { column-count: 1; } }

/* Footnote / contact block */
.legal-contact, .company-note, .legal-footer-note {
  background: #DAE4DD;
  padding: 18px 22px;
  border-radius: 8px;
  margin: 24px 0;
}
.legal-footer { border-top: 3px solid #1F7A4D; margin: 40px 0; }
.legal-footer .legal-content { padding-top: 22px; }
.homereturn { color: #1F7A4D; font-weight: bold; text-decoration: none; }
.spacer-hero { background: #E8ECE9; }

/* Bottom region */
.legal-bottom {
  max-width: 860px;
  margin: 0 auto;
  padding: 26px 24px 0;
}
