/* Book pages — shared layout on top of the AEOfix design system */
.book-hero{padding:72px 0 56px;border-bottom:1px solid var(--border);}
.book-hero-grid{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:56px;align-items:center;}
.book-cover{width:100%;max-width:320px;height:auto;aspect-ratio:2/3;border-radius:6px;
  box-shadow:0 24px 60px rgba(0,0,0,.55),0 0 0 1px var(--border-strong);margin:0 auto;}
.book-hero h1{font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.15;margin-bottom:14px;}
.book-tagline{color:var(--text-secondary);font-size:1.1rem;max-width:520px;margin-bottom:22px;}
.book-byline{font-size:.85rem;color:var(--text-muted);margin-top:18px;}
.book-byline a{color:var(--accent);}
.book-cta{display:flex;gap:14px;flex-wrap:wrap;align-items:center;}
.book-cta .btn{min-height:48px;}
.book-facts{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px;padding:0;list-style:none;}
.book-facts li{display:flex;align-items:center;gap:8px;font-size:.82rem;color:var(--text-secondary);
  background:var(--surface);border:1px solid var(--border);border-radius:999px;padding:6px 14px;}
.book-facts svg{width:15px;height:15px;color:var(--accent);flex-shrink:0;}
.ico{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.book-section{padding:72px 0;}
.book-section h2{font-size:1.6rem;margin-bottom:10px;}
.book-section .lead{color:var(--text-secondary);margin-bottom:32px;max-width:600px;}
.about-copy p{color:var(--text-secondary);margin-bottom:14px;max-width:660px;}
/* stat bars */
.stat-bars{display:grid;gap:22px;}
.stat-bar-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:8px;font-size:.92rem;color:var(--text-secondary);}
.stat-bar-head b{font-family:var(--mono);font-size:1.4rem;color:var(--text);font-weight:600;}
.stat-bar-track{height:10px;background:var(--surface-2);border-radius:999px;overflow:hidden;}
.stat-bar-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,var(--accent),#8b97ff);}
/* chapters */
.chapter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;}
.chapter{display:flex;gap:16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;}
.chapter-icon{flex:0 0 44px;height:44px;border-radius:10px;background:var(--accent-tint);color:var(--accent);display:flex;align-items:center;justify-content:center;}
.chapter-num{font-family:var(--mono);color:var(--accent);font-size:.78rem;display:block;margin-bottom:4px;}
.chapter h3{font-size:1rem;margin-bottom:6px;}
.chapter p{color:var(--text-secondary);font-size:.9rem;}
.chapter ul{list-style:none;margin-top:10px;display:grid;gap:4px;}
.chapter li{font-size:.84rem;color:var(--text-muted);}
/* purchase */
.buy-card{background:linear-gradient(180deg,var(--surface-2),var(--surface));border:1px solid var(--border-strong);
  border-radius:var(--radius-lg);padding:36px 28px;text-align:center;max-width:560px;margin:0 auto;}
.buy-price{font-family:var(--mono);font-size:2.4rem;font-weight:600;margin:12px 0 22px;}
.buy-box{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);padding:22px;text-align:left;}
.buy-box label{display:block;font-size:.85rem;color:var(--text-secondary);margin-bottom:6px;}
.buy-box input[type=email]{width:100%;min-height:46px;padding:10px 14px;background:var(--surface);border:1px solid var(--border-strong);
  border-radius:8px;color:var(--text);font-size:16px;font-family:var(--sans);margin-bottom:16px;}
.buy-box input[type=email]:focus{outline:none;border-color:var(--accent);}
#card-button{min-height:48px;}
.buy-trust{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;margin-top:20px;font-size:.84rem;color:var(--text-secondary);}
.buy-trust span{display:inline-flex;gap:7px;align-items:center;}
.buy-trust svg{width:15px;height:15px;color:var(--good);}
#payment-status-container a{color:inherit;font-weight:700;text-decoration:underline;}
@media (max-width:760px){
  .book-hero{padding:40px 0 40px;}
  .book-hero-grid{grid-template-columns:1fr;gap:32px;text-align:center;}
  .book-tagline{margin-left:auto;margin-right:auto;}
  .book-cta,.book-facts{justify-content:center;}
  .book-cover{max-width:240px;}
  .book-section{padding:48px 0;}
}
