/* The eBook experience is deliberately scoped; shared home styles are untouched. */
body[data-path="/ebooks/"] .ebook-hero{background:#e5edf5}
body[data-path="/ebooks/"] .ebook-hero h1{max-width:880px}
body[data-path="/ebooks/"] .ebook-steps{display:flex;gap:30px;list-style:none;padding:0;margin:38px 0 0;flex-wrap:wrap;font-size:14px}
body[data-path="/ebooks/"] .ebook-steps li{display:flex;align-items:center;gap:10px}
body[data-path="/ebooks/"] .ebook-steps span{display:grid;place-items:center;width:34px;height:34px;border:1px solid #7486b5;border-radius:50%;font-size:12px;font-weight:700}
body[data-path="/ebooks/"] .ebook-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:30px}
body[data-path="/ebooks/"] .ebook-guide-card{display:flex;flex-direction:column;padding:27px;background:#e7edf8;border:1px solid #d1d9e5;border-radius:16px;min-width:0;scroll-margin-top:150px}
body[data-path="/ebooks/"] .ebook-guide-card:nth-child(2){background:#e8e3f2}
body[data-path="/ebooks/"] .ebook-guide-card:nth-child(3){background:#dce5de}
body[data-path="/ebooks/"] .ebook-guide-card.is-selected{outline:3px solid #222260;outline-offset:3px}
body[data-path="/ebooks/"] .ebook-guide-card .ebook-cover-link{display:block;padding:0;margin:0 auto 25px;width:100%;max-width:180px;transition:transform .2s ease}
body[data-path="/ebooks/"] .ebook-cover-link:hover{transform:translateY(-4px)}
body[data-path="/ebooks/"] .ebook-cover-link img{display:block;width:100%;height:auto;border-radius:3px;box-shadow:0 7px 15px #22226020}
body[data-path="/ebooks/"] .ebook-guide-card .eyebrow{font-size:11px;margin-bottom:12px}
body[data-path="/ebooks/"] .ebook-guide-card h3{font-size:24px;line-height:1.2;margin:0 0 14px}
body[data-path="/ebooks/"] .ebook-guide-card p{font-size:16px;line-height:1.6;margin:0 0 12px}
body[data-path="/ebooks/"] .ebook-guide-card ul{padding-left:18px;margin:0 0 24px;font-size:14px;line-height:1.6}
body[data-path="/ebooks/"] .ebook-guide-card .btn{margin-top:auto;display:block;text-align:center;padding:14px 16px;white-space:normal;min-height:48px;font-size:15px}
body[data-path="/ebooks/"] .ebook-guide-card .ebook-topic-link{margin:16px 0 0;padding:0;font-size:13px;line-height:1.5;font-weight:600;text-decoration:underline;text-underline-offset:3px}
body[data-path="/ebooks/"] .ebook-library-note{font-size:14px;margin:26px 0 0;max-width:70ch}
body[data-path="/ebooks/"] .ebook-request{background:#edf1f5}
body[data-path="/ebooks/"] .ebook-request-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:65px;align-items:start}
body[data-path="/ebooks/"] .ebook-request-intro h2{margin:15px 0 25px}
body[data-path="/ebooks/"] .ebook-request-intro p{max-width:55ch}
body[data-path="/ebooks/"] .ebook-delivery-note{border-left:3px solid #7486b5;padding:18px 20px;background:#fff;margin:26px 0}
body[data-path="/ebooks/"] .ebook-delivery-note p{font-size:14px;line-height:1.65;margin:9px 0 0}
body[data-path="/ebooks/"] .ebook-form-card{min-width:0;background:#fff;padding:32px;border-radius:16px;border:1px solid #d1d9e5;box-shadow:0 12px 25px #22226008}
body[data-path="/ebooks/"] .ebook-form-step{font-size:11px;font-weight:700;letter-spacing:.1em;margin:0 0 18px;color:#485b75}
body[data-path="/ebooks/"] .ebook-selection{padding:13px 16px;background:#e7edf8;border-radius:6px;font-weight:700;font-size:16px;line-height:1.5;margin-bottom:25px}
body[data-path="/ebooks/"] .ebook-field{margin:0 0 20px}
body[data-path="/ebooks/"] .ebook-field label,body[data-path="/ebooks/"] .ebook-copy-fallback label{display:block;font-size:15px;font-weight:700;margin:0 0 8px}
body[data-path="/ebooks/"] .ebook-field label span,body[data-path="/ebooks/"] .ebook-intent legend span{font-weight:400;font-size:12px}
body[data-path="/ebooks/"] .ebook-field input,body[data-path="/ebooks/"] .ebook-field select,body[data-path="/ebooks/"] .ebook-copy-fallback textarea{font:inherit;font-size:16px;padding:12px;border:1px solid #7486b5;border-radius:7px;min-height:48px;width:100%;background:#fff;color:#222260;box-sizing:border-box}
body[data-path="/ebooks/"] .ebook-field small{display:block;margin-top:7px;font-size:12px;line-height:1.5;color:#485b75}
body[data-path="/ebooks/"] .ebook-intent{border:0;margin:28px 0 0;padding:0;min-width:0}
body[data-path="/ebooks/"] .ebook-intent legend{font-weight:700;font-size:15px;margin-bottom:12px;padding:0}
body[data-path="/ebooks/"] .ebook-intent label{display:flex;align-items:flex-start;gap:12px;border:1px solid #d1d9e5;border-radius:8px;padding:15px;margin:0 0 10px;cursor:pointer;line-height:1.5}
body[data-path="/ebooks/"] .ebook-intent label:has(input:checked){background:#e7edf8;border-color:#222260}
body[data-path="/ebooks/"] .ebook-intent input,body[data-path="/ebooks/"] .ebook-permission input{accent-color:#222260;width:20px;height:20px;min-width:20px;margin:2px 0 0}
body[data-path="/ebooks/"] .ebook-intent strong{display:block;font-size:15px}
body[data-path="/ebooks/"] .ebook-intent small{display:block;font-size:13px}
body[data-path="/ebooks/"] .ebook-contact-note{font-size:13px;color:#485b75;line-height:1.55;margin:12px 0 24px}
body[data-path="/ebooks/"] .ebook-permission{display:flex;align-items:flex-start;gap:12px;font-size:13px;line-height:1.65}
body[data-path="/ebooks/"] .ebook-permission a{text-decoration:underline}
body[data-path="/ebooks/"] .ebook-primary{width:100%;white-space:normal;text-align:center;margin:12px 0;min-height:50px}
body[data-path="/ebooks/"] .ebook-ready h3{font-size:28px;line-height:1.25;margin:0 0 20px}
body[data-path="/ebooks/"] .ebook-ready>p{font-size:15px;line-height:1.65}
body[data-path="/ebooks/"] .ebook-copy-fallback{padding-block:18px;border-block:1px solid #d1d9e5;margin:20px 0}
body[data-path="/ebooks/"] .ebook-copy-fallback summary{cursor:pointer;font-size:14px;font-weight:700;min-height:24px}
body[data-path="/ebooks/"] .ebook-copy-fallback p{font-size:14px;overflow-wrap:anywhere}
body[data-path="/ebooks/"] .ebook-copy-fallback textarea{resize:vertical}
body[data-path="/ebooks/"] .ebook-copy-button,body[data-path="/ebooks/"] .ebook-edit{background:transparent;color:#222260;border:1px solid #7486b5;border-radius:6px;padding:12px 15px;font:inherit;font-size:14px;cursor:pointer;min-height:44px;margin-top:12px}
body[data-path="/ebooks/"] .ebook-edit{border:0;text-decoration:underline;padding-left:0;text-align:left}
body[data-path="/ebooks/"] .ebook-answers{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-top:28px}
body[data-path="/ebooks/"] .ebook-answers h3{font-size:22px}
body[data-path="/ebooks/"] .ebook-answers p{font-size:15px;line-height:1.7}
body[data-path="/ebooks/"] #request-ebook{scroll-margin-top:125px}
body[data-path="/ebooks/"] #ebook-request-title:focus,body[data-path="/ebooks/"] #ebook-ready-title:focus{outline:2px solid #7486b5;outline-offset:6px}
body[data-path="/ebooks/"] .ebook-request [hidden]{display:none!important}
@media(max-width:800px){body[data-path="/ebooks/"] .ebook-guide-grid{grid-template-columns:1fr}body[data-path="/ebooks/"] .ebook-guide-card{padding:25px}body[data-path="/ebooks/"] .ebook-request-grid,body[data-path="/ebooks/"] .ebook-answers{grid-template-columns:1fr;gap:32px}body[data-path="/ebooks/"] .ebook-form-card{padding:24px}body[data-path="/ebooks/"] .ebook-steps{gap:14px;flex-direction:column}body[data-path="/ebooks/"] .ebook-guide-card .ebook-cover-link{max-width:160px}}
@media(prefers-reduced-motion:reduce){body[data-path="/ebooks/"] .ebook-cover-link{transition:none}}

body[data-path="/ebooks/"] #ebook-lead-form{scroll-margin-top:145px}
body[data-path="/ebooks/"] #ebook-selection:focus{outline:2px solid #7486b5;outline-offset:4px}
@media(max-width:800px){body[data-path="/ebooks/"] #ebook-lead-form{scroll-margin-top:175px}}
