/* Shared legal stylesheet for privacy.html and terms-of-service.html */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.legal-header {
  background-color: #262C28;
  border-bottom: 5px solid #D85E18;
}

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

.legal-header a.legal-home {
  display: inline-block;
  color: #F4F8F4;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.legal-header a.legal-home:hover {
  color: #98ABB3;
  text-decoration: underline;
}

.legal-header h1 {
  color: #FFFFFF;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 10px;
}

.legal-header p.legal-updated {
  color: #DCE7DF;
  font-size: 14px;
  margin: 0;
}

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

.legal-content {
  padding: 44px 0 20px;
  color: #323C36;
}

.legal-content section {
  background-color: transparent !important;
  padding: 0 0 4px;
  margin-bottom: 26px;
}

.legal-content h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.25;
  color: #262C28;
  margin: 30px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #CDD9CF;
  scroll-margin-top: 20px;
}

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

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

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

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

.legal-content a {
  color: #B34B10;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-toc {
  background-color: #E0E8E2;
  border: 2px solid #323C36;
  border-left: 8px solid #D85E18;
  padding: 22px 26px;
  margin: 30px 0 34px;
}

.legal-toc h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  color: #262C28;
}

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

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

.legal-toc a {
  color: #262C28;
  text-decoration: none;
  font-weight: 600;
}

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

.legal-lead {
  font-size: 17px;
  color: #323C36;
  border-left: 5px solid #C27754;
  padding-left: 16px;
  margin-bottom: 24px;
}

.legal-footer {
  background-color: #262C28;
  margin-top: 40px;
  border-top: 5px solid #D85E18;
}

.legal-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 24px 34px;
  color: #EAF1EC;
}

.legal-footer-inner p {
  margin: 0 0 8px;
  font-size: 14px;
}

.legal-footer-inner a {
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-footer-inner a:hover {
  color: #98ABB3;
}

.legal-footer-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 700px) {
  .legal-header h1 {
    font-size: 28px;
  }

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