/* ==========================================================================
   KGHH Properties LLC - shared legal stylesheet
   Loaded by privacy.html and terms-of-service.html only.
   Palette: SURVEY #F2E6C6 / STONEDEEP #3C462C / BOUND-RED #B4504C
            SOIL-TAN #BC9870 / PLOT-CARD #FCEEE8 / DEED-INK #505838
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
  background-color: #F2E6C6;
  color: #3C462C;
  line-height: 1.7;
  overflow-x: hidden;
}

.legal-header {
  background-color: #3C462C;
  border-bottom: 5px solid #B4504C;
}

.legal-header-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.legal-brand {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #FCEEE8;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.legal-brand:hover,
.legal-brand:focus {
  color: #FCEEE8;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-header-tag {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F2E6C6;
}

.legal-main {
  background-color: #F2E6C6;
}

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

.legal-title {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 46px;
  line-height: 1.1;
  color: #3C462C;
  margin: 56px 0 8px;
  border-bottom: 4px solid #3C462C;
  padding-bottom: 18px;
}

.legal-updated {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #505838;
  margin: 14px 0 26px;
}

.legal-lede {
  font-size: 18px;
  color: #3C462C;
  background-color: #FCEEE8;
  border-left: 8px solid #B4504C;
  padding: 22px 24px;
  margin: 0 0 34px;
}

.legal-toc {
  background-color: #FCEEE8;
  border: 2px solid #505838;
  padding: 24px 28px;
  margin: 0 0 42px;
}

.legal-toc-title {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3C462C;
  margin: 0 0 12px;
}

.legal-toc-list {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 36px;
}

.legal-toc-list li {
  margin-bottom: 9px;
  break-inside: avoid;
}

.legal-toc-list a {
  color: #B4504C;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 15px;
}

.legal-toc-list a:hover,
.legal-toc-list a:focus {
  text-decoration-color: #DC7A6A;
  text-decoration-thickness: 3px;
}

.legal-content section {
  background-color: transparent !important;
  margin: 0 0 8px;
  padding: 28px 0 6px;
  border-top: 1px solid #BC9870;
}

.legal-content section h2 {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 25px;
  line-height: 1.25;
  color: #3C462C;
  margin: 0 0 14px;
}

.legal-content section p {
  font-size: 16px;
  color: #3C462C;
  margin: 0 0 15px;
}

.legal-back {
  margin: 40px 0 64px;
  padding-top: 24px;
  border-top: 3px solid #3C462C;
}

.legal-back a {
  display: inline-block;
  background-color: #B4504C;
  color: #FCEEE8;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  text-decoration: none;
  border: 2px solid #B4504C;
}

.legal-back a:hover,
.legal-back a:focus {
  background-color: #3C462C;
  border-color: #3C462C;
  color: #FCEEE8;
}

.legal-footer {
  background-color: #3C462C;
  border-top: 6px solid #B4504C;
  padding: 30px 0 34px;
}

.legal-footer-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  color: #F2E6C6;
  font-size: 14px;
}

.legal-footer-links {
  max-width: 880px;
  margin: 18px auto 0;
  padding: 16px 24px 0;
  border-top: 1px solid #505838;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.legal-footer-links a {
  color: #FCEEE8;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-footer-links a:hover,
.legal-footer-links a:focus {
  text-decoration-color: #DC7A6A;
  text-decoration-thickness: 3px;
}

@media (max-width: 700px) {
  .legal-title {
    font-size: 34px;
    margin-top: 38px;
  }

  .legal-toc-list {
    columns: 1;
  }

  .legal-lede {
    font-size: 17px;
    padding: 18px 18px;
  }

  .legal-content section h2 {
    font-size: 21px;
  }
}
