/* jp-site-chrome v1 (2026-11-23): Products/Resources mega menu, Sign in, mobile drawer groups,
   footer "Ask AI" + payment icons, partners page CTA. Additive only; hides the old nav list
   only when the new one is present, so removing this file restores the old look. */
.jp-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-header__nav:has(> .jp-mega) > .site-header__nav-list:not(.jp-mega){display:none!important}
.site-header__nav > .jp-mega{display:flex;align-items:center;gap:.1rem;margin:0;padding:0;list-style:none}
.jp-mega > li{position:relative;list-style:none}
.jp-mega__trigger{cursor:pointer}
.jp-mega__trigger .jp-chev{transition:transform .18s ease}
.jp-mega__trigger[aria-expanded="true"] .jp-chev{transform:rotate(180deg)}
.jp-mega__trigger.is-active{color:var(--color-text-heading)}
.jp-mega__panel{z-index:60}
.jp-mega__panel::before{content:"";position:absolute;left:0;right:0;top:-.9rem;height:.9rem}
.jp-mega__panel--products{width:min(760px,calc(100dvw - 2rem))}
.jp-mega__panel--resources{width:min(920px,calc(100dvw - 2rem))}
.jp-mega__cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem 1rem;padding:1.05rem 1.1rem .7rem}
.jp-mega__cols--3{grid-template-columns:1.15fr 1.15fr .8fr}
.jp-mega__col .site-header__mega-eyebrow{padding:0 .9rem;margin:0 0 .35rem}
.jp-mega__list{display:flex;flex-direction:column;gap:.1rem;margin:0;padding:0;list-style:none}
.jp-mega__list .site-header__mega-item{padding:.65rem .9rem}
.jp-mega__list .site-header__mega-item[aria-current="page"]{background:#ffffffeb;border-color:#1b1b1b1a}
.jp-mega__plain{display:block;padding:.5rem .9rem;border-radius:10px;color:var(--color-text-heading);font-size:.9rem;font-weight:var(--font-weight-heading);text-decoration:none}
.jp-mega__plain:hover,.jp-mega__plain:focus-visible,.jp-mega__plain[aria-current="page"]{background:#1b1b1b0d;outline:none}
.jp-mega__col--plain{border-left:1px solid rgba(27,27,27,.08)}
.jp-ext{display:inline-block;vertical-align:.05em;margin-left:.2rem;opacity:.55}
html[data-theme=dark] .jp-mega__plain{color:#eef0ff}
html[data-theme=dark] .jp-mega__plain:hover,html[data-theme=dark] .jp-mega__plain[aria-current="page"]{background:#ffffff12}
html[data-theme=dark] .jp-mega__col--plain{border-left-color:#ffffff14}
html[data-theme=dark] .jp-mega__list .site-header__mega-item[aria-current="page"]{background:#1e2246f2}
@media (max-width:1100px){.jp-mega__cols--3{grid-template-columns:1fr 1fr}.jp-mega__col--plain{grid-column:1 / -1;border-left:0}}

/* Sign in */
.site-header__signin{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.55rem 1rem;border-radius:12px;border:1px solid rgba(19,0,154,.16);background:var(--color-surface-raised,#fff);color:var(--color-text-heading,#13009a);font-size:15px;font-weight:var(--font-weight-heading,600);letter-spacing:-.01em;line-height:1;text-decoration:none;white-space:nowrap;flex-shrink:0}
.site-header__signin:hover,.site-header__signin:focus-visible{border-color:rgba(19,0,154,.35);background:#f4f6ff;outline:none}
.site-header__signin:focus-visible{box-shadow:0 0 0 2px #137f1559}
html[data-theme=dark] .site-header__signin{background:#ffffff0a;border-color:#c8c4ff33;color:#eef0ff}
html[data-theme=dark] .site-header__signin:hover{background:#ffffff14}
.site-header__signin--bar{min-height:40px;padding:.45rem .75rem;font-size:14px}
@media (max-width:479px){.site-header__signin--bar{display:none}}

/* Mobile drawer groups */
.site-header__drawer-nav:has(> .jp-mnav) > .site-header__drawer-link{display:none!important}
.jp-mnav{display:flex;flex-direction:column;gap:.15rem}
.jp-mnav__group > summary{list-style:none;cursor:pointer}
.jp-mnav__group > summary::-webkit-details-marker{display:none}
.jp-mnav__group > summary .jp-chev{transition:transform .18s ease}
.jp-mnav__group[open] > summary .jp-chev{transform:rotate(180deg)}
.jp-mnav .site-header__drawer-sub a{display:flex;align-items:center;gap:.25rem}
.jp-mnav .site-header__drawer-sub a[aria-current="page"],.jp-mnav .site-header__drawer-link[aria-current="page"]{background:var(--color-surface-raised)}
.jp-mnav__label{margin:.45rem .75rem .1rem;font-size:11px;font-weight:var(--font-weight-heading,600);letter-spacing:.12em;text-transform:uppercase;opacity:.6;color:var(--color-text-heading)}
html[data-theme=dark] .jp-mnav__label{color:#eef0ff}
.jp-mnav__signin{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin:0;border-radius:12px;border:1px solid rgba(19,0,154,.18);color:var(--color-text-heading);font-weight:var(--font-weight-heading,600);text-decoration:none}
.jp-mnav__signin:hover{background:#1b1b1b0d}
html[data-theme=dark] .jp-mnav__signin{border-color:#c8c4ff33;color:#eef0ff}

/* Footer extras */
.jp-foot-extra{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.25rem 2.5rem;margin-top:1.35rem}
.jp-foot-extra__title{margin:0 0 .7rem;color:#fff;font-size:12px;font-weight:var(--font-weight-heading,600);letter-spacing:.14em;text-transform:uppercase}
.jp-foot-extra__title a{color:inherit;text-decoration:none}
.jp-foot-extra__title a:hover{text-decoration:underline;text-underline-offset:3px}
.jp-ai__list,.jp-pay__list{display:flex;flex-wrap:wrap;gap:.5rem;margin:0;padding:0;list-style:none}
.jp-ai__link{display:inline-flex;align-items:center;gap:.45rem;min-height:38px;padding:.4rem .75rem;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.06);color:var(--color-text-on-chrome-muted,rgba(255,255,255,.85));font-size:.85rem;text-decoration:none}
.jp-ai__link svg{width:17px;height:17px;flex-shrink:0}
.jp-ai__link:hover,.jp-ai__link:focus-visible{color:#fff;border-color:rgba(255,255,255,.5);background:rgba(255,255,255,.12);outline:none}
.jp-pay{justify-self:end;text-align:right}
.jp-pay .jp-pay__list{justify-content:flex-end}
.jp-pay__row{display:block;text-decoration:none}
.jp-pay__icon{display:inline-flex;align-items:center;justify-content:center;width:46px;height:32px;border-radius:8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);color:rgba(255,255,255,.88)}
.jp-pay__icon svg{width:22px;height:22px}
.jp-pay__row:hover .jp-pay__icon{color:#fff;border-color:rgba(255,255,255,.32)}
.jp-pay__note{margin:.6rem 0 0;color:var(--color-text-on-chrome-muted,rgba(255,255,255,.85));font-size:.82rem}
.jp-pay__note a{color:#fff;text-underline-offset:3px}
@media (max-width:820px){.jp-foot-extra{grid-template-columns:1fr}.jp-pay{justify-self:start;text-align:left}.jp-pay .jp-pay__list{justify-content:flex-start}}

/* Partners page: setup guides moved to /integrations; prominent Become a partner */
section#setup-guides[aria-labelledby="partners-guides-title"]{display:none!important}
.jp-bap{display:flex;align-items:center;justify-content:space-between;gap:1rem 1.5rem;flex-wrap:wrap;margin:0 0 1.5rem;padding:1.1rem 1.3rem;border-radius:18px;border:1.5px solid rgba(19,127,21,.45);background:linear-gradient(120deg,rgba(19,127,21,.09),rgba(19,0,154,.06));box-shadow:0 10px 28px rgba(19,0,154,.08)}
.jp-bap__title{margin:0;color:var(--color-text-heading);font-size:1.35rem;font-weight:var(--font-weight-heading,600);letter-spacing:-.02em}
.jp-bap__title span{color:var(--color-text-accent,#137f15)}
.jp-bap__text{margin:.3rem 0 0;color:var(--color-text-muted);font-size:.95rem;max-width:60ch}
.jp-bap .btn-primary,.jp-bap__apply{white-space:nowrap}
.jp-bap__apply{margin-right:.25rem}
html[data-theme=dark] .jp-bap{background:linear-gradient(120deg,rgba(61,220,132,.08),rgba(165,171,255,.06));border-color:rgba(61,220,132,.4)}
html[data-theme=dark] .jp-bap__title{color:#eef0ff}
html[data-theme=dark] .jp-bap__title span{color:#3ddc84}
