/* Home / Secure Copy: spacious product card and portrait mobile checkout layout. */
#buy{padding-block:118px}
#buy .product{width:min(1000px,100%);max-width:1000px;min-height:395px;grid-template-columns:minmax(215px,.82fr) minmax(280px,1.35fr) minmax(205px,.78fr);gap:clamp(28px,4vw,56px);padding:42px 48px;background:#fff;border:1px solid #e3ddd4;border-radius:36px;box-shadow:0 20px 48px rgba(28,25,23,.09)}
#buy .product>img{width:228px;max-width:100%;height:auto;margin-inline:auto;border-radius:20px;object-fit:contain;box-shadow:13px 17px 0 #f1eeea,0 21px 36px rgba(28,25,23,.16);transform:rotate(-2deg)}
#buy .product-copy h3{margin:0 0 12px;font-size:clamp(27px,3vw,36px);line-height:1.13;letter-spacing:-.045em}
#buy .product-copy p{max-width:450px;margin:0;color:#737884;font-size:16px;line-height:1.55}
#buy .product .price{margin:29px 0 0;font-size:clamp(36px,4vw,50px);line-height:1;color:#141c31}
#buy .product .price del{font-size:clamp(17px,2vw,22px);color:#9aa2b1}
#buy .product-action{align-items:stretch;justify-content:center;gap:15px}
#buy .product-action .button{width:100%;min-height:58px;padding:15px 22px;border-radius:17px;font-size:15px;line-height:1.2;white-space:normal;text-align:center}
#buy .product-action small{text-align:center;font-size:11px;font-weight:800;letter-spacing:.1em;color:#98a1b0}

/* Home section descriptions use one consistent reading size. */
.hero-scene .lede,.split .lede-sm,.section.white:has(.inside-grid) .section-title>p:last-child,#buy .section-title>p,.testimonial .section-title>p:last-child,.testimonial-card>p,.tactical .section-head>div>p:last-child{font-size:17px}
.testimonial-card>p{text-align:justify}
.testimonial .section-title>p:last-child{max-width:80%}

/* Ebook page hero uses an uploaded cover instead of the decorative black CSS book. */
.ebook-library{padding-top:80px}
.ebook-library-hero-has-image::before,.ebook-library-hero-has-image::after{display:none}
.ebook-library-hero-has-image .container{z-index:1}
.ebook-library-hero-cover{position:absolute;right:clamp(7%,11vw,15%);bottom:0;display:flex;align-items:flex-end;width:min(29vw,390px);height:calc(100% - 58px);pointer-events:none}
.ebook-library-hero-cover img{width:100%;max-height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(-22px 22px 20px rgba(28,25,23,.28))}

/* Redesigned Ebook Library hero. */
.ebook-library-hero{isolation:isolate;min-height:610px;padding:145px 0 88px;overflow:hidden;border:0;background:radial-gradient(circle at 77% 18%,rgba(249,92,75,.19),transparent 19%),radial-gradient(circle at 13% 82%,rgba(228,222,210,.94),transparent 29%),#f6f4f1}
.ebook-library-hero::before,.ebook-library-hero::after{display:none}
.ebook-library-hero .container{z-index:2;width:min(1160px,calc(100% - 48px));max-width:1160px;padding:0 min(46vw,545px) 0 0}
.ebook-library-hero .eyebrow{display:inline-flex;align-items:center;gap:10px;margin:0;padding:8px 13px;border:1px solid #f3bdb7;border-radius:999px;background:#fff0ed;color:#d94c3d;font-size:10px;letter-spacing:.13em}
.ebook-library-hero .eyebrow::before{width:18px;background:currentColor}
.ebook-library-hero h1{max-width:690px;margin:20px 0 19px;color:#171513;font-size:clamp(44px,5.5vw,74px);line-height:1.01;letter-spacing:-.065em;text-wrap:balance}
.ebook-library-hero p:last-child{max-width:520px;margin:0;color:#625e59;font-size:18px;line-height:1.62}
.ebook-library-hero p:last-child::after{width:64px;height:4px;margin-top:28px;border-radius:99px;background:#f95c4b}
.ebook-library-hero-cover{z-index:2;right:clamp(7%,10vw,13%);bottom:0;width:min(31vw,420px);height:calc(100% - 46px);padding:16px 16px 0;border:1px solid rgba(255,255,255,.85);border-radius:38px 38px 0 0;background:rgba(255,255,255,.48);box-shadow:0 28px 70px rgba(28,25,23,.12);backdrop-filter:blur(8px)}
.ebook-library-hero-cover::before{content:"";position:absolute;z-index:-1;right:-24px;bottom:22px;width:74%;height:74%;border-radius:50%;background:#f95c4b;opacity:.16;filter:blur(2px)}
.ebook-library-hero-cover img{filter:drop-shadow(-16px 20px 16px rgba(28,25,23,.23))}

/* Keep every uploaded ebook cover in the same book frame, regardless of source ratio. */
.ebook-cover-stage{width:min(100%,350px);margin-inline:auto;overflow:hidden;background:#e4ded2;box-shadow:14px 14px 0 #f95c4b,0 18px 34px rgba(0,0,0,.18)}
.ebook-cover-stage img,.ebook-cover-stage .ebook-cover-fallback{width:100%!important;height:100%!important;max-width:none;max-height:none;aspect-ratio:auto;box-shadow:none;object-fit:cover}
.ebook-cover-stage .ebook-cover-fallback{padding:28px}

/* Knowledge archive header. */
.knowledge-page .archive-header{display:block;margin-bottom:46px;padding-bottom:0;border-bottom:0;text-align:center}
.knowledge-page .archive-header>div{margin-inline:auto}
.knowledge-page .archive-header p:last-child{margin-inline:auto}
.knowledge-grid-item{display:contents}.knowledge-load-more-wrap{margin:42px 0 0}.knowledge-load-more-wrap .button{min-width:170px}

@media(max-width:900px){
  #buy .product{width:min(700px,100%);grid-template-columns:190px minmax(0,1fr);gap:36px;padding:40px}
  #buy .product>img{width:190px}
  #buy .product-action{grid-column:1/-1;width:min(360px,100%);justify-self:center}
}

@media(max-width:600px){
  .testimonial .section-title>p:last-child{max-width:100%}
  .ebook-library-hero{min-height:620px;padding:112px 0 44px;background:radial-gradient(circle at 90% 73%,rgba(249,92,75,.2),transparent 27%),radial-gradient(circle at 10% 19%,rgba(228,222,210,.9),transparent 30%),#f6f4f1}
  .ebook-library-hero .container,.ebook-library-hero-has-image .container{width:calc(100% - 32px);padding:0 114px 0 0}
  .ebook-library-hero h1{margin:16px 0;font-size:clamp(40px,11vw,54px)}
  .ebook-library-hero p:last-child{font-size:16px;line-height:1.5}
  .ebook-library-hero p:last-child::after{margin-top:20px}
  .ebook-library-hero-cover{right:-12px;bottom:0;width:186px;height:286px;padding:10px 10px 0;border-radius:26px 26px 0 0}
  .ebook-cover-stage{width:min(100%,295px)}
  #buy{padding-block:70px}
  #buy .product{width:calc(100% - 40px);min-height:0;grid-template-columns:1fr;gap:0;padding:58px 30px 40px;border-radius:38px;text-align:center}
  #buy .product>img{width:min(242px,78vw);margin:0 auto 52px;border-radius:22px;box-shadow:10px 12px 0 #f1eeea,0 20px 34px rgba(28,25,23,.15);transform:rotate(-1.5deg)}
  #buy .product-copy h3{max-width:500px;margin:0 auto 14px;font-size:clamp(31px,8.8vw,44px);line-height:1.14}
  #buy .product-copy p{max-width:470px;margin-inline:auto;font-size:16px;line-height:1.52}
  #buy .product .price{margin:40px 0 58px;font-size:clamp(45px,13vw,62px)}
  #buy .product .price del{margin-left:9px;font-size:clamp(17px,5vw,24px)}
  #buy .product-action{grid-column:auto;width:100%;gap:20px}
  #buy .product-action .button{min-height:84px;border-radius:25px;padding:18px 20px;font-size:clamp(18px,5.2vw,25px);font-weight:850}
  #buy .product-action small{font-size:12px;letter-spacing:.08em}
}
