/*
 * Own header (.pjh) + footer (.pjf) of the generated project sites (src/Theme/Chrome.php, builder › Header & footer).
 * Templates: templates/themes/base/chrome/header|footer.html.twig. Behaviour: public/v2/js/pj-chrome.js.
 * Colours come from the --pj-* style tokens, so every theme and colour preset applies. Classes per option:
 *   header  pjh--<structure> pjh-bg-- pjh-h-- pjh-w-- pjh-b-- pjh-m-- (menu style) pjh-mf-- pjh-ma-- pjh-g-- pjh-st-- pjh-mob--
 *   footer  pjf--<structure> pjf-bg-- pjf-w-- pjf-sp-- pjf-top-- pjf-al-- pjf-l--
 */

/* ================================================================ header */
.pjh {
    --pjh-h: 74px; --pjh-bgv: var(--pj-header-bg, var(--pj-card, #fff)); --pjh-ink: var(--pj-header-ink, var(--pj-ink, #0b1220));
    --pjh-line: var(--pj-header-line, var(--pj-line, #e3e8f1)); --pjh-max: var(--pj-container-xl, 1240px);
    position: relative; z-index: 1030; font-family: var(--pj-font, inherit); color: var(--pjh-ink);
}
.pjh *, .pjh *::before, .pjh *::after { box-sizing: border-box; }
.pjh a { text-decoration: none; }
.pjh ul { list-style: none; margin: 0; padding: 0; }
.pjh-h--compact { --pjh-h: 60px; }
.pjh-h--tall { --pjh-h: 92px; }
.pjh-w--wide { --pjh-max: 1560px; }
.pjh-w--full { --pjh-max: 100%; }

/* backgrounds */
.pjh-bg--card { --pjh-bgv: var(--pj-card, #fff); --pjh-ink: var(--pj-ink, #0b1220); --pjh-line: var(--pj-line, #e3e8f1); }
.pjh-bg--soft { --pjh-bgv: var(--pj-bg-soft, #eef2f9); --pjh-ink: var(--pj-ink, #0b1220); --pjh-line: var(--pj-line, #e3e8f1); }
.pjh-bg--primary { --pjh-bgv: var(--pj-primary, #0a54e0); --pjh-ink: var(--pj-on-primary, #fff); --pjh-line: rgba(255, 255, 255, .16); }
.pjh-bg--dark { --pjh-bgv: #0a0d16; --pjh-ink: #f4f6fb; --pjh-line: rgba(255, 255, 255, .09); }
.pjh-bg--glass { --pjh-bgv: color-mix(in srgb, var(--pj-card, #fff) 68%, transparent); --pjh-ink: var(--pj-ink, #0b1220); --pjh-line: color-mix(in srgb, var(--pj-ink, #0b1220) 10%, transparent); }
.pjh-bg--gradient { --pjh-bgv: linear-gradient(110deg, var(--pj-primary, #0a54e0), var(--pj-accent, #14b8a6)); --pjh-ink: #fff; --pjh-line: rgba(255, 255, 255, .2); }
.pjh-bg--transparent { --pjh-bgv: transparent; --pjh-ink: var(--pj-ink, #0b1220); }

.pjh-bar { position: relative; background: var(--pjh-bgv); transition: background .3s, box-shadow .3s, transform .35s cubic-bezier(.2, .75, .2, 1); }
.pjh-bg--theme .pjh-bar { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pjh-bg--glass .pjh-bar, .pjh-bg--glass.pjh--float .pjh-bar > .pjh-in { backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.pjh-in { width: 100%; max-width: var(--pjh-max); margin: 0 auto; padding: 0 clamp(16px, 2.4vw, 32px); display: flex; align-items: center; gap: 18px; min-height: var(--pjh-h); }

/* edges */
.pjh-b--line .pjh-bar { box-shadow: inset 0 -1px 0 var(--pjh-line); }
.pjh-b--shadow .pjh-bar { box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .45); }
.pjh-b--glow .pjh-bar { box-shadow: 0 12px 40px -14px rgba(var(--pj-primary-rgb, 10, 84, 224), .55); }
.pjh-b--gradient .pjh-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--pj-primary, #0a54e0), var(--pj-accent, #14b8a6)); }

/* sticky */
.pjh-st--sticky, .pjh-st--smart { position: sticky; top: 0; }
.pjh-st--smart.is-hidden .pjh-bar { transform: translateY(-110%); }
.pjh-st--smart.is-hidden .pjh-ann { display: none; }

/* brand */
.pjh-brand { display: inline-flex; align-items: center; gap: 11px; flex: none; color: var(--pjh-ink); min-width: 0; }
.pjh-brand img { width: var(--pjh-logo, 40px); height: var(--pjh-logo, 40px); object-fit: contain; border-radius: calc(var(--pjh-logo, 40px) / 4); }
.pjh-brand__text { font: 800 calc(var(--pjh-logo, 40px) * .3 + 8px)/1.1 var(--pj-font-heading, inherit); letter-spacing: -.01em; white-space: nowrap; color: var(--pjh-ink); }

/* menu */
.pjh-nav { flex: 1; min-width: 0; display: flex; }
.pjh-ma--left .pjh-nav { justify-content: flex-start; }
.pjh-ma--center .pjh-nav { justify-content: center; }
.pjh-ma--right .pjh-nav { justify-content: flex-end; }
.pjh-menu { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.pjh-g--tight .pjh-menu { gap: 0; }
.pjh-g--roomy .pjh-menu { gap: 10px; }
.pjh-menu > li { position: relative; flex: none; }
.pjh-menu > li > a {
    position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: var(--pj-pill, 999px);
    color: var(--pjh-ink); font-size: var(--pjh-fs, 15px); font-weight: var(--pjh-fw, 500); line-height: 1.2; white-space: nowrap; opacity: .78;
    transition: opacity .2s, background .2s, color .2s, border-color .2s;
}
.pjh-g--tight .pjh-menu > li > a { padding: 8px 9px; }
.pjh-menu > li > a i { font-size: .72em; opacity: .7; }
.pjh-menu > li:hover > a, .pjh-menu > li.is-active > a, .pjh-menu > li:focus-within > a { opacity: 1; }
.pjh-mf--heading .pjh-menu > li > a, .pjh-mf--heading .pjh-drawer__nav a, .pjh-mf--heading .pjh-drawer__nav summary { font-family: var(--pj-font-heading, inherit); }
.pjh-mf--mono .pjh-menu > li > a, .pjh-mf--mono .pjh-drawer__nav a, .pjh-mf--mono .pjh-drawer__nav summary { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.01em; }
.pjh--caps .pjh-menu > li > a { text-transform: uppercase; letter-spacing: .08em; }
.pjh-m--pill .pjh-menu > li:hover > a, .pjh-m--pill .pjh-menu > li.is-active > a { background: color-mix(in srgb, var(--pjh-ink) 10%, transparent); }
.pjh-m--boxed .pjh-menu > li > a { border-radius: 10px; border: 1px solid transparent; }
.pjh-m--boxed .pjh-menu > li:hover > a { border-color: color-mix(in srgb, var(--pjh-ink) 18%, transparent); }
.pjh-m--boxed .pjh-menu > li.is-active > a { border-color: color-mix(in srgb, var(--pjh-ink) 26%, transparent); background: color-mix(in srgb, var(--pjh-ink) 7%, transparent); }
.pjh-m--underline .pjh-menu > li > a, .pjh-m--plain .pjh-menu > li > a, .pjh-m--dot .pjh-menu > li > a { border-radius: 6px; }
.pjh-m--underline .pjh-menu > li > a::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; border-radius: 2px; background: currentColor;
    transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2, .75, .2, 1);
}
.pjh-m--underline .pjh-menu > li:hover > a::after, .pjh-m--underline .pjh-menu > li.is-active > a::after { transform: scaleX(1); }
.pjh-m--dot .pjh-menu > li > a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: currentColor; opacity: 0; transition: opacity .2s, transform .2s; transform: translateY(3px); }
.pjh-m--dot .pjh-menu > li:hover > a::after, .pjh-m--dot .pjh-menu > li.is-active > a::after { opacity: 1; transform: none; }

/* dropdowns (sub items, and the "More" list made by pj-chrome.js) */
.pjh-sub {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; padding: 6px; display: none; z-index: 5;
    background: var(--pj-card, #fff); border: 1px solid var(--pj-card-line, var(--pj-line, #e3e8f1)); border-radius: 14px;
    box-shadow: 0 24px 48px -20px rgba(15, 23, 42, .4);
}
.pjh-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.pjh-menu > li:hover > .pjh-sub, .pjh-menu > li:focus-within > .pjh-sub, .pjh-menu > li.is-open > .pjh-sub { display: block; }
.pjh-menu > li.pjh-more > .pjh-sub { left: auto; right: 0; }
.pjh-sub a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--pj-ink, #0b1220); font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.pjh-sub a:hover, .pjh-sub .is-active > a { background: color-mix(in srgb, var(--pj-primary, #0a54e0) 10%, transparent); color: var(--pj-primary-ink, var(--pj-primary, #0a54e0)); }
.pjh-more[hidden] { display: none !important; }
.pjh-more > a { cursor: pointer; }

/* actions */
.pjh-actions { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.pjh-socials { display: flex; align-items: center; gap: 4px; }
.pjh-socials a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--pjh-ink); opacity: .75; transition: opacity .2s, background .2s; }
.pjh-socials a:hover { opacity: 1; background: color-mix(in srgb, var(--pjh-ink) 10%, transparent); }
.pjh-price {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--pj-pill, 999px); font-size: 13px; white-space: nowrap;
    background: color-mix(in srgb, var(--pjh-ink) 8%, transparent); border: 1px solid color-mix(in srgb, var(--pjh-ink) 12%, transparent);
}
.pjh-price b { font-weight: 700; }
.pjh-price [data-pj-price] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; }
.pjh-price em { font-style: normal; font-weight: 600; font-size: 12px; }
.pjh-price em.is-up { color: #16a34a; }
.pjh-price em.is-down { color: #dc2626; }
.pjh-bg--primary .pjh-price em, .pjh-bg--gradient .pjh-price em { color: inherit !important; }
.pjh-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: var(--pj-btn-radius, var(--pj-pill, 999px));
    font-weight: 650; font-size: 14.5px; white-space: nowrap; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.pjh-cta:hover { transform: translateY(-1px); }
.pjh-cta--solid { background: var(--pj-btn-bg, var(--pj-primary, #0a54e0)); color: var(--pj-btn-ink, var(--pj-on-primary, #fff)); box-shadow: 0 10px 24px -12px rgba(var(--pj-primary-rgb, 10, 84, 224), .7); }
.pjh-cta--gradient { background: linear-gradient(110deg, var(--pj-primary, #0a54e0), var(--pj-accent, #14b8a6)); color: #fff; box-shadow: 0 10px 24px -12px rgba(var(--pj-primary-rgb, 10, 84, 224), .7); }
.pjh-cta--outline { color: var(--pjh-ink); border-color: color-mix(in srgb, var(--pjh-ink) 40%, transparent); }
.pjh-cta--outline:hover { border-color: var(--pjh-ink); }
.pjh-cta--soft { background: color-mix(in srgb, var(--pjh-ink) 12%, transparent); color: var(--pjh-ink); }
.pjh-bg--primary .pjh-cta--solid, .pjh-bg--gradient .pjh-cta--solid, .pjh-bg--gradient .pjh-cta--gradient { background: #fff; color: #0b1220; }
.pjh-bg--primary .pjh-cta--soft, .pjh-bg--gradient .pjh-cta--soft { background: #fff; color: var(--pj-primary-ink, #0b1220); }
.pjh-wallet { display: flex; align-items: center; }
.pjh-wallet--compact { display: none; }
.pjh-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 10px; border: 0; border-radius: 12px; background: color-mix(in srgb, var(--pjh-ink) 8%, transparent); cursor: pointer; }
.pjh-burger span { display: block; align-self: stretch; height: 2px; border-radius: 2px; background: var(--pjh-ink); }
.pjh-burger.is-always { display: flex; }

/* structures */
.pjh--center .pjh-bar > .pjh-in, .pjh--split .pjh-bar > .pjh-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.pjh--center .pjh-side--r, .pjh--center .pjh-side--r .pjh-actions { justify-self: end; justify-content: flex-end; }
.pjh--center .pjh-side--l { display: flex; align-items: center; }
.pjh--center .pjh-brand { flex-direction: column; gap: 6px; text-align: center; }
.pjh-row2 { box-shadow: inset 0 1px 0 var(--pjh-line); }
.pjh-row2 .pjh-in { min-height: calc(var(--pjh-h) * .7); }
.pjh--center .pjh-row2 .pjh-nav { justify-content: center; }
.pjh--split .pjh-nav--l { justify-content: flex-end; }
.pjh--split .pjh-split-r { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pjh--split .pjh-nav--r { justify-content: flex-start; }
.pjh--stack .pjh-row2 { background: var(--pj-primary, #0a54e0); --pjh-ink: var(--pj-on-primary, #fff); box-shadow: none; }
.pjh--stack.pjh-bg--primary .pjh-row2, .pjh--stack.pjh-bg--dark .pjh-row2, .pjh--stack.pjh-bg--gradient .pjh-row2 { background: var(--pj-card, #fff); --pjh-ink: var(--pj-ink, #0b1220); }
.pjh--stack.pjh-ma--center .pjh-row2 .pjh-nav { justify-content: center; }
.pjh--stack.pjh-ma--right .pjh-row2 .pjh-nav { justify-content: flex-end; }
.pjh--float { padding: 12px clamp(10px, 2vw, 24px) 0; }
.pjh--float .pjh-bar { background: none; box-shadow: none !important; }
.pjh--float .pjh-bar::after { display: none; }
.pjh--float .pjh-bar > .pjh-in { background: var(--pjh-bgv); border-radius: 999px; padding: 0 10px 0 20px; min-height: calc(var(--pjh-h) - 8px); border: 1px solid var(--pjh-line); }
.pjh--float.pjh-w--container .pjh-bar > .pjh-in { max-width: calc(var(--pjh-max) - 32px); }
.pjh--float.pjh-b--shadow .pjh-bar > .pjh-in { box-shadow: 0 18px 40px -22px rgba(15, 23, 42, .55); }
.pjh--float.pjh-b--glow .pjh-bar > .pjh-in { box-shadow: 0 16px 48px -16px rgba(var(--pj-primary-rgb, 10, 84, 224), .6); }
.pjh--float.pjh-b--gradient .pjh-bar > .pjh-in { border: 2px solid transparent; background: linear-gradient(var(--pj-card, #fff), var(--pj-card, #fff)) padding-box, linear-gradient(90deg, var(--pj-primary, #0a54e0), var(--pj-accent, #14b8a6)) border-box; }
.pjh--float.pjh-bg--dark.pjh-b--gradient .pjh-bar > .pjh-in { background: linear-gradient(#0a0d16, #0a0d16) padding-box, linear-gradient(90deg, var(--pj-primary, #0a54e0), var(--pj-accent, #14b8a6)) border-box; }
.pjh--float.pjh-b--line .pjh-bar > .pjh-in { border-color: var(--pjh-line); }
.pjh--float .pjh-cta { min-height: 38px; }
.pjh--drawer .pjh-actions { gap: 12px; }

/* see-through over the first section (pj-chrome.js adds is-overlay only when a hero / page title comes first) */
.pjh--over.is-overlay { margin-bottom: calc(-1 * var(--pjh-total, 74px)); }
.pjh--over.is-overlay:not(.is-scrolled) .pjh-bar, .pjh--over.is-overlay:not(.is-scrolled) .pjh-ann + .pjh-bar { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.pjh--over.is-overlay:not(.is-scrolled) .pjh-bar::after { display: none; }
.pjh--over.is-overlay.pjh--float:not(.is-scrolled) .pjh-bar > .pjh-in { background: color-mix(in srgb, var(--pjh-bgv) 30%, transparent); }
.pjh--over.is-overlay.pjh-ot--light:not(.is-scrolled) .pjh-bar { --pjh-ink: #fff; --pjh-line: rgba(255, 255, 255, .2); }
.pjh--over.is-overlay.pjh-ot--dark:not(.is-scrolled) .pjh-bar { --pjh-ink: #0b1220; --pjh-line: rgba(11, 18, 32, .14); }
.pjh--over.is-overlay:not(.is-scrolled) .pjh-cta--outline { border-color: currentColor; }

/* announcement bar */
.pjh-ann { position: relative; font-size: 14px; line-height: 1.4; color: #fff; background: var(--pj-primary, #0a54e0); overflow: hidden; }
.pjh-ann[hidden] { display: none; }
.pjh-ann--gradient { background: linear-gradient(90deg, var(--pj-primary, #0a54e0), var(--pj-accent, #14b8a6)); }
.pjh-ann--dark { background: #0a0d16; }
.pjh-ann--soft { background: color-mix(in srgb, var(--pj-primary, #0a54e0) 12%, var(--pj-card, #fff)); color: var(--pj-ink, #0b1220); }
.pjh-ann--accent { background: var(--pj-accent, #14b8a6); color: #0b1220; }
.pjh-ann__in { max-width: var(--pjh-max); margin: 0 auto; padding: 9px 48px; position: relative; display: flex; justify-content: center; }
.pjh-ann__text { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; min-width: 0; font-weight: 550; }
.pjh-ann__text a { color: inherit; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.pjh-ann__x { position: absolute; right: 10px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; opacity: .75; }
.pjh-ann__x:hover { opacity: 1; background: rgba(255, 255, 255, .15); }
.pjh-ann.is-moving .pjh-ann__text { flex-wrap: nowrap; overflow: hidden; justify-content: flex-start; flex: 1; }
.pjh-ann__track { display: inline-flex; gap: 64px; white-space: nowrap; animation: pjh-marquee 26s linear infinite; }
@keyframes pjh-marquee { to { transform: translateX(-33.333%); } }

/* phone menu */
.pjh-drawer { position: fixed; inset: 0; z-index: 1100; }
.pjh-drawer[hidden] { display: none; }
.pjh-drawer__shade { position: absolute; inset: 0; background: rgba(5, 8, 16, .55); opacity: 0; transition: opacity .3s; backdrop-filter: blur(2px); }
.pjh-drawer__panel {
    position: absolute; top: 0; bottom: 0; right: 0; width: min(380px, 88vw); display: flex; flex-direction: column; overflow-y: auto;
    background: var(--pj-card, #fff); color: var(--pj-ink, #0b1220); box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .5);
    transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .75, .2, 1);
}
.pjh-mob--left .pjh-drawer__panel { right: auto; left: 0; transform: translateX(-100%); }
.pjh-mob--full .pjh-drawer__panel { width: 100%; transform: translateY(-24px); opacity: 0; transition: transform .35s cubic-bezier(.2, .75, .2, 1), opacity .3s; }
.pjh-drawer.is-open .pjh-drawer__shade { opacity: 1; }
.pjh-drawer.is-open .pjh-drawer__panel { transform: none; opacity: 1; }
.pjh-drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--pj-line, #e3e8f1); }
.pjh-drawer__top .pjh-brand { --pjh-ink: var(--pj-ink, #0b1220); --pjh-logo: 34px; }
.pjh-drawer__x { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--pj-bg-soft, #eef2f9); color: var(--pj-ink, #0b1220); font-size: 18px; cursor: pointer; }
.pjh-drawer__nav { padding: 10px 12px; flex: 1; }
.pjh-drawer__nav a, .pjh-drawer__nav summary {
    display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border-radius: 12px; color: var(--pj-ink, #0b1220);
    font-size: 17px; font-weight: 600; cursor: pointer; list-style: none;
}
.pjh-drawer__nav summary::-webkit-details-marker { display: none; }
.pjh-drawer__nav details[open] > summary i { transform: rotate(180deg); }
.pjh-drawer__nav details ul { padding-left: 12px; }
.pjh-drawer__nav details ul a { font-size: 15.5px; font-weight: 500; opacity: .85; }
.pjh-drawer__nav a:hover, .pjh-drawer__nav .is-active > a, .pjh-drawer__nav .is-active > details > summary { background: color-mix(in srgb, var(--pj-primary, #0a54e0) 10%, transparent); color: var(--pj-primary-ink, var(--pj-primary, #0a54e0)); }
.pjh--caps .pjh-drawer__nav a, .pjh--caps .pjh-drawer__nav summary { text-transform: uppercase; letter-spacing: .06em; font-size: 15px; }
.pjh-mob--full .pjh-drawer__nav { display: flex; align-items: center; justify-content: center; }
.pjh-mob--full .pjh-drawer__nav > ul { width: min(560px, 100%); }
.pjh-mob--full .pjh-drawer__nav > ul > li > a, .pjh-mob--full .pjh-drawer__nav > ul > li > details > summary { font: 800 clamp(26px, 4.6vw, 44px)/1.15 var(--pj-font-heading, inherit); justify-content: center; text-align: center; letter-spacing: -.02em; }
.pjh-drawer__foot { display: grid; gap: 14px; padding: 18px; border-top: 1px solid var(--pj-line, #e3e8f1); }
.pjh-drawer__foot .pjh-cta { min-height: 48px; font-size: 16px; }
.pjh-drawer__foot .pjh-socials { justify-content: center; --pjh-ink: var(--pj-ink, #0b1220); }
.pjh-mob--full .pjh-drawer__foot { justify-items: center; }
.pjh-mob--full .pjh-drawer__foot .pjh-cta { width: min(420px, 100%); }
html.pjh-locked, html.pjh-locked body { overflow: hidden; }

@media (max-width: 1180px) {
    .pjh-price { display: none; }
}
@media (max-width: 1023px) {
    .pjh-nav, .pjh-row2, .pjh-split-r > .pjh-nav, .pjh-side--l .pjh-socials, .pjh-actions .pjh-socials { display: none; }
    .pjh-burger { display: flex; }
    .pjh-wallet { display: none; }
    .pjh-wallet--compact { display: flex; }
    .pjh--center .pjh-bar > .pjh-in, .pjh--split .pjh-bar > .pjh-in { display: flex; }
    .pjh--center .pjh-side--l { display: none; }
    .pjh--center .pjh-side--r { margin-left: auto; }
    .pjh--center .pjh-brand { flex-direction: row; }
    .pjh--split .pjh-split-r { margin-left: auto; }
    .pjh--float .pjh-bar > .pjh-in { padding-left: 14px; }
    .pjh { --pjh-h: 64px; }
    .pjh-h--tall { --pjh-h: 72px; }
}
@media (max-width: 640px) {
    .pjh-actions > .pjh-cta { display: none; }
    .pjh-brand__text { font-size: 17px; }
    .pjh-ann__in { padding: 8px 42px 8px 14px; }
    .pjh-ann { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .pjh-ann__track { animation: none; }
    .pjh-bar, .pjh-drawer__panel, .pjh-drawer__shade { transition: none; }
}

/* ================================================================ footer */
.pjf {
    --pjf-bg: var(--pj-bg-soft, #eef2f9); --pjf-ink: var(--pj-ink, #0b1220); --pjf-text: var(--pj-text, #334155); --pjf-muted: var(--pj-muted, #64748b);
    --pjf-line: var(--pj-line, #e3e8f1); --pjf-card: var(--pj-card, #fff); --pjf-sp: 56px; --pjf-max: var(--pj-container-xl, 1240px);
    position: relative; background: var(--pjf-bg); color: var(--pjf-text); font-family: var(--pj-font, inherit); font-size: 15px; line-height: 1.6;
}
.pjf *, .pjf *::before, .pjf *::after { box-sizing: border-box; }
.pjf ul { list-style: none; margin: 0; padding: 0; }
.pjf a { color: inherit; text-decoration: none; }
.pjf-bg--page { --pjf-bg: var(--pj-bg, #f6f8fc); }
.pjf-bg--card { --pjf-bg: var(--pj-card, #fff); --pjf-card: var(--pj-bg-soft, #eef2f9); }
.pjf-bg--primary, .pjf-bg--dark, .pjf-bg--gradient, .pjf-bg--mesh { --pjf-ink: #fff; --pjf-text: rgba(255, 255, 255, .82); --pjf-muted: rgba(255, 255, 255, .62); --pjf-line: rgba(255, 255, 255, .14); --pjf-card: rgba(255, 255, 255, .07); }
.pjf-bg--primary { --pjf-bg: var(--pj-primary, #0a54e0); }
.pjf-bg--dark { --pjf-bg: #0a0d16; }
.pjf-bg--gradient { --pjf-bg: linear-gradient(125deg, var(--pj-primary, #0a54e0), var(--pj-accent, #14b8a6)); --pjf-card: rgba(255, 255, 255, .12); }
.pjf-bg--mesh { --pjf-bg: radial-gradient(60% 80% at 0% 0%, rgba(var(--pj-primary-rgb, 10, 84, 224), .45), transparent 60%), radial-gradient(50% 70% at 100% 100%, rgba(var(--pj-accent-rgb, 20, 184, 166), .35), transparent 60%), #070a12; }
.pjf-sp--compact { --pjf-sp: 30px; }
.pjf-sp--roomy { --pjf-sp: 90px; }
.pjf-w--wide { --pjf-max: 1560px; }
.pjf-w--full { --pjf-max: 100%; }
.pjf-in { max-width: var(--pjf-max); margin: 0 auto; padding: var(--pjf-sp) clamp(16px, 2.4vw, 32px) 22px; }

/* top edges */
.pjf-top--line { box-shadow: inset 0 1px 0 var(--pjf-line); }
.pjf-top--gradient::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--pj-primary, #0a54e0), var(--pj-accent, #14b8a6)); }
.pjf-top--round { border-radius: 36px 36px 0 0; margin-top: 32px; }
.pjf-top--float { margin: 48px clamp(10px, 2vw, 24px) clamp(10px, 2vw, 24px); border-radius: 28px; border: 1px solid var(--pjf-line); box-shadow: 0 30px 60px -36px rgba(15, 23, 42, .45); }
.pjf-top--float .pjf-in { padding-top: calc(var(--pjf-sp) * .8); }
/* wave: the page colour cut out of the footer's top, so any background (gradients too) runs on underneath */
.pjf-wave { position: absolute; left: 0; top: -1px; width: 100%; height: 61px; display: block; fill: var(--pj-bg, #f6f8fc); pointer-events: none; }
.pjf-top--wave .pjf-in { padding-top: calc(var(--pjf-sp) + 44px); }

/* brand + about */
.pjf-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--pjf-ink) !important; }
.pjf-brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }
.pjf-brand b { font: 800 20px/1.15 var(--pj-font-heading, inherit); letter-spacing: -.01em; }
.pjf-about { margin: 14px 0 0; max-width: 40ch; color: var(--pjf-text); }

/* link columns */
.pjf-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 32px; }
.pjf-col h3 { margin: 0 0 14px; font: 750 12px/1.3 var(--pj-font, inherit); letter-spacing: .1em; text-transform: uppercase; color: var(--pjf-muted); }
.pjf-col li + li { margin-top: 9px; }
.pjf-col a, .pjf-inline a { color: var(--pjf-text); transition: color .2s, padding .2s; }
.pjf-col a:hover, .pjf-inline a:hover { color: var(--pjf-ink); }
.pjf-l--arrow .pjf-col a { position: relative; display: inline-block; }
.pjf-l--arrow .pjf-col a::before { content: "\2192"; position: absolute; left: -2px; opacity: 0; transition: opacity .2s, left .2s; }
.pjf-l--arrow .pjf-col a:hover { padding-left: 20px; }
.pjf-l--arrow .pjf-col a:hover::before { opacity: 1; left: 0; }
.pjf-l--underline .pjf-col a:hover, .pjf-l--underline .pjf-inline a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* socials */
.pjf-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pjf-socials a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--pjf-ink); transition: background .2s, transform .2s, border-color .2s; }
.pjf-socials--icons a { width: 38px; height: 38px; border-radius: 50%; background: color-mix(in srgb, var(--pjf-ink) 8%, transparent); }
.pjf-socials--icons a:hover { background: var(--pj-primary, #0a54e0); color: var(--pj-on-primary, #fff); transform: translateY(-2px); }
.pjf-socials--pills a { padding: 8px 14px; border-radius: var(--pj-pill, 999px); border: 1px solid var(--pjf-line); font-size: 14px; font-weight: 600; }
.pjf-socials--pills a:hover { border-color: var(--pjf-ink); }
.pjf-socials--tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; width: 100%; }
.pjf-socials--tiles a { flex-direction: column; padding: 18px 12px; border-radius: 16px; background: var(--pjf-card); border: 1px solid var(--pjf-line); font-size: 13.5px; font-weight: 650; }
.pjf-socials--tiles a i { font-size: 22px; }
.pjf-socials--tiles a:hover { transform: translateY(-3px); border-color: var(--pjf-ink); }

/* token */
.pjf-token { margin-top: 18px; display: grid; gap: 10px; justify-items: start; }
.pjf-token__price { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--pjf-ink); }
.pjf-token__price[hidden] { display: none; }
.pjf-token__price [data-pj-price] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; }
.pjf-token__price em { font-style: normal; font-weight: 650; font-size: 12.5px; }
.pjf-token__price em.is-up { color: #16a34a; }
.pjf-token__price em.is-down { color: #dc2626; }
.pjf-bg--primary .pjf-token__price em, .pjf-bg--gradient .pjf-token__price em { color: inherit; }
.pjf-token__ca { display: inline-flex; align-items: center; gap: 8px; padding: 5px 5px 5px 12px; border-radius: 12px; border: 1px dashed var(--pjf-line); max-width: 100%; }
.pjf-token__ca small { font-size: 10.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--pjf-muted); }
.pjf-token__ca code { font: 600 13px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--pjf-ink); background: none; padding: 0; }
.pjf-token__ca button { width: 30px; height: 30px; border-radius: 9px; border: 0; background: color-mix(in srgb, var(--pjf-ink) 8%, transparent); color: var(--pjf-ink); cursor: pointer; }
.pjf-token__ca button:hover { background: color-mix(in srgb, var(--pjf-ink) 16%, transparent); }

.pjf-company { font-size: 13.5px; color: var(--pjf-muted); }
.pjf-lead .pjf-company { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--pjf-line); }
.pjf-token__ca small, .pjf-token__ca code { white-space: nowrap; }
.pjf-company h3 { margin: 0 0 6px; font-size: 14px; color: var(--pjf-ink); }
.pjf-company p { margin: 0 0 6px; }
.pjf-company a { text-decoration: underline; text-underline-offset: 3px; }

/* structures */
.pjf-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 2.85fr); gap: 36px 64px; align-items: start; }
.pjf-grid .pjf-company { grid-column: 1; }
.pjf-grid--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pjf-grid--split .pjf-cols { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.pjf-al--center .pjf-grid { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
.pjf-al--center .pjf-about { margin-left: auto; margin-right: auto; }
.pjf-al--center .pjf-socials, .pjf-al--center .pjf-bottom { justify-content: center; }
.pjf-al--center .pjf-cols { width: 100%; }
.pjf-al--center .pjf-token { justify-items: center; }
.pjf-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.pjf-center .pjf-about { margin-left: auto; margin-right: auto; }
.pjf-center .pjf-socials { justify-content: center; }
.pjf-center .pjf-token { justify-items: center; }
.pjf-center .pjf-company { margin-top: 16px; }
.pjf-inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 20px; font-weight: 550; }
.pjf-line { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.pjf-line .pjf-brand img { width: 28px; height: 28px; }
.pjf-line .pjf-brand b { font-size: 16px; }
.pjf-line .pjf-inline { margin: 0; justify-content: flex-start; font-size: 14.5px; }
.pjf-line .pjf-socials { margin: 0 0 0 auto; }
.pjf--bar .pjf-bottom { margin-top: 16px; }
.pjf-wordmark {
    margin: clamp(28px, 4vw, 56px) 0 -.12em; font: 800 clamp(44px, 9vw, 230px)/.82 var(--pj-font-heading, inherit); letter-spacing: -.055em; text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: clip; user-select: none;
    background: linear-gradient(180deg, var(--pjf-ink) 0%, color-mix(in srgb, var(--pjf-ink) 18%, transparent) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pjf-band {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-bottom: calc(var(--pjf-sp) * .9);
    padding: clamp(28px, 4vw, 52px); border-radius: calc(var(--pj-radius, 18px) + 10px); color: #fff;
    background: radial-gradient(70% 120% at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(120deg, var(--pj-primary, #0a54e0), var(--pj-accent, #14b8a6));
    box-shadow: 0 30px 60px -34px rgba(var(--pj-primary-rgb, 10, 84, 224), .8);
}
.pjf-band h2 { margin: 0; font: 800 calc(clamp(26px, 3.4vw, 44px) * var(--pj-h-scale, 1))/1.08 var(--pj-font-heading, inherit); letter-spacing: -.02em; color: #fff; }
.pjf-band p { margin: 10px 0 0; max-width: 52ch; opacity: .9; }
.pjf-band__go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.pjf-band .pjf-socials { margin: 0; --pjf-ink: #fff; --pjf-line: rgba(255, 255, 255, .3); --pjf-card: rgba(255, 255, 255, .12); }
.pjf-band .pjf-socials--tiles { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); min-width: min(100%, 360px); }
.pjf-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: var(--pj-btn-radius, var(--pj-pill, 999px)); background: #fff; color: #0b1220 !important; font-weight: 700; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45); transition: transform .2s; }
.pjf-btn:hover { transform: translateY(-2px); }
.pjf-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.pjf-card { padding: 22px; border-radius: calc(var(--pj-radius, 18px) + 2px); background: var(--pjf-card); border: 1px solid var(--pjf-line); }
.pjf-bg--page .pjf-card, .pjf-bg--soft .pjf-card { background: var(--pj-card, #fff); }
.pjf-card--brand { grid-column: span 2; }
.pjf-grid--token { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); }
.pjf-tokencard { padding: 24px; border-radius: calc(var(--pj-radius, 18px) + 4px); background: var(--pj-card, #fff); border: 1px solid var(--pjf-line); box-shadow: 0 24px 48px -32px rgba(15, 23, 42, .4); }
.pjf-bg--primary .pjf-tokencard, .pjf-bg--dark .pjf-tokencard, .pjf-bg--gradient .pjf-tokencard, .pjf-bg--mesh .pjf-tokencard { background: var(--pjf-card); box-shadow: none; }
.pjf-tokencard__head { display: flex; align-items: center; gap: 12px; }
.pjf-tokencard__head img { width: 52px; height: 52px; border-radius: 50%; object-fit: contain; }
.pjf-tokencard__head div { display: grid; }
.pjf-tokencard__head b { font: 800 22px/1.15 var(--pj-font-heading, inherit); color: var(--pjf-ink); }
.pjf-tokencard__head small { color: var(--pjf-muted); font-size: 13px; }

/* bottom line */
.pjf-disclaimer { margin: 28px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--pjf-muted); max-width: 110ch; }
.pjf-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: calc(var(--pjf-sp) * .7); padding-top: 18px; border-top: 1px solid var(--pjf-line); font-size: 13.5px; color: var(--pjf-muted); }
.pjf-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pjf-legal a:hover { color: var(--pjf-ink); }
.pjf-powered { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--pjf-line); font-size: 12.5px; }
.pjf-powered b { color: var(--pjf-ink); }
.pjf-top { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--pjf-line); background: transparent; color: var(--pjf-ink); cursor: pointer; transition: transform .2s, background .2s; }
.pjf-powered + .pjf-top { margin-left: 0; }
.pjf-bottom > .pjf-top:first-of-type:not(.pjf-powered + .pjf-top) { margin-left: auto; }
.pjf-top:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--pjf-ink) 8%, transparent); }
.pjf-al--center .pjf-powered, .pjf--center .pjf-powered { margin-left: 0; }
.pjf--center .pjf-bottom { justify-content: center; }

@media (max-width: 991px) {
    .pjf-grid, .pjf-grid--split, .pjf-grid--token { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .pjf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pjf-card--brand { grid-column: auto; }
    .pjf-line .pjf-socials { margin-left: 0; }
    .pjf-powered { margin-left: 0; }
}
@media (max-width: 480px) {
    .pjf-band__go, .pjf-btn { width: 100%; justify-content: center; }
}
