/* The illustrated header used by the public previews. */
.header a { color: inherit; text-decoration: none; }
.header { --header-height: 80px; --brand-width: 188px; position: relative; z-index: 4; background: white; }
.header-inner { position: relative; z-index: 1; width: min(1740px, calc(100% - 64px)); min-height: var(--header-height); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.header .brand { display: inline-flex; min-height: 0; flex-shrink: 0; align-items: center; gap: 9px; font-size: 20px; font-weight: 730; letter-spacing: -.052em; }
.navigation { display: flex; flex: 1; justify-content: flex-end; align-items: center; gap: 32px; }
.navigation nav { margin-inline: auto; }
.navigation nav, .account { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.navigation a:not(.button), .nav-group summary { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 580; }
.navigation :is(a:not(.button), summary):hover, .nav-group[open] summary { color: var(--accent); }
.navigation :is(a[aria-current="page"]:not(.nav-overview), .nav-group:has(a[aria-current="page"]) > summary) { color: var(--accent); }
.navigation a[aria-current="page"]:not(.nav-overview) { text-decoration: underline; text-underline-offset: .24em; }
.navigation .nav-overview[aria-current="page"] strong { text-decoration: underline; text-underline-offset: .24em; }
.navigation nav > a:not(.button), .nav-group summary, .account > a:not(.button), .header .button.compact { font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .015em; white-space: nowrap; }
.navigation nav > a:not(.button), .nav-group summary, .account > a:not(.button) { transition: color .18s var(--ease); }
.navigation nav > a:focus-visible, .nav-group summary:focus-visible { outline: none; text-decoration: underline 2px var(--accent); text-underline-offset: .35em; }
.header .button.compact { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 6px 7px 6px 17px; border: 1px solid transparent; border-radius: 100px; background: #161417; color: white; transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.header .button.compact:hover { transform: translateY(-2px); box-shadow: 0 8px 20px #19132444; }
.header .button-arrow { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: white; color: #161417; font-size: 17px; transition: rotate .22s var(--ease); }
.header .button:hover .button-arrow { rotate: 11deg; }
.nav-group summary { position: relative; gap: 9px; cursor: pointer; list-style: none; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { width: 6px; height: 6px; border: solid currentColor; border-width: 0 1px 1px 0; translate: 0 -1.5px; rotate: 45deg; content: ""; transition: translate .2s var(--ease), rotate .2s var(--ease); }
.nav-group[open] summary::after { translate: 0 1.5px; rotate: 225deg; }
.nav-panel { display: grid; gap: 8px; padding: 8px; background: white; border: 1px solid #e9e3ee; border-radius: 18px; }
.nav-group[open] .nav-panel { animation: nav-pop .18s var(--ease) both; }
.nav-panel-wide { grid-template-columns: var(--nav-art-width) minmax(0, 1fr); }
.nav-directory { display: grid; align-items: center; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; padding: 6px 4px; }
.nav-resources .nav-directory { grid-template-columns: 1fr; }
.nav-directory > div { display: flex; flex-direction: column; min-width: 0; }
.nav-panel-title { margin: 0 9px 3px; color: #62556d; font-size: 12px; font-weight: 720; letter-spacing: .045em; text-transform: uppercase; }
.navigation .nav-panel a:not(.button) { position: relative; min-height: 42px; padding: 4px 9px; font-size: 16px; font-weight: 620; border-radius: 8px; transition: color .2s var(--ease); }
.nav-panel a::after,
.public-footer a:not(.brand, .public-footer-mark)::after { position: absolute; inset: auto var(--link-line-end, 9px) var(--link-line-bottom, 3px) var(--link-line-start, 9px); height: 1px; background: currentColor; opacity: .6; transform: scaleX(0); transform-origin: left; transition: transform .24s var(--ease); content: ""; }
.nav-panel a:is(:hover, :focus-visible)::after,
.public-footer a:not(.brand, .public-footer-mark):is(:hover, :focus-visible)::after { transform: scaleX(1); }
.nav-directory a::before,
.public-footer a:not(.brand, .public-footer-mark)::before { position: absolute; inset-block-start: calc(50% - 3px); inset-inline-end: var(--link-arrow-end, 10px); width: 6px; height: 6px; border: solid currentColor; border-width: 1px 1px 0 0; opacity: 0; transform: translateX(-5px) rotate(45deg); transition: transform .24s var(--ease), opacity .2s var(--ease); content: ""; }
.nav-directory a:is(:hover, :focus-visible)::before,
.public-footer a:not(.brand, .public-footer-mark):is(:hover, :focus-visible)::before { opacity: 1; transform: translateX(0) rotate(45deg); }
.navigation .nav-directory a:not(.button) { padding-inline-end: 22px; }
.navigation .nav-panel a.nav-overview { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 4px; min-height: 154px; padding: 80px 13px 12px; border-radius: 12px; background: var(--nav-art-base); color: #37244e; }
.nav-overview::before { position: absolute; inset: 0 0 auto; height: 82px; border-radius: 12px 12px 0 0; background: linear-gradient(0deg,var(--nav-art-base),transparent 40%), var(--nav-art) center var(--nav-art-y) / cover no-repeat; content: ""; pointer-events: none; }
.nav-product { --nav-panel-width: 638px; --nav-panel-offset: -40%; --nav-art-width: 210px; --nav-art-base: #281433; --nav-art: url(assets/nav-product.webp); --nav-art-y: 24%; }
.nav-resources { --nav-panel-width: 450px; --nav-art-width: 158px; --nav-art-base: #eee6f7; --nav-art: url(assets/nav-resources.webp); --nav-art-y: 45%; }
.navigation .nav-product a.nav-overview { color: white; }
.nav-panel strong { font-size: 17px; letter-spacing: -.018em; line-height: 1.2; }
.nav-panel small { color: #62566d; font-size: 13px; font-weight: 520; line-height: 1.4; }
.nav-product .nav-overview small { color: #eee3fc; }
.nav-overview::after { inset-inline: 13px; inset-block-end: 6px; }
.nav-overview-arrow { position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #3f2a58; transition: box-shadow .22s var(--ease); }
.nav-overview:is(:hover, :focus-visible) .nav-overview-arrow { box-shadow: 0 0 0 4px #c4a5e89c; }
.nav-audience { --nav-panel-width: 510px; grid-template-columns: 116px repeat(2, minmax(0, 1fr)); }
.nav-audience-art { min-height: 92px; border-radius: 12px; background: #e8dcd7 url(assets/nav-audience.webp) center 48% / cover no-repeat; }
.navigation .nav-audience a:not(.button) { flex-direction: column; justify-content: center; align-items: flex-start; gap: 5px; padding: 11px 10px; border-radius: 10px; }
@media (min-width: 1081px) {
  .navigation nav { gap: clamp(26px, calc(10vw - 82px), 62px); }
  .account { gap: clamp(26px, calc(9vw - 71px), 59px); }
  .navigation nav > a:not(.button), .nav-group summary { min-height: var(--header-height); }
  .nav-group { position: relative; }
  .nav-panel { position: absolute; z-index: 2; inset-block-start: calc(100% + 8px); inset-inline-start: 50%; translate: var(--nav-panel-offset, -50%) 0; width: min(var(--nav-panel-width), calc(100vw - 48px)); box-shadow: 0 3px 9px #28193716, 0 19px 42px -12px #200c3d58; }
  .nav-panel::before { position: absolute; inset: -9px 0 auto; height: 10px; content: ""; }
  .nav-group[open] summary { z-index: 3; }
  .nav-group[open] summary::before { position: absolute; bottom: -14px; left: calc(50% - 6px); width: 12px; height: 12px; border: solid #e9e3ee; border-width: 1px 0 0 1px; background: white; rotate: 45deg; content: ""; pointer-events: none; }
}
@keyframes nav-pop { from { opacity: .5; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (min-width: 1081px) and (prefers-reduced-motion: no-preference) {
  @supports selector(details::details-content) and (transition-behavior: allow-discrete) and (interactivity: inert) {
    /* Reveal links immediately so the next Tab can enter the opened group. */
    .nav-group:not([open])::details-content { transition: content-visibility .16s allow-discrete; }
    .nav-group:not([open]) .nav-panel {
      opacity: 0;
      transform: translateY(-4px);
      interactivity: inert;
      pointer-events: none;
    }
    .nav-group .nav-panel { transition: opacity .16s var(--ease), transform .16s var(--ease); }
    .nav-group[open] .nav-panel { animation: none; }
    .nav-group[open] { z-index: 1; }
  }
}
.nav-drawer { position: fixed; inset: 0 0 0 auto; width: min(90vw,420px); max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: white; color: var(--ink); box-shadow: -12px 0 50px #160f2340; }
.nav-drawer[open] { animation: drawer-in .24s var(--ease) both; }
.nav-drawer::backdrop { background: #151019b3; }
body:has(.nav-drawer[open]) { overflow: hidden; }
@keyframes drawer-in { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (transition-behavior: allow-discrete) and (overlay: auto) {
    .nav-drawer {
      opacity: 0;
      transform: translateX(22px);
      transition: opacity .2s var(--ease), transform .24s var(--ease), display .24s allow-discrete, overlay .24s allow-discrete;
    }
    .nav-drawer[open] { opacity: 1; transform: none; animation: none; }
    .nav-drawer:not([open]), .nav-drawer:not([open])::backdrop { pointer-events: none; }
    .nav-drawer::backdrop {
      background-color: transparent;
      transition: background-color .22s var(--ease), display .24s allow-discrete, overlay .24s allow-discrete;
    }
    .nav-drawer[open]::backdrop { background-color: #151019b3; }
    @starting-style {
      .nav-drawer[open] { opacity: 0; transform: translateX(22px); }
      .nav-drawer[open]::backdrop { background-color: transparent; }
    }
  }
}
.drawer-content { min-height: 100%; padding: 22px clamp(17px,7vw,35px) 32px; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: clamp(16px,5vw,28px); }
.drawer-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: none; border-radius: 50%; background: transparent; color: #514d55; font-size: 30px; font-weight: 400; line-height: 1; cursor: pointer; }
.menu, .drawer-close, .nav-group summary, .nav-panel a { -webkit-tap-highlight-color: transparent; }
.drawer-close:hover { background: #f4f1f5; }
.menu { display: none; }
.header button { font: inherit; }
.header .drawer-close { font-size: 30px; line-height: 1; }
.menu { min-height: 44px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; cursor: pointer; }
@media (max-width: 1080px) {
  .header { --header-height: 62px; --brand-width: 152px; }
  .header-inner { flex-wrap: wrap; gap: 0; width: calc(100% - 2 * clamp(20px, 3.6vw, 28px)); }
  .header .brand { font-size: 18px; }
  .navigation { flex: 1 0 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 5px 0 14px; }
  .navigation nav { margin-inline: 0; display: grid; gap: 0; }
  .navigation nav > a:not(.button), .nav-group summary { display: flex; width: 100%; min-height: 48px; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 610; text-transform: none; letter-spacing: normal; }
  .nav-panel { grid-template-columns: 1fr; gap: 6px; margin: 8px 0; padding: 0 0 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-directory { grid-template-columns: 1fr; gap: 4px; padding: 3px 0 0; }
  .nav-panel-title { margin-bottom: 2px; font-size: 11px; }
  .navigation .nav-panel a:not(.button) { min-height: 44px; padding-inline: 8px; font-size: 15px; }
  .navigation .nav-panel a.nav-overview { min-height: 84px; justify-content: center; padding: 10px clamp(79px, 24vw, 98px) 10px 12px; }
  .nav-overview::before { inset: 0 0 0 auto; width: clamp(76px, 23vw, 94px); height: auto; border-radius: 0 12px 12px 0; background: linear-gradient(90deg,var(--nav-art-base),transparent 52%), var(--nav-art) 56% center / cover no-repeat; }
  .nav-audience { grid-template-columns: minmax(0, 1fr) clamp(60px, 22vw, 90px); }
  .nav-audience-art { grid-area: 1 / 2 / span 2; min-height: 0; }
  .navigation .nav-audience a:not(.button) { grid-column: 1; padding-block: 8px; }
  .navigation .account { flex-wrap: wrap; justify-content: space-between; padding-top: 9px; }
  .header.is-enhanced .menu { display: inline-grid; place-items: center; width: 44px; border-color: transparent; background: transparent; }
  .menu-mark { position: relative; width: 22px; border-block-start: 1px solid currentColor; }
  .menu-mark::before, .menu-mark::after { content: ""; position: absolute; width: 13px; border-block-start: 1px solid currentColor; }
  .menu-mark::before { top: -5px; right: 0; }
  .menu-mark::after { bottom: -5px; left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .header *, .header *::before, .header *::after { animation: none !important; transition: none !important; }
  .public-footer a:not(.brand, .public-footer-mark)::before, .public-footer a:not(.brand, .public-footer-mark)::after { transition: none; }
  .header .button.compact:hover { transform: none; }
  .header .button:hover .button-arrow { rotate: none; }
}
