body {
  margin: 0;
  padding: 0;
  background: #0a0a0a;
  color: #ddd;
  font-family: Georgia, "Times New Roman", serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
main {
  max-width: 55ch;
  padding: 2rem;
  line-height: 1.8;
  animation: textsettle 1.5s ease-out;
}
h2 {
  font-size: 1rem;
  font-weight: normal;
  font-style: italic;
  color: #ddd;
  margin-bottom: 2.5rem;
}
p {
  margin: 1.5rem 0;
}
nav {
  margin-top: 3rem;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
nav a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}
nav a:hover {
  color: #f0f0f0;
}
nav .prev {
  justify-self: start;
}
nav .up {
  justify-self: center;
}
nav .next {
  justify-self: end;
}
nav .empty {
  visibility: hidden;
}
@keyframes textsettle {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media print {
  body {
    background: #fff;
    color: #000;
    display: block;
  }
  main {
    max-width: none;
    padding: 2cm 3cm;
    animation: none;
  }
  p {
    line-height: 2;
  }
  nav {
    display: none;
  }
}
