/*
  The landing page's one stylesheet. It uses the visitor's system fonts and
  loads nothing: the site's Content-Security-Policy allows styles, images and
  fonts from the site itself, and nothing from anywhere else. Every pair of
  text and background colours below has a contrast ratio of at least 7 to 1.
*/

:root {
  color-scheme: light dark;
  --background: #ffffff;
  --text: #1b1f23;
  --muted: #4a5560;
  --link: #0a4f8a;
  --rule: #c9d1d9;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0f1419;
    --text: #e6edf3;
    --muted: #aab4bf;
    --link: #8cc4ff;
    --rule: #3a434d;
  }
}

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

body {
  margin: 0;
  border-top: 4px solid var(--link);
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

.site-header,
main,
.site-footer {
  box-sizing: border-box;
  max-width: 42rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.site-header {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.site-name {
  margin: 0;
  font-weight: 700;
}

.site-name a {
  color: inherit;
  text-decoration: none;
}

main {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: 2rem;
  line-height: 1.2;
}

@media (min-width: 40rem) {
  h1 {
    font-size: 2.5rem;
  }
}

h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.375rem;
  line-height: 1.3;
}

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

ul {
  padding-left: 1.25rem;
}

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

.lede {
  font-size: 1.25rem;
}

.contact-address {
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}

a {
  color: var(--link);
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 0.15em;
}

a:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
}

.site-footer {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 1rem;
}

.site-footer p {
  margin: 0;
}
