/* Large print, high contrast: readers are the same people who bought a large-print book. */
:root {
  --ink: #1d1a17;
  --muted: #4a443d;
  --paper: #fbf7ef;
  --accent: #6b1f2a;
  --rule: #d8cdb8;
  --button-ink: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1ebe0;
    --muted: #cfc6b8;
    --paper: #1b1917;
    --accent: #e7a3ad;
    --rule: #4a443d;
    --button-ink: #1b1917;
  }
  .ornament { filter: invert(1); }
}
* { box-sizing: border-box; }
html { font-size: 20px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}
main, .site-header, .site-footer { max-width: 44rem; margin: 0 auto; padding: 0 16px; }
.site-header { padding-top: 1rem; font-size: 0.9rem; letter-spacing: 0.04em; }
.site-header a { color: var(--muted); text-decoration: none; }
a { color: var(--accent); text-underline-offset: 0.15em; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0.3rem 0; }
h2 { font-size: 1.45rem; margin: 2.4rem 0 0.6rem; padding-top: 1.2rem; border-top: 2px solid var(--rule); }
h3 { font-size: 1.1rem; margin: 1.4rem 0 0.4rem; color: var(--muted); }
.intro { text-align: center; padding: 1.5rem 0 0.5rem; }
.ornament { display: block; margin: 0 auto 0.5rem; max-width: 160px; height: auto; }
.kicker { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--muted); margin: 0; }
.subtitle { font-style: italic; color: var(--muted); margin-top: 0; }
.intro p:last-child { text-align: left; }
ol.hymns, ul.timeline { padding-left: 2.2rem; }
ol.hymns li, ul.timeline li { margin: 0.35rem 0; }
.hymn-title { font-weight: bold; }
ol.hymns .credit { display: block; }
.credit, .no, .date, .small { color: var(--muted); font-size: 0.85rem; }
ul.timeline { list-style: none; padding-left: 0; }
.year { display: inline-block; min-width: 9.5rem; font-variant-numeric: tabular-nums; color: var(--muted); }
button, .button {
  display: inline-block;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: var(--button-ink);
  text-decoration: none;
  cursor: pointer;
}
.signup { margin-top: 2.4rem; padding: 0.2rem 1rem 0.6rem; border: 2px solid var(--rule); border-radius: 8px; }
.signup h2 { border-top: 0; padding-top: 0; margin-top: 1rem; }
.site-footer { margin-top: 3rem; padding-top: 1rem; padding-bottom: 2rem; border-top: 2px solid var(--rule); font-size: 0.85rem; color: var(--muted); }
@media print {
  html { font-size: 14pt; }
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .no-print, .signup, #more-books, #corrections, .ornament { display: none; }
  h2 { border-top: 0; }
  a { color: #000; text-decoration: none; }
}
