.books-catalog { --books-navy: #071b33; --books-teal: #00dbc2; }
.books-hero { background: var(--books-navy); color: #fff; padding: 4rem 0 3rem; }
.books-eyebrow { display: inline-block; color: var(--books-teal); font-size: .8rem; font-weight: 700; letter-spacing: .05em; margin-bottom: 1.2rem; }
.books-hero h1 { color: #fff; font-size: clamp(2.4rem, 4vw, 3.8rem); line-height: 1.1; letter-spacing: -.04em; margin: 0 0 1.25rem; }
.books-hero p { color: #dce6f0; max-width: 42rem; }
.books-hero .books-lead { font-size: 1.15rem; line-height: 1.65; }
.books-section { padding: 4rem 0; }
.books-section h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.03em; line-height: 1.2; }
.books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.book-card { display: flex; flex-direction: column; border: 1px solid #cbd8e3; border-radius: 1rem; background: #fff; overflow: hidden; }
.book-cover { margin: 0; padding: 1.5rem 1.5rem 0; background: #f0f5f8; text-align: center; }
.book-cover img { display: block; width: 100%; max-width: 220px; height: auto; margin: 0 auto; border-radius: .25rem; box-shadow: 0 12px 30px #0003; }
.book-cover-placeholder { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .4rem; width: 100%; max-width: 220px; aspect-ratio: 2 / 3; margin: 0 auto; border: 2px dashed #698097; border-radius: .25rem; background: var(--books-navy); color: #dce6f0; }
.book-cover-placeholder span { font-size: .8rem; font-weight: 700; letter-spacing: .05em; color: var(--books-teal); }
.book-cover-placeholder strong { font-size: 1.6rem; color: #fff; }
.book-cover-note { display: inline-block; margin: 1rem 0; padding: .25rem .7rem; border-radius: 2rem; background: #fff4d6; color: #5c4300; font-size: .75rem; font-weight: 600; }
.book-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.book-edition { margin: 0 0 1rem; font-size: .8rem; font-weight: 700; }
.book-body .book-edition { color: #315e75; }
.book-card h3 { margin: 0 0 .4rem; font-size: 1.25rem; line-height: 1.3; }
.book-subtitle { margin: 0 0 .5rem; color: #43576b; font-weight: 600; }
.book-body p { color: #43576b; }
.book-card h4 { margin: .5rem 0 .4rem; font-size: .9rem; }
.book-formats { margin: 0 0 1.25rem; padding-left: 1.2rem; color: #43576b; font-size: .9rem; display: grid; gap: .3rem; }
.book-status { margin: auto 0 0; padding-top: 1rem; border-top: 1px solid #cbd8e3; font-size: .9rem; }
.book-status-label { display: inline-block; margin-right: .4rem; padding: .3rem .75rem; border-radius: 2rem; background: #e5f4f1; color: #18544b; font-weight: 700; }
.book-body .button { margin-top: auto; align-self: flex-start; }
.books-separate { background: #f0f5f8; }
.books-separate-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; }
.books-note h2 { margin-top: 0; }
.books-note p { color: #43576b; max-width: 36rem; }
.books-catalog a:focus-visible { outline: 3px solid #087f8c; outline-offset: 5px; }
@media (max-width: 960px) {
  .books-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .books-hero { padding: 2.5rem 0 2.5rem; }
  .books-section { padding: 3rem 0; }
  .books-grid, .books-separate-grid { grid-template-columns: 1fr; }
  .books-separate-grid { gap: 1.5rem; }
}
