/* design polish: micro-details */
html{scroll-behavior:smooth;scroll-padding-top:96px}
::selection{background:#2dd4a0;color:#06202e}
:focus-visible{outline:2px solid #7c3aed;outline-offset:3px;border-radius:6px}
/* header: shadow when scrolled */
.header{transition:box-shadow .25s ease,background-color .25s ease}
body.pb-scrolled .header{box-shadow:0 6px 24px -12px rgba(22,13,43,.28)}
/* cards: lift + soft shadow */
.tool-card,.focus-card,.pbn-news-card,.editorial-tile,.pg-card,.nv-rail-card{transition:transform .22s cubic-bezier(.2,.7,.2,1),box-shadow .22s ease,border-color .22s ease}
.tool-card:hover,.focus-card:hover,.pbn-news-card:hover,.editorial-tile:hover{transform:translateY(-3px);box-shadow:0 18px 36px -18px rgba(22,13,43,.35);border-color:rgba(45,212,160,.45)}
.tool-card .tool-name{transition:color .2s}.tool-card:hover .tool-name{color:#7c3aed}
/* images */
.tool-cover img,.pbn-news-cover img,.pbn-news-img{transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.tool-card:hover .tool-cover img,.pbn-news-card:hover .pbn-news-cover img,.pbn-news-card:hover .pbn-news-img{transform:scale(1.04)}
.tool-cover,.pbn-news-cover{overflow:hidden}
/* buttons */
.button{transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}
.button:hover{transform:translateY(-1px);box-shadow:0 10px 22px -12px rgba(124,58,237,.55)}
.button:active{transform:translateY(0);box-shadow:none}
.text-link svg,.button svg{transition:transform .18s ease}.text-link:hover svg,.button:hover svg{transform:translate(2px,-2px)}
/* nav underline */
.header nav a{position:relative}
.header nav a::after{content:none;display:none}
.header nav a:hover::after,.header nav a[aria-current],.header nav .current-menu-item>a::after{transform:scaleX(1)}
/* footer links */
.pbn-footer a{transition:color .15s ease,transform .15s ease}.pbn-footer-column a:hover{color:#2dd4a0;transform:translateX(3px)}
/* reveal on scroll */
.pb-reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1)}
.pb-reveal.pb-in{opacity:1;transform:none}
/* reading progress + back to top */
#pb-progress{position:fixed;left:0;top:0;height:3px;width:0;background:linear-gradient(90deg,#2dd4a0,#7c3aed);z-index:9999;transition:width .1s linear;pointer-events:none}
#pb-top{position:fixed;right:20px;bottom:20px;width:44px;height:44px;border-radius:50%;border:1px solid #dbe5ec;background:#fff;color:#160d2b;box-shadow:0 10px 24px -10px rgba(22,13,43,.4);cursor:pointer;opacity:0;transform:translateY(10px);pointer-events:none;transition:.25s;z-index:90;font-size:18px}
#pb-top.show{opacity:1;transform:none;pointer-events:auto}#pb-top:hover{background:#160d2b;color:#fff}
/* article typography */
.editorial-content p{text-wrap:pretty}.editorial-content h2,.editorial-content h3{text-wrap:balance}
.editorial-content a:not(.button){text-decoration-thickness:1px;text-underline-offset:3px}
.editorial-content blockquote{border-left:3px solid #2dd4a0;padding:4px 0 4px 18px;margin-left:0;color:#334e63}
img{max-width:100%;height:auto}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.pb-reveal{opacity:1;transform:none}}
@media(max-width:700px){#pb-top{right:12px;bottom:12px}}
/* ---- bold category icons: saturated gradient tile + white glyph ---- */
body .pbn-ico,body #category-highlights .detailed-category-icon{
 width:60px;height:60px;border-radius:30%;color:#fff;
 background:linear-gradient(145deg,hsl(calc(var(--H) - 6) 82% 58%),hsl(calc(var(--H) + 24) 84% 40%))!important;
 box-shadow:inset 0 1.5px 0 rgba(255,255,255,.45),inset 0 -8px 14px -6px rgba(0,0,0,.22),0 14px 24px -12px hsl(var(--H) 80% 34%/.75)}
body .pbn-ico .pb-svg,body #category-highlights .detailed-category-icon .pb-svg{width:30px;height:30px;stroke-width:2;color:#fff;filter:drop-shadow(0 2px 3px rgba(0,0,0,.28))}
body .pbn-ico svg :is(rect,circle,ellipse):not(.icon-fill),body #category-highlights .detailed-category-icon svg :is(rect,circle,ellipse):not(.icon-fill){fill:rgba(255,255,255,.2)!important}
body .pbn-ico::before,body #category-highlights .detailed-category-icon::before{opacity:1;background:radial-gradient(circle at 25% 15%,rgba(255,255,255,.4),transparent 55%)}
body :is(.pbn-tile:hover,.pbn-subtile:hover,.pbn2-hl:hover) :is(.pbn-ico,.detailed-category-icon){transform:translateY(-2px) scale(1.04);color:#fff}
body #category-highlights>a.pbn2-hl{gap:16px}
/*pbm-page*/
.pbm-page{width:100%;max-width:1240px;margin:0 auto;padding:28px 24px 64px}
.pbm-page .pbm-body{width:100%;max-width:none}
.pbm-crumbs{font-size:14px;color:#5b6f82;margin:0 0 14px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.pbm-crumbs a{color:#6d28d9;text-decoration:none}
.pbm-crumbs a:hover{text-decoration:underline}
.pbm-head{margin:0 0 22px;text-align:left}
.pbm-head h1{margin:6px 0 0;font-size:clamp(26px,3.6vw,40px);line-height:1.15}
@media(max-width:640px){.pbm-page{padding:18px 14px 48px}}

/*pbn-ico-flat-3*/
body .pbn-tile .pbn-ico,body .pbn-ico,body #category-highlights .detailed-category-icon{background:hsl(var(--H,var(--h,215)) 100% 97%)!important;color:hsl(var(--H,var(--h,215)) 70% 38%)!important;border:1px solid hsl(var(--H,var(--h,215)) 40% 88%)!important;box-shadow:none!important;}
body .pbn-ico::before,body .pbn-ico::after,body #category-highlights .detailed-category-icon::before,body #category-highlights .detailed-category-icon::after{display:none!important;content:none!important;background:none!important;}
body .pbn-tile:hover .pbn-ico,body .pbn-tile:focus-within .pbn-ico{background:hsl(var(--H,var(--h,215)) 100% 94%)!important;color:hsl(var(--H,var(--h,215)) 70% 32%)!important;}
body .pbn-ico svg,body .pbn-ico .pb-svg{color:inherit!important;stroke:currentColor!important;}
