/* The final page journey. Existing product colours and price components stay
   owned by their original styles. Navigation and film layout are shared. */
body[data-marketing-journey] {
  --mj-header-height: 82px;
  --mj-ink: #263b3a;
  --mj-paper: #fbfcf9;
  --mj-line: #dce4df;
  --mj-accent: var(--cx-brand, #155d51);
}
body[data-marketing-journey] [id] {
  scroll-margin-top: calc(var(--mj-header-height) + 22px);
}
body[data-marketing-journey] .mj-page-top {
  display: block;
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 1px;
  scroll-margin-top: 0;
  pointer-events: none;
}
body[data-marketing-journey] .mj-anchor {
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
}
body[data-marketing-journey] .mj-skip {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 1001;
  padding: 12px 18px;
  transform: translateY(-180%);
  background: #fff;
  color: #142c29;
  border: 2px solid currentColor;
  border-radius: 8px;
}
body[data-marketing-journey] .mj-skip:focus {
  transform: translateY(0);
}

/* A single header remains available while reading, including on demo pages. */
body[data-marketing-journey] .mj-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--mj-paper);
  border: 0;
  border-bottom: 1px solid var(--mj-line);
  box-shadow: 0 3px 16px rgb(26 47 37 / 5%);
}
body[data-marketing-journey] .mj-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  grid-template-areas: "brand navigation websites language top";
  align-items: center;
  gap: 14px;
  width: min(1440px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  padding: 10px 0;
}
body[data-marketing-journey] .mj-header-inner > * { min-width: 0; }
body[data-marketing-journey] .mj-brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: auto;
  min-width: 0;
  max-width: 205px;
  margin: 0;
  color: var(--mj-accent);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.045em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body[data-marketing-journey] .mj-brand > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
body[data-marketing-journey] .mj-brand :is(img, svg) {
  display: block;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  max-width: 100%;
  margin: 0;
  object-fit: contain;
}
body[data-marketing-journey][data-mj-product="mmf"] .mj-brand img {
  width: 144px;
  height: 50px;
}
body[data-marketing-journey] .mj-brand small {
  font-size: 1em;
  font-weight: inherit;
}
body[data-marketing-journey] .mj-header #main-nav {
  grid-area: navigation;
  position: static;
  inset: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: auto;
  min-width: 0;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  overflow: visible;
}
body[data-marketing-journey] .mj-header #main-nav > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 9px 8px;
  color: var(--mj-ink);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
body[data-marketing-journey] .mj-header #main-nav > a:hover,
body[data-marketing-journey] .mj-header #main-nav > a[aria-current="location"] {
  background: #edf2ed;
  color: var(--mj-accent);
}
body[data-marketing-journey] .mj-header #main-nav > .mj-login {
  color: var(--mj-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
body[data-marketing-journey] .mj-websites {
  grid-area: websites;
  position: relative;
  align-self: center;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}
body[data-marketing-journey] .mj-websites > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 42px;
  margin: 0;
  padding: 9px 12px;
  color: var(--mj-ink);
  background: #fff;
  border: 1px solid var(--mj-line);
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
body[data-marketing-journey] .mj-websites > summary::-webkit-details-marker { display: none; }
body[data-marketing-journey] .mj-websites > summary::after { content: none; }
body[data-marketing-journey] .mj-websites > summary > span:first-child { min-width: 0; overflow-wrap: anywhere; }
body[data-marketing-journey] .mj-websites > summary > span:last-child { flex: 0 0 auto; }
body[data-marketing-journey] .mj-website-options {
  position: absolute;
  inset: calc(100% + 9px) 0 auto auto;
  display: grid;
  gap: 4px;
  width: 278px;
  max-width: calc(100vw - 32px);
  margin: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--mj-line);
  border-radius: 10px;
  box-shadow: 0 14px 35px rgb(20 40 30 / 15%);
}
body[data-marketing-journey] .mj-website-options a {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  color: var(--mj-ink);
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  text-decoration: none;
}
body[data-marketing-journey] .mj-website-options a:is(:hover, [aria-current]) { background: #edf2ed; }
body[data-marketing-journey] .mj-website-options small { color: #5b6b66; font-size: 11px; font-weight: 400; }
body[data-marketing-journey] .mj-language {
  grid-area: language;
  position: relative;
  display: grid;
  place-items: center;
  width: 39px;
  height: 42px;
  margin: 0;
  color: var(--mj-ink);
  border: 1px solid var(--mj-line);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
}
body[data-marketing-journey] .mj-language-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
body[data-marketing-journey] .mj-top {
  grid-area: top;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  color: var(--mj-accent);
  background: #fff;
  border: 1px solid var(--mj-line);
  border-radius: 7px;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
}
body[data-marketing-journey] .mj-menu-button {
  grid-area: menu;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 42px;
  margin: 0;
  padding: 8px 12px;
  color: var(--mj-ink);
  background: #fff;
  border: 1px solid var(--mj-line);
  border-radius: 7px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
body[data-marketing-journey] .mj-header :is(a, button, summary):focus-visible,
body[data-marketing-journey] .mj-language:focus-within {
  outline: 3px solid var(--mj-accent);
  outline-offset: 3px;
}

/* Film and screenshot text have room to remain legible. No cropped video,
   transform zoom, blur filter or compressed sidebar layout. */
body[data-marketing-journey] .mj-film,
body[data-marketing-journey] .mj-demo-films,
body[data-marketing-journey] .mj-home-film {
  width: min(1480px, calc(100% - 48px));
  max-width: 1480px;
  margin: 0 auto;
}
body[data-marketing-journey] .mj-film {
  display: block;
  padding: clamp(36px, 5vw, 70px) 0;
  background: transparent;
  border: 0;
}
body[data-marketing-journey] .mj-film-heading {
  position: static;
  display: block;
  width: auto;
  max-width: 850px;
  margin: 0 0 25px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
body[data-marketing-journey] .mj-film-heading h2 {
  margin: 0 0 13px;
  color: var(--mj-ink);
  font-size: clamp(27px, 3.1vw, 43px);
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: balance;
}
body[data-marketing-journey] .mj-film-heading p { max-width: 70ch; margin: 0 0 12px; line-height: 1.7; }
body[data-marketing-journey] .mj-eyebrow { color: var(--mj-accent); font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
body[data-marketing-journey] .mj-film-player { width: 100%; margin: 0; }
body[data-marketing-journey] :is(.mj-film, .mj-demo-films, .mj-home-film) video,
body[data-marketing-journey] [data-mmf-video-panel] video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0;
  object-fit: contain;
  background: #101b18;
  border: 1px solid var(--mj-line);
  border-radius: 8px;
  filter: none;
  transform: none;
  image-rendering: auto;
}
body[data-marketing-journey] .mj-film-player figcaption { margin-top: 12px; color: #57655f; font-size: 12px; line-height: 1.6; }
body[data-marketing-journey] .mj-film-follow-up { max-width: 780px; margin: 28px 0 0; }
body[data-marketing-journey] .mj-mmf-home-film { width: 100%; max-width: none; margin: 30px 0; }
body[data-marketing-journey] .mj-home-film .lb-result-layout { display: block; }
body[data-marketing-journey] .mj-home-film .lb-overview-player { width: 100%; max-width: none; }
body[data-marketing-journey] .mj-home-film .lb-result-copy { max-width: 780px; margin-top: 28px; }
body[data-marketing-journey] .mj-demo-films :is(.cw-section, .cw-layout, .cw-viewer) { width: 100%; max-width: none; }
body[data-marketing-journey] .cw-layout { display: block; }
body[data-marketing-journey] .cw-video-wrap { width: 100%; max-width: none; }
body[data-marketing-journey] .cw-menu { width: 100%; margin-top: 24px; padding: 24px 0 0; border: 0; border-top: 1px solid var(--mj-line); }
body[data-marketing-journey] .cw-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
body[data-marketing-journey] .cw-list > li { min-width: 0; }
body[data-marketing-journey] .cw-chapter-link { height: 100%; }
body[data-marketing-journey] .cw-course-heading { position: static; }
body[data-marketing-journey] .mj-features > h2 { max-width: 26ch; }
body[data-marketing-journey] .mj-features > p { max-width: 72ch; }
body[data-marketing-journey] .mj-pricing-region { padding-top: 24px; }
body[data-marketing-journey] .mj-pricing-region > #prijzen { margin-top: 0; }
body[data-marketing-journey] .mj-pricing-region > .cx-price-options { margin-bottom: 55px; }
body[data-marketing-journey] .mj-tool-pricing { padding-top: 60px; padding-bottom: 60px; }
body[data-marketing-journey] .mj-tool-pricing > h2 { margin-bottom: 26px; }
body[data-marketing-journey] [data-mmf-video-panel][hidden] { display: none !important; }
body[data-marketing-journey] [data-mmf-video-tabs] { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
body[data-marketing-journey] [data-mmf-video-select] { min-height: 44px; }
body[data-marketing-journey] [data-mmf-video-select][aria-selected="true"] { outline: 2px solid currentColor; outline-offset: 2px; }

@media (max-width: 1180px) {
  body[data-marketing-journey] .mj-header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto auto auto;
    grid-template-areas: "brand websites language top menu" "navigation navigation navigation navigation navigation";
    gap: 8px 12px;
    min-height: 72px;
    padding: 9px 0;
  }
  body[data-marketing-journey] .mj-header #main-nav { justify-content: flex-start; padding-top: 5px; }
  body[data-marketing-journey] .mj-header[data-mj-navigation-ready] #main-nav:not(.is-open) { display: none; }
  body[data-marketing-journey] .mj-header[data-mj-navigation-ready] .mj-menu-button { display: inline-flex; }
  body[data-marketing-journey] .mj-header #main-nav > a { padding: 11px 13px; }
  body[data-marketing-journey] .cw-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body[data-marketing-journey] { --mj-header-height: 112px; }
  body[data-marketing-journey] .mj-header-inner {
    width: calc(100% - 28px);
    grid-template-columns: minmax(0, 1fr) auto 42px;
    grid-template-areas: "brand websites top" "menu menu language" "navigation navigation navigation";
    gap: 6px 9px;
    padding: 8px 0;
  }
  body[data-marketing-journey] .mj-brand { gap: 6px; max-width: 100%; font-size: 18px; }
  body[data-marketing-journey] .mj-brand :is(img, svg) { width: 24px; height: 24px; }
  body[data-marketing-journey][data-mj-product="mmf"] .mj-brand img { width: 117px; height: 38px; }
  body[data-marketing-journey] .mj-websites { max-width: 127px; }
  body[data-marketing-journey] .mj-websites > summary { padding: 8px 9px; font-size: 11px; }
  body[data-marketing-journey] .mj-website-options { right: -51px; }
  body[data-marketing-journey] .mj-language { width: 42px; height: 35px; }
  body[data-marketing-journey] .mj-menu-button { min-height: 35px; justify-content: space-between; }
  body[data-marketing-journey] .mj-header #main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    max-height: calc(100dvh - 130px);
    padding: 9px 0 2px;
    overflow: auto;
    overscroll-behavior: contain;
  }
  body[data-marketing-journey] .mj-header #main-nav > a { justify-content: flex-start; padding: 12px 10px; white-space: normal; }
  body[data-marketing-journey] :is(.mj-film, .mj-demo-films, .mj-home-film) { width: calc(100% - 28px); }
  body[data-marketing-journey] .mj-film-player video { border-radius: 5px; }
  body[data-marketing-journey] .cw-list { grid-template-columns: 1fr; }
}
@media (max-width: 359px) {
  body[data-marketing-journey] .mj-header-inner { width: calc(100% - 20px); gap: 6px; }
  body[data-marketing-journey] .mj-brand { font-size: 16px; }
  body[data-marketing-journey] .mj-brand :is(img, svg) { width: 20px; height: 20px; }
  body[data-marketing-journey]:not([data-mj-product="mmf"]) .mj-brand :is(img, svg) { display: none; }
  body[data-marketing-journey] .mj-websites { max-width: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-marketing-journey] *, body[data-marketing-journey] *::before, body[data-marketing-journey] *::after { scroll-behavior: auto !important; }
}
@media print {
  body[data-marketing-journey] .mj-header { position: static; box-shadow: none; }
  body[data-marketing-journey] :is(.mj-websites, .mj-language, .mj-top, .mj-menu-button, .mj-skip) { display: none; }
}
