/* ==========================================================================
   FRONTDESK — COLOUR DESIGN PREVIEW (?m=1), loaded after nd.css on every page.
   Owner references: bold geometric headings, deep navy bands with curved
   edges, UI illustrations beside the text, a timeline with checklists.
   Rules: light sections are plain white (no blue washes), navy bands carry the
   colour, no eyebrow labels except the SEO keyword inside the homepage H1.
   Brand: cerulean #1f8ccb, ocean #1066af, logo grey #686868.
   ========================================================================== */

.nd-m {
  --m-navy: #0a1f3a;
  --m-ice: #eaf4fb;
  --m-head: "Poppins", var(--nd-font);
  --m-curve: clamp(36px, 6vw, 90px);
}

/* Type ---------------------------------------------------------------- */
.nd-m :is(.nd-display, .nd-h2, h1, h2, h3) { font-family: var(--m-head); letter-spacing: -0.02em; }
.nd-m :is(.nd-display, .nd-h2) { font-weight: 700; }
.nd-m .nd-h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.12; }
.nd-m main h3 { font-weight: 600; }
.nd-m .nd-btn { font-family: var(--m-head); font-weight: 600; border-radius: 10px; }
.nd-m :is(.nd-btn--primary, .sky-btn--primary, button[type=submit].nd-btn) { background: var(--nd-ocean); color: #fff; }
.nd-m :is(.nd-btn--primary, .sky-btn--primary, button[type=submit].nd-btn):hover { background: var(--nd-ocean-deep); color: #fff; }
.m-center { margin-inline: auto; text-align: center; justify-items: center; }
.m-center .nd-lead { margin-inline: auto; }

/* No eyebrows. The homepage keyword stays: it is part of the H1. */
.nd-m .nd-kicker:not(.nd-hero__keyword), .nd-m .sky-note { display: none !important; }
.nd-m .nd-hero__keyword { font-family: var(--m-head); font-size: 1rem; font-weight: 600; }
.nd-m .nd-hero__keyword::before { display: none; }

/* Light sections: a soft top-to-bottom wash, white at the top, light blue lower down,
   back to white at the bottom edge, so every section meets the next on white. */
.nd-m .nd-main > .nd-section:not(.nd-dark):not(.m-band),
.nd-m .nd-main > .nd-section.nd-tint:not(.m-band),
.nd-m .nd-main > .nd-section:not(.nd-dark):not(.m-band):nth-of-type(even),
.nd-m.nd-body .sky-section, .nd-m.nd-body .sky-section.sky-play,
.nd-m.nd-body .sky-section.nd-compat, .nd-m.nd-body .sky-section.nd-compat:nth-of-type(even),
.nd-m .nd-play { background: linear-gradient(180deg, #ffffff 0%, #eef5fc 45%, #e6f1fb 75%, #ffffff 100%); }

/* Navy bands (In practice, videos, contact). overflow: clip keeps sticky media working. */
.nd-m .nd-main > .nd-dark, .nd-m .nd-contact { overflow: clip; background: radial-gradient(50% 50% at 85% 10%, rgba(31, 140, 203, 0.28), transparent 70%), radial-gradient(40% 45% at 5% 95%, rgba(31, 140, 203, 0.18), transparent 70%), var(--m-navy); }

/* Arcs on the key bands (homepage In practice and videos, the AI section on solution pages,
   the contact section): a gentle curve cut out of the band itself with a mask, so the
   neighbouring section shows through instead of a painted white shape. The top edge rises
   in the middle and the bottom edge falls. The band overlaps its neighbours by the arc height. */
.nd-m { --m-arc: clamp(24px, 3.6vw, 56px); }
.nd-m :is(#workflow, #video-showcase) { position: relative; z-index: 1; margin: calc(var(--m-arc) * -1) 0; padding-top: calc(var(--nd-section) + var(--m-arc)); padding-bottom: calc(var(--nd-section) + var(--m-arc));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64C480 0 960 0 1440 64Z'/%3E%3C/svg%3E") top / 100% var(--m-arc) no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - var(--m-arc) * 2 + 2px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0C480 64 960 64 1440 0Z'/%3E%3C/svg%3E") bottom / 100% var(--m-arc) no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64C480 0 960 0 1440 64Z'/%3E%3C/svg%3E") top / 100% var(--m-arc) no-repeat, linear-gradient(#000, #000) center / 100% calc(100% - var(--m-arc) * 2 + 2px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0C480 64 960 64 1440 0Z'/%3E%3C/svg%3E") bottom / 100% var(--m-arc) no-repeat; }
.nd-m .nd-contact { position: relative; z-index: 1; margin-top: calc(var(--m-arc) * -1); padding-top: calc(var(--nd-section) + var(--m-arc));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64C480 0 960 0 1440 64Z'/%3E%3C/svg%3E") top / 100% var(--m-arc) no-repeat, linear-gradient(#000, #000) bottom / 100% calc(100% - var(--m-arc) + 1px) no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64C480 0 960 0 1440 64Z'/%3E%3C/svg%3E") top / 100% var(--m-arc) no-repeat, linear-gradient(#000, #000) bottom / 100% calc(100% - var(--m-arc) + 1px) no-repeat; }
.nd-m .nd-main > .nd-dark > .nd-wrap, .nd-m .nd-contact > * { position: relative; z-index: 3; }
.nd-m :is(.nd-dark, .nd-contact) :is(h2, h3, .nd-h2) { color: #fff; }

/* Curve under a navy hero. */
.m-curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: var(--m-curve); display: block; pointer-events: none; z-index: 2; }
.m-curve path { fill: #fff; }

/* Homepage hero: night skyline video under a navy veil ------------------- */
.nd-m .nd-hero--m { display: flex; align-items: center; min-height: calc(100svh - var(--nd-header) - var(--nd-announce-h, 0px)); background: var(--m-navy); border-bottom: 0; overflow: hidden; color: #c9d6e6; }
.nd-m .nd-hero--m > .nd-wrap { width: 100%; }
.m-hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--m-navy); }
.m-hero__bg :is(img, video) { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.m-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 31, 58, 0.94) 0%, rgba(10, 31, 58, 0.72) 48%, rgba(10, 31, 58, 0.35) 100%), linear-gradient(0deg, rgba(10, 31, 58, 0.9) 0%, transparent 40%); }
.nd-m .nd-hero--m .nd-hero__inner { min-height: 0; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.nd-m .nd-hero--m .nd-display { color: #fff; font-size: clamp(2.5rem, 4.6vw, 4.4rem); line-height: 1.06; }
.nd-m .nd-hero--m .nd-accent { color: #4fb3ee; }
.nd-m .nd-hero--m .nd-hero__keyword { color: #8fd0f5; }
.nd-m .nd-hero--m .nd-hero__lead { color: #c9d6e6; }
.nd-m :is(.nd-hero--m, .nd-subhero) .nd-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
.nd-m :is(.nd-hero--m, .nd-subhero) .nd-btn--ghost:hover { box-shadow: inset 0 0 0 1px #fff; }
.nd-m .nd-hero--m .nd-device__screen { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 50px 120px -30px rgba(0, 0, 0, 0.7), 0 0 80px -20px rgba(31, 140, 203, 0.45); }

/* Solution pages and About: the same navy hero with a curved foot -------- */
.nd-m .nd-subhero { position: relative; display: flex; flex-direction: column; min-height: calc(100svh - var(--nd-header) - var(--nd-announce-h, 0px)); overflow: clip; border-bottom: 0; padding-bottom: clamp(40px, 6vw, 72px); background: radial-gradient(50% 70% at 90% 0%, rgba(31, 140, 203, 0.3), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(31, 140, 203, 0.16), transparent 70%), var(--m-navy); color: #c9d6e6; }
.nd-m .nd-subhero--m { isolation: isolate; }
.nd-m .nd-subhero--m .m-hero__bg :is(img, video) { opacity: 0.4; }
.nd-m .nd-subhero > .nd-wrap { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; width: 100%; }
.nd-m .nd-subhero .nd-subhero__grid { flex: 1; align-content: center; }
.nd-m .nd-subhero .nd-display { color: #fff; }
.nd-m .nd-subhero .nd-accent { color: #4fb3ee; }
.nd-m .nd-subhero .nd-hero__lead, .nd-m .nd-subhero p { color: #c9d6e6; }
.nd-m .nd-subhero .nd-crumbs ol, .nd-m .nd-subhero .nd-crumbs a { color: #9fb3c9; }
.nd-m .nd-subhero .nd-crumbs a:hover { color: #fff; }
.nd-m .nd-subhero .nd-crumbs li + li::before { color: #4d6580; }

/* What changes (replaces "Where the time goes") ------------------------- */
.nd-m .nd-main > .m-outcomes { padding-top: clamp(56px, 7vw, 96px); }
.m-outcomes__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.m-outcomes .nd-head { margin-bottom: 36px; }
.m-outcomes__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; margin: 0; padding: 0; list-style: none; }
.m-outcomes__list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.m-outcomes__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--m-ice); color: var(--nd-ocean); }
.m-outcomes__list li:nth-child(3n+2) .m-outcomes__icon { background: #e6f7f1; color: #0f8a62; }
.m-outcomes__list li:nth-child(3n) .m-outcomes__icon { background: #eef0f3; color: #4d4d4d; }
.m-outcomes__list h3 { font-size: 1.05rem; margin: 0 0 4px; color: var(--nd-ink); line-height: 1.3; }
.m-outcomes__list p { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--nd-text); }

/* The illustration: a phone with a WhatsApp-style chat and floating status cards. */
.m-scene { position: relative; min-height: 560px; display: grid; place-items: center; }
.m-scene__glow { position: absolute; inset: 6% 4%; border-radius: 40px; background: radial-gradient(60% 60% at 50% 40%, rgba(31, 140, 203, 0.22), transparent 70%), linear-gradient(160deg, #eaf4fb, #dcecf8); }
.m-phone { position: relative; width: 270px; border-radius: 34px; padding: 10px; background: #0d1826; box-shadow: 0 40px 80px -30px rgba(10, 31, 58, 0.55); }
.m-phone__bar { display: flex; align-items: center; gap: 8px; padding: 14px 14px 12px; border-radius: 26px 26px 0 0; background: var(--nd-ocean); color: #fff; font-size: 0.8rem; }
.m-phone__bar i { width: 26px; height: 26px; border-radius: 50%; background: #fff url("/images/icons/favicon-32x32.png") center / 18px no-repeat; }
.m-phone__bar strong { font-weight: 600; }
.m-phone__bar span { margin-left: auto; opacity: 0.75; font-size: 0.7rem; }
.m-chat { display: grid; gap: 10px; padding: 16px 12px 22px; border-radius: 0 0 26px 26px; background: #eef3f8; min-height: 360px; align-content: start; font-size: 0.8rem; line-height: 1.4; }
.m-chat p { margin: 0; max-width: 82%; padding: 9px 12px; border-radius: 14px; }
.m-chat__in { justify-self: end; background: #d9f2df; color: #1d3b2a; border-bottom-right-radius: 4px; }
.m-chat__out { background: #fff; color: #1d2b3c; border-bottom-left-radius: 4px; }
.m-chat__pass { display: flex; align-items: center; gap: 10px; max-width: 82%; padding: 10px; border-radius: 14px; background: #fff; border-top-left-radius: 4px; }
.m-chat__pass strong { display: block; font-size: 0.82rem; color: var(--nd-ink); }
.m-chat__pass span { font-size: 0.72rem; color: var(--nd-muted); }
.m-qr { flex: none; width: 54px; height: 54px; border-radius: 6px; background:
  linear-gradient(90deg, #0b1b2e 0 30%, transparent 30% 70%, #0b1b2e 70%) 0 0 / 100% 30% no-repeat,
  linear-gradient(90deg, #0b1b2e 0 30%, transparent 30%) 0 100% / 100% 30% no-repeat,
  repeating-conic-gradient(#0b1b2e 0 25%, #fff 0 50%) 50% 50% / 9px 9px; box-shadow: inset 0 0 0 3px #fff; }
.m-float { position: absolute; display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 24px 50px -20px rgba(10, 31, 58, 0.35), 0 0 0 1px rgba(10, 31, 58, 0.05); font-size: 0.82rem; color: var(--nd-ink); animation: m-float 6s ease-in-out infinite; }
.m-float strong { display: block; font-family: var(--m-head); font-weight: 600; }
.m-float span { color: var(--nd-muted); font-size: 0.75rem; }
.m-float--scan { left: 0; top: 14%; grid-template-columns: 34px 1fr; align-items: center; }
.m-float__ok { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #16a34a; color: #fff !important; }
.m-float--sync { right: 0; top: 40%; width: 220px; animation-delay: -2s; }
.m-float--stock { left: 4%; bottom: 8%; width: 170px; animation-delay: -4s; }
.m-float__label { font-weight: 600; color: var(--nd-ink) !important; font-size: 0.78rem !important; }
.m-float__row { display: flex; justify-content: space-between; font-size: 0.78rem; }
.m-float__row b { color: var(--nd-ink); }
.m-float__bar { height: 6px; border-radius: 6px; background: var(--m-ice); overflow: hidden; }
.m-float__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--nd-cerulean), var(--nd-ocean)); transform-origin: left; animation: m-sync 3.5s ease-in-out infinite; }
.m-float__done { color: #16a34a !important; font-weight: 500; }
.m-bars { display: flex; align-items: flex-end; gap: 8px; height: 56px; }
.m-bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 4px 4px 0 0; background: var(--nd-cerulean); }
.m-bars i:nth-child(even) { background: var(--nd-ocean); }
@keyframes m-float { 50% { transform: translateY(-10px); } }
@keyframes m-sync { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }

/* Solutions directory: brand-coloured icon tiles (the filter tabs keep their underline style). */
.nd-m .nd-solcard__icon { background: var(--m-ice); color: var(--nd-ocean); border-radius: 10px; }
.nd-m .nd-solcard:hover .nd-solcard__icon { background: var(--nd-ocean); color: #fff; }

.nd-m .nd-product__media { background: radial-gradient(70% 80% at 80% 0%, rgba(31, 140, 203, 0.55), transparent 70%), linear-gradient(160deg, var(--nd-ocean), #0b3a6b); border-bottom: 0; }

/* Why Frontdesk: icons get colour tiles --------------------------------- */
.nd-m .nd-why__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--m-ice); color: var(--nd-ocean); }
.nd-m .nd-why__list li:nth-child(2) .nd-why__icon { background: #e6f7f1; color: #0f8a62; }
.nd-m .nd-why__list li:nth-child(3) .nd-why__icon { background: #eef0f3; color: #4d4d4d; }
.nd-m .nd-why__list li:nth-child(4) .nd-why__icon { background: var(--nd-ocean); color: #fff; }
.nd-m .nd-why__list li { border-top: 0; padding-top: 8px; }

/* Process: timeline with checklists ------------------------------------- */
.m-timeline { position: relative; display: grid; gap: clamp(28px, 4vw, 48px); margin: 0; padding: 0; list-style: none; }
.m-timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(180deg, var(--nd-cerulean), rgba(31, 140, 203, 0.15)); }
.m-timeline__item { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; gap: 0 clamp(20px, 3vw, 40px); }
.m-timeline__text { text-align: right; }
.m-timeline__text h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--nd-ink); margin: 0 0 10px; }
.m-timeline__text p { margin: 0; color: var(--nd-text); }
.m-timeline__num { display: grid; place-items: center; width: 56px; height: 56px; margin: auto; border-radius: 50%; background: var(--nd-ocean); color: #fff; font-family: var(--m-head); font-weight: 700; font-size: 1.25rem; box-shadow: 0 0 0 8px rgba(31, 140, 203, 0.15); z-index: 1; }
.m-timeline__card { display: grid; gap: 12px; margin: 0; padding: 24px 26px; list-style: none; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -24px rgba(10, 31, 58, 0.3), 0 0 0 1px rgba(10, 31, 58, 0.06); }
.m-timeline__card li { display: flex; align-items: center; gap: 10px; color: var(--nd-ink-2); }
.m-timeline__item:nth-child(even) .m-timeline__text { order: 3; text-align: left; }
.m-timeline__item:nth-child(even) .m-timeline__num { order: 2; }
.m-timeline__item:nth-child(even) .m-timeline__card { order: 1; }

/* Steps on solution pages and About: one card per step, on alternating sides. */
.m-timeline--cards .m-timeline__card { text-align: left; }
.m-timeline__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 12px; background: var(--m-ice); color: var(--nd-ocean); }
.m-timeline__icon svg { width: 20px; height: 20px; }
.m-timeline--cards .m-timeline__item:nth-child(even) .m-timeline__icon { background: var(--nd-ocean); color: #fff; }
.m-timeline--cards .m-timeline__card h3 { font-size: 1.2rem; margin: 0 0 8px; color: var(--nd-ink); }
.m-timeline--cards .m-timeline__card p { margin: 0; color: var(--nd-text); }
.m-timeline--cards .m-timeline__item:nth-child(even) .m-timeline__card { order: 3; }
.m-timeline--cards .m-timeline__item:nth-child(even) .m-timeline__gap { order: 1; }
.m-timeline--cards .m-timeline__item:nth-child(even) .m-timeline__num { order: 2; }

/* A single video or screenshot sits in a laptop: dark bezel, camera dot, aluminium base. */
.nd-m :is(.nd-window, .nd-process__media, .m-out-media) { position: relative; overflow: visible; padding: clamp(22px, 3%, 34px) clamp(10px, 1.6%, 18px) clamp(14px, 2%, 22px); border-radius: 20px 20px 6px 6px; background: linear-gradient(180deg, #1b2533, #0b121c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -36px rgba(11, 27, 46, 0.55); }
.nd-m .nd-process__media { max-width: 960px; margin: clamp(120px, 14vw, 200px) auto 40px; }
.nd-m :is(.nd-window, .nd-process__media, .m-out-media) > * { display: block; overflow: hidden; border-radius: 6px; }
.nd-m :is(.nd-window, .nd-process__media, .m-out-media)::before { content: ""; position: absolute; left: 50%; top: clamp(8px, 1.2%, 13px); width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #2a3a4d; }
.nd-m :is(.nd-window, .nd-process__media, .m-out-media)::after { content: ""; position: absolute; left: -7%; right: -7%; bottom: -18px; height: 18px; border-radius: 0 0 18px 18px / 0 0 100% 100%; background: linear-gradient(180deg, #e8edf3 0%, #c4ccd6 55%, #9ea8b5 100%); box-shadow: 0 26px 44px -22px rgba(11, 27, 46, 0.45); }
.nd-m .nd-feat__pin { padding-top: 16px; padding-bottom: 24px; }

/* Who it is for: numbered audience cards on the left, a navy spotlight card on the right. */
.nd-m .nd-uc { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: stretch; counter-reset: uc; }
.nd-m .nd-uc__list { gap: 12px; border: 0; align-content: start; }
.nd-m .nd-uc__tab { counter-increment: uc; display: grid; grid-template-columns: 44px 1fr 20px; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid #dbe6f1; border-radius: 14px; background: #fff; color: var(--nd-ink-2); font-family: var(--m-head); font-weight: 500; font-size: 1rem; box-shadow: 0 1px 2px rgba(11, 27, 46, 0.04); transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s var(--nd-ease); }
.nd-m .nd-uc__tab::before { content: counter(uc, decimal-leading-zero); position: static; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--m-ice); color: var(--nd-ocean); font-weight: 700; font-size: 0.95rem; transform: none; transition: background 0.25s, color 0.25s; }
.nd-m .nd-uc__tab::after { content: ""; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: 0.35; justify-self: center; }
.nd-m .nd-uc__tab:hover { border-color: #b9d3ea; transform: translateX(4px); color: var(--nd-ink); }
.nd-m .nd-uc__tab.is-active { background: var(--nd-ocean); border-color: var(--nd-ocean); color: #fff; box-shadow: 0 18px 36px -18px rgba(16, 102, 175, 0.7); transform: translateX(8px); }
.nd-m .nd-uc__tab.is-active::before { background: rgba(255, 255, 255, 0.16); color: #fff; }
.nd-m .nd-uc__tab.is-active::after { opacity: 1; }
.nd-m .nd-uc__panels { display: grid; }
.nd-m .nd-uc__panel { position: relative; overflow: hidden; align-content: end; gap: 20px; min-height: 100%; padding: clamp(32px, 4.5vw, 56px); border-radius: 24px; color: #c9d6e6; background: radial-gradient(60% 60% at 100% 0%, rgba(31, 140, 203, 0.45), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(16, 102, 175, 0.35), transparent 70%), var(--m-navy); box-shadow: 0 40px 80px -40px rgba(10, 31, 58, 0.6); }
.nd-m .nd-uc__panel::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.03), 0 0 0 80px rgba(255, 255, 255, 0.02); }
.nd-m .nd-uc__panel h3 { position: relative; color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); max-width: 18ch; }
.nd-m .nd-uc__panel p { position: relative; color: #d3dfec; max-width: 52ch; }
.nd-m .nd-uc__panel p a { color: #8fd0f5; }
.nd-m .nd-uc__panel .nd-link { position: relative; justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; background: #fff; color: var(--nd-ocean); font-family: var(--m-head); font-weight: 600; text-decoration: none; }
.nd-m .nd-uc__panel .nd-link:hover { background: var(--m-ice); }

/* Company story: a cerulean rule under the heading ---------------------- */
.nd-m .nd-story-co .nd-h2::after { content: ""; display: block; width: 72px; height: 4px; margin-top: 20px; border-radius: 4px; background: var(--nd-cerulean); }

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .m-outcomes__grid { grid-template-columns: 1fr; }
  .m-scene { min-height: 520px; }
}
@media (max-width: 767.98px) {
  .m-outcomes__list { grid-template-columns: 1fr; }
  .m-scene { min-height: 480px; transform: scale(0.92); }
  .m-float--sync { width: 190px; }
  .m-timeline::before { left: 28px; }
  .m-timeline__item, .m-timeline__item:nth-child(even) { grid-template-columns: 56px 1fr; gap: 14px 18px; align-items: start; }
  .m-timeline__num, .m-timeline__item:nth-child(even) .m-timeline__num { order: 0; grid-row: 1 / span 2; margin: 0; }
  .m-timeline__text, .m-timeline__item:nth-child(even) .m-timeline__text { order: 1; text-align: left; }
  .m-timeline__card, .m-timeline__item:nth-child(even) .m-timeline__card { order: 2; grid-column: 2; }
  .m-timeline--cards .m-timeline__card, .m-timeline--cards .m-timeline__item:nth-child(even) .m-timeline__card { order: 1; grid-row: 1; }
  .m-timeline__gap { display: none; }
  .nd-m .nd-uc__list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
  .nd-m .nd-uc__tab { flex: none; grid-template-columns: 32px auto; padding: 10px 14px; }
  .nd-m .nd-uc__tab::before { width: 32px; height: 32px; font-size: 0.8rem; }
  .nd-m .nd-uc__tab::after { display: none; }
  .nd-m .nd-uc__tab:hover, .nd-m .nd-uc__tab.is-active { transform: none; }
  .nd-m .nd-uc__panel { min-height: 320px; }
  .nd-m :is(.nd-window, .nd-process__media, .m-out-media)::after { left: -4%; right: -4%; }
}
@media (prefers-reduced-motion: reduce) {
  .m-float, .m-float__bar i { animation: none; }
  .m-hero__bg video { display: none; }
}


/* Solution pages: the AI section is the navy band ---------------------------------- */
.nd-m .nd-main > .m-band { position: relative; overflow: clip; color: #dbe9f6; background: radial-gradient(55% 60% at 88% 12%, rgba(124, 196, 240, 0.35), transparent 70%), radial-gradient(45% 50% at 6% 92%, rgba(31, 140, 203, 0.45), transparent 70%), linear-gradient(160deg, #1066af 0%, #0c4f8a 55%, #0a3d6b 100%) !important; }
.nd-m .m-band > .nd-wrap { position: relative; z-index: 3; }
.nd-m .m-band :is(h2, h3) { color: #fff; }
.nd-m .m-band .nd-lead { color: #dbe9f6; }
.nd-m .m-band .nd-lead a, .nd-m .m-band li a { color: #fff; }
.nd-m .m-band .nd-problems__grid li { padding: 26px 24px 28px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 16px; background: rgba(255, 255, 255, 0.08); }
.nd-m .m-band .nd-problems__grid li::before { display: none; }
.nd-m .m-band .nd-problems__grid { gap: 16px; }
.nd-m .m-band .nd-problems__grid p { color: #d6e5f3; }

/* Four cards in a section sit on one row on desktop. */
@media (min-width: 1100px) {
  .nd-m :is(.nd-problems__grid, .nd-cases, .nd-cards3, .sky-postcards, .sky-gallery__grid):has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Overview: the text on the left, the page's icons linked to one system on the right. */
@media (min-width: 992px) {
  .nd-m .nd-overview .nd-wrap:has(> .m-widget) { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: clamp(40px, 6vw, 96px); align-items: center; }
  .nd-m .nd-overview .nd-wrap > :not(.m-widget) { grid-column: 1; }
  .nd-m .nd-overview .m-widget { grid-column: 2; grid-row: 1 / span 3; }
  .nd-m .nd-overview__cols { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* Integrations: plain white, dark text, the connection drawing under the heading. */
.nd-m .nd-integrations__list { border-top-color: var(--nd-line); }
.nd-m .nd-integrations__list li { color: var(--nd-ink-2); border-bottom-color: var(--nd-line); }
.nd-m .nd-integrations__list a { color: var(--nd-ocean); }
.nd-m .nd-integrations__icon { color: var(--nd-ocean); }

/* Hero scene: the page's drawing on a glass stage, ringed, with three icon tiles drifting
   around it. Thinner lines and the brand palette replace the old cartoon outline. ---- */
.m-hero-art { display: grid; place-items: center; }
.m-stage { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 0.92; display: grid; place-items: center; }
.m-stage::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(31, 140, 203, 0.35), rgba(31, 140, 203, 0.08) 70%, transparent); }
.m-stage__ring { position: absolute; inset: 4%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.18); animation: m-turn 60s linear infinite; }
.m-stage__ring--2 { inset: 16%; border-style: solid; border-color: rgba(255, 255, 255, 0.1); animation-duration: 40s; animation-direction: reverse; }
.m-stage__art { position: relative; width: 82%; }
.m-stage__art .nd-scene { margin: 0; }
.m-stage .m-tile { position: absolute; animation: m-float 6s ease-in-out infinite; }
.m-stage__t1 { left: 2%; top: 14%; }
.m-stage__t2 { right: 0; top: 30%; animation-delay: -2s !important; }
.m-stage__t3 { left: 10%; bottom: 6%; animation-delay: -4s !important; }
@keyframes m-turn { to { transform: rotate(360deg); } }

.m-tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fff; color: var(--nd-ocean); box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(10, 31, 58, 0.06); }
.m-tile svg { width: 22px; height: 22px; fill: currentColor; }
.m-tile--sm { width: 34px; height: 34px; border-radius: 10px; }
.m-tile--sm svg { width: 16px; height: 16px; }
.m-tile--ok { background: #16a34a; color: #fff; }

.nd-m .nd-subhero .sc-svg { --ink: #0d2a4a; --ocean: #1066af; --cerulean: #1f8ccb; --pop: #9fd3f7; overflow: visible; }
.nd-m .nd-subhero .sc-svg :is(.k, .o, .c, .p, .s) { stroke-width: 2.5; }
.nd-m .nd-subhero .sc-svg .li { stroke-width: 2.5; }
.nd-m .nd-subhero .sc-svg .l { stroke: #cfe2f3; stroke-width: 6; }
.nd-m .nd-subhero .sc-svg .ld { stroke: #9fd3f7; stroke-width: 2.5; }
.nd-m .nd-subhero .sc-svg .arm { stroke-width: 20; }
.nd-m .nd-subhero :is(.sky-scene__kiosk, .sky-scene__site, .sky-scene__window) { --ink: #0d2a4a; }

@media (prefers-reduced-motion: reduce) {
  .m-stage__ring, .m-stage .m-tile { animation: none !important; }
}

/* Scroll reveal (one system for the whole preview, per the UI/UX guidance: a short fade with a
   12px rise, 0.45s ease-out, 40ms stagger). GSAP's own fade is switched off here so the two
   never fight; content stays visible without JavaScript. */
.nd-js .nd-m [data-nd-reveal] { opacity: 1; }
.m-js .m-rv:not(.m-in) { opacity: 0 !important; }
.m-js .m-rv { transition: opacity 0.7s ease !important; }
@media (prefers-reduced-motion: reduce) { .m-js .m-rv:not(.m-in) { opacity: 1 !important; } .m-js .m-rv { transition: none !important; } }

/* The first try-it widget, in the overview's right-hand column */
.m-widget { padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: #fff; box-shadow: 0 30px 60px -36px rgba(10, 31, 58, 0.45), 0 0 0 1px rgba(10, 31, 58, 0.06); }
.nd-m .m-widget .sky-play__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 0; padding: 0; max-width: none; }
.nd-m .m-widget .sky-head { margin: 0; text-align: left; }
.nd-m .m-widget .sky-head h2 { font-size: 1.35rem; margin: 0 0 8px; }
.nd-m .m-widget .sky-play__text { font-size: 0.95rem; margin: 0; }
@media (max-width: 991.98px) { .m-widget { margin-top: 40px; } }

/* Who it is for: audience cards with an icon, one row when there are four */
.m-aud { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 1100px) { .m-aud:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.m-aud__card { position: relative; display: grid; align-content: start; gap: 12px; padding: 28px 24px 30px; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(11, 27, 46, 0.04), 0 24px 48px -32px rgba(10, 31, 58, 0.35); border: 1px solid #e3ebf4; overflow: hidden; transition: transform 0.3s var(--nd-ease), box-shadow 0.3s, border-color 0.3s; }
.m-aud__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--nd-cerulean), var(--nd-ocean)); transform: scaleX(0.25); transform-origin: left; transition: transform 0.4s var(--nd-ease); }
.m-aud__card:hover { transform: translateY(-4px); border-color: #c9dcee; box-shadow: 0 1px 2px rgba(11, 27, 46, 0.04), 0 32px 60px -30px rgba(16, 102, 175, 0.4); }
.m-aud__card:hover::before { transform: scaleX(1); }
.m-aud__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 6px; border-radius: 16px; background: linear-gradient(150deg, var(--nd-cerulean), var(--nd-ocean)); color: #fff; box-shadow: 0 14px 28px -14px rgba(16, 102, 175, 0.7); }
.m-aud__icon svg { width: 24px; height: 24px; fill: currentColor; }
.m-aud__card h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; color: var(--nd-ink); }
.m-aud__card p { margin: 0; font-size: 0.97rem; line-height: 1.6; color: var(--nd-text); }
.m-aud__card p a { color: var(--nd-ocean); }
.m-aud__cta { margin-top: 36px; display: flex; justify-content: center; }

/* Homepage laptop: the Frontdesk logo instead of the FD tile */
.nd-m .nd-dash__logo--img { width: auto; height: auto; padding: 0.2em 0.1em; background: none; border-radius: 0; }
.nd-m .nd-dash__logo--img img { display: block; width: 7.4em; height: auto; }

/* Step cards: icon beside the title and text, not above it */
.m-timeline--cards .m-timeline__card { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.m-timeline--cards .m-timeline__icon { grid-row: 1 / span 2; margin: 2px 0 0; }
.m-timeline--cards .m-timeline__card h3 { align-self: center; }
.m-timeline--cards .m-timeline__card p { grid-column: 2; }

/* Solution-page hero objects (m_scenes.php): one labelled object, no rings or tiles ---- */
.m-hero-art { display: grid; place-items: center; padding: 12px 0; }
.m-obj { position: relative; width: min(100%, 420px); color: var(--nd-ink); font-size: 0.92rem; line-height: 1.35; text-align: left; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06); animation: m-float 7s ease-in-out infinite; }
.m-obj svg { fill: currentColor; }
.m-seq { animation: m-seq 8s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 0.5s); }
@keyframes m-seq { 0% { opacity: 0; transform: translateY(6px); } 6%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.m-pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 99px; font-style: normal; font-size: 0.78rem; font-weight: 600; white-space: nowrap; }
.m-pill--ok { background: #e7f7ee; color: #15803d; }
.m-pill--wait { background: #fff4e0; color: #b45309; }
.m-pill--info { background: var(--m-ice); color: var(--nd-ocean); }
.m-qrc { display: block; width: 72px; height: 72px; border-radius: 8px; background:
  linear-gradient(90deg, #0b1b2e 0 28%, transparent 28% 72%, #0b1b2e 72%) 0 0 / 100% 28% no-repeat,
  linear-gradient(90deg, #0b1b2e 0 28%, transparent 28%) 0 100% / 100% 28% no-repeat,
  repeating-conic-gradient(#0b1b2e 0 25%, #fff 0 50%) 50% 50% / 10px 10px; box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px #e3e8ef; }
.m-tk__scan { position: absolute; left: 14%; right: 14%; height: 2px; top: 30%; background: #ef4444; box-shadow: 0 0 10px 2px rgba(239, 68, 68, 0.6); animation: m-scanline 2.4s ease-in-out infinite alternate; }
@keyframes m-scanline { from { top: 22%; } to { top: 58%; } }

/* ticket, badge, pass, receipt, document */
.m-tk { display: grid; grid-template-columns: minmax(0, 1fr) 120px; border-radius: 18px; background: #fff; overflow: hidden; }
.m-tk__head { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: linear-gradient(120deg, var(--nd-ocean), var(--nd-cerulean)); color: #fff; font-family: var(--m-head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.m-tk__head svg { width: 16px; height: 16px; }
.m-tk__body { display: grid; gap: 6px; padding: 18px 20px 20px; }
.m-tk__title { font-family: var(--m-head); font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.m-tk__sub { color: var(--nd-muted); font-size: 0.85rem; }
.m-tk__rows { display: grid; gap: 10px; margin: 10px 0 0; }
.m-tk__rows div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed #e2e8f0; }
.m-tk__rows div:last-child { border-bottom: 0; padding-bottom: 0; }
.m-tk__rows dt { margin: 0; color: var(--nd-muted); font-weight: 400; }
.m-tk__rows dd { margin: 0; font-weight: 600; text-align: right; }
.m-tk__stub { position: relative; display: grid; place-items: center; align-content: center; gap: 10px; padding: 16px 12px; border-left: 2px dashed #d5dfea; background: #f7fafd; }
.m-tk__stub::before, .m-tk__stub::after { content: ""; position: absolute; left: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--m-navy); }
.m-tk__stub::before { top: -10px; } .m-tk__stub::after { bottom: -10px; }
.m-tk__stub span { font-family: var(--m-head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nd-ocean); }
.m-tk__stub .m-tk__scan { left: 16%; right: 16%; }
.m-tk--badge { grid-template-columns: minmax(0, 1fr) 120px; border-top: 0; }
.m-tk--badge::before { content: ""; position: absolute; left: 50%; top: -60px; width: 90px; height: 64px; margin-left: -45px; border: 6px solid var(--nd-cerulean); border-bottom: 0; border-radius: 0; clip-path: polygon(0 0, 100% 0, 60% 100%, 40% 100%); opacity: 0.9; }
.m-tk--pass, .m-tk--receipt, .m-tk--doc { grid-template-columns: minmax(0, 1fr); }
.m-tk__foot { display: flex; align-items: center; gap: 8px; padding: 12px 20px; background: #e7f7ee; color: #15803d; font-weight: 600; }
.m-tk__foot svg { width: 14px; height: 14px; }
.m-tk--receipt { width: min(100%, 340px); border-radius: 14px 14px 0 0; -webkit-mask: radial-gradient(8px at 50% 100%, #0000 98%, #000) 50% / 18px 100%; mask: radial-gradient(8px at 50% 100%, #0000 98%, #000) 50% / 18px 100%; padding-bottom: 6px; }
.m-tk--receipt .m-tk__rows div:last-child { padding-top: 8px; border-top: 2px solid var(--nd-ink); font-size: 1.05rem; }

/* phone */
.m-ph { width: min(100%, 300px); padding: 10px; border-radius: 36px; background: #0d1826; }
.m-ph__bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 28px 28px 0 0; background: #128c7e; color: #fff; }
.m-ph__bar i { width: 30px; height: 30px; border-radius: 50%; background: #fff url("/images/icons/favicon-32x32.png") center / 18px no-repeat; }
.m-ph__bar strong { font-family: var(--m-head); font-weight: 600; }
.m-ph__body { display: grid; gap: 10px; align-content: start; min-height: 380px; padding: 16px 12px 22px; border-radius: 0 0 28px 28px; background: #ece5dd; }
.m-ph__msg { max-width: 84%; margin: 0; padding: 10px 12px; border-radius: 14px; font-size: 0.86rem; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); }
.m-ph__msg--in { justify-self: end; background: #dcf8c6; border-bottom-right-radius: 4px; }
.m-ph__msg--out { justify-self: start; background: #fff; border-bottom-left-radius: 4px; }
.m-ph__field { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: #fff; }
.m-ph__field span { font-size: 0.72rem; color: var(--nd-muted); }
.m-ph__field b { font-weight: 600; }
.m-ph__pass { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #fff; }
.m-ph__pass .m-qrc { width: 60px; height: 60px; }
.m-ph__pass strong { display: block; font-family: var(--m-head); }
.m-ph__pass span { font-size: 0.8rem; color: var(--nd-muted); }

/* app window */
.m-ap { width: min(100%, 440px); border-radius: 18px; background: #fff; overflow: hidden; }
.m-ap__bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #e6ecf3; background: #f6f9fc; }
.m-ap__ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--nd-ocean); color: #fff; }
.m-ap__ico svg { width: 15px; height: 15px; }
.m-ap__bar strong { font-family: var(--m-head); font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-ap__live { margin-left: auto; display: grid; place-items: center; }
.m-ap__live b { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: nd-live 2s infinite; }
.m-ap__body { display: grid; gap: 14px; padding: 18px; }
.m-ap__sub { margin: 0; color: var(--nd-muted); font-size: 0.88rem; }
.m-ap__big { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-radius: 14px; background: linear-gradient(120deg, var(--nd-ocean), var(--nd-cerulean)); color: #fff; }
.m-ap__big span { opacity: 0.85; }
.m-ap__big strong { font-family: var(--m-head); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; }
.m-ap__rows { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.m-ap__rows li { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #e9eef4; border-radius: 12px; }
.m-ap__ri { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--m-ice); color: var(--nd-ocean); }
.m-ap__ri svg { width: 14px; height: 14px; }
.m-ap__rl { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-ap__digits { display: flex; justify-content: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--m-navy); }
.m-ap__digits span { display: grid; place-items: center; width: 64px; height: 84px; border-radius: 10px; background: #fff; overflow: hidden; }
.m-ap__digits b { font-family: var(--m-head); font-size: 2.6rem; font-weight: 700; color: var(--nd-ocean); animation: m-roll 3s cubic-bezier(0.2, 0.7, 0.2, 1) infinite; animation-delay: calc(var(--i) * 0.25s); }
@keyframes m-roll { 0% { transform: translateY(-120%); filter: blur(2px); } 30%, 100% { transform: none; filter: none; } }
.m-ap__wheel { position: relative; width: 170px; height: 170px; margin: 0 auto; }
.m-ap__wheel span { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--nd-ocean) 0 60deg, #9fd3f7 0 120deg, var(--nd-cerulean) 0 180deg, #fff 0 240deg, #0a3d6b 0 300deg, #cfe6f7 0); box-shadow: 0 0 0 6px #fff, 0 0 0 7px #dbe6f1; animation: m-spin 5s cubic-bezier(0.2, 0.7, 0.2, 1) infinite; }
.m-ap__wheel i { position: absolute; left: 50%; top: -8px; margin-left: -9px; border: 9px solid transparent; border-top: 16px solid #ef4444; }
@keyframes m-spin { 0% { transform: rotate(0); } 70%, 100% { transform: rotate(1080deg); } }
.m-ap__booths { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 12px; border-radius: 12px; background: #f6f9fc; }
.m-ap__booths i { aspect-ratio: 1.3; border-radius: 4px; background: #dbe6f1; }
.m-ap__booths .m-b--s { background: var(--nd-ocean); } .m-ap__booths .m-b--a { background: #9fd3f7; } .m-ap__booths .m-b--f { background: #e9eef4; }
.m-ap__booths .m-b--me { background: #16a34a; animation: nd-live 2s infinite; }
.m-ap__tape { display: grid; gap: 8px; }
.m-ap__tape div { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 8px; }
.m-ap__tape span { font-weight: 600; color: var(--nd-muted); font-size: 0.85rem; }
.m-ap__tape p { position: relative; height: 30px; margin: 0; border-radius: 8px; background: repeating-linear-gradient(90deg, #f1f5f9 0 calc(16% - 2px), #fff 0 16%); }
.m-ap__tape b { position: absolute; top: 3px; bottom: 3px; display: flex; align-items: center; padding: 0 10px; border-radius: 6px; background: var(--nd-ocean); color: #fff; font-size: 0.78rem; font-weight: 600; white-space: nowrap; overflow: hidden; }
.m-ap__tape div:nth-child(even) b { background: var(--nd-cerulean); }
.m-ap__bars { display: grid; gap: 12px; }
.m-ap__bars div { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; }
.m-ap__bars span { font-weight: 500; }
.m-ap__bars em { font-style: normal; font-weight: 700; color: var(--nd-ocean); }
.m-ap__bars p { grid-column: 1 / -1; grid-row: 2; height: 10px; margin: 0; border-radius: 10px; background: #edf2f7; overflow: hidden; }
.m-ap__bars b { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--nd-cerulean), var(--nd-ocean)); transform-origin: left; animation: m-barw 8s ease-in-out infinite; }
@keyframes m-barw { 0% { transform: scaleX(0); } 20%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.m-ap__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-ap__cols div { display: grid; gap: 8px; align-content: start; padding: 10px 8px; border-radius: 12px; background: #f6f9fc; min-height: 140px; }
.m-ap__cols div > span { font-size: 0.75rem; font-weight: 600; color: var(--nd-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.m-ap__cols p { display: grid; gap: 4px; margin: 0; padding: 10px; border-radius: 10px; background: #fff; box-shadow: 0 6px 14px -10px rgba(10, 31, 58, 0.4); }
.m-ap__cols p strong { font-size: 0.8rem; }
.m-ap__cols p em { font-style: normal; font-size: 0.78rem; color: var(--nd-ocean); font-weight: 600; }
.m-ap__cols div:last-child p { border-left: 3px solid #16a34a; }
.m-ap__tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.m-ap__tiles span { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; background: var(--m-ice); color: var(--nd-ocean); }
.m-ap__tiles svg { width: 18px; height: 18px; }
.m-ap__tiles b { color: var(--nd-ink); font-weight: 600; }
.m-ap__image { padding: 10px; border-radius: 14px; background: #f6f9fc; }
.m-ap__poster { display: grid; place-content: center; gap: 6px; aspect-ratio: 16 / 10; border-radius: 10px; background: radial-gradient(60% 70% at 70% 30%, #4fb3ee, transparent 70%), linear-gradient(140deg, var(--nd-ocean), #0a3d6b); color: #fff; text-align: center; animation: m-develop 6s ease-in-out infinite; }
.m-ap__poster b { font-family: var(--m-head); font-size: 1.5rem; letter-spacing: 0.04em; }
.m-ap__poster i { font-style: normal; opacity: 0.9; }
@keyframes m-develop { 0% { filter: blur(10px) saturate(0); opacity: 0.4; } 35%, 100% { filter: none; opacity: 1; } }
.m-ap__qr { position: relative; display: grid; place-items: center; padding: 18px; border-radius: 14px; background: #f6f9fc; }
.m-ap__qr .m-qrc { width: 120px; height: 120px; }
.m-ap--kiosk { width: min(100%, 300px); border-radius: 22px; border: 10px solid #1b2533; }
.m-ap--kiosk .m-ap__body { text-align: center; }
.m-ap__site { display: grid; gap: 10px; justify-items: start; padding: 18px; border-radius: 12px; background: linear-gradient(140deg, #eaf4fb, #fff); }
.m-ap__nav { display: flex; gap: 6px; } .m-ap__nav i { width: 34px; height: 6px; border-radius: 6px; background: #c9d8e6; }
.m-ap__site strong { font-family: var(--m-head); font-size: 1.6rem; line-height: 1.1; }
.m-ap__site em { font-style: normal; padding: 8px 16px; border-radius: 8px; background: var(--nd-ocean); color: #fff; font-weight: 600; }
.m-ap__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; } .m-ap__cards i { height: 54px; border-radius: 8px; background: #fff; box-shadow: 0 6px 14px -10px rgba(10, 31, 58, 0.4); }

@media (max-width: 991.98px) { .m-hero-art { padding-top: 32px; } }
@media (max-width: 575.98px) {
  .m-obj { font-size: 0.85rem; }
  .m-tk { grid-template-columns: minmax(0, 1fr) 96px; }
  .m-qrc { width: 60px; height: 60px; }
  .m-ap__digits span { width: 52px; height: 70px; }
  .m-ap__big strong { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .m-obj, .m-seq, .m-tk__scan, .m-ap__digits b, .m-ap__wheel span, .m-ap__bars b, .m-ap__poster, .m-ap__booths .m-b--me { animation: none !important; }
}

/* Mobile pass: no horizontal overflow, comfortable spacing on small screens */
@media (max-width: 767.98px) {
  .nd-m .nd-hero--m, .nd-m .nd-subhero { min-height: 0; }
  .nd-m .nd-hero--m .nd-hero__inner { padding-top: 40px; }
  .nd-m .nd-h2 { font-size: clamp(1.7rem, 7vw, 2.1rem); }
  .nd-m .m-band .nd-problems__grid, .nd-m .nd-problems__grid { grid-template-columns: minmax(0, 1fr); }
  .m-widget { padding: 20px; border-radius: 18px; }
  .m-aud { grid-template-columns: minmax(0, 1fr); }
  .nd-m .nd-process__media { margin-top: 72px; }
  .nd-m .nd-uc__panel { padding: 28px 22px; }
  .m-timeline--cards .m-timeline__card { padding: 20px; }
  .nd-m :is(.nd-window, .nd-process__media, .m-out-media)::after { height: 12px; bottom: -12px; }
}

/* Benefits ("why it saves time"): no blue box. Heading on top, one white card per benefit
   with a tick, on the section's light wash. */
.nd-m .nd-outcomes__panel { display: block; padding: 0; border-radius: 0; background: none !important; color: var(--nd-text); box-shadow: none; }
.nd-m .nd-outcomes__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.nd-m .nd-outcomes__head h2 { color: var(--nd-ink); }
.nd-m .nd-outcomes__grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
@media (min-width: 1100px) { .nd-m .nd-outcomes__grid:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.nd-m .nd-outcomes__grid li { position: relative; gap: 10px; padding: 28px 24px 30px; border: 1px solid #e3ebf4; border-radius: 20px; background: #fff; box-shadow: 0 24px 48px -32px rgba(10, 31, 58, 0.35); }
.nd-m .nd-outcomes__grid li::before { content: ""; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 12px; background: var(--nd-ocean) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 20px no-repeat; }
.nd-m .nd-outcomes__grid h3 { color: var(--nd-ink); }
.nd-m .nd-outcomes__grid p { color: var(--nd-text); }
.nd-m .nd-outcomes__grid a { color: var(--nd-ocean); }

/* About: hero text centred vertically in the first screen */
.nd-m .nd-subhero > .nd-wrap > .nd-subhero__copy { flex: 1; align-content: center; }

/* Step cards: text only */
.m-timeline--cards .m-timeline__card { display: block; }

/* AI band on solution pages: blue, straight edges */
.nd-m .nd-main > .m-band { padding-top: var(--nd-section); padding-bottom: var(--nd-section); }

/* About, "What we do": each card opens with a screen or photo from its solution pages */
.nd-m #what-we-do .nd-case { display: flex; flex-direction: column; overflow: hidden; padding: 0; border-radius: 20px; background: #fff; border: 1px solid #e3ebf4; box-shadow: 0 24px 48px -32px rgba(10, 31, 58, 0.35); }
.nd-m #what-we-do .nd-case > :not(.m-case__img) { margin-left: 24px; margin-right: 24px; }
.nd-m #what-we-do .nd-case h3 { margin-top: 22px; }
.nd-m #what-we-do .nd-case p { margin-bottom: 26px; }
.m-case__img { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(160deg, var(--nd-ocean), #0b3a6b); padding: 14px 14px 0; }
.m-case__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 10px 10px 0 0; transition: transform 0.6s var(--nd-ease); }
.nd-m #what-we-do .nd-case:hover .m-case__img img { transform: scale(1.04); }

/* Integrations: heading on top, then one card per integration point with an icon tile */
.nd-m .nd-integrations__grid { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 44px); }
.nd-m .nd-integrations__list { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; border: 0; }
.nd-m .nd-integrations__list li { flex-direction: column; gap: 16px; padding: 28px 26px 30px; border: 1px solid #e3ebf4; border-radius: 20px; background: #fff; box-shadow: 0 24px 48px -32px rgba(10, 31, 58, 0.35); line-height: 1.6; }
.nd-m .nd-integrations__icon { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(150deg, var(--nd-cerulean), var(--nd-ocean)); color: #fff; box-shadow: 0 14px 28px -14px rgba(16, 102, 175, 0.7); }
.nd-m .nd-integrations__icon svg { width: 20px; height: 20px; fill: currentColor; }
@media (min-width: 1100px) { .nd-m .nd-integrations__list:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Themed hero scene (m_art.php) with the labelled object card in front of it */
.m-hero-art { position: relative; display: block; width: min(100%, 580px); margin: 0 auto; padding: 0 0 8% 0; }
.ma-svg { display: block; width: 100%; height: auto; overflow: visible; }
.m-hero-art__card { position: absolute; left: -2%; bottom: 0; width: 64%; }
.m-hero-art__card .m-obj { width: 100%; font-size: 0.8rem; animation: none; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.m-hero-art__card .m-ph { width: 62%; }
.m-hero-art__card .m-ph__body { min-height: 0; }
.m-hero-art__card .m-tk__title { font-size: 1.05rem; }
.m-hero-art__card .m-ap__big strong { font-size: 1.5rem; }
.m-hero-art__card .m-ap__digits span { width: 48px; height: 64px; }
.m-hero-art__card .m-ap__digits b { font-size: 2rem; }
.m-hero-art__card .m-ap__wheel { width: 120px; height: 120px; }
.m-hero-art__card .m-ap__qr .m-qrc { width: 84px; height: 84px; }

.ma-svg [class*="ma-"] { transform-box: fill-box; transform-origin: center; }
.ma-twinkle { animation: ma-twinkle 2.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
.ma-drift { animation: ma-drift 14s ease-in-out infinite alternate; }
.ma-drift--slow { animation-duration: 20s; }
.ma-dash { animation: ma-dash 1.6s linear infinite; }
.ma-bob { animation: ma-bob 3.4s ease-in-out infinite; }
.ma-float { animation: ma-bob 5s ease-in-out infinite; }
.ma-sway { transform-origin: bottom center !important; animation: ma-sway 4s ease-in-out infinite alternate; }
.ma-wave { animation: ma-wave 6s linear infinite; }
.ma-wave--b { animation-duration: 9s; }
.ma-boat { animation: ma-boat 12s ease-in-out infinite alternate; }
.ma-beam { transform-origin: top center !important; animation: ma-beam 5s ease-in-out infinite alternate; }
.ma-beam--r { animation-delay: -2.5s; }
.ma-fall { animation: ma-fall 3.6s linear infinite; animation-delay: var(--d, 0s); }
.ma-spin { transform-box: view-box !important; animation: ma-turn 18s linear infinite; }
.ma-door { animation: ma-door 6s ease-in-out infinite; }
.ma-drive { animation: ma-drive 6s ease-in-out infinite; }
.ma-wheel { transform-box: view-box !important; animation: ma-turn 1.2s linear infinite; }
.ma-blink { animation: ma-twinkle 1.4s ease-in-out infinite; }
.ma-pop { animation: ma-pop 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.ma-fly { animation: ma-fly 5s ease-in-out infinite; }
.ma-fly--b { animation-delay: -1.6s; } .ma-fly--c { animation-delay: -3.2s; }
.ma-ping { animation: ma-ping 2.4s ease-out infinite; animation-delay: var(--d, 0s); }
.ma-draw { stroke-dasharray: 1; animation: ma-draw 5s ease-in-out infinite; }
@keyframes ma-twinkle { 50% { opacity: 0.3; } }
@keyframes ma-drift { to { transform: translateX(40px); } }
@keyframes ma-dash { to { stroke-dashoffset: -36; } }
@keyframes ma-bob { 50% { transform: translateY(-8px); } }
@keyframes ma-sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@keyframes ma-wave { to { transform: translateX(-80px); } }
@keyframes ma-boat { to { transform: translateX(-60px); } }
@keyframes ma-beam { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }
@keyframes ma-fall { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(300px) rotate(360deg); opacity: 0; } }
@keyframes ma-turn { to { transform: rotate(360deg); } }
@keyframes ma-door { 0%, 20% { transform: translateY(0); } 45%, 80% { transform: translateY(-90px); } 100% { transform: translateY(0); } }
@keyframes ma-drive { 0% { transform: translateX(-30px); } 50% { transform: translateX(30px); } 100% { transform: translateX(-30px); } }
@keyframes ma-pop { 0% { opacity: 0; transform: scale(0.8); } 8%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes ma-fly { 0% { transform: translate(0, 0); } 50% { transform: translate(18px, -14px) rotate(-6deg); } 100% { transform: translate(0, 0); } }
@keyframes ma-ping { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes ma-draw { 0% { stroke-dashoffset: 1; } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@media (max-width: 991.98px) { .m-hero-art { margin-top: 24px; } }
@media (prefers-reduced-motion: reduce) { .ma-svg *, .ma-svg animateMotion { animation: none !important; } }

/* Hero scenes: no panel behind them. A thin white outline traced around the drawing itself
   keeps the blue shapes visible against the blue video. */
.m-hero-art { padding: 0 0 8% 0; border-radius: 0; background: none; box-shadow: none; }
.m-hero-art .ma-svg { filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff) drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35)); }
.m-hero-art__card { left: -4%; bottom: 0; }

/* Room before a navy arc band: the band overlaps the section above by the arc height, so
   that section (and the last section before the contact band) gets extra bottom space. */
.nd-m .nd-main > section:has(+ :is(#workflow, #video-showcase)),
.nd-m .nd-main > :last-child { padding-bottom: calc(var(--nd-section) + var(--m-arc) + clamp(32px, 4vw, 64px)) !important; }

/* Large, relevant line icons: no tile, no box (benefits, audiences, connections) */
.nd-m .nd-outcomes__grid li::before { display: none; }
.m-icon { display: block; width: 44px; height: 44px; margin-bottom: 4px; color: var(--nd-ocean); }
.m-icon svg, .m-aud__icon svg, .m-connect__icon svg { width: 100%; height: 100%; fill: currentColor; }
.nd-m .m-aud__icon { width: 46px; height: 46px; margin-bottom: 8px; border-radius: 0; background: none; box-shadow: none; color: var(--nd-ocean); }
.nd-m .m-aud__icon svg { width: 46px; height: 46px; }

/* Overview: the integration points as a short "connects with" list */
.m-connect { margin-top: clamp(28px, 3vw, 40px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--nd-line); }
.m-connect h3 { margin: 0 0 16px; font-size: 1.1rem; color: var(--nd-ink); }
.m-connect ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.m-connect li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; color: var(--nd-text); line-height: 1.6; }
.m-connect__icon { display: block; width: 26px; height: 26px; margin-top: 2px; color: var(--nd-ocean); }
.m-connect a { color: var(--nd-ocean); }

/* Benefits: the system video beside the heading, cards below */
@media (min-width: 992px) {
  .nd-m .nd-outcomes__panel:has(.m-out-media) { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
  .nd-m .nd-outcomes__panel:has(.m-out-media) .nd-outcomes__head { margin: 0; }
  .nd-m .nd-outcomes__panel:has(.m-out-media) .nd-outcomes__grid { grid-column: 1 / -1; margin-top: clamp(40px, 5vw, 64px); }
}
.nd-m .m-out-media { margin-bottom: 24px; }
