/* Shared legal stylesheet for privacy and terms pages.
   Legal pages load ONLY this file, so it defines page colors itself. */

html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.8;
  color: #1B2530;
  background-color: #F2F8FA;
  overflow-x: hidden;
}

a {
  color: #2E6E8E;
}

.legal-header {
  background-color: #202830;
  padding: 34px 24px;
  text-align: center;
}

.legal-header a.legal-brand {
  display: inline-block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  color: #F2F8FA;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.legal-header a.legal-brand em {
  font-style: normal;
  color: #A4BCC8;
}

.legal-header p {
  margin: 8px 0 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C9DBE1;
}

.legal-hero {
  background-color: #E0ECEF;
  border-bottom: 1px solid #C9DBE1;
  padding: 56px 0 44px;
}

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

.legal-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1.14;
  color: #202830;
  margin: 0 0 14px;
}

.legal-hero p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: #26323D;
}

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

.legal-content section {
  background-color: transparent !important;
  border-bottom: 1px solid #C9DBE1;
  padding: 26px 0;
}

.legal-content section:last-child {
  border-bottom: 0;
}

.legal-content h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.3;
  color: #202830;
  margin: 0 0 14px;
}

.legal-content h3 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #1F5067;
  margin: 20px 0 8px;
}

.legal-content p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.85;
  color: #26323D;
}

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

.legal-content li {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.8;
  color: #26323D;
}

.legal-content a {
  color: #2E6E8E;
  font-weight: 700;
}

.legal-toc {
  background-color: #E0ECEF;
  border: 1px solid #C9DBE1;
  padding: 26px 28px;
  margin: 0 0 20px;
}

.legal-toc h2 {
  font-size: 18px;
  margin: 0 0 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #202830;
}

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

.legal-toc li {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.6;
}

.legal-toc a {
  color: #1F5067;
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a:focus {
  text-decoration: underline;
}

.legal-note {
  background-color: #E0ECEF;
  border-left: 6px solid #2E6E8E;
  padding: 18px 22px;
  margin: 0 0 20px;
}

.legal-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #1B2530;
}

.legal-footer {
  background-color: #202830;
  color: #F2F8FA;
  padding: 38px 24px;
  text-align: center;
}

.legal-footer p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: #C9DBE1;
}

.legal-footer a {
  color: #A4BCC8;
  text-decoration: none;
  font-weight: 700;
}

.legal-footer a:hover,
.legal-footer a:focus {
  color: #F2F8FA;
  text-decoration: underline;
}

.legal-footer .legal-footer-links {
  margin-top: 12px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
}

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

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