:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #242220;
  background: #faf9f6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: #9f1717;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #6f1010;
}

.site-header {
  display: flex;
  max-width: 760px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d8d4cd;
  padding: 1.25rem 1.25rem 1rem;
}

.brand {
  color: #242220;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.site-header nav a[aria-current='page'] {
  color: #242220;
  font-weight: 600;
  text-decoration: none;
}

.legal-document {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.document-header {
  margin-bottom: 3rem;
}

h1,
h2,
h3 {
  color: #1f1d1b;
  line-height: 1.25;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  letter-spacing: -0.035em;
}

.effective-date {
  margin: 0.5rem 0 1.25rem;
  color: #6d6963;
  font-size: 0.9rem;
}

.document-header > p:last-child {
  max-width: 62ch;
  margin-bottom: 0;
  font-size: 1.05rem;
}

article section {
  margin-top: 2.5rem;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

h3 {
  margin: 1.5rem 0 0.4rem;
  font-size: 1rem;
}

p,
ul {
  margin: 0.75rem 0 0;
}

ul {
  padding-left: 1.35rem;
}

li + li {
  margin-top: 0.4rem;
}

code {
  border: 1px solid #d8d4cd;
  border-radius: 3px;
  padding: 0.05rem 0.25rem;
  background: #f0eee9;
  font-size: 0.9em;
}

.back-link {
  margin-top: 3.5rem;
  border-top: 1px solid #d8d4cd;
  padding-top: 1.25rem;
}

@media (max-width: 540px) {
  .site-header {
    padding-inline: 1rem;
  }

  .legal-document {
    padding: 2.25rem 1rem 3rem;
  }

  .document-header {
    margin-bottom: 2.5rem;
  }

  article section {
    margin-top: 2.25rem;
  }
}
