:root {
  color-scheme: light;
  --cream: #f7f1e8;
  --ink: #28231f;
  --muted: #6f6259;
  --red: #8f251f;
  --focus: #c64a3d;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--cream);
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  overflow-wrap: anywhere;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.0625rem, .25vw + 1rem, 1.1875rem);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: fixed;
  z-index: 2;
  top: .75rem;
  left: .75rem;
  padding: .65rem .9rem;
  transform: translateY(-180%);
  border-radius: .3rem;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.legal-document {
  width: min(880px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) 0 clamp(3.5rem, 8vw, 7rem);
}

.site-return {
  display: inline-block;
  padding: .25rem 0;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 650;
  text-decoration-thickness: .08em;
  text-underline-offset: .24em;
}

.site-return:hover {
  color: var(--red);
}

.document-heading {
  margin: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  max-width: 15ch;
  margin: 0 0 1rem;
  font-size: clamp(2.65rem, 7vw, 4.75rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.updated {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
}

section {
  margin-top: clamp(2.75rem, 6vw, 4.25rem);
}

h2 {
  margin: 0 0 .9rem;
  font-size: clamp(1.55rem, 3.5vw, 2.05rem);
  line-height: 1.2;
  letter-spacing: -.015em;
}

p,
ul,
address {
  max-width: 72ch;
  margin: 0 0 1.15rem;
}

ul {
  padding-left: 1.35rem;
}

li + li {
  margin-top: .35rem;
}

address {
  font-style: normal;
}

a {
  color: var(--red);
  text-decoration-thickness: .07em;
  text-underline-offset: .2em;
}

a:hover {
  text-decoration-thickness: .12em;
}

a:focus-visible {
  border-radius: .15rem;
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-return-bottom {
  margin-top: clamp(3.5rem, 8vw, 6rem);
}

@media (max-width: 480px) {
  .legal-document {
    width: min(100% - 2rem, 880px);
    padding-top: 1.4rem;
  }

  .document-heading {
    margin-top: 3.25rem;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
