:root {
  --ink: #17213f;
  --muted: #5b647b;
  --line: #dce2ec;
  --paper: #fbfcfe;
  --wash: #f5f8fc;
  --link: #075d84;
  --max: 76rem;
  --font-display: "Manrope", "Avenir Next", system-ui, sans-serif;
  --font-body: "Manrope", "Avenir Next", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { color-scheme: light; overflow-x: clip; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  font: 1.0625rem/1.72 var(--font-body);
}

a { color: var(--link); }
a:hover { text-decoration-thickness: 0.14em; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: white;
  z-index: 2;
}
.skip-link:focus { top: 1rem; }

.site-header,
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: var(--wash);
}
.site-footer { border-top: 1px solid var(--line); border-bottom: 0; }
.brand { color: var(--ink); font-weight: 700; text-decoration: none; }
.archive-note { color: var(--muted); font-size: 0.875rem; }

.legal-document {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 6rem) 0;
  overflow-wrap: anywhere;
}

.legal-document > div,
.legal-document > section { max-width: 65ch; margin-inline: auto; }
.legal-document div,
.legal-document section { min-width: 0; }

h1,
h2,
h3,
h4,
h5,
h6 { font-family: var(--font-display); line-height: 1.18; letter-spacing: -0.02em; text-wrap: balance; }
h1 { margin: 0 0 1rem; font-size: clamp(2.2rem, 5.5vw, 4.2rem); }
h2 { margin: 2.8rem 0 0.8rem; font-size: clamp(1.35rem, 2.5vw, 2rem); }
h3 { margin: 2rem 0 0.6rem; font-size: 1.2rem; }
h4,
h5,
h6 { margin: 2rem 0 0.6rem; font-size: 1.0625rem; }
p,
ul,
ol,
table { margin: 0.75rem 0 1.1rem; }
li + li { margin-top: 0.45rem; }
blockquote { margin: 1.5rem 0; padding-left: 1.2rem; border-left: 3px solid var(--line); }
table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
th,
td { padding: 0.6rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }

p,
li { text-wrap: pretty; }

@media (max-width: 40rem) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .archive-note { display: none; }
}
