body {
  margin: 0;
  background-color: #10151C;
  color: #D5DEE8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

.legal-page {
  background-color: #10151C;
  color: #D5DEE8;
}

.legal-page ::selection {
  background-color: #E8A13B;
  color: #10151C;
}

.legal-page :focus-visible {
  outline: 3px solid #E8A13B;
  outline-offset: 2px;
}

.legal-header {
  background-color: #0B0F14;
  border-bottom: 3px solid #E8A13B;
  padding: 54px 0 44px;
}

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

.legal-kicker {
  color: #E8A13B;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.legal-header h1 {
  color: #D5DEE8;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 10px;
}

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

.toc {
  background-color: #1A2230;
  border: 1px solid #2A3542;
  border-radius: 12px;
  max-width: 980px;
  margin: 30px auto 0;
  padding: 22px 26px;
}

.toc-title {
  color: #E8A13B;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.toc ol {
  columns: 2;
  column-gap: 44px;
  margin: 0;
  padding-left: 22px;
  color: #8FA3B8;
}

.toc li {
  margin-bottom: 7px;
  break-inside: avoid;
}

.toc li::marker {
  color: #E8A13B;
  font-weight: 700;
}

.toc a {
  color: #B9C4D0;
  text-decoration: none;
}

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

.legal-content {
  padding: 36px 0 10px;
}

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

.legal-page .legal-content section {
  background-color: transparent !important;
}

.legal-page .legal-content section {
  margin: 0 0 38px;
}

.legal-content h2 {
  color: #E8A13B;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #2A3542;
}

.legal-content h3 {
  color: #D5DEE8;
  font-size: 19px;
  font-weight: 700;
  margin: 22px 0 10px;
}

.legal-content p {
  color: #B9C4D0;
  margin: 0 0 15px;
}

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

.legal-content ul,
.legal-content ol {
  color: #B9C4D0;
  margin: 0 0 15px;
  padding-left: 26px;
}

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

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

.legal-content a {
  color: #E8A13B;
  text-decoration: underline;
}

.legal-content a:hover {
  color: #F2B14F;
}

.legal-footer {
  background-color: #0B0F14;
  border-top: 1px solid #2A3542;
  margin-top: 34px;
  padding: 32px 0 34px;
}

.legal-footer .container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.legal-footer-links a {
  color: #D5DEE8;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid #E8A13B;
  padding-bottom: 2px;
}

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

.legal-footer-contact {
  color: #8FA3B8;
  font-size: 14px;
  margin: 0;
}

.legal-footer-contact a {
  color: #E8A13B;
  text-decoration: none;
}

.legal-footer-contact a:hover {
  text-decoration: underline;
}

.legal-footer-line {
  border-top: 1px solid #2A3542;
  padding-top: 18px;
  text-align: center;
  color: #8FA3B8;
  font-size: 13px;
  margin: 0;
}

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