/* Module subpages (/module/...). Reuses tokens and type scale from style.css. */
.mp-hero {
  background: var(--Black, #1f1f23);
  color: #fff;
  padding: 160px 0 80px;
}
.mp-eyebrow {
  color: var(--Limegreen-Limegreen-500, #d7e866);
  font: 600 14px/1.4 Inter, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.mp-hero h1 {
  font: 700 48px/1.15 Sora, sans-serif;
  letter-spacing: -0.96px;
  max-width: 820px;
}
.mp-hero h1 span {
  color: var(--Limegreen-Limegreen-500, #d7e866);
  font-weight: 500;
  display: block;
}
.mp-hero .p1 {
  color: #d4d4dc;
  font-size: 18px;
  max-width: 680px;
  margin-top: 24px;
}
.mp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.mp-actions .button--ghost {
  background: transparent;
  border-color: #5a5a66;
}

.mp-section {
  padding: 88px 0;
}
.mp-section--muted {
  background: #f4f5f8;
}
.mp-section h2 {
  font: 700 36px/1.2 Sora, sans-serif;
  letter-spacing: -0.72px;
  color: #0c0c20;
  max-width: 720px;
  margin-bottom: 16px;
}
.mp-section .mp-intro {
  max-width: 720px;
  color: #4a4a57;
  margin-bottom: 48px;
}

.mp-split {
  display: grid;
  gap: 24px;
}
.mp-split__card {
  border-radius: 20px;
  padding: 32px;
  background: #fff;
  border: 1px solid #e4e5eb;
}
.mp-split__card--accent {
  background: var(--Brand-Blue-500, #2567e8);
  border-color: var(--Brand-Blue-500, #2567e8);
}
.mp-split__card--accent h3,
.mp-split__card--accent p {
  color: #fff;
}
.mp-split__card h3 {
  margin-bottom: 12px;
}

.mp-grid {
  display: grid;
  gap: 20px;
}
.mp-card {
  background: #fff;
  border: 1px solid #e4e5eb;
  border-radius: 20px;
  padding: 28px;
}
.mp-section--muted .mp-card {
  border-color: transparent;
}
.mp-card h3 {
  font: 700 19px/1.3 Sora, sans-serif;
  color: #0c0c20;
  margin-bottom: 10px;
}
.mp-card p {
  color: #4a4a57;
}
.mp-card__mark {
  width: 32px;
  height: 6px;
  border-radius: 3px;
  background: var(--Limegreen-Limegreen-500, #d7e866);
  margin-bottom: 20px;
}

.mp-steps {
  counter-reset: step;
  display: grid;
  gap: 20px;
  list-style: none;
}
.mp-steps li {
  counter-increment: step;
  position: relative;
  padding: 28px 28px 28px 84px;
  border-radius: 20px;
  background: #fff;
}
.mp-steps li::before {
  content: counter(step);
  position: absolute;
  left: 28px;
  top: 26px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--Brand-Blue-500, #2567e8);
  color: #fff;
  font: 700 16px/36px Sora, sans-serif;
  text-align: center;
}
.mp-steps h3 {
  font: 700 18px/1.3 Sora, sans-serif;
  margin-bottom: 6px;
}
.mp-steps p {
  color: #4a4a57;
}

.mp-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mp-roles li {
  list-style: none;
  padding: 8px 16px;
  border-radius: 20px;
  background: #eef3fe;
  color: #1b4fb8;
  font: 500 15px/1.4 Inter, sans-serif;
}

.mp-related a {
  display: block;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.mp-related a:hover,
.mp-related a:focus-visible {
  border-color: var(--Brand-Blue-500, #2567e8);
  transform: translateY(-2px);
}
.mp-related .mp-more {
  color: var(--Brand-Blue-500, #2567e8);
  font: 600 14px/1.4 Inter, sans-serif;
  margin-top: 14px;
}

.mp-cta {
  background: var(--Brand-Blue-500, #2567e8);
  color: #fff;
  padding: 72px 0;
}
.mp-cta h2 {
  font: 700 32px/1.2 Sora, sans-serif;
  max-width: 640px;
}
.mp-cta p {
  color: #e3ebfd;
  margin-top: 12px;
  max-width: 600px;
}

@media (min-width: 768px) {
  .mp-split,
  .mp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mp-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .mp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .mp-hero {
    padding: 128px 0 56px;
  }
  .mp-hero h1 {
    font-size: 32px;
  }
  .mp-section {
    padding: 56px 0;
  }
  .mp-section h2 {
    font-size: 28px;
  }
  .mp-cta h2 {
    font-size: 26px;
  }
}

/* Images: hero, section heads, overview cards */
.mp-hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.mp-visual {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
}
.mp-visual img {
  display: block;
  width: 100%;
  height: auto;
}
.mp-visual--ui {
  background: #f4f5f8;
  padding: 24px;
}
.mp-visual--ui img {
  max-height: 440px;
  object-fit: contain;
}
.mp-section--muted .mp-visual--ui {
  background: #fff;
}
.mp-visual--photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.mp-section__head {
  display: grid;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}
.mp-section__head .mp-intro {
  margin-bottom: 0;
}
.mp-section__head .mp-visual--ui img {
  max-height: 320px;
}
.mp-card--media {
  padding: 0 0 28px;
  overflow: hidden;
}
.mp-card--media > :not(.mp-card__img) {
  padding: 0 28px;
}
.mp-card__img {
  height: 200px;
  margin-bottom: 24px;
  background: #f4f5f8;
}
.mp-card__img img {
  width: 100%;
  height: 100%;
}
.mp-card__img--ui img {
  object-fit: contain;
  padding: 16px;
}
.mp-card__img--photo img {
  object-fit: cover;
}
@media (min-width: 900px) {
  .mp-hero__grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
  }
  .mp-section__head {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .mp-section__head--flip > :first-child {
    order: 2;
  }
}

.footer__menu .footer__link {
  hyphens: auto;
  overflow-wrap: break-word;
}
.mp-visual--dark,
.mp-card__img--dark {
  background: var(--Black, #1f1f23);
}
.mp-visual--dark img {
  max-height: 520px;
  object-fit: contain;
}
.mp-section__head .mp-visual--dark img {
  max-height: 380px;
}
.mp-card__img--dark img {
  object-fit: contain;
}
/* Product screenshots: app window with soft shadow */
.mp-visual--screen {
  border-radius: 12px;
  border: 1px solid #e4e5eb;
  box-shadow: 0 24px 60px rgba(12, 12, 32, 0.28);
  background: #fff;
}
.mp-hero .mp-visual--screen {
  border-color: #3a3a44;
}
.mp-card__img--screen img {
  object-fit: cover;
  object-position: left top;
}
/* Screenshot heroes: text on top, the app window full width below */
@media (min-width: 900px) {
  .mp-hero__grid--stack {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}
.mp-hero__grid--stack .mp-visual--screen {
  margin-bottom: -140px;
}
.mp-hero:has(.mp-hero__grid--stack) + .mp-section {
  padding-top: 200px;
}
/* Highlight band for stand-out features */
.mp-section--highlight {
  background: var(--Black, #1f1f23);
}
.mp-section--highlight h2,
.mp-section--highlight .mp-intro {
  color: #fff;
}
.mp-section--highlight .mp-intro {
  color: #d4d4dc;
}
.mp-section--highlight .mp-card {
  background: #2a2a31;
  border-color: #3a3a44;
}
.mp-section--highlight .mp-card h3 {
  color: #fff;
}
.mp-section--highlight .mp-card p {
  color: #c9c9d3;
}

/* Funktionsumfang checklist */
.mp-scope {
  display: grid;
  gap: 24px;
}
.mp-scope__group {
  border: 1px solid #e4e5eb;
  border-radius: 20px;
  padding: 28px;
}
.mp-scope__group h3 {
  font: 700 18px/1.3 Sora, sans-serif;
  color: #0c0c20;
  margin-bottom: 14px;
}
.mp-scope__group ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.mp-scope__group li {
  position: relative;
  padding-left: 28px;
  color: #4a4a57;
  font: 400 15px/1.5 Inter, sans-serif;
}
.mp-scope__group li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--Limegreen-Limegreen-500, #d7e866)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230c0c20' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}
@media (min-width: 768px) {
  .mp-scope {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .mp-scope {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1100px) {
  .mp-section--highlight .mp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Icon badges for card and checklist headings */
.mp-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef3fe;
  color: var(--Brand-Blue-500, #2567e8);
  margin-bottom: 18px;
  flex: none;
}
.mp-section--highlight .mp-card__icon {
  background: var(--Limegreen-Limegreen-500, #d7e866);
  color: #0c0c20;
}
.mp-scope__group h3 {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mp-scope__group h3 .mp-card__icon {
  margin-bottom: 0;
}
.mp-section--highlight .mp-card__img {
  height: auto;
  aspect-ratio: 16 / 10;
}
.mp-card--media > .mp-card__icon {
  padding: 0;
  margin-left: 28px;
}

/* Sticky breadcrumb: fixed under the 80px header (body overflow-x breaks position: sticky) */
.mp-crumbs {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  z-index: 9;
  height: 44px;
  display: flex;
  align-items: center;
  background: rgba(31, 31, 35, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #34343c;
  font: 500 14px/1.4 Inter, sans-serif;
}
.mp-crumbs ol {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  white-space: nowrap;
  overflow: hidden;
}
.mp-crumbs li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a9a9b5;
  min-width: 0;
}
.mp-crumbs li + li::before {
  content: '›';
  color: #6b6b78;
}
.mp-crumbs a {
  color: #a9a9b5;
  text-decoration: none;
}
.mp-crumbs a:hover,
.mp-crumbs a:focus-visible {
  color: #fff;
}
.mp-crumbs [aria-current] {
  color: var(--Limegreen-Limegreen-500, #d7e866);
  overflow: hidden;
  text-overflow: ellipsis;
}
.mp-crumbs ~ .mp-hero {
  padding-top: 204px;
}
@media (max-width: 767px) {
  .mp-crumbs ~ .mp-hero {
    padding-top: 172px;
  }
}
.mp-section,
.contact-section {
  scroll-margin-top: 124px;
}

/* Schematic flow: numbered steps joined by arrows, last step is the result */
.mp-flow__steps {
  list-style: none;
  display: grid;
  gap: 28px;
  counter-reset: flow;
}
.mp-flow__step {
  position: relative;
  counter-increment: flow;
  background: #fff;
  border: 1px solid #e4e5eb;
  border-radius: 20px;
  padding: 24px;
}
.mp-section--muted .mp-flow__step {
  border-color: transparent;
}
.mp-flow__step::before {
  content: counter(flow);
  position: absolute;
  top: 20px;
  right: 22px;
  font: 700 13px/1 Sora, sans-serif;
  color: #9a9aa6;
}
.mp-flow__step h3 {
  font: 700 18px/1.3 Sora, sans-serif;
  color: #0c0c20;
  margin-bottom: 8px;
}
.mp-flow__step p {
  color: #4a4a57;
}
.mp-flow__step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--Brand-Blue-500, #2567e8);
  border-bottom: 2px solid var(--Brand-Blue-500, #2567e8);
  transform: translateX(-50%) rotate(45deg);
}
.mp-flow__step--result {
  background: var(--Brand-Blue-500, #2567e8);
  border-color: var(--Brand-Blue-500, #2567e8);
}
.mp-flow__step--result h3,
.mp-flow__step--result p,
.mp-flow__step--result::before {
  color: #fff;
}
.mp-flow__step--result .mp-card__icon {
  background: var(--Limegreen-Limegreen-500, #d7e866);
  color: #0c0c20;
}
.mp-flow__loop {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 20px;
  border: 1.5px dashed var(--Brand-Blue-500, #2567e8);
  border-radius: 14px;
  color: #1b4fb8;
  font: 500 15px/1.5 Inter, sans-serif;
}
.mp-flow__loop span {
  font-size: 22px;
  line-height: 1;
}
@media (min-width: 1000px) {
  .mp-flow__steps {
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
  }
  .mp-flow__step:not(:last-child)::after {
    left: auto;
    right: -22px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(-45deg);
  }
}
/* Dense product screenshots need the full width: stack heading above the image */
@media (min-width: 900px) {
  .mp-section__head:has(.mp-visual--screen) {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mp-section__head--flip:has(.mp-visual--screen) > :first-child {
    order: 0;
  }
}
.mp-section__head .mp-visual--screen img {
  max-height: none;
}

/* Badges: network level on a module, "Coming soon" on announced modules */
.mp-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--Limegreen-Limegreen-500, #d7e866);
  color: #0c0c20;
  font: 700 12px/1.4 Inter, sans-serif;
  letter-spacing: 0.04em;
  vertical-align: middle;
  text-transform: uppercase;
}
.mp-badge--soon {
  background: var(--Brand-Blue-500, #2567e8);
  color: #fff;
}
.footer__link--soon {
  opacity: 0.7;
}

/* NE4 "under construction" card: dark, animated build bar, blinking Loading dots */
.mp-card--soon {
  position: relative;
  overflow: hidden;
  padding: 0 0 28px;
  background: radial-gradient(120% 90% at 100% 0%, #2a3a8f 0%, #1f1f23 55%);
  border: 1px solid #3a3a44;
  border-style: solid;
}
.mp-card--soon > :not(.mp-soon__visual) {
  padding: 0 28px;
}
.mp-card--soon h3 {
  color: #fff;
}
.mp-card--soon .p2 {
  color: #c9c9d3;
}
.mp-related .mp-more--soon,
.mp-more--soon {
  color: var(--Limegreen-Limegreen-500, #d7e866);
}
.mp-soon__visual {
  height: 200px;
  margin-bottom: 24px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 24px 24px;
}
.mp-soon__code {
  font: 800 56px/1 Sora, sans-serif;
  letter-spacing: -1px;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--Limegreen-Limegreen-500, #d7e866);
}
.mp-soon__bar {
  width: 220px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.mp-soon__bar span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: repeating-linear-gradient(-45deg, #d7e866 0 10px, #b9cc3f 10px 20px);
  background-size: 28px 28px;
  animation: mp-build 1.2s linear infinite, mp-grow 6s ease-in-out infinite alternate;
}
.mp-soon__loading {
  font: 600 14px/1 Inter, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.mp-soon__loading span {
  animation: mp-dot 1.4s infinite;
}
.mp-soon__loading span:nth-child(2) {
  animation-delay: 0.2s;
}
.mp-soon__loading span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes mp-build {
  to {
    background-position: 28px 0;
  }
}
@keyframes mp-grow {
  from {
    width: 38%;
  }
  to {
    width: 78%;
  }
}
@keyframes mp-dot {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mp-soon__bar span,
  .mp-soon__loading span {
    animation: none;
  }
}

/* FAQ */
.mp-faq {
  max-width: 860px;
  display: grid;
  gap: 12px;
}
.mp-faq details {
  border: 1px solid #e4e5eb;
  border-radius: 16px;
  padding: 18px 22px;
  background: #fff;
}
.mp-faq summary {
  cursor: pointer;
  font: 600 17px/1.4 Inter, sans-serif;
  color: #0c0c20;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.mp-faq summary::-webkit-details-marker {
  display: none;
}
.mp-faq summary::after {
  content: '+';
  color: var(--Brand-Blue-500, #2567e8);
  font-weight: 700;
}
.mp-faq details[open] summary::after {
  content: '–';
}
.mp-faq details p {
  margin-top: 12px;
  color: #4a4a57;
}
.mp-flow__who {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.mp-who {
  padding: 4px 10px;
  border-radius: 999px;
  font: 600 12px/1.4 Inter, sans-serif;
}
.mp-who--approve {
  background: #e7f6ec;
  color: #1b7a3d;
}
.mp-who--approve::before {
  content: '✓ ';
}
.mp-who--notify {
  background: #eef3fe;
  color: #1b4fb8;
}
.mp-who--notify::before {
  content: '🔔 ';
}
.mp-flow__step--result .mp-who--notify {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Integration partner tiles */
.mp-partners {
  list-style: none;
  display: grid;
  gap: 20px;
}
.mp-partner {
  border: 1px solid #e4e5eb;
  border-radius: 20px;
  padding: 26px 28px;
  background: #fff;
}
.mp-partner__name {
  font: 800 30px/1 Sora, sans-serif;
  letter-spacing: -0.5px;
  color: #0c0c20;
  margin-right: 6px;
}
.mp-partner .p2 {
  margin-top: 14px;
  color: #4a4a57;
}
.mp-partner--soon {
  border-style: dashed;
  background: #fafbfd;
}
.mp-partner--soon .mp-partner__name {
  color: #8a8a96;
}
@media (min-width: 768px) {
  .mp-partners {
    grid-template-columns: repeat(3, 1fr);
  }
}
.mp-card__img--product {
  background: radial-gradient(70% 80% at 50% 45%, #ffffff 0%, #e9ebf1 100%);
}
.mp-card__img--product img {
  object-fit: contain;
  padding: 18px 28px;
}

/* Live tracking band: animated map background, compact tracker tiles, Made in Europe sticker */
.mp-section--map {
  position: relative;
  overflow: hidden;
  background: #121521;
  color: #fff;
  padding: 120px 0 96px;
}
.mp-trackmap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mp-trackmap__route {
  animation: mp-route 2.4s linear infinite;
}
.mp-trackmap__pin circle:last-child {
  stroke: #fff;
  stroke-width: 3;
}
.mp-trackmap__pin--lime circle { fill: #d7e866; }
.mp-trackmap__pin--blue circle { fill: #2567e8; }
.mp-trackmap__pin--orange circle { fill: #f59e0b; }
.mp-trackmap__pulse {
  opacity: 0.35;
  stroke: none !important;
  transform-box: fill-box;
  transform-origin: center;
  animation: mp-pulse 2.6s ease-out infinite;
}
@keyframes mp-route {
  to { stroke-dashoffset: -52; }
}
@keyframes mp-pulse {
  from { transform: scale(0.4); opacity: 0.55; }
  to { transform: scale(1.8); opacity: 0; }
}
.mp-map__inner {
  position: relative;
}
.mp-map__head {
  position: relative;
  max-width: 760px;
}
.mp-section--map h2 {
  color: #fff;
}
.mp-section--map .mp-intro {
  color: #d4d4dc;
}
.mp-sticker {
  position: absolute;
  top: -40px;
  right: -190px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #003399;
  border: 3px dashed #ffcc00;
  outline: 6px solid #003399;
  transform: rotate(-12deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.mp-sticker span {
  font: 800 15px/1.15 Sora, sans-serif;
  color: #ffcc00;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  max-width: 90px;
}
.mp-trackers {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 48px;
}
.mp-tracker {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.mp-tracker img {
  width: 72px;
  height: 56px;
  object-fit: contain;
  flex: none;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
}
.mp-tracker h3 {
  font: 700 16px/1.2 Sora, sans-serif;
  color: #fff;
}
.mp-tracker p {
  font: 400 13px/1.4 Inter, sans-serif;
  color: #c9c9d3;
  margin-top: 2px;
}
@media (min-width: 768px) {
  .mp-trackers { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .mp-trackers { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1100px) {
  .mp-sticker { position: static; display: inline-grid; margin-top: 24px; transform: rotate(-8deg); width: 112px; height: 112px; }
}
@media (prefers-reduced-motion: reduce) {
  .mp-trackmap__route, .mp-trackmap__pulse { animation: none; }
}

/* Line-drawing gimmicks beside section titles */
.mp-section__title {
  position: relative;
}
.mp-doodle {
  display: none;
}
@media (min-width: 1000px) {
  .mp-doodle {
    display: block;
    position: absolute;
    pointer-events: none;
    color: var(--Brand-Blue-500, #2567e8);
    opacity: 0.55;
  }
  .mp-doodle--plane {
    width: 300px;
    top: -70px;
    left: 640px;
  }
  .mp-doodle--check {
    width: 220px;
    top: -60px;
    left: 700px;
  }
  .mp-doodle__plane {
    animation: mp-float 4s ease-in-out infinite;
  }
}
@keyframes mp-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 6px -8px; }
}

/* Subtle background patterns */
.mp-section--muted {
  background-color: #f4f5f8;
  background-image: radial-gradient(rgba(37, 103, 232, 0.09) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
}
.mp-section--highlight {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
@media (prefers-reduced-motion: reduce) {
  .mp-doodle__plane { animation: none; }
}

/* Header: "Module" dropdown (desktop, hover or keyboard focus) */
.nav-drop {
  position: relative;
}
.nav-drop__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-drop__chevron {
  transition: transform 0.2s ease;
}
.nav-drop:hover .nav-drop__chevron,
.nav-drop:focus-within .nav-drop__chevron {
  transform: rotate(180deg);
}
.nav-drop__panel {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 640px;
  margin-top: 14px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e4e5eb;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(31, 31, 35, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 20;
}
/* invisible bridge so the panel stays open while the pointer crosses the gap */
.nav-drop__panel::before {
  content: '';
  position: absolute;
  inset: -16px 0 auto;
  height: 16px;
}
.nav-drop:hover .nav-drop__panel,
.nav-drop:focus-within .nav-drop__panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-drop__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.nav-drop__item {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--Black, #1f1f23);
}
a.nav-drop__item:hover,
a.nav-drop__item:focus-visible {
  background: #f1f4fd;
  text-decoration: none;
}
.nav-drop__item.is-current {
  background: #f1f4fd;
}
.nav-drop__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}
.nav-drop__title .mp-badge {
  margin: 0;
}
.nav-drop__teaser {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.4;
  color: #6b6d78;
}
.nav-drop__item--soon {
  opacity: 0.75;
}
.nav-drop__all {
  display: block;
  margin-top: 6px;
  padding: 12px;
  border-top: 1px solid #e4e5eb;
  font-size: 15px;
  font-weight: 600;
  color: var(--Brand-Blue-500, #2567e8);
}
.nav-drop__all:hover {
  text-decoration: underline;
}
@media (prefers-reduced-motion: reduce) {
  .nav-drop__panel,
  .nav-drop__chevron {
    transition: none;
  }
}

/* Burger menu: modules as an expandable list */
.nav-sub summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
}
.nav-sub summary::-webkit-details-marker {
  display: none;
}
.nav-sub summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}
.nav-sub[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}
.nav-sub ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 4px 16px;
}
.nav-sub a {
  color: #fff;
  font-size: 18px;
  font-weight: 300;
}
.nav-sub a[aria-current='page'] {
  color: var(--Limegreen-Limegreen-500, #d7e866);
}

/* Hero with Racon360® logo lines: faint tiled marks plus one large outline on the right */
.mp-hero--pattern {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.mp-hero--pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('/img/pattern-racon.svg') 0 0 / 180px 180px repeat;
  opacity: 0.06;
  -webkit-mask-image: linear-gradient(105deg, transparent 15%, #000 75%);
  mask-image: linear-gradient(105deg, transparent 15%, #000 75%);
}
.mp-logolines {
  position: absolute;
  z-index: -1;
  right: max(-80px, calc(50% - 760px));
  top: 50%;
  width: 360px;
  height: auto;
  transform: translateY(-42%) rotate(-8deg);
  fill: none;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.mp-logolines path {
  vector-effect: non-scaling-stroke;
}
.mp-logolines__blue {
  stroke: rgba(37, 103, 232, 0.55);
}
.mp-logolines__lime {
  stroke: rgba(215, 232, 102, 0.45);
  stroke-dasharray: 6 6;
}
@media (max-width: 1023px) {
  .mp-logolines {
    width: 220px;
    right: -60px;
    top: 120px;
    transform: rotate(-8deg);
    opacity: 0.6;
  }
}

/* Trust badges under the hero lead */
.mp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.mp-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font: 600 14px/1.2 Inter, sans-serif;
  color: #fff;
}
.mp-trust svg {
  width: 18px;
  height: 18px;
  stroke: var(--Limegreen-Limegreen-500, #d7e866);
}
.mp-trust__flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(#000 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%);
}

/* Footer: reopens the HubSpot cookie banner */
.footer__cookies {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}

/* secondary button on the blue CTA band */
.mp-cta .mp-actions .button--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
