* { box-sizing: border-box; }

html {
  color-scheme: light;
  text-size-adjust: 100%;
  background: #fbfbfa;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #172033;
  background: #fbfbfa;
}

header {
  height: 56px;
  border-bottom: 1px solid #d5dbe3;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  height: 100%;
  padding: 0 8px;
}

.brand,
header nav a,
footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #172033;
  text-decoration: none;
  white-space: nowrap;
}

.brand {
  padding-inline: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

header nav,
footer nav {
  display: flex;
  align-items: center;
}

header nav a {
  padding-inline: 8px;
  font-size: 14px;
}

main { padding-top: 40px; }

.prose {
  width: min(100%, 65ch);
  margin-inline: auto;
  padding-inline: 20px;
  overflow-wrap: break-word;
}

.prose > section + section { margin-top: 56px; }

h1 {
  margin: 0 0 20px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  overflow-wrap: break-word;
}

h2 {
  margin: 56px 0 12px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

p { margin: 0; }
p + p { margin-top: 16px; }

ol {
  margin: 0;
  padding-left: 1.5em;
}

li + li { margin-top: 12px; }

.prose a {
  color: #0b3a5b;
  text-underline-offset: 0.18em;
}

a.button {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  margin-top: 24px;
  padding: 0 18px;
  border-radius: 8px;
  background: #0b3a5b;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

footer {
  margin-top: 56px;
  border-top: 1px solid #d5dbe3;
}

footer .prose {
  padding-top: 8px;
  padding-bottom: 24px;
}

footer nav a {
  margin-right: 16px;
  font-size: 18px;
}

:focus-visible {
  outline: 2px solid #0b3a5b;
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .bar {
    width: min(100%, 65ch);
    margin-inline: auto;
    padding-inline: 20px;
  }

  main { padding-top: 80px; }

  h1 { font-size: 52px; }

  h2,
  .prose > section + section,
  footer { margin-top: 88px; }
}
