/* Books-specific layout; the Android hero keeps its original positioning. */
.books-demo-video{display:block;width:100%;height:100%;object-fit:cover;background:#000}
.books-video-toggle{position:absolute;z-index:9;bottom:22px;right:40px;display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 15px;border:1px solid #ffffff55;border-radius:999px;background:#081d48;color:#fff;font:inherit;font-size:12px;cursor:pointer}
.books-video-toggle:focus-visible{outline:3px solid #fff;outline-offset:4px}
@media(max-width:800px){.books-video-toggle{right:50%;transform:translateX(50%);bottom:12px}}
.books-interface-grid{grid-template-columns:none;grid-auto-columns:calc((100% - 56px)/3);gap:28px}
.books-interface-grid,.showcase-grid{scrollbar-width:none;-ms-overflow-style:none}
.books-interface-grid::-webkit-scrollbar,.showcase-grid::-webkit-scrollbar{display:none;width:0;height:0}
.hero-copy--books .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px;max-width:500px}
.hero-copy--books .actions .btn{box-sizing:border-box;width:100%;min-width:0;min-height:64px;height:100%;padding:12px 16px;line-height:1.35;text-align:center}
.product-explorer-head>*{min-width:0}
.product-explorer-head h2{overflow-wrap:anywhere}
.hero-panel[data-hero-panel="app"] .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px;max-width:500px}
.hero-panel[data-hero-panel="app"] .actions .btn{box-sizing:border-box;width:100%;min-width:0;min-height:64px;height:100%;padding:12px 16px;line-height:1.35;text-align:center}
.product-choices{grid-auto-rows:1fr;align-items:stretch}
.product-choice{box-sizing:border-box;height:100%;min-height:112px}
@media(min-width:801px){
  .hero-panel[data-hero-panel="books"]{padding-bottom:48px}
  .hero-art--books{align-self:center;height:650px;align-items:center}
  .hero-art--books .hero-telegram-label{top:190px}
  .books-iphone.telegram-device{top:50%;transform:translateY(-50%);right:40px}
  .books-telegram-label{top:calc(50% - 190px);right:230px}
}
@media(min-width:801px) and (max-width:1050px){
  .hero-art--books{height:585px}
  .hero-art--books .hero-telegram-label{top:174px}
  .books-iphone.telegram-device{right:26px}
  .books-telegram-label{right:190px}
}
@media(max-width:800px){
  .books-interface-grid{grid-auto-columns:calc((100% - 20px)/2);gap:20px}
  .hero-art--books .hero-telegram-label{top:174px}
  .hero-art--books .hero-telegram-label{left:20px}
  .books-iphone.telegram-device{left:50%;right:auto;transform:translateX(-50%);width:min(280px,calc(100% - 64px));height:auto;aspect-ratio:1179/2556}
  .books-telegram-label{left:24px;right:auto;max-width:calc(100% - 48px);box-sizing:border-box}
  .hero-iphone.telegram-device{position:relative;top:-10px}
}
@media(max-width:560px){
  .books-interface-grid{grid-auto-columns:88%;gap:18px}
  .hero-art--books .hero-telegram-label{top:170px}
  .hero-copy--books .actions{gap:10px}
  .hero-copy--books .actions .btn{min-height:68px;padding:12px 10px}
  .hero-panel[data-hero-panel="app"] .actions{gap:10px}
  .hero-panel[data-hero-panel="app"] .actions .btn{min-height:68px;padding:12px 10px}
  .books-iphone.telegram-device{width:min(245px,calc(100% - 64px))}
  .books-telegram-label{left:20px;max-width:calc(100% - 40px)}
}
