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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  background: #1D2024;
  color: #F0F1F3;
  font-family: "Arial", "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: #E0B14A;
  text-underline-offset: 3px;
}

.legal-page {
  background: #1D2024;
  color: #F0F1F3;
}

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

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 {
  color: #F0F1F3;
  letter-spacing: -0.01em;
}

.legal-content h1 {
  font-size: 40px;
  margin: 0 0 10px;
  line-height: 1.1;
}

.legal-content h2 {
  color: #E0B14A;
  font-size: 26px;
  margin-top: 56px;
  margin-bottom: 12px;
}

.legal-content h3 {
  font-size: 20px;
  margin-top: 30px;
}

.legal-content p,
.legal-content li {
  color: #DADCDE;
}

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

.legal-content ul,
.legal-content ol {
  padding-left: 26px;
}

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

.legal-topline {
  color: #E0B14A;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  margin: 0 0 6px;
}

.legal-intro {
  font-size: 1.1em;
  border-top: 1px solid #33363B;
  border-bottom: 1px solid #33363B;
  padding: 18px 0;
  margin-top: 24px;
  color: #DADCDE;
}

/* Scope isolation: legal sections sit on the plain body colour only */
.legal-page .legal-content section {
  background: transparent !important;
}

.legal-copy blockquote {
  border-left: 4px solid #E0B14A;
  margin-left: 0;
  padding-left: 18px;
  color: #C3C7CC;
}

.legal-rule {
  height: 2px;
  background: #E0B14A;
  border: 0;
  margin: 40px 0;
}

.legal-sig-line {
  color: #E0B14A;
  font-weight: bold;
}

.legal-header {
  display: block;
  background: #16181C;
  border-bottom: 4px solid #E0B14A;
  width: 100%;
}

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

.legal-wrap a.back-home {
  color: #E0B14A;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  text-decoration: none;
}

.legal-wrap a.back-home:hover {
  text-decoration: underline;
}

.toc-panel {
  background: #26292E;
  border: 1px solid #3A3E44;
  padding: 18px 22px;
  margin: 30px 0 10px;
}

.toc-panel strong {
  color: #E0B14A;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
}

.toc-panel ol {
  margin: 12px 0 0;
  padding-left: 20px;
}

.toc-panel li {
  margin: 5px 0;
  font-size: 15px;
}

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

.toc-panel a:hover {
  color: #E0B14A;
}

.legal-footer {
  display: block;
  background: #16181C;
  border-top: 4px solid #E0B14A;
  width: 100%;
}

.legal-footer .legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 30px 24px;
  text-align: center;
}

.legal-footer a {
  color: #E0B14A;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  margin: 0 12px;
  text-decoration: none;
}

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

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

  .legal-content h2 {
    font-size: 22px;
  }

  .toc-panel {
    padding: 14px 16px;
  }
}
