/* Shared legal stylesheet — privacy.html and terms-of-service.html
   Self-contained palette, strong contrast, single-column legal form. */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
  background-color: #C8D8CC;
  color: #283A1A;
  line-height: 1.72;
}

a {
  color: #283A1A;
  text-decoration: underline;
  text-decoration-color: #745828;
  text-underline-offset: 3px;
}

a:hover {
  color: #745828;
  text-decoration-color: #D28636;
}

h1, h2, h3 {
  color: #283A1A;
  line-height: 1.25;
  margin: 0;
}

.legal-header {
  background-color: #283A1A;
  border-bottom: 5px solid #D28636;
}

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

.legal-header .legal-brand {
  display: inline-block;
  color: #C8D8CC;
  text-decoration: none;
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.legal-header .legal-brand:hover {
  color: #D28636;
}

.legal-header h1 {
  color: #C8D8CC;
  font-size: 34px;
  margin-bottom: 8px;
}

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

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

.legal-toc {
  background-color: #BCCFC1;
  border-left: 5px solid #D28636;
  padding: 22px 24px;
  margin: 34px 0;
}

.legal-toc h2 {
  font-size: 19px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #745828;
}

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

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

.legal-content {
  padding-bottom: 48px;
}

.legal-content section {
  background-color: #C8D8CC !important;
  border-top: 1px solid #9CB09E;
  padding: 26px 0;
}

.legal-content section:first-child {
  border-top: none;
}

.legal-content h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 18px;
  margin: 18px 0 8px;
}

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

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

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

.legal-intro {
  font-size: 17px;
}

.legal-callout {
  background-color: #BCCFC1;
  border-left: 5px solid #745828;
  padding: 16px 20px;
  margin: 18px 0;
}

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

.legal-content .legal-strong {
  font-weight: bold;
}

.legal-footer {
  background-color: #283A1A;
  border-top: 5px solid #D28636;
  color: #C8D8CC;
}

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

.legal-footer p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #C8D8CC;
}

.legal-footer a {
  color: #C8D8CC;
  text-decoration: underline;
  text-decoration-color: #D28636;
}

.legal-footer a:hover {
  color: #D28636;
}

.legal-footer .legal-back {
  font-size: 16px;
  font-weight: bold;
}

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

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