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

body {
  background: #f8f7f4;
  color: #1a1a1a;
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  font-size: 16px;
  line-height: 1.6;
  padding: 0 1.5rem;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 5rem 0 2rem;
}

.brand {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  text-decoration: none;
  margin-bottom: 3.5rem;
}

h1 {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}

h2 {
  font-size: 1rem;
  font-weight: 400;
  color: #1a1a1a;
}

h2 a {
  color: inherit;
  text-decoration: none;
}

h2 a:hover { color: #888; }

h3 {
  font-size: 0.88rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-top: 1.75rem;
  margin-bottom: 0.4rem;
}

.lead {
  font-size: 0.88rem;
  color: #888;
  border-left: 1px solid #d8d6d0;
  padding-left: 1.25rem;
  margin-bottom: 3.5rem;
  line-height: 1.85;
}

section {
  margin-top: 4rem;
}

section > h2 {
  font-size: 0.88rem;
  font-weight: 400;
  color: #888;
  margin-bottom: 2rem;
}

section p {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.85;
}

.links p {
  font-size: 0.9rem;
  border-bottom: 1px solid #d8d6d0;
  padding: 0.65rem 0;
  color: #888;
}

.links p:first-child { border-top: 1px solid #d8d6d0; }

.links strong {
  display: inline-block;
  min-width: 180px;
  font-weight: 400;
  color: #1a1a1a;
}

.links a { color: #888; text-decoration: none; }
.links a:hover { color: #1a1a1a; }

footer {
  margin-top: 5rem;
  padding: 2.5rem 0 5rem;
  border-top: 1px solid #d8d6d0;
  font-size: 0.72rem;
  color: #888;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.foot-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

footer a { color: #888; text-decoration: none; }
footer a:hover { color: #1a1a1a; }

footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; align-items: baseline; }

@media (max-width: 480px) {
  main { padding-top: 3rem; }
  .links strong { display: block; margin-bottom: 0.1rem; }
}
