.pw-note{background:#fff8e6;border:1px solid #f3d98b;border-radius:14px;padding:9px 14px;font-size:12.5px;margin-bottom:12px}
.pw-hero{position:relative;overflow:hidden;border-radius:30px;color:#fff;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:0;min-height:520px;padding:34px 34px 26px;background:radial-gradient(110% 120% at 85% -10%,#5a35f0 0%,#25107a 42%,#0f0733 100%);box-shadow:0 30px 60px -20px rgba(24,10,90,.55)}
.pw-hero::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.06),transparent 30%);border-radius:inherit}
.pw-glow{position:absolute;border-radius:50%;filter:blur(60px);pointer-events:none}
.pw-glow.g1{width:320px;height:320px;background:rgba(255,190,80,.28);inset-inline-end:8%;top:12%}
.pw-glow.g2{width:280px;height:280px;background:rgba(80,120,255,.3);inset-inline-start:-6%;bottom:-8%}
.pw-copy{position:relative;z-index:2;min-width:0}
.pw-chip{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);font-weight:800;font-size:12.5px;backdrop-filter:blur(8px)}
.pw-chip i{width:8px;height:8px;border-radius:50%;background:#ffd35c;box-shadow:0 0 12px #ffd35c}
.pw-copy h1{font-size:44px;line-height:1.3;margin:18px 0 12px;color:#fff;font-weight:900;letter-spacing:-.3px}
.pw-copy h1 em{font-style:normal;background:linear-gradient(90deg,#ffe08a,#ffb347);-webkit-background-clip:text;background-clip:text;color:transparent}
.pw-copy p{color:rgba(255,255,255,.8);line-height:2;font-size:15.5px;max-width:480px;margin:0}
.pw-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.pw-btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 26px;border-radius:16px;font-weight:900;font-size:15px;transition:transform .15s,box-shadow .2s}
.pw-btn.main{background:linear-gradient(135deg,#ffe08a,#f2a516);color:#3a2300;box-shadow:0 12px 28px -8px rgba(242,165,22,.7)}
.pw-btn.main:hover{transform:translateY(-2px);color:#3a2300}
.pw-btn.ghost{background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(8px)}.pw-btn.ghost:hover{color:#fff;background:rgba(255,255,255,.18)}
.pw-trust{display:flex;gap:22px;list-style:none;margin:26px 0 0;padding:0;flex-wrap:wrap;color:rgba(255,255,255,.72);font-size:13px}
.pw-trust b{display:block;font-size:22px;color:#fff;line-height:1.2}
.pw-stage{position:relative;height:460px;min-width:0;z-index:1}
.pw-gl,.pw-fb{position:absolute;inset:-10px -20px}
.pw-gl{opacity:0;transition:opacity .8s ease;z-index:2}.pw-gl.on{opacity:1}
.pw-gl canvas{display:block}
.pw-fb{display:grid;place-items:center;transition:opacity .6s}
.pw-hero.gl-on .pw-fb{opacity:0;pointer-events:none}
.pw-sec{margin:34px 0}
.pw-head{margin-bottom:16px}.pw-head span{color:var(--brand-600);font-weight:900;font-size:13px}
.pw-head h2{font-size:26px;margin:4px 0 0;font-weight:900;letter-spacing:-.2px}
.pw-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pw-card{position:relative;display:flex;flex-direction:column;gap:8px;padding:20px;border-radius:26px;min-height:190px;color:#fff;overflow:hidden;box-shadow:0 20px 40px -18px rgba(24,10,90,.45);transition:transform .2s ease,box-shadow .25s;isolation:isolate}
.pw-card::before{content:"";position:absolute;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.14);inset-inline-start:-50px;top:-70px;z-index:-1}
.pw-card::after{content:"";position:absolute;inset:0;background:linear-gradient(160deg,rgba(255,255,255,.16),transparent 45%);z-index:-1}
.pw-card:hover{color:#fff;transform:translateY(-6px);box-shadow:0 30px 50px -18px rgba(24,10,90,.55)}
.pw-card b{font-size:18px;margin-top:6px}.pw-card small{opacity:.92;line-height:1.8;font-size:13px}
.pw-ic{width:50px;height:50px;border-radius:16px;background:rgba(255,255,255,.22);display:grid;place-items:center;font-size:24px;font-weight:900;backdrop-filter:blur(6px)}
.pw-go{margin-top:auto;font-style:normal;font-weight:900;font-size:20px;opacity:.9;transition:transform .2s}.pw-card:hover .pw-go{transform:translateX(-6px)}
.pw-card.k1{background:linear-gradient(145deg,#5b8cff,#4a1fe0)}.pw-card.k2{background:linear-gradient(145deg,#1fc487,#0a6b57)}.pw-card.k3{background:linear-gradient(145deg,#ffb534,#e0551a)}.pw-card.k4{background:linear-gradient(145deg,#f0629a,#a3235a)}
.pw-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.pw-step{background:rgba(255,255,255,.75);backdrop-filter:blur(10px);border:1px solid rgba(91,46,255,.12);border-radius:22px;padding:20px;box-shadow:0 14px 30px -20px rgba(24,10,90,.35)}
.pw-step em{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#5b2eff,#3b17b3);color:#fff;font-style:normal;font-weight:900;margin-bottom:10px}
.pw-step b{display:block;font-size:16px}.pw-step small{color:var(--muted);line-height:1.8}
.pw-reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s ease}.pw-reveal.in{opacity:1;transform:none}
@media(max-width:900px){.pw-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){
  .pw-hero{grid-template-columns:minmax(0,1fr);padding:24px 18px 10px;min-height:0;border-radius:26px}
  .pw-copy h1{font-size:31px;margin-top:14px}.pw-copy p{font-size:14px;line-height:1.9}
  .pw-btn{flex:1 1 140px;padding:13px 16px}
  .pw-stage{height:340px;margin-top:6px}
  .pw-gl,.pw-fb{inset:-6px -10px}
  .pw-steps{grid-template-columns:minmax(0,1fr)}
  .pw-card{min-height:170px;padding:16px;border-radius:22px}.pw-card b{font-size:16px}
  .pw-head h2{font-size:22px}
}
@media(prefers-reduced-motion:reduce){.pw-reveal{opacity:1;transform:none;transition:none}}

/* v5.13.2 mobile hero: scene on top, centered copy, tidy stats */
@media(max-width:720px){
  .pw-hero{padding:14px 16px 20px;text-align:center}
  .pw-stage{order:-1;height:230px;margin:0 -6px 4px}
  .pw-chip{display:none}
  .pw-copy h1{font-size:29px;line-height:1.35;margin:4px 0 10px}
  .pw-copy p{font-size:15px;line-height:1.8;margin:0 auto;max-width:30ch}
  .pw-actions{flex-direction:column;gap:10px;margin-top:18px}
  .pw-btn{flex:none;width:100%;padding:15px 16px;font-size:16px}
  .pw-btn.main{order:-1}
  .pw-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:20px 0 0;padding:12px 4px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);text-align:center;font-size:12.5px}
  .pw-trust li{padding:0 4px;border-inline-start:1px solid rgba(255,255,255,.14)}
  .pw-trust li:first-child{border-inline-start:0}
  .pw-trust b{font-size:21px}
}

.pw-trust li.t b{font-size:15px;line-height:1.5;display:block}
@media(max-width:720px){.pw-trust li.t{display:flex;align-items:center;justify-content:center}.pw-trust li.t b{font-size:14px}}

/* v5.14 banner hero */
.pw-banner{border-radius:26px;overflow:hidden;background:linear-gradient(180deg,#eaf2ff,#fff);box-shadow:0 18px 40px -18px rgba(24,40,120,.35);border:1px solid #dbe6fb}
.pw-bimg{position:relative;line-height:0}
.pw-bimg img{display:block;width:100%;height:auto}
.pw-bjoin{position:absolute;left:33.2%;width:33.6%;top:83.2%;height:13.6%;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;background:linear-gradient(180deg,#ffe58a,#f5ab14);border:3px solid #fff3c4;box-shadow:0 6px 14px rgba(150,90,0,.35);color:#2b2300;font-weight:900;font-size:clamp(14px,3.6vw,26px);line-height:1;text-decoration:none}
.pw-bjoin i{font-style:normal;font-size:1.25em}
.pw-bjoin:hover{filter:brightness(1.05);color:#2b2300}
.pw-bcopy{padding:18px 18px 20px;text-align:center;color:#13224f}
.pw-bh{font-size:22px;margin:0 0 6px;color:#13224f;font-weight:900;line-height:1.5}
.pw-bcopy p{margin:0 auto;max-width:34ch;font-size:15px;line-height:1.8;color:#46517a}
.pw-banner .pw-actions{flex-direction:column;margin-top:14px}
.pw-banner .pw-btn{width:100%}
.pw-banner .pw-btn.ghost{background:#eef2ff;color:#27358a;border-color:#cfd9ff}
.pw-banner .pw-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:16px 0 0;padding:12px 4px;border-radius:18px;background:#eef2ff;border:1px solid #d6defc;color:#46517a;text-align:center;font-size:12.5px}
.pw-banner .pw-trust li{padding:0 4px;border-inline-start:1px solid #d3dbf8}.pw-banner .pw-trust li:first-child{border-inline-start:0}
.pw-banner .pw-trust b{color:#13224f;font-size:20px}
.pw-banner .pw-trust li.t{display:flex;align-items:center;justify-content:center}.pw-banner .pw-trust li.t b{font-size:13.5px;line-height:1.5}
@media(min-width:900px){.pw-bcopy{padding:28px 30px 30px;max-width:820px;margin:0 auto}.pw-bh{font-size:32px}.pw-banner .pw-actions{flex-direction:row;justify-content:center}.pw-banner .pw-btn{width:auto;min-width:200px}.pw-banner .pw-trust{max-width:640px;margin-inline:auto}}
.pw-bimg video{display:block;width:100%;height:auto;background:#0d3fb5}@media(prefers-reduced-motion:reduce){.pw-vid{display:none}}
.pw-bimg video::-webkit-media-controls{display:none!important}.pw-bimg video{pointer-events:none}
.pw-actions .pw-btn.main,.pw-actions .pw-btn.ghost{margin:0!important;padding-inline:26px}

/* v5.18.1 compact hero */
.pw-bcopy{padding:10px 16px 14px}
.pw-bh{font-size:20px;margin:0 0 4px}
.pw-bcopy p{font-size:14px;line-height:1.7}
.pw-strip{margin:10px 0 0}
.pw-strip .pw-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:0;padding:8px 4px;border-radius:16px;background:#fff;border:1px solid #dbe6fb;color:#46517a;text-align:center;font-size:12px;box-shadow:0 8px 20px -14px rgba(24,40,120,.35)}
.pw-strip .pw-trust li{padding:0 4px;border-inline-start:1px solid #d3dbf8;list-style:none}.pw-strip .pw-trust li:first-child{border-inline-start:0}
.pw-strip .pw-trust b{color:#13224f;font-size:17px;display:inline;margin-inline-end:4px}
.pw-strip .pw-trust li.t b{font-size:13px;display:block}
.pw-strip .pw-trust li.t{display:flex;align-items:center;justify-content:center;margin:0}
@media(min-width:900px){.pw-bcopy{padding:14px 30px 16px;max-width:none}.pw-bh{font-size:26px}.pw-strip{max-width:640px;margin:12px auto 0}}

.pw-card.k5{grid-column:1/-1;min-height:0;background:linear-gradient(145deg,#1f3a6e,#2a8f9a)}.pw-card.k5 .pw-go{margin-top:0;align-self:flex-end}
@media(max-width:900px){.pw-card.k5{min-height:0}}

/* v5.78.26 new logo hero: join button sits below the image */
.pw-bimg .pw-bjoin{position:static;width:72%;height:auto;padding:12px 10px;margin:-18px auto 10px;line-height:1.4;font-size:19px;font-weight:800}
.pw-bimg{line-height:0}.pw-bimg .pw-bjoin{line-height:1.4}

/* v5.78.30 join button fully below the hero image */
.pw-bimg{display:flex;flex-direction:column;align-items:center}
.pw-bimg .pw-bjoin{position:static!important;margin:14px auto 12px!important;width:min(78%,300px);height:auto;min-height:48px;padding:12px 16px;box-sizing:border-box;overflow:visible}
.pw-bimg img{width:100%}

/* v5.78.98 wide hero: full-width banner art, copy + CTA below */
.pw-banner{display:block;padding:0;background:linear-gradient(180deg,#eaf2ff,#f7faff)}
.pw-bimg{display:block;line-height:0}
.pw-bimg img,.pw-bimg video{display:block;width:100%;height:auto;border-radius:0;box-shadow:none}
.pw-bcopy{padding:12px 14px 15px;text-align:center;color:#13224f}
.pw-bh{font-size:19px;line-height:1.45;margin:0 0 5px;color:#13224f}
.pw-bcopy p{margin:0 auto 11px;max-width:36ch;font-size:13px;line-height:1.7;color:#46517a}
.pw-banner .pw-bjoin{position:static;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;height:auto;min-height:44px;padding:10px 26px;margin:0;border-radius:999px;background:linear-gradient(180deg,#ffe58a,#f5ab14);border:2px solid #fff3c4;box-shadow:0 8px 18px -8px rgba(150,90,0,.65);color:#2b2300;font-weight:900;font-size:16px;line-height:1;text-decoration:none;box-sizing:border-box}
.pw-banner .pw-bjoin i{font-style:normal;font-size:1.15em}
@media(min-width:640px){.pw-bcopy{padding:16px 22px 18px}.pw-bh{font-size:24px;margin-bottom:7px}.pw-bcopy p{font-size:14.5px;margin-bottom:14px}.pw-banner .pw-bjoin{font-size:16px;min-height:48px;padding:12px 30px}}
@media(min-width:900px){.pw-bcopy{padding:22px 30px 24px}.pw-bh{font-size:30px;line-height:1.35;margin-bottom:9px}.pw-bcopy p{font-size:16px;max-width:52ch;margin-bottom:18px}.pw-banner .pw-bjoin{font-size:17px;min-height:52px;padding:13px 34px}}

/* v5.78.98b hero sits above the sidebar, full page width on desktop */
.hero-top{position:relative;z-index:5;width:100%;padding-top:var(--topbar-h);background:linear-gradient(180deg,#eaf2ff,#f7faff);border-bottom:1px solid #dbe6fb}
.hero-top .pw-banner{border:0;border-radius:0;box-shadow:none;background:transparent}
body.has-hero-top .main{padding-top:16px}
@media(min-width:961px){
  body.has-hero-top .main{padding-top:18px}
  .hero-top .pw-bimg img{border-radius:0}
}

/* v5.78.98c desktop: cap the banner height, keep the art whole, blend the sides into the sky */
@media(min-width:961px){
  .hero-top .pw-bimg{display:block;background:linear-gradient(180deg,#0236ad,#9cc0f7)}
  .hero-top .pw-bimg img{width:100%;height:300px;max-height:300px;object-fit:contain;object-position:center center}
}

/* v5.78.98d kill the extra light band under the fixed header */
.hero-top{padding-top:var(--topbar-h);margin-top:0}
.hero-top .pw-banner{margin:0}
.hero-top .pw-bimg{margin:0}

/* v5.78.99 banded hero on mobile and desktop (variant A) */
@media(max-width:960px){
  .hero-top{padding:calc(var(--topbar-h) + 10px) 10px 0;background:transparent}
  .hero-top .pw-bimg{background:linear-gradient(180deg,#0236ad,#9cc0f7);border-radius:18px;padding:10px}
  .hero-top .pw-bimg img{height:124px;max-height:124px;object-fit:contain;border-radius:12px}
  .hero-top .pw-bcopy{padding:12px 4px 15px}
}
@media(min-width:961px){
  .hero-top{padding:calc(var(--topbar-h) + 6px) 16px 0;background:transparent}
  .hero-top .pw-bimg{background:linear-gradient(180deg,#0236ad,#9cc0f7);border-radius:22px;padding:12px}
  .hero-top .pw-bimg img{height:300px;max-height:300px;object-fit:contain;border-radius:14px}
}

/* v5.78.102 the mobile drawer must stay off-canvas until .open; the old
   transform:none!important kept it permanently on top of the page and no
   close path (scrim, burger, swipe, Escape) could move it away. */

/* v5.78.100 tighter hero band spacing */
.hero-top .pw-bimg{padding:8px}
.hero-top .pw-bcopy{padding:10px 4px 12px}
.hero-top .pw-banner{padding-bottom:0}

/* v5.78.101 sidebar stays pinned under the topbar; the hero sits beside it, never pushing it down */
body.has-hero-top.has-side .hero-top{position:relative;z-index:5}
@media(min-width:961px){
  body.has-hero-top.has-side .hero-top{width:calc(100% - var(--sidebar-w));margin-inline-start:var(--sidebar-w)}
  body.has-hero-top.has-side .hero-top .pw-bimg img{height:300px;max-height:300px}
}
@media(max-width:960px){
  body.has-hero-top.has-side .hero-top{margin-inline-start:0}
}

/* v5.78.101b mobile drawer must scroll on its own so every menu item is reachable */
@media(max-width:960px){
  .sidebar{
    top:var(--topbar-h);
    bottom:auto;
    height:calc(100dvh - var(--topbar-h) - 84px - env(safe-area-inset-bottom));
    max-height:calc(100dvh - var(--topbar-h) - 84px - env(safe-area-inset-bottom));
    overflow-y:auto !important;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
    padding-bottom:calc(28px + env(safe-area-inset-bottom));
  }
  body:not(:has(.bottom-nav)) .sidebar{
    height:calc(100dvh - var(--topbar-h));
    max-height:calc(100dvh - var(--topbar-h));
    padding-bottom:calc(28px + env(safe-area-inset-bottom));
  }
}

/* v5.78.103 tidy the hero copy under the banner on phones */
@media(max-width:640px){
  .pw-bcopy{padding:15px 16px 18px}
  .pw-bh{font-size:20px;line-height:1.4;margin:0 0 9px;letter-spacing:0;text-wrap:balance}
  .pw-bcopy p{max-width:31ch;margin:0 auto 14px;font-size:13.5px;line-height:1.75;text-wrap:pretty}
  .pw-banner .pw-bjoin{margin-top:0}
}

/* 2026-12-03 (Omar): no empty grid cell. On phones the wide card must not span two columns, because it
   wraps to the next row and leaves the cell beside it empty. Eight cards then fill four full rows. */
@media(max-width:720px){.pw-cards .pw-card.k5{grid-column:auto;min-height:170px}}
