/* ============================================================
   ELLIEHYER.HAIR LLC — LEGAL PAGES STYLESHEET (privacy / terms)
   Loaded ONLY by privacy.html and terms-of-service.html.
   Light warm-hazel legal theme.
   ============================================================ */

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

.legal-page {
  background-color: #FAF6F2; /* salon-suite warm blush white */
  color: #33302C;
  font-family: "Gill Sans", "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

/* Scope isolation: legal body sections never inherit colored section
   backgrounds from other stylesheets. Footer/header excluded. */
.legal-page .legal-content section {
  background-color: transparent !important;
}

.legal-page a { color: #6B4A2E; text-decoration: underline; }
.legal-page img { max-width: 100%; display: block; }
.legal-page p { color: #453F38; margin: 0 0 16px; }

/* ---------------- Legal header ---------------- */
.legal-page .legal-header {
  background-color: #2E211A; /* deep hazel banner */
  color: #FFFDF8;
}
.legal-page .legal-header .legal-topstrip {
  height: 14px;
  background: repeating-linear-gradient(90deg,
    #8E4A6B 0 6px, #D9A441 6px 12px, #FFFDF8 12px 18px,
    #2E211A 18px 24px);
}
.legal-page .legal-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 24px;
}
.legal-page .legal-brand {
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #D9A441;
  margin-bottom: 14px;
  font-weight: 600;
}
.legal-page h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  color: #FFFDF8; /* strong contrast on deep hazel header */
}
.legal-page .legal-updated {
  display: block;
  margin-top: 16px;
  color: #F5EBE1;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.legal-page .legal-updated a { color: #D9A441; }

/* ---------------- Legal content column (with TOC) ---------------- */
.legal-page .legal-content .legal-column {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal-page .legal-content .back-home {
  display: inline-block;
  margin: 34px 0 6px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: #6B4A2E;
  text-decoration: none;
}
.legal-page .legal-content .back-home:hover { text-decoration: underline; }

.legal-page .legal-toast {
  background-color: #FFFDF8;
  border: 1px solid #E8DFD4;
  border-left: 4px solid #8E4A6B;
  border-radius: 4px;
  padding: 18px 22px;
  margin: 22px 0 30px;
  color: #453F38;
}
.legal-page .legal-toast p { margin: 0; }

/* table of contents */
.legal-page .toc {
  background-color: #FFFDF8;
  border: 1px solid #E8DFD4;
  border-radius: 8px;
  padding: 26px 28px;
  margin-bottom: 40px;
}
.legal-page .toc h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  color: #6B4A2E;
  border-bottom: 1px solid #E8DFD4;
  padding-bottom: 8px;
  margin-bottom: 14px;
}
.legal-page .toc ol {
  list-style: none;
  counter-reset: toc;
  columns: 2;
  column-gap: 40px;
}
.legal-page .toc li { counter-increment: toc; margin-bottom: 8px; break-inside: avoid; }
.legal-page .toc li a::before {
  content: counter(toc, decimal-leading-zero) ".  ";
  font-family: "Courier New", monospace;
  color: #D9A441;
  font-weight: 700;
}
.legal-page .toc a { color: #33302C; text-decoration: none; }
.legal-page .toc a:hover { color: #6B4A2E; text-decoration: underline; }

.legal-page .legal-wrap {
  padding-bottom: 40px;
}

/* section cards */
.legal-page .legal-sect {
  background-color: #FFFDF8;
  border: 1px solid #E8DFD4;
  border-radius: 8px;
  padding: 30px 32px;
  margin-bottom: 22px;
}
.legal-page .legal-sect h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  color: #6B4A2E; /* braid-hazel headings, strong on light */
  line-height: 1.25;
  margin: 0 0 14px;
  font-weight: 700;
}
.legal-page .legal-sect h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  color: #4A3220;
  margin: 18px 0 8px;
  font-weight: 700;
}
.legal-page .legal-sect h2 a {
  color: inherit;
  text-decoration: none;
}
.legal-page .legal-sect p {
  color: #453F38;
  margin-bottom: 14px;
}
.legal-page .legal-sect ul,
.legal-page .legal-sect ol {
  margin: 0 0 16px 22px;
  color: #453F38;
}
.legal-page .legal-sect li { margin-bottom: 8px; }
.legal-page .legal-sect strong { color: #33302C; font-weight: 700; }
.legal-page .legal-sect .def-term {
  font-weight: 700;
  color: #4A3220;
}

.legal-page .contact-card {
  background-color: #F5EBE1;
  border: 1px solid #E8DFD4;
  border-radius: 8px;
  padding: 22px 24px;
  margin-top: 10px;
}
.legal-page .contact-card a { color: #6B4A2E; }
.legal-page .contact-card p { margin: 4px 0; }

/* ---------------- Legal footer ---------------- */
.legal-page .legal-footer {
  background-color: #2E211A;
  color: #F5EBE1;
  text-align: center;
  position: relative;
}
.legal-page .legal-footstrip {
  height: 14px;
  background: repeating-linear-gradient(90deg,
    #8E4A6B 0 6px, #D9A441 6px 12px, #FFFDF8 12px 18px,
    #2E211A 18px 24px);
}
.legal-page .legal-footer-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
}
.legal-page .legal-footer-brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFDF8;
  margin-bottom: 14px;
}
.legal-page .legal-footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 18px;
}
.legal-page .legal-footer-links li { display: inline; }
.legal-page .legal-footer-links a {
  color: #F5EBE1;
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.legal-page .legal-footer-links a:hover { color: #D9A441; text-decoration: underline; }
.legal-page .legal-footer-note p {
  color: #E8DFD4;
  font-size: 13px;
  margin: 0;
  line-height: 1.8;
}

/* mobile tweaks */
@media (max-width: 680px) {
  .legal-page .toc ol { columns: 1; }
  .legal-page h1 { font-size: 30px; }
  .legal-page .legal-sect { padding: 22px 20px; }
}
