:root {
  --ink: #17212b;
  --muted: #4b5965;
  --line: #d9dee3;
  --bg: #ffffff;
  --accent: #1f5f8b;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.page {
  max-width: 44rem;
  min-height: 100vh;
  margin: 0 auto;
  padding: 12vh 1.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.page--doc { padding-top: 3rem; }

main { flex: 1; }

.brand {
  display: inline-block;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 2rem;
}

h1 { letter-spacing: .08em; margin: 0 0 .2rem; line-height: 1.2; }
.page--doc h1 { letter-spacing: 0; font-size: 2rem; margin-bottom: .5rem; }
h2 { font-size: 1.25rem; margin: 2.5rem 0 .5rem; line-height: 1.3; }
h3 { font-size: 1.05rem; margin: 1.75rem 0 .25rem; }

p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: .35rem; }

.lead { color: var(--muted); }
.stand { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }

address { font-style: normal; margin-bottom: 1rem; }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.site-footer {
  margin-top: 4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--muted);
  display: inline-block;
  padding: .6rem 0;
  margin-right: 1.25rem;
}

@media (max-width: 30rem) {
  body { font-size: 17px; }
  .page--doc h1 { font-size: 1.6rem; }
}
