/* custom properties, scoped to the chrome instead of :root */
.hdr, #mnav, .ftr {
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-tap: cubic-bezier(.3, .7, .4, 1);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --grad: linear-gradient(105deg, #6142f7, #7a5cff 55%, #3e9bff);
  --gutter: clamp(18px, 3.5vw, 28px);
  --indigo: #5b3bf5;
  --ink: #17162a;
  --ink-2: #2b2940;
  --line: #ebe8f2;
  --line-2: #e1ddea;
  --muted: #4f4d66;
  --s4: 16px;
  --s5: 20px;
  --s6: 28px;
  --s7: 40px;
  --s8: 56px;
  --w-lg: 1120px;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-family: var(--f-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
:where(.hdr, #mnav, .ftr) *, :where(.hdr, #mnav, .ftr) *::before, :where(.hdr, #mnav, .ftr) *::after { box-sizing: border-box; }
:where(.hdr, #mnav, .ftr) * { margin: 0; padding: 0; }
:where(.hdr, #mnav, .ftr) img { display: block; max-width: 100%; height: auto; }
:where(.hdr, #mnav, .ftr) a { color: inherit; text-decoration: none; }
:where(.hdr, #mnav, .ftr) button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:where(.hdr, #mnav, .ftr) ul, :where(.hdr, #mnav, .ftr) ol { list-style: none; }
:where(.hdr, #mnav, .ftr) h1, :where(.hdr, #mnav, .ftr) h2, :where(.hdr, #mnav, .ftr) h3, :where(.hdr, #mnav, .ftr) h4 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.ico {width: 1em; height: 1em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;}
.wrap {width: 100%; max-width: calc(var(--w-lg) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter);}
.cwpb {display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .92rem; line-height: 1; white-space: nowrap; transition: transform .35s var(--ease), box-shadow .3s var(--ease), background-color .2s, border-color .2s, color .2s;}
.cwpb-sm {min-height: 36px; padding: 0 16px; font-size: .86rem;}
.cwpb-primary {background: var(--grad); color: #fff; box-shadow: 0 8px 18px -10px rgba(97, 66, 247, .7);}
.cwpb-primary:hover {transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(97, 66, 247, .6);}
.cwpb-outline {background: #fff; border-color: var(--line-2); color: var(--ink);}
.cwpb-outline:hover {border-color: #c4bfd4; background: #fcfbff;}
.cwpb-ghost {color: var(--ink-2); padding: 0 12px;}
.cwpb-ghost:hover {background: rgba(23, 22, 42, .05);}
.hdr {position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;}
.hdr.is-scrolled {border-bottom-color: var(--line); box-shadow: 0 6px 18px -16px rgba(23, 22, 42, .25);}
.hdr-in {display: flex; align-items: center; gap: var(--s5); height: 64px;}
.brand img {width: 122px;}
.hdr-nav {display: flex; gap: 2px; margin-inline: auto;}
.hdr-nav a {position: relative; padding: 7px 11px; border-radius: 9px; font-size: .88rem; font-weight: 500; color: var(--muted); transition: color .2s, background-color .2s;}
.hdr-nav a:hover {color: var(--ink); background: rgba(23, 22, 42, .04);}
.hdr-nav a.is-current {color: var(--ink);}
.hdr-nav a.is-current::after {content: ""; position: absolute; left: 11px; right: 11px; bottom: 1px; height: 2px; border-radius: 2px; background: var(--indigo);}
.hdr-cta {display: flex; align-items: center; gap: 4px;}
.hdr-toggle {display: none; place-items: center; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-2); font-size: 19px; background: #fff;}
.mnav {display: none;}
.ftr {background: #17122f; color: #b8b3cf;}
.ftr-in {display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: var(--s6); padding-block: var(--s8) var(--s7);}
.ftr-brand img {width: 136px;}
.ftr-brand p {margin-top: var(--s4); max-width: 30ch; font-size: .88rem; line-height: 1.6;}
.ftr-col {display: grid; gap: 9px; align-content: start;}
.ftr-h {font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: #8a84ab; margin-bottom: 4px;}
.ftr-col a {font-size: .88rem; color: #e1ddf2; width: max-content; max-width: 100%;}
.ftr-col a:hover {color: #fff; text-decoration: underline; text-underline-offset: 3px;}
.ftr-wc {background: #1f1940; border-block: 1px solid rgba(255, 255, 255, .05);}
.ftr-wc ul {display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-block: 22px;}
.ftr-wc li {display: flex; flex-direction: column; align-items: center; min-width: 90px; padding: 9px 14px; border-radius: 9px; background: #2a2352; border: 1px solid rgba(255, 255, 255, .1); line-height: 1.25;}
.ftr-wc li span {font-size: 10.5px; font-weight: 600; color: #e9e6f7;}
.ftr-wc li b {font-family: var(--f-display); font-size: 1.05rem; color: #fff;}
.ftr-wc li small {font-family: var(--f-mono); font-size: 9.5px; color: #a7a1c4;}
.ftr-base {display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding-block: var(--s5); font-size: .84rem;}
.ftr-legal {display: flex; gap: 18px; justify-content: center;}
.ftr-legal a:hover {color: #fff;}
.ftr-social {display: flex; gap: 8px; justify-content: flex-end;}
.ftr-social a {display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); color: #e1ddf2; font-size: 15px; transition: border-color .2s, background-color .2s;}
.ftr-social a:hover {border-color: #fff; background: rgba(255, 255, 255, .06);}
.ftr-social .ico[viewBox], .ftr-social svg {stroke-width: 1.7;}
.cwpb {transition: transform .3s var(--e-out), box-shadow .3s var(--e-out), background-color .2s, border-color .2s, color .2s, background-position .7s var(--e-out);}
.cwpb:active {transform: translateY(0) scale(.97); transition-duration: .12s; transition-timing-function: var(--e-tap);}
.cwpb-primary {background: linear-gradient(105deg, #6142f7, #7a5cff 35%, #3e9bff 65%, #7a5cff) 0 0 / 220% 100%;}
.cwpb-primary:hover {background-position: 70% 0;}
.cwpb .ico {transition: transform .35s var(--e-out);}
.cwpb:hover .ico {transform: translateX(2px);}
.hdr-nav a::after {transform-origin: left;}
.hdr-nav a.is-current::after {animation: nav-line .5s var(--e-out);}

@media (max-width: 1024px) {
  .hdr-nav, .hdr-signin {display: none;}
  .hdr-toggle {display: grid;}
  .hdr-cta {margin-left: auto;}
  .mnav {display: block; position: absolute; left: 0; right: 0; top: 100%; padding: 6px var(--gutter) 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -24px rgba(23, 22, 42, .3); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;}
  .mnav.is-open {visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .3s var(--ease), visibility 0s;}
  .mnav > a {display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink-2);}
  .mnav-cta {display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px;}
  .ftr-in {grid-template-columns: repeat(4, 1fr);}
  .ftr-brand {grid-column: 1 / -1;}
}

@media (max-width: 680px) {
  .hdr-in {height: 58px;}
  .brand img {width: 108px;}
  .hdr-cta .cwpb-primary {display: none;}
  .ftr-in {grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s5);}
  .ftr-wc ul {gap: 8px;}
  .ftr-wc li {min-width: 0; flex: 1 1 calc(33% - 8px); padding: 8px 6px;}
  .ftr-base {grid-template-columns: 1fr; justify-items: start;}
  .ftr-legal {justify-content: flex-start;}
  .ftr-social {justify-content: flex-start;}
}

@keyframes nav-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* the theme's header, its off-canvas menu and its three footer sections */
body > .header,
body > #offcanvasRight,
body > .footer-top-section,
body > .footer-top-middle-section,
body > .footer { display: none !important; }

/* A SEPARATOR AT REST, which the homepage does not need and these pages do.
 *
 * On the homepage the header sits on a tinted hero, so its own edge is
 * visible and the border only has to appear once you scroll past it. Every
 * page here opens on white content directly under a white header, and with a
 * transparent border there is nothing to show where one ends and the other
 * begins. Same line, same colour, just not conditional. */
.hdr { border-bottom-color: var(--line); }

/* MAKE `position: sticky` POSSIBLE AT ALL.
 *
 * The theme sets `overflow: hidden auto` on both <html> and <body> — almost
 * certainly just to stop something wide causing a horizontal scrollbar. But
 * `overflow: hidden` makes an element a scrolling box, and a sticky element
 * sticks to its nearest scrolling ancestor, so the header was sticking to a
 * box that never scrolls: at 700px down, its top measured -700px. It had
 * `position: sticky` the whole time and behaved exactly like `static`. The
 * same cause stopped `scroll` events reaching window.
 *
 * `overflow-x: clip` clips the identical overflow WITHOUT creating a scroll
 * container, which is what that declaration wanted in the first place. Behind
 * @supports so a browser without `clip` keeps the theme's own behaviour
 * rather than gaining a horizontal scrollbar.
 */
@supports (overflow-x: clip) {
  html { overflow-x: clip; overflow-y: visible; }
  body { overflow: visible; }
}
