:root {
  --bg: #f7f4ef;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --border: #ddd8cf;
  --link: #2d4a3e;
  --link-hover: #1e3329;
  --measure: 42rem;
  --measure-wide: 52rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--link-hover);
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.wordmark {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
}

.wordmark:hover {
  color: var(--link);
}

.site-nav {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9375rem;
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--link);
  text-decoration: underline;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--measure-wide);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

main.narrow {
  max-width: var(--measure);
}

h1 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 1rem;
}

h2 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

h3 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

li {
  margin-bottom: 0.35rem;
}

.meta {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.meta p {
  margin: 0.25rem 0;
}

.landing-lead {
  font-size: 1.125rem;
  max-width: 32rem;
}

.landing-links {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.landing-links li {
  margin-bottom: 0.75rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
}

th,
td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

th {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.03);
}

.policy hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0 0 0.5rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--link);
}

@media print {
  body {
    background: #fff;
  }

  .site-header,
  .site-footer {
    border-color: #ccc;
  }

  .site-nav {
    display: none;
  }

  a {
    color: #000;
    text-decoration: none;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #444;
  }

  .wordmark[href]::after {
    content: none;
  }
}
