* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: #212529;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

.container {
  width: min(calc(100% - 2rem), 60rem);
  margin-inline: auto;
}

a {
  color: #0b5ed7;
  text-underline-offset: 0.15em;
}

a:focus-visible {
  outline: 3px solid #0b5ed7;
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.25;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: 2.1rem;
}

h2 {
  margin-bottom: 1rem;
  font-size: 1.65rem;
}

h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.1rem;
}

p {
  margin-bottom: 1rem;
}

code {
  padding: 0.1em 0.25em;
  border-radius: 0.2rem;
  background: #f1f3f5;
  font-size: 0.9em;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.5rem 0.75rem;
  transform: translateY(-200%);
  background: #ffffff;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid #d5e4f1;
  background: #e3f2fd;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding-block: 0.75rem;
}

.brand {
  margin-right: 1rem;
  color: #212529;
  font-size: 1.25rem;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

.site-nav a {
  color: #343a40;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
}

main {
  padding-block: 2rem;
}

section {
  padding-block: 1rem 1.5rem;
  scroll-margin-top: 1rem;
}

section + section {
  border-top: 1px solid #dee2e6;
}

.site-footer {
  border-top: 1px solid #dee2e6;
  background: #f8f9fa;
}

.site-footer .container {
  padding-block: 1.25rem;
}

.site-footer p {
  margin-bottom: 0;
  color: #5b636a;
  font-size: 0.9rem;
}
