/* Pagina vendita ebook Boaweb. Stessi colori e tipografia di prompt-library.css. */
:root{--round:20px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:112px}
body{margin:0;background:var(--bw-white);color:var(--bw-ink);font:16px/1.6 var(--bw-font);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:var(--bw-blue)}
img{max-width:100%;height:auto}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--bw-blue);outline-offset:3px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.eb-wrap{width:min(1120px,calc(100% - 32px));margin:auto}
.eb-skip{position:fixed;z-index:4000;top:-90px;left:16px;padding:10px 16px;background:var(--bw-white);border:2px solid var(--bw-blue);border-radius:10px}
.eb-skip:focus{top:10px}

/* Segnaposto da compilare: ben visibili finché non li sostituisci */
.eb-todo{background:#fff3b0;color:#5a4500;outline:1px dashed #c9a400;border-radius:4px;padding:0 .2em;box-decoration-break:clone;-webkit-box-decoration-break:clone}

/* Testata */
.eb-eyebrow{margin:0 0 16px;color:var(--bw-blue);font-size:.8125rem;font-weight:750;letter-spacing:.13em;text-transform:uppercase}
.eb-hero{padding:140px 0 64px;background:linear-gradient(180deg,#fff 0%,var(--bw-n-50) 100%)}
.eb-hero-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:56px;align-items:center}
.eb-hero h1{font-size:clamp(2.2rem,4.4vw,3.9rem);line-height:1.07;letter-spacing:-.05em;font-weight:760;margin:0 0 22px}
.eb-hero h1 span{color:var(--bw-blue)}
.eb-lead{font-size:1.125rem;line-height:1.7;color:var(--bw-n-500);max-width:620px;margin:0 0 28px}
.eb-buy{display:flex;align-items:center;flex-wrap:wrap;gap:14px 20px}
.eb-price{display:flex;align-items:baseline;gap:10px;font-weight:760;letter-spacing:-.03em}
.eb-price strong{font-size:2rem}
.eb-price s{color:var(--bw-n-500);font-size:1.05rem;font-weight:600}
.eb-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:13px 26px;border:1px solid var(--bw-orange);border-radius:999px;background:var(--bw-orange);color:var(--bw-ink);text-decoration:none;font-weight:700;font-size:1rem;line-height:1.3;text-align:center}
.eb-btn:hover{background:var(--bw-orange-200);border-color:var(--bw-orange-200)}
.eb-btn svg{width:19px;height:19px;flex:none}
.eb-btn-ghost{background:var(--bw-white);color:var(--bw-ink);border-color:var(--bw-n-200)}
.eb-btn-ghost:hover{background:var(--bw-n-50);border-color:var(--bw-n-400)}
.eb-trust{display:flex;flex-wrap:wrap;gap:8px 18px;list-style:none;margin:20px 0 0;padding:0;color:var(--bw-n-500);font-size:.875rem}
.eb-trust li{display:flex;align-items:center;gap:7px}
.eb-trust svg{width:17px;height:17px;flex:none;color:#138a5a}
.eb-note{margin:14px 0 0;font-size:.8125rem;color:var(--bw-n-500)}

/* Copertina disegnata in CSS: sostituiscila con la tua immagine quando è pronta */
.eb-cover-wrap{display:flex;justify-content:center;perspective:1200px}
.eb-cover{position:relative;width:min(320px,78vw);aspect-ratio:3/4;padding:34px 30px;border-radius:6px 16px 16px 6px;background:linear-gradient(150deg,var(--bw-night-2) 0%,var(--bw-night) 62%);color:#fff;box-shadow:0 30px 60px #10182a33,0 6px 14px #10182a26;transform:rotateY(-9deg);display:flex;flex-direction:column}
.eb-cover::before{content:"";position:absolute;inset:0 auto 0 0;width:12px;border-radius:6px 0 0 6px;background:linear-gradient(90deg,#0000004d,#0000)}
.eb-cover small{color:var(--bw-orange);font-size:.72rem;font-weight:750;letter-spacing:.14em;text-transform:uppercase}
.eb-cover b{display:block;margin:18px 0 12px;font-size:1.65rem;line-height:1.15;letter-spacing:-.03em}
.eb-cover p{margin:0;color:var(--bw-n-200);font-size:.9rem;line-height:1.5}
.eb-cover footer{margin-top:auto;display:flex;align-items:center;gap:10px;font-size:.8rem;color:var(--bw-n-200)}
.eb-cover footer img{width:30px;height:30px;border-radius:50%;background:var(--bw-white)}
.eb-cover-img{width:min(320px,78vw);border-radius:6px 16px 16px 6px;box-shadow:0 30px 60px #10182a33}

/* Sezioni */
.eb-section{padding:76px 0}
.eb-section-soft{background:var(--bw-n-50);border-top:1px solid var(--bw-n-100);border-bottom:1px solid var(--bw-n-100)}
.eb-section h2{font-size:clamp(1.75rem,3vw,2.5rem);line-height:1.15;letter-spacing:-.04em;margin:0 0 14px}
.eb-intro{color:var(--bw-n-500);font-size:1.0625rem;max-width:680px;margin:0 0 36px}
.eb-two{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.eb-box{padding:28px;border:1px solid var(--bw-n-200);border-radius:var(--round);background:var(--bw-white)}
.eb-box h3{margin:0 0 14px;font-size:1.15rem;letter-spacing:-.02em}
.eb-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.eb-list li{display:flex;gap:11px;align-items:flex-start}
.eb-list svg{width:20px;height:20px;flex:none;margin-top:3px}
.eb-yes svg{color:#138a5a}
.eb-no svg{color:#b4423a}
.eb-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.eb-card{padding:24px;border:1px solid var(--bw-n-200);border-radius:16px;background:var(--bw-white)}
.eb-card-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--bw-blue-50);color:var(--bw-blue);margin-bottom:14px}
.eb-card-icon svg{width:22px;height:22px}
.eb-card h3{margin:0 0 6px;font-size:1.05rem;letter-spacing:-.02em}
.eb-card p{margin:0;color:var(--bw-n-500);font-size:.9375rem}

/* Indice */
.eb-toc{list-style:none;margin:0;padding:0;counter-reset:cap;display:grid;gap:10px;max-width:820px}
.eb-toc li{counter-increment:cap;display:grid;grid-template-columns:52px 1fr;gap:14px;align-items:start;padding:18px 20px;border:1px solid var(--bw-n-200);border-radius:14px;background:var(--bw-white)}
.eb-toc li::before{content:counter(cap,decimal-leading-zero);display:grid;place-items:center;height:40px;border-radius:10px;background:var(--bw-night);color:var(--bw-orange);font-weight:750;font-size:.9rem}
.eb-toc strong{display:block;font-size:1rem}
.eb-toc span{display:block;color:var(--bw-n-500);font-size:.9rem;margin-top:2px}

/* Autore */
.eb-author{display:grid;grid-template-columns:240px 1fr;gap:44px;align-items:center}
.eb-author img{width:240px;height:auto;aspect-ratio:480/679;object-fit:cover;border-radius:var(--round);background:var(--bw-n-50)}
.eb-author p{color:var(--bw-n-500);margin:0 0 14px;max-width:640px}

/* Offerta */
.eb-offer{display:grid;grid-template-columns:1.2fr 1fr;gap:0;border-radius:24px;overflow:hidden;background:var(--bw-night);color:#fff}
.eb-offer-body{padding:40px}
.eb-offer-body h2{color:#fff}
.eb-offer .eb-list li{color:var(--bw-n-100)}
.eb-offer .eb-list svg{color:var(--bw-orange)}
.eb-offer-side{padding:40px;background:var(--bw-night-2);display:flex;flex-direction:column;justify-content:center;gap:16px}
.eb-offer-side .eb-price strong{font-size:2.6rem;color:#fff}
.eb-offer-side .eb-price s{color:var(--bw-n-400)}
.eb-offer-side small{color:var(--bw-n-200);font-size:.8125rem;line-height:1.5}
.eb-offer-side .eb-btn{width:100%}

/* FAQ */
.eb-faq{max-width:820px;display:grid;gap:10px}
.eb-faq details{border:1px solid var(--bw-n-200);border-radius:14px;background:var(--bw-white)}
.eb-faq summary{cursor:pointer;list-style:none;padding:18px 52px 18px 20px;font-weight:650;position:relative}
.eb-faq summary::-webkit-details-marker{display:none}
.eb-faq summary::after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:1.4rem;color:var(--bw-blue);font-weight:400}
.eb-faq details[open] summary::after{content:"–"}
.eb-faq p{margin:0;padding:0 20px 20px;color:var(--bw-n-500)}

/* Chiusura */
.eb-final{text-align:center;padding:80px 0}
.eb-final .eb-intro{margin:0 auto 28px}
.eb-final .eb-buy{justify-content:center}
.eb-footer{padding:28px 0;border-top:1px solid var(--bw-n-100);color:var(--bw-n-500);font-size:.8125rem}
.eb-footer .eb-wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px}
.eb-footer a{color:inherit}

/* Barra acquisto fissa su telefono */
.eb-sticky{display:none}

@media (max-width:900px){
  .eb-hero{padding:118px 0 48px}
  .eb-hero-grid,.eb-two,.eb-offer,.eb-author{grid-template-columns:1fr}
  .eb-hero-grid{gap:28px}
  .eb-cover-wrap{order:-1}
  .eb-cover{width:min(180px,50vw);padding:18px 16px;transform:none}
  .eb-cover small{font-size:.6rem}
  .eb-cover p{font-size:.75rem}
  .eb-cover footer{font-size:.65rem}
  .eb-cover footer img{width:22px;height:22px}
  .eb-cover b{font-size:1.05rem;margin:8px 0 6px}
  .eb-cards{grid-template-columns:1fr 1fr}
  .eb-author{gap:24px}
  .eb-author img{width:160px}
  .eb-offer-body,.eb-offer-side{padding:28px 22px}
}
@media (max-width:620px){
  .eb-section{padding:56px 0}
  .eb-cards{grid-template-columns:1fr}
  .eb-buy .eb-btn{width:100%}
  .eb-box{padding:22px}
  .eb-toc li{grid-template-columns:44px 1fr;padding:14px 16px;gap:12px}
  .eb-toc li::before{height:36px}
  .eb-sticky{position:fixed;z-index:1400;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid var(--bw-n-200);box-shadow:0 -6px 20px #10182a14;transform:translateY(110%);transition:transform .25s ease}
  .eb-sticky[data-show="true"]{transform:none}
  .eb-sticky .eb-price strong{font-size:1.35rem}
  .eb-sticky .eb-btn{min-height:46px;padding:10px 18px;font-size:.9375rem}
  .eb-footer{padding-bottom:90px}
}
[hidden]{display:none!important}
/* 25/11/2026 — Guida gratuita 150 prompt AI */
.eb-slogan{margin:0 0 18px;padding:4px 0 4px 16px;border-left:4px solid var(--bw-orange);font-size:clamp(1.1rem,2vw,1.35rem);font-weight:650;line-height:1.35;letter-spacing:-.015em;color:var(--bw-night)}
.eb-hero .eb-price strong{color:var(--bw-orange-text)}
.eb-price-light{margin-top:22px}.eb-price-light s{color:var(--bw-n-400)!important}.eb-price-light strong{font-size:2.4rem;color:var(--bw-orange)!important}
.eb-manifesto{max-width:860px}.eb-manifesto .eb-intro{font-size:1.15rem;line-height:1.7;color:var(--bw-n-700)}
.eb-toc-grid{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr))}
.eb-form{background:#fff;color:var(--bw-ink);border-radius:16px;padding:6px;min-height:40px}
.eb-form-note{display:block}
.eb-cover-img{height:auto}
@media(max-width:1000px){.eb-toc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.eb-toc-grid{grid-template-columns:1fr}}
