:root {
  color-scheme: light;
  --ink: #17231d;
  --muted: #5e6b63;
  --line: #d8e0d9;
  --paper: #fffefb;
  --wash: #edf6ef;
  --accent: #2f7d57;
  --brand-coral: #d5523f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(224, 244, 224, 0.85), transparent 30rem),
    var(--paper);
  color: var(--ink);
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

.site-header,
footer {
  width: min(100% - 40px, 880px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 700;
  text-decoration: none;
}

.brand span {
  color: var(--brand-coral);
}

nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

nav a {
  color: var(--ink);
  text-decoration: none;
}

main {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 64px 0 80px;
}

.document-heading {
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(40px, 8vw, 62px);
  line-height: 1.05;
}

h2 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.2;
}

.updated,
.intro {
  color: var(--muted);
}

.updated {
  margin: 16px 0 0;
  font-size: 14px;
}

.intro {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: 18px;
}

section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

section p,
section ul {
  margin: 12px 0 0;
}

section ul {
  padding-left: 24px;
}

section li + li {
  margin-top: 8px;
}

.legal-home {
  min-height: calc(100vh - 160px);
  display: grid;
  align-items: center;
}

.document-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.document-links a {
  display: grid;
  gap: 7px;
  min-height: 160px;
  align-content: end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.document-links a:hover,
.document-links a:focus-visible {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.document-links strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.document-links span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

footer {
  min-height: 84px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 600px) {
  .site-header,
  footer {
    width: min(100% - 28px, 880px);
  }

  main {
    width: min(100% - 32px, 760px);
    padding: 44px 0 64px;
  }

  .document-links {
    grid-template-columns: 1fr;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 18px 0;
  }
}
