/* Product blocks inside guide articles (hybrid guide + solution page). Sized for the 820px article column. */
.gh{--gh-ink:#1B1033;--gh-t:#5B5470;--gh-line:#E7E0F3;--gh-p:#8D12E8;--c1:#2563EB;--c2:#0D9488;--c3:#DB2777;--c4:#7C3AED;margin:26px 0 30px;font-family:inherit}
.gh *{box-sizing:border-box}
.gh-k{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--gh-p)}
.gh-k:before{content:"";width:18px;height:2px;border-radius:2px;background:currentColor}
body.gp .gh h2.gh-h{font-size:27px;line-height:1.2;font-weight:500;letter-spacing:-.025em;color:var(--gh-ink);margin:10px 0 0!important;padding:0;border:0}
body.gp .gh h2.gh-h:before{display:none}
.gh h2.gh-h b{font-weight:500;color:var(--gh-p)}
.gh-sub{font-size:15.5px;line-height:1.65;color:var(--gh-t);margin:10px 0 0;max-width:640px}

/* four step cards */
.gh-steps{list-style:none;margin:34px 0 0!important;padding:0!important;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.gh-steps li{--sc:var(--c1);position:relative;margin:22px 0 0!important;padding:42px 16px 18px!important;background:#fff;border:1px solid var(--gh-line);border-top:3px solid var(--sc);border-radius:14px;box-shadow:0 18px 34px -28px rgba(40,20,80,.45)}
.gh-steps li:before{display:none!important}
.gh-steps li:nth-child(2){--sc:var(--c2)}.gh-steps li:nth-child(3){--sc:var(--c3)}.gh-steps li:nth-child(4){--sc:var(--c4)}
.gh-steps .sn{position:absolute;top:-22px;left:16px;width:44px;height:44px;border-radius:13px;background:var(--sc);color:#fff;display:grid;place-items:center;font-size:15px;font-weight:700;box-shadow:0 0 0 5px #fff,0 12px 22px -12px var(--sc)}
.gh-steps h3{font-size:15.5px;line-height:1.3;font-weight:600;color:var(--gh-ink);margin:0!important;letter-spacing:-.01em}
.gh-steps p{font-size:13.5px;line-height:1.55;color:var(--gh-t);margin:7px 0 0!important}
.gh-more{display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center;margin-top:20px}
.gh-btn{display:inline-flex;align-items:center;gap:8px;background:var(--gh-p);color:#fff!important;font-weight:600;font-size:14.5px;padding:11px 18px;border-radius:10px;text-decoration:none!important}
.gh-btn:hover{background:#7A0FCB}
.gh-btn.w{background:#fff;color:#3B1170!important}
.gh-btn.w:hover{background:#F1E9FF}
.gh-link{font-size:14.5px;font-weight:600;color:var(--gh-p)!important;text-decoration:none!important}
.gh-link:hover{text-decoration:underline!important}

/* tabs with dark panel (CSS only, all text in the page) */
.gh-tabs{margin-top:22px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gh-tabs input{position:absolute;opacity:0;pointer-events:none}
.gh-tabs label{--tc:var(--c1);display:flex;gap:11px;align-items:center;padding:13px 14px;border:1px solid var(--gh-line);border-radius:12px;background:#fff;cursor:pointer;font-size:14.5px;font-weight:600;color:var(--gh-ink);line-height:1.3}
.gh-tabs label:nth-of-type(2){--tc:var(--c2)}.gh-tabs label:nth-of-type(3){--tc:var(--c3)}
.gh-tabs label i{flex:none;width:30px;height:30px;border-radius:9px;background:color-mix(in srgb,var(--tc) 12%,#fff);color:var(--tc);display:grid;place-items:center;font-style:normal;font-size:13px;font-weight:700}
.gh-tabs input:checked+label{border-color:var(--tc);box-shadow:inset 0 0 0 1px var(--tc);background:color-mix(in srgb,var(--tc) 6%,#fff)}
.gh-tabs input:focus-visible+label{outline:2px solid var(--tc);outline-offset:2px}
.gh-pan{display:none;grid-column:1/-1;order:9;--tc:var(--c1);margin-top:4px;background:#1E0F3A;border-radius:16px;border-top:3px solid var(--tc);padding:26px 28px;color:#CFC5E2}
.gh-tabs input:nth-of-type(1):checked~.gh-pan:nth-of-type(1),.gh-tabs input:nth-of-type(2):checked~.gh-pan:nth-of-type(2),.gh-tabs input:nth-of-type(3):checked~.gh-pan:nth-of-type(3){display:block}
.gh-pan:nth-of-type(2){--tc:var(--c2)}.gh-pan:nth-of-type(3){--tc:var(--c3)}
.gh-pan .tag{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#fff;background:var(--tc);padding:5px 10px;border-radius:999px}
.gh-pan h3{color:#fff!important;font-size:20px;font-weight:600;letter-spacing:-.015em;margin:14px 0 0!important}
.gh-pan p{font-size:14.5px;line-height:1.65;color:#CFC5E2!important;margin:8px 0 0!important;max-width:640px}
.gh-pan ul{list-style:none;margin:14px 0 0!important;padding:0!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gh-pan li{margin:0!important;padding:12px 12px 12px 36px!important;position:relative;background:#2A1A4A;border:1px solid #3A2763;border-radius:11px;font-size:13.5px;line-height:1.45;color:#EDE6F8}
.gh-pan li:before{content:""!important;position:absolute;left:11px;top:13px;width:17px;height:17px;border-radius:50%;background:#22C55E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4L19 7'/%3E%3C/svg%3E") center/10px no-repeat}
.gh-pan a{display:inline-block;margin-top:16px;color:#D9B8FF!important;font-weight:600;font-size:14.5px;text-decoration:none!important}
.gh-pan a:hover{text-decoration:underline!important}

/* dark band with demo button */
.gh-band{background:#1E0F3A;border-radius:20px;padding:32px 34px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:30px;align-items:center}
.gh-band .gh-k{color:#C99BFF}
body.gp .gh-band h2.gh-h{color:#fff}
.gh-band h2.gh-h b{color:#C99BFF}
.gh-band .gh-sub{color:#C9BEDC}
.gh-band .gh-more{margin-top:22px}
.gh-band .gh-link{color:#D9B8FF!important}
.gh-gaps{background:#241640;border:1px solid #33215A;border-radius:14px;padding:8px 20px 18px}
.gh-gaps ul{list-style:none;margin:0!important;padding:0!important}
.gh-gaps li{position:relative;margin:0!important;padding:13px 0 13px 32px!important;border-bottom:1px solid #33215A;font-size:14px;line-height:1.55;color:#CFC5E2}
.gh-gaps li:before{content:"!"!important;position:absolute;left:0;top:14px;width:19px;height:19px;border-radius:50%;background:#F5A524;color:#2A1600;font-size:12px;font-weight:700;display:grid;place-items:center;line-height:1}
body.gp .gh-gaps li b{color:#fff!important;font-weight:600}
.gh-gaps .fix{margin-top:14px;padding:12px 14px;border-radius:11px;background:#3B1170;border:1px solid #5A2A9A;color:#fff;font-weight:600;font-size:14px;line-height:1.5}

@media (max-width:860px){
  .gh-steps{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:30px}
  .gh-band{grid-template-columns:minmax(0,1fr);padding:26px 22px}
  .gh-pan ul{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:560px){
  .gh-steps,.gh-tabs{grid-template-columns:minmax(0,1fr)}
  .gh-pan{order:0;grid-column:auto}
  body.gp .gh h2.gh-h{font-size:23px}
}

/* dark variants */
.gh.gh-dark{background:#1E0F3A;border-radius:20px;padding:34px 34px 32px}
.gh-dark .gh-k{color:#C99BFF}
body.gp .gh-dark h2.gh-h{color:#fff}
.gh-dark h2.gh-h b{color:#C99BFF}
.gh-dark .gh-sub{color:#C9BEDC}
.gh-dark .gh-steps li{background:#261745;border-color:#3A2763;border-top-color:var(--sc);box-shadow:none}
.gh-dark .gh-steps .sn{box-shadow:0 0 0 5px #1E0F3A,0 12px 22px -12px var(--sc)}
body.gp .gh-dark .gh-steps h3{color:#fff!important}
body.gp .gh-dark .gh-steps p{color:#CFC5E2!important}
.gh-dark .gh-btn{background:#fff;color:#3B1170!important}
.gh-dark .gh-btn:hover{background:#F1E9FF}
.gh-dark .gh-link{color:#D9B8FF!important}
.gh-vs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin-top:22px}
.gh-vs .col{border-radius:14px;padding:20px 20px 10px;background:#261745;border:1px solid #3A2763}
.gh-vs .col.new{background:#2C1B52;border-color:#22C55E}
.gh-vs .k{font-size:11.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#FF9A9A}
.gh-vs .new .k{color:#4ADE80}
body.gp .gh-vs h3{color:#fff!important;font-size:17px;font-weight:600;margin:6px 0 8px!important;letter-spacing:-.01em}
.gh-vs ul{list-style:none;margin:0!important;padding:0!important}
.gh-vs li{position:relative;margin:0!important;padding:11px 0 11px 30px!important;border-top:1px solid #3A2763;font-size:14px;line-height:1.5;color:#CFC5E2}
.gh-vs .new li{color:#fff}
.gh-vs li:before{content:""!important;position:absolute;left:0;top:12px;width:19px;height:19px;border-radius:50%;background:#4A1F2C url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF9A9A' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E") center/11px no-repeat}
.gh-vs .new li:before{background:#22C55E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4L19 7'/%3E%3C/svg%3E") center/11px no-repeat}
@media (max-width:860px){.gh.gh-dark{padding:26px 20px}.gh-vs{grid-template-columns:minmax(0,1fr)}}

/* dark image hero for guides */
body.gp .pn-art-hero.pn-art-dark h1,body.gp .pn-art-hero.pn-art-dark h1 span{color:#fff!important;-webkit-text-fill-color:#fff!important;background:none!important}
body.gp .pn-art-hero.pn-art-dark h1 .h1-accent{color:#C99BFF!important;-webkit-text-fill-color:#C99BFF!important}
body.gp .pn-art-hero.pn-art-dark .standfirst{color:#D9D0E8!important}
body.gp .pn-art-hero.pn-art-dark .crumb,body.gp .pn-art-hero.pn-art-dark .crumb a{color:#BFB3D6!important}
body.gp .pn-art-hero.pn-art-dark .crumb b{color:#fff!important}
body.gp .pn-art-hero.pn-art-dark .chip{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.2)!important;color:#EDE6F8!important;box-shadow:none!important}
body.gp .pn-art-hero.pn-art-dark .chip svg{stroke:#C99BFF!important}
body.gp .pn-art-hero.pn-art-dark .pn-mdm-button:not(.ghost){background:#8D12E8!important;color:#fff!important;box-shadow:none!important}
body.gp .pn-art-hero.pn-art-dark .pn-mdm-button.ghost{background:transparent!important;color:#fff!important;border-color:rgba(255,255,255,.45)!important;box-shadow:none!important}

/* dark guide hero: same size as the solution-page heroes, text in the left 50% */
body.gp .pn-art-hero.pn-art-dark .meta-row{display:none!important}
@media (min-width:1181px){
  body.gp .pn-art-hero.pn-art-dark{position:relative;height:clamp(400px,35vw,520px);overflow:hidden;padding:0!important}
  body.gp .pn-art-hero.pn-art-dark picture{position:absolute!important;inset:0;display:block}
  body.gp .pn-art-hero.pn-art-dark .pn-art-img{position:absolute!important;top:0;right:0;left:auto;height:100%!important;width:auto!important;max-width:none!important}
  body.gp .pn-art-hero.pn-art-dark .pn-art-copy{position:relative!important;inset:auto!important;transform:none!important;height:100%;width:50%!important;max-width:none!important;display:flex;flex-direction:column;justify-content:center;padding:0 40px 0 max(28px,calc((100vw - 1152px)/2))!important}
  body.gp .pn-art-hero.pn-art-dark .pn-art-copy h1{font-size:clamp(34px,3.4vw,50px)!important;line-height:1.06!important;margin:0 0 16px!important}
  body.gp .pn-art-hero.pn-art-dark .pn-art-copy h1 span{display:block}
  body.gp .pn-art-hero.pn-art-dark .standfirst{font-size:17px!important;line-height:1.6!important;max-width:480px;margin:0 0 24px!important}
  body.gp .pn-art-hero.pn-art-dark .crumb{margin:0 0 16px!important}
}
