/* Horsfall Consulting LLC - legal pages shared stylesheet */

:root {
  --mist: #E2FAEC;
  --navy: #203058;
  --orange: #D06834;
  --olive: #708444;
  --steel: #4A6272;
  --tan: #D8C9A8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: #E2FAEC;
  color: #203058;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: #9a471e;
}

.legal-header {
  background-color: #203058;
  border-bottom: 8px solid #4A6272;
  padding: 26px 0 30px;
}

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

.legal-header-brand {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D8C9A8;
  font-weight: 700;
  margin-bottom: 14px;
}

.legal-header h1 {
  color: #E2FAEC;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.1;
  margin: 0 0 12px;
}

.legal-header-meta {
  color: #E2FAEC;
  font-size: 14px;
  margin: 0;
}

.legal-header a {
  color: #E2FAEC;
  font-weight: 700;
}

.legal-main {
  padding: 44px 0 60px;
  background-color: #E2FAEC;
}

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

.legal-content section {
  background-color: #E2FAEC !important;
  margin-bottom: 26px;
}

.legal-content h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  color: #203058;
  margin: 34px 0 10px;
  padding-bottom: 8px;
  border-bottom: 3px solid #D06834;
}

.legal-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  color: #203058;
  margin: 22px 0 8px;
}

.legal-content p {
  font-size: 16px;
  color: #203058;
  margin: 0 0 14px;
}

.legal-content ul,
.legal-content ol {
  color: #203058;
  padding-left: 24px;
  margin: 0 0 16px;
}

.legal-content li {
  font-size: 16px;
  margin-bottom: 8px;
}

.legal-content a {
  color: #9a471e;
  font-weight: 700;
}

.legal-intro {
  background-color: #f7fcfa;
  border-left: 8px solid #708444;
  padding: 20px 22px;
  margin-bottom: 26px;
}

.legal-intro p {
  margin-bottom: 10px;
}

.legal-intro p:last-child {
  margin-bottom: 0;
}

.legal-toc {
  background-color: #D8C9A8;
  border: 2px solid #bda87f;
  padding: 20px 24px;
  margin: 0 0 34px;
}

.legal-toc h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  color: #203058;
  margin: 0 0 12px;
  border-bottom: 2px solid #bda87f;
  padding-bottom: 8px;
}

.legal-toc ol {
  columns: 2;
  column-gap: 34px;
  margin: 0;
  padding-left: 20px;
}

.legal-toc li {
  margin-bottom: 7px;
  font-size: 15px;
  break-inside: avoid;
}

.legal-toc a {
  color: #203058;
  text-decoration: none;
  border-bottom: 1px solid #bda87f;
}

.legal-toc a:hover {
  color: #9a471e;
  border-bottom-color: #9a471e;
}

.legal-callout {
  background-color: #203058;
  color: #E2FAEC;
  padding: 18px 22px;
  margin: 22px 0;
  border-left: 8px solid #D06834;
}

.legal-callout p {
  color: #E2FAEC;
  margin-bottom: 8px;
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

.legal-callout a {
  color: #E2FAEC;
}

.legal-contactbox {
  background-color: #4A6272;
  color: #E2FAEC;
  padding: 22px 24px;
  margin: 30px 0 0;
}

.legal-contactbox h2 {
  color: #E2FAEC;
  border-bottom-color: #D8C9A8;
  margin-top: 0;
}

.legal-contactbox p {
  color: #E2FAEC;
  margin-bottom: 8px;
}

.legal-contactbox a {
  color: #E2FAEC;
}

.legal-footer {
  background-color: #708444;
  border-top: 6px solid #56672f;
  padding: 26px 0;
}

.legal-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  color: #E2FAEC;
  font-size: 14px;
}

.legal-footer-inner p {
  margin: 0 0 6px;
  color: #E2FAEC;
}

.legal-footer-inner a {
  color: #E2FAEC;
  font-weight: 700;
}

.legal-footer-links {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.legal-footer-links a {
  color: #E2FAEC;
  text-decoration: underline;
}

.legal-backtop {
  margin-top: 26px;
}

.legal-backtop a {
  display: inline-block;
  background-color: #203058;
  color: #E2FAEC;
  text-decoration: none;
  padding: 10px 18px;
  font-weight: 700;
}

.legal-backtop a:hover {
  background-color: #17223f;
}

@media (max-width: 680px) {
  .legal-header h1 {
    font-size: 30px;
  }
  .legal-toc ol {
    columns: 1;
  }
  .legal-content h2 {
    font-size: 22px;
  }
}
