:root { --blue: #1f3f73; --blue2: #2c5aa0; --red: #c0392b; --bg: #f5f3ee; --card: #fff; --ink: #1c1c1c; --soft: #666; --line: #ddd8cc; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 16px/1.5 "PT Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--blue2); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--blue); color: #fff; position: sticky; top: 0; z-index: 50; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand .logo { width: 38px; height: 38px; border-radius: 9px; background: #fff; color: var(--blue); display: grid; place-items: center; font: 700 24px Georgia, serif; }
.brand b { display: block; font-size: 18px; } .brand small { opacity: .8; font-size: 12px; }
.top nav { display: flex; gap: 6px; flex-wrap: wrap; }
.top nav a { color: #fff; text-decoration: none; padding: 7px 11px; border-radius: 8px; background: rgba(255,255,255,.12); font-size: 15px; white-space: nowrap; }
.top nav a:hover { background: rgba(255,255,255,.25); }
.wrap { max-width: 1060px; margin: 0 auto; padding: 20px 16px 40px; }
.foot { text-align: center; color: var(--soft); font-size: 13px; padding: 18px 16px 28px; }
h1, h2, h3 { font-family: "PT Serif", Georgia, serif; line-height: 1.2; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }

/* home */
.hero { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; }
.hero img { width: 100%; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.hero h1 { font-size: 46px; margin: 0 0 6px; color: var(--blue); }
.hero p.lead { font-size: 19px; margin: 0 0 18px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 10px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; border: 0; font-size: 16px; cursor: pointer; }
.btn.alt { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.btn.red { background: var(--red); }
.grid-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 14px; }
.unit { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--ink); display: block; }
.unit img { width: 100%; display: block; aspect-ratio: 595/842; object-fit: cover; background: #eee; }
.unit div { padding: 8px 10px; font-size: 14px; } .unit b { display: block; font-family: "PT Serif", Georgia, serif; font-size: 15px; }

/* audio */
.track-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.track-head h1 { margin: 0; font-size: 30px; color: var(--blue); }
audio { width: 100%; margin: 14px 0; }
.lines { list-style: none; padding: 0; margin: 0; }
.lines li { padding: 9px 12px; border-bottom: 1px solid var(--line); font: 19px/1.45 "PT Serif", Georgia, serif; }
.lines li b { font: 700 14px "PT Sans", sans-serif; color: var(--red); display: block; }
.list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.list a { display: block; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); }
.list a small { color: var(--soft); display: block; }
.speed { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; }
.speed button { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 4px 8px; cursor: pointer; }
.speed button.on { background: var(--blue); color: #fff; border-color: var(--blue); }

@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; } .hero img { max-width: 240px; margin: 0 auto; }
  .hero h1 { font-size: 36px; text-align: center; } .hero p.lead { text-align: center; } .btns { justify-content: center; }
  .brand small { display: none; } .brand b { font-size: 16px; white-space: nowrap; } .brand .logo { width: 32px; height: 32px; font-size: 20px; } .top { padding: 8px 10px; } .top nav { flex-wrap: nowrap; gap: 4px; } .top nav a { padding: 6px 7px; font-size: 13px; }
}
