:root {
  --bg: #faf7f2; --ink: #2b2622; --muted: #7a6f66; --accent: #8a3b2a; --rule: #e4dcd0; --card: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1c1917; --ink: #ece6dd; --muted: #a39a90; --accent: #e0a08f; --rule: #37312c; --card: #26221f; }
}
* { box-sizing: border-box; }
html { font-family: Georgia, "Times New Roman", "Frank Ruhl Libre", "David", serif; font-size: 18px; line-height: 1.6; }
body { margin: 0; background: var(--bg); color: var(--ink); }
main { max-width: 46rem; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
h1 { font-size: 2.2rem; line-height: 1.2; margin: 0 0 0.5rem; font-weight: normal; }
h2 { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.75rem; font-weight: normal; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
p { margin: 0 0 1rem; }
a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
.crumbs { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 0.85rem; color: var(--muted); margin-bottom: 2rem; }
.crumbs a { color: inherit; }
.lede { color: var(--muted); margin-bottom: 2rem; }
.home { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; text-align: center; padding-top: 0; padding-bottom: 0; }
.home h1 { font-size: 2.6rem; margin-bottom: 1.5rem; }
.songs { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.songs li { border-bottom: 1px solid var(--rule); }
.songs a { display: block; padding: 0.9rem 0; text-decoration: none; font-size: 1.15rem; }
.songs a:hover { text-decoration: underline; }
.songs small { display: block; color: var(--muted); font-size: 0.8rem; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
audio { width: 100%; margin: 1rem 0 2.5rem; }
.lyrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.lyrics section { background: var(--card); border: 1px solid var(--rule); border-radius: 6px; padding: 1.25rem 1.4rem; }
.lyrics p { margin: 0 0 1.1rem; }
.lyrics p:last-child { margin-bottom: 0; }
.gloss { color: var(--muted); font-size: 0.85em; }
[dir="rtl"] h2 { letter-spacing: 0; }
@media (max-width: 40rem) {
  .lyrics { grid-template-columns: 1fr; }
  h1 { font-size: 1.8rem; }
  .home h1 { font-size: 2rem; }
}
