/* Legal pages only — self-contained palette and layout.
   Loaded by privacy.html and terms-of-service.html.
   Contrast pairs: LEDGER-NAVY #2D3B63 on BANKNOTE-MINT #DFF0DE or PASS-CREAM #F6F2FC;
   PASS-CREAM or BANKNOTE-MINT text on TILL-DEEP #184630 only. */

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: Georgia, "Palatino Linotype", "Book Antiqua", Palatino, serif;
  background-color: #DFF0DE;
  color: #2D3B63;
  line-height: 1.7;
  overflow-x: hidden;
}

.legal-header {
  background-color: #184630;
  border-bottom: 6px solid #BA4F28;
  color: #DFF0DE;
  padding: 26px 0 24px 0;
}

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

.legal-kicker {
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #F0DFC2;
  margin: 0 0 10px 0;
  font-weight: 700;
}

.legal-header h1 {
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-size: 40px;
  line-height: 1.14;
  color: #DFF0DE;
  margin: 0 0 10px 0;
  letter-spacing: 0.01em;
}

.legal-brandline {
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-size: 15px;
  color: #F0DFC2;
  margin: 0;
  font-weight: 700;
}

.legal-brandline a {
  color: #F0DFC2;
  text-decoration: underline;
}

.legal-main {
  background-color: #DFF0DE;
  padding: 34px 0 60px 0;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  background-color: #DFF0DE;
  color: #2D3B63;
}

.legal-content h2 {
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-size: 25px;
  line-height: 1.25;
  color: #184630;
  margin: 44px 0 12px 0;
  padding: 0 0 8px 0;
  border-bottom: 2px solid #BA4F28;
}

.legal-content h3 {
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-size: 19px;
  color: #2D3B63;
  margin: 26px 0 8px 0;
}

.legal-content p {
  margin: 0 0 15px 0;
  font-size: 16.5px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 18px 0;
  padding: 0 0 0 24px;
}

.legal-content li {
  margin-bottom: 9px;
  font-size: 16.5px;
}

.legal-content li::marker {
  color: #BA4F28;
}

.legal-content strong {
  color: #184630;
}

.legal-content a {
  color: #BA4F28;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover,
.legal-content a:focus {
  color: #85636F;
  text-decoration: underline;
}

/* scope isolation: any section inside the legal content must not borrow homepage band colors */
.legal-content section {
  background-color: transparent !important;
  color: #2D3B63;
}

.legal-meta {
  background-color: #F0DFC2;
  border-left: 8px solid #50688B;
  padding: 18px 22px;
  margin: 22px 0 6px 0;
  font-size: 15px;
  color: #2D3B63;
}

.legal-meta p {
  margin: 0 0 6px 0;
  font-size: 15px;
}

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

.legal-meta-sep {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #D9C7A6;
  margin: 12px 0 10px 0;
}

.legal-toc {
  background-color: #F6F2FC;
  border: 2px solid #2D3B63;
  padding: 22px 26px 20px 26px;
  margin: 26px 0 8px 0;
}

.legal-toc-title {
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #184630;
  font-weight: 700;
  margin: 0 0 12px 0;
  border-bottom: 1px solid #D9C7A6;
  padding-bottom: 8px;
}

.legal-toc ol {
  margin: 0;
  padding: 0 0 0 22px;
  columns: 2;
  column-gap: 30px;
  font-size: 15px;
}

.legal-toc li {
  margin-bottom: 6px;
}

.legal-toc a {
  color: #2D3B63;
  text-decoration: none;
  border-bottom: 1px solid #C3D6C2;
}

.legal-toc a:hover,
.legal-toc a:focus {
  color: #85636F;
  border-bottom-color: #85636F;
}

.legal-note {
  background-color: #F6F2FC;
  border-top: 3px solid #50688B;
  border-bottom: 3px solid #50688B;
  padding: 16px 22px;
  margin: 22px 0;
  font-size: 15.5px;
  color: #2D3B63;
}

.legal-address {
  background-color: #F0DFC2;
  border: 1px solid #D9C7A6;
  border-left: 8px solid #BA4F28;
  padding: 18px 22px;
  margin: 18px 0 8px 0;
  font-size: 16px;
  color: #2D3B63;
}

.legal-address p {
  margin: 0 0 3px 0;
  font-size: 16px;
}

.legal-back {
  margin: 40px 0 0 0;
  padding: 22px 0 0 0;
  border-top: 2px solid #2D3B63;
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  font-size: 16px;
}

.legal-back a {
  color: #BA4F28;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid #BA4F28;
}

.legal-back a:hover,
.legal-back a:focus {
  color: #85636F;
  border-bottom-color: #85636F;
}

.legal-footer {
  background-color: #184630;
  color: #DFF0DE;
  padding: 24px 0 26px 0;
  border-top: 6px solid #BA4F28;
}

.legal-footer-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #DFF0DE;
}

.legal-footer-inner a {
  color: #F0DFC2;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-footer-inner a:hover,
.legal-footer-inner a:focus {
  color: #DFF0DE;
}

.legal-year-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #BA4F28;
  margin-right: 7px;
  vertical-align: middle;
}

@media (max-width: 720px) {
  .legal-header h1 {
    font-size: 30px;
  }
  .legal-toc ol {
    columns: 1;
  }
  .legal-content h2 {
    font-size: 22px;
  }
  .legal-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
