.ebook-section{--cover-ratio:1034/1521;--book-accent:#ef5357;--book-rgb:239,83,87;--book-ink:#faf8f5;--book-muted:#bcb9b9;position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:center;gap:clamp(24px,5vw,76px);max-width:1180px;margin:64px auto 84px;padding:48px 34px 54px;border-block:1px solid rgba(255,255,255,.13);text-align:left;isolation:isolate}
.ebook-hannah{--cover-ratio:9/16;--book-accent:#f39bd7;--book-rgb:203,104,222;--book-muted:#c8bcd1;max-width:1240px;margin-inline:auto}
.ebook-stage{position:relative;min-width:0;height:460px;display:grid;place-items:center;perspective:1200px;isolation:isolate}
.ebook-halo{position:absolute;width:94%;height:85%;background:radial-gradient(ellipse,rgba(var(--book-rgb),.18),transparent 66%);pointer-events:none}
.ebook-float{width:236px;height:auto;aspect-ratio:var(--cover-ratio);position:relative;transform-style:preserve-3d;animation:ebook-float 7s ease-in-out infinite;z-index:2}
.ebook-book{width:100%;height:100%;position:relative;transform-style:preserve-3d;transform:rotateX(7deg) rotateY(-22deg) rotateZ(-7deg)}
.ebook-front,.ebook-back{position:absolute;inset:0;border-radius:2px 5px 5px 2px;transform-style:preserve-3d}
.ebook-front{transform:translateZ(15px);background:#161216;box-shadow:inset 0 0 0 1px rgba(255,255,255,.26)}
.ebook-cover{width:100%;height:100%;display:block;object-fit:fill;border-radius:inherit}
.ebook-cover-light{position:absolute;inset:0;border-radius:inherit;background:linear-gradient(90deg,rgba(0,0,0,.4),rgba(255,255,255,.2) 1.4%,transparent 3%,rgba(0,0,0,.18) 4%,transparent 8%,transparent 85%,rgba(255,255,255,.12));box-shadow:inset 0 0 0 1px rgba(255,255,255,.2);pointer-events:none}
.ebook-back{background:#211a20;transform:translateZ(-15px);box-shadow:1px 2px 0 #090909}
.ebook-pages{position:absolute;top:3px;right:-14px;width:28px;height:calc(100% - 6px);transform:rotateY(90deg);background:repeating-linear-gradient(90deg,#c9c5c1 0px,#eeece8 1px,#e5e1dc 2px);border-block:1px solid #b5aaa0}
.ebook-bottom{position:absolute;bottom:-13px;left:1px;width:calc(100% - 2px);height:28px;transform:rotateX(90deg);background:repeating-linear-gradient(0deg,#c9c5c1 0px,#eeece8 1px,#e5e1dc 2px)}
.ebook-shadow{position:absolute;bottom:4px;width:220px;height:24px;border-radius:50%;background:rgba(0,0,0,.65);filter:blur(12px);transform:rotate(-7deg);animation:ebook-shadow 7s ease-in-out infinite;z-index:0}
.ebook-badge{position:absolute;left:0;bottom:42px;z-index:3;border:1px solid rgba(var(--book-rgb),.35);background:#191215;color:var(--book-ink);border-radius:999px;padding:12px 16px;font:700 10px/1.3 Manrope,Arial,sans-serif;letter-spacing:.13em;transform:rotate(-5deg);box-shadow:0 8px 28px #0004}
.ebook-badge span{color:var(--book-accent);margin-left:12px;font-size:16px}
.ebook-copy{min-width:0;position:relative;z-index:3}
.ebook-section .ebook-eyebrow{font:700 10px/1.6 Manrope,Arial,sans-serif;letter-spacing:.15em;color:var(--book-accent);margin:0 0 18px}
.ebook-section h2{font-family:Manrope,Arial,sans-serif;font-size:clamp(30px,3.3vw,46px);font-weight:800;line-height:1.1;letter-spacing:-.045em;color:var(--book-ink);margin:0;max-width:520px;text-wrap:balance}
.ebook-section .ebook-description{font-size:15px;line-height:1.8;color:var(--book-muted);max-width:400px;margin:21px 0 26px}
.ebook-claim{display:inline-flex;align-items:center;justify-content:space-between;gap:22px;width:100%;max-width:420px;min-height:60px;padding:17px 20px;color:#201019;background:#f6f1ed;border:1px solid #fff;border-radius:10px;text-decoration:none;font-size:13px;font-weight:800;line-height:1.5;box-shadow:0 4px 0 #9e8e8a;transition:background .2s ease}
.ebook-claim:hover{background:#fff}.ebook-claim:active{box-shadow:0 1px 0 #9e8e8a}.ebook-claim:focus-visible{outline:3px solid var(--book-accent);outline-offset:6px}
.ebook-claim svg{width:22px;height:22px;flex:0 0 22px}
.ebook-section .ebook-note{font-size:11px;line-height:1.7;margin:15px 0 0;color:var(--book-muted);max-width:400px}
@keyframes ebook-float{0%,100%{transform:translateY(5px) rotateZ(-1deg)}50%{transform:translateY(-10px) rotateZ(1deg)}}
@keyframes ebook-shadow{0%,100%{opacity:.7;scale:1}50%{opacity:.4;scale:.88}}
html[data-motion="paused"] .ebook-float,html[data-motion="paused"] .ebook-shadow,.motion-paused .ebook-float,.motion-paused .ebook-shadow,.page-hidden .ebook-float,.page-hidden .ebook-shadow{animation-play-state:paused}
@media(max-width:1100px){.ebook-hannah{margin-inline:5vw}.ebook-section{gap:30px;padding-inline:24px}.ebook-float{width:215px;height:auto}.ebook-stage{height:430px}}
@media(max-width:640px){.ebook-section{grid-template-columns:1fr;gap:20px;margin:44px auto 54px;padding:28px 8px 36px}.ebook-hannah{margin-inline:18px;padding-inline:6px}.ebook-stage{height:370px}.ebook-float{width:190px;height:auto}.ebook-shadow{width:180px;bottom:2px}.ebook-badge{left:calc(50% - 137px);bottom:26px;font-size:9px;padding:10px 13px}.ebook-section h2{font-size:32px;max-width:380px}.ebook-section .ebook-eyebrow{font-size:9px;margin-bottom:13px}.ebook-section .ebook-description{font-size:14px;margin:17px 0 22px}.ebook-claim{min-height:62px;font-size:12px;padding:15px 16px;gap:14px}.ebook-copy{padding-inline:4px}}
@media(prefers-reduced-motion:reduce){.ebook-float,.ebook-shadow{animation:none!important}.ebook-claim{transition:none}}
