:root {
  font:
    1.1rem/1.65 system-ui,
    sans-serif;
  --ink: #192c57;
  --paper: #f7f9ff;
  --line: #d3dded;
  --link: #204fc9;
  color: var(--ink);
  background: var(--paper);
  color-scheme: light dark;
}
body {
  max-width: 43rem;
  margin: 4vh auto;
  padding: 1.4rem;
}
header,
nav {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}
header strong {
  font-size: 1.3rem;
}
h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.12;
}
h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.4rem;
}
a {
  color: var(--link);
  text-underline-offset: 0.15em;
}
button,
.button {
  display: inline-block;
  border: 1px solid var(--link);
  background: var(--link);
  color: var(--paper);
  padding: 0.55rem 1rem;
  margin: 0.4rem 0.4rem 0.4rem 0;
  border-radius: 0.4rem;
  font: inherit;
  cursor: pointer;
}
footer {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding-top: 1rem;
}
footer a {
  margin-right: 1rem;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ecf2ff;
    --paper: #111d36;
    --line: #344763;
    --link: #a7c0ff;
  }
}
