/* ============================================================
   BLUFFDALE CHILD CARE HOLDINGS, LLC — shared legal stylesheet
   Loaded by privacy.html and terms-of-service.html only.
   Self contained: defines its own page background and text colors.
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
  background-color: #F4F4EE;
  color: #26302B;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- plain legal header ---------- */
.legal-header {
  display: block;
  background-color: #24401F;
  color: #FAF8EE;
  padding: 26px 24px 28px;
  border-bottom: 6px solid #3D6B35;
}

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

.legal-header h1 {
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  color: #FAF8EE;
  font-size: 1.9rem;
  line-height: 1.2;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}

.legal-header p {
  color: #E4E9DC;
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.legal-brandline {
  display: inline-block;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  background-color: #FAF8EE;
  color: #24401F;
  padding: 6px 12px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.legal-header a {
  color: #FAF8EE;
  text-decoration: none;
  border-bottom: 2px solid #3D6B35;
}

/* ---------- layout ---------- */
.legal-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-intro {
  background-color: #E4E9DC;
  border: 2px solid #B9BFAF;
  border-left: 10px solid #3D6B35;
  border-radius: 3px;
  padding: 24px 24px 20px;
  margin: 34px 0 10px;
}

.legal-intro h2 {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 1.15rem;
  color: #24401F;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}

.legal-intro p {
  font-size: 1rem;
  color: #26302B;
}

.legal-toc {
  background-color: #FAF8EE;
  border: 2px solid #B9BFAF;
  border-top: 8px solid #3D6B35;
  border-radius: 3px;
  padding: 22px 24px 24px;
  margin: 28px 0 12px;
}

.legal-toc h2 {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #24401F;
  margin-bottom: 14px;
}

.legal-toc ol {
  list-style: none;
  counter-reset: toccount;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 26px;
}

.legal-toc li {
  counter-increment: toccount;
  padding: 4px 0 4px 26px;
  position: relative;
  font-size: 0.94rem;
  border-bottom: 1px dotted #B9BFAF;
}

.legal-toc li::before {
  content: counter(toccount, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 4px;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #3D6B35;
}

.legal-toc a {
  color: #24401F;
  text-decoration: none;
}

.legal-toc a:hover {
  color: #3D6B35;
  text-decoration: underline;
}

/* ---------- legal content ---------- */
.legal-content {
  padding: 10px 0 40px;
}

.legal-content section {
  background-color: transparent;
  margin-bottom: 30px;
  padding-top: 8px;
}

.legal-content h2 {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 1.32rem;
  color: #24401F;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 3px solid #B9BFAF;
}

.legal-content h3 {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 1.06rem;
  color: #3D6B35;
  margin: 18px 0 8px;
}

.legal-content p {
  margin-bottom: 1.05em;
  color: #26302B;
}

.legal-content ul {
  margin: 0 0 1.05em 0;
  padding-left: 0;
  list-style: none;
}

.legal-content li {
  position: relative;
  padding: 5px 0 5px 26px;
  color: #26302B;
}

.legal-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 10px;
  background-color: #3D6B35;
  border-radius: 50%;
}

.legal-content a {
  color: #3D6B35;
  font-weight: 700;
}

.legal-meta {
  background-color: #FAF8EE;
  border: 2px solid #B9BFAF;
  border-radius: 3px;
  padding: 16px 20px;
  font-size: 0.94rem;
  margin: 20px 0 6px;
}

.legal-contactbox {
  background-color: #24401F;
  color: #FAF8EE;
  border-radius: 3px;
  padding: 22px 24px;
  margin: 22px 0 10px;
}

.legal-contactbox h3 {
  color: #FAF8EE;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.legal-contactbox p {
  color: #E4E9DC;
}

.legal-contactbox a {
  color: #FAF8EE;
  border-bottom: 2px solid #3D6B35;
  text-decoration: none;
}

/* ---------- legal footer ---------- */
.legal-footer {
  background-color: #24401F;
  color: #E4E9DC;
  padding: 30px 24px 34px;
  border-top: 6px solid #3D6B35;
}

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

.legal-footer p {
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.legal-footer a {
  color: #FAF8EE;
  text-decoration: none;
  border-bottom: 2px solid #3D6B35;
}

.legal-footer-nav {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.legal-footer-nav a {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 720px) {
  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-header h1 {
    font-size: 1.5rem;
  }
}
