/* Books page — dark editorial, two matched 3D mockups */
.ed-books-page{background:var(--ed-bg,#100B22);color:var(--ed-text,#F7F8FC)}
.km-books-intro{grid-template-columns:1fr;padding-bottom:48px}
.km-books-intro .ed-kicker{margin-bottom:21px}
.km-books-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:56px 64px;
  padding-bottom:96px;align-items:start;
}
.km-book-card{min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.km-book-visual{
  width:100%;aspect-ratio:1;display:grid;place-items:center;
  margin-bottom:28px;border-radius:12px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 45%, rgba(183,136,255,.18), transparent 65%),
    linear-gradient(165deg, #1a1233 0%, #100B22 70%);
  border:1px solid var(--ed-line, rgba(217,199,244,.18));
  overflow:hidden;
  align-items:end;justify-items:center;padding:6% 4% 8%;
}
.km-book-mockup{
  width:auto;height:100%;max-width:92%;object-fit:contain;
  background:transparent;display:block;
}
.km-book-title{
  margin:0 0 12px;font-size:clamp(28px,3vw,40px);font-weight:700;
  letter-spacing:-.045em;line-height:1.1;color:var(--ed-text,#F7F8FC);max-width:22ch;
}
.km-book-line{
  margin:0 0 28px;font-size:16px;line-height:1.65;color:var(--ed-muted,#B6AEC3);
  max-width:36ch;letter-spacing:-.01em;
}
.km-book-cta{
  display:inline-flex;align-items:center;gap:8px;
  min-height:48px;padding:0 22px;border-radius:999px;
  background:#fff34b;color:#100B22;font-size:14px;font-weight:800;
  text-decoration:none;letter-spacing:-.01em;
  box-shadow:0 10px 28px rgba(255,243,75,.18);
}
.km-book-cta:hover,.km-book-cta:focus-visible{filter:brightness(1.05);outline:2px solid #fff34b;outline-offset:3px}
.km-book-cta span{font-weight:900}

@media(max-width:900px){
  .km-books-grid{gap:48px 40px}
}
@media(max-width:700px){
  .km-books-grid{grid-template-columns:1fr;gap:56px}
  .km-books-intro{padding-bottom:36px}
  .km-book-visual{aspect-ratio:1.05;margin-bottom:22px}
  /* Stacked mobile: center title, blurb, and CTA under each cover */
  .km-book-card{align-items:center;text-align:center}
  .km-book-title{font-size:clamp(26px,8vw,34px);max-width:20ch}
  .km-book-line{font-size:15px;margin-bottom:22px;max-width:34ch}
}
