* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #333;
  background: #fff;
  font-family: "Libre Baskerville", serif;
  font-feature-settings: "calt" 1, "liga" 1;
  line-height: 1.6;
}

.site-main {
  width: 760px;
  max-width: 100%;
  margin: 4rem auto;
  opacity: 0;
  animation: fade 1s forwards;
}

.site-main:only-child {
  margin: 0 auto;
}

.page-header,
.content-section {
  margin-bottom: 2rem;
}

.site-main > .content-section:last-of-type {
  margin-bottom: 0;
}

h1 {
  font-size: 2.25rem;
  font-weight: 700;
  font-family: "Libre Baskerville", serif;
}

h2 {
  font-weight: 700;
  font-family: "Libre Baskerville", serif;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

p,
li {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1.25rem;
}

ul {
  padding-left: 1.5rem;
  margin: 0 0 1.25rem;
}

li {
  margin-bottom: 0.1rem;
}

#member-list {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  padding-left: 0;
  list-style: none;
}

#member-list li {
  margin-bottom: 0.1rem;
}

a {
  color: #111;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  text-decoration: underline;
}

.subtitle {
  color: #666;
  font-size: 1.125rem;
  margin-top: 0.15rem;
}

pre {
  background: #f5f5f5;
  padding: 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

code {
  font-size: 0.9rem;
}

.site-footer {
  text-align: center;
}

@keyframes fade {
  0% { opacity: 0; }
  60% { opacity: 1; }
  100% { opacity: 1; }
}

@media (max-width: 600px) {
  body {
    padding: 1.5rem;
  }

  .site-main {
    width: 100%;
    margin: 2rem auto;
  }

  h1 {
    font-size: 1.875rem;
  }
}

@media (prefers-color-scheme: dark) {
  html {
    filter: invert(1) hue-rotate(180deg);
  }
}
