:root {
  color-scheme: light;
  --background: #fbfaf7;
  --text: #222222;
  --muted: #68645e;
  --link: #194f7a;
  --line: #ddd7cd;
  --visited-bg: #ece8e0;
  --hover-bg: #f3efe7;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

a {
  color: var(--link);
}

.page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 20px;
}

.header {
  display: flex;
  gap: 24px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}

.header h1 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

h2 {
  margin: 0 0 18px;
  font-size: 1.2rem;
}

@media (max-width: 560px) {
  .header {
    display: block;
  }

  .nav {
    justify-content: flex-start;
    margin-top: 12px;
  }
}
