/* Change these colors to personalize your site. */
:root {
  --background: #151515;
  --text: #eeeae4;
  --muted: #b3afa8;
  --accent: #ff894f;
  --border: #383838;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, sans-serif;
  line-height: 1.7;
}

header, main, footer {
  width: min(760px, 100% - 40px);
  margin: 0 auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

a {
  color: var(--accent);
  text-underline-offset: 4px;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.site-name {
  color: var(--text);
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
}

main {
  min-height: 65vh;
  padding: 48px 0 64px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 6vw, 44px);
  line-height: 1.2;
}

h2 {
  margin-top: 36px;
  font-size: 24px;
}

.description, footer {
  color: var(--muted);
}

.story-list, .chapter-list {
  padding-left: 24px;
}

.story-list li, .chapter-list li {
  margin-bottom: 18px;
}

.story-list p {
  margin: 4px 0;
  color: var(--muted);
}

.chapter-text {
  margin: 32px 0;
  font: 20px/1.85 Georgia, serif;
}

.chapter-nav, footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

footer {
  font-size: 13px;
}
