body {
  max-width: 65ch;
  margin: 2rem auto;
  padding: 0 1rem;
  line-height: 1.5;
  font-family: system-ui, -apple-system, sans-serif;
}

header {
  margin-bottom: 2rem;
}

.page-header-copy p {
  margin-bottom: 0.5rem;
}

.header-list {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

.header-list li + li {
  margin-top: 0.2rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  line-height: 1;
}

.site-logo-mark {
  width: 56px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 8px;
}

.site-logo:hover {
  text-decoration: underline;
}

.site-nav {
  margin-top: 1rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1rem;
}

.site-nav-list {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-weight: bold;
}

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

.site-nav a[aria-current='page'] {
  text-decoration: underline;
}

.about-photo {
  display: block;
  width: min(100%, 220px);
  height: auto;
  margin: 1rem 0 1.5rem;
  border-radius: 12px;
}

.page-error {
  color: #b00020;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px dashed #000;
  outline-offset: 3px;
}

button:disabled {
  cursor: not-allowed;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #e0e0e0;
  }

  .site-nav {
    border-color: #333;
  }

  a {
    color: #bb86fc;
  }

  a:visited {
    color: #9c27b0;
  }

  button {
    background-color: #2c2c2c;
    color: #e0e0e0;
    border: 1px solid #555;
  }

  .page-error {
    color: #ff9aa2;
  }

  button:focus-visible,
  a:focus-visible,
  input:focus-visible {
    outline-color: #e0e0e0;
  }
}
