img-comparison-slider {
  visibility: hidden;
}

img-comparison-slider [slot='second'] {
  display: none;
}

img-comparison-slider.rendered {
  visibility: inherit;
}

img-comparison-slider.rendered [slot='second'] {
  display: unset;
}

/* Approved landing refinements. The original product-page illustrations stay intact. */
.mq-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[data-mq-icon] { display: inline-flex; flex: none; }
[data-mq-icon] > svg { display: block; width: 100%; height: 100%; }

.mq-home-hero {
  box-sizing: border-box; max-width: 1240px; margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 28px) clamp(56px, 6.5vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-areas: "eyebrow media" "title media" "description media" "actions media" "secondary media";
  gap: 24px clamp(32px, 4vw, 56px); align-items: start;
}
.mq-hero-eyebrow { grid-area: eyebrow; }
.mq-home-hero > h1 { grid-area: title; }
.mq-hero-description { grid-area: description; }
.mq-hero-actions { grid-area: actions; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.mq-hero-secondary { grid-area: secondary; justify-self: start; }
.mq-hero-media { grid-area: media; align-self: center; position: relative; min-width: 0; margin: 0; padding: 18px; background: #0d101c; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; }
.mq-hero-caption { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.mq-compare-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.mq-compare-labels { display: none; }
.mq-hero-media:has(.rendered) .mq-compare-labels { display: flex; justify-content: space-between; gap: 12px; position: absolute; top: 30px; left: 28px; right: 28px; z-index: 2; pointer-events: none; }
.mq-compare-labels span { padding: 4px 8px; border-radius: 6px; background: rgba(6,7,13,.9); color: #fff; font-size: 12px; line-height: 1.4; }
img-comparison-slider.mq-compare { display: block; visibility: visible; width: 100%; height: 400px; border-radius: 14px; overflow: hidden; --divider-width: 2px; --divider-color: #fff; --divider-shadow: 0 0 6px rgba(0,0,0,.6); }
/* Let the browser handle vertical scrolling and pinch zoom immediately. */
img-comparison-slider.mq-compare { touch-action: pan-y pinch-zoom; }
img-comparison-slider.mq-compare > [slot="first"], img-comparison-slider.mq-compare > [slot="second"] { display: block; width: 100%; height: 400px !important; object-fit: cover; }
img-comparison-slider.mq-compare:not(.rendered) > [slot="first"], img-comparison-slider.mq-compare:not(.rendered) > [slot="handle"] { display: none; }
.mq-compare-handle { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 2px solid #fff; border-radius: 50%; color: #fff; background: #0d101c; box-shadow: 0 2px 12px rgba(0,0,0,.4); cursor: ew-resize; }
.mq-compare-handle [data-mq-icon] { width: 24px; height: 24px; }
.mq-compare:focus-visible { outline: 3px solid #a9b8ff; outline-offset: 5px; }
.mq-compare-hint { display: none; margin: 0; color: #9aa3b8; font-size: 12px; line-height: 1.5; }
.mq-hero-media:has(.rendered) .mq-compare-hint { display: block; }

.mq-use-cases { display: flex; flex-direction: column; gap: 24px; padding-top: clamp(24px, 2.6vw, 36px); border-top: 1px solid #dfe3ee; }
.mq-use-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mq-use-case { display: flex; flex-direction: column; padding: 26px; border: 1px solid #dfe3ee; border-radius: 16px; background: #f8f8ff; }
.mq-use-case-icon { width: 44px; height: 44px; color: #2145e8; margin-bottom: 24px; }
.mq-use-case h4 { min-height: 52px; margin: 0 0 18px; font-family: Manrope, Inter, sans-serif; font-size: 20px; font-weight: 700; line-height: 1.3; }
.mq-use-case-service { margin: 0 0 8px; color: #2145e8; font-size: 18px; font-weight: 600; line-height: 1.4; }
.mq-use-case-description { margin: 0; color: #525a72; font-size: 15.5px; line-height: 1.6; }

.mq-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.mq-process > li { position: relative; display: grid; grid-template-rows: 20px 72px auto 1fr; gap: 16px; min-width: 0; }
.mq-process-number { text-align: center; width: 72px; }
.mq-process-node { z-index: 1; display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: #eaeaff; color: #2145e8; }
.mq-process-node [data-mq-icon] { width: 40px; height: 40px; }
.mq-process > li:not(:last-child)::after { content: ""; position: absolute; left: 72px; right: -24px; top: 71px; height: 2px; background: #7c8cff; }
.mq-process-arrow { position: absolute; top: 63px; left: calc(50% + 36px); z-index: 1; width: 18px; height: 18px; color: #2145e8; background: #f7f8fb; }
.mq-process > li > h3 { min-height: 50px; }
.mq-process > li > p { align-self: start; }

.mq-contact-intro { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.mq-contact-intro > div, .mq-contact-form { min-width: 0; }
.mq-contact-form { scroll-margin-top: 100px; }
.mq-contact-form button[type="submit"] { width: 100%; }
.mq-contact-intro .mq-br { display: none; }
.mq-contact-next > div > div { max-width: 760px; }

@media (max-width: 1023.98px) {
  .mq-home-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "eyebrow" "title" "actions" "media" "description" "secondary"; }
  .mq-hero-media { width: 100%; box-sizing: border-box; }
  .mq-contact-intro { grid-template-columns: minmax(0, 1fr); }
  .mq-contact-form { width: 100%; max-width: 720px; }
}
@media (max-width: 959.98px) {
  .mq-process { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .mq-process > li { grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 24px; row-gap: 8px; padding: 30px 0 12px; min-height: 102px; }
  .mq-process-number { position: absolute; top: 0; left: 0; }
  .mq-process-number { background: #f7f8fb; z-index: 1; }
  .mq-process-node { grid-column: 1; grid-row: 1 / 3; align-self: start; }
  .mq-process > li > h3 { grid-column: 2; min-height: 0; }
  .mq-process > li > p { grid-column: 2; }
  .mq-process > li:not(:last-child)::after { top: 102px; bottom: -58px; left: 35px; right: auto; width: 2px; height: auto; }
  .mq-process-arrow { top: auto; bottom: -20px; left: 27px; transform: rotate(90deg); }
}
@media (min-width: 600px) {
  .mq-contact-form [data-dc-if="editing"] > div:first-child { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767.98px) {
  .mq-home-hero { padding-top: 24px; row-gap: 16px; }
  .mq-hero-media { padding: 10px; border-radius: 18px; }
  img-comparison-slider.mq-compare { height: auto; border-radius: 10px; }
  img-comparison-slider.mq-compare > [slot="first"], img-comparison-slider.mq-compare > [slot="second"] { height: auto !important; aspect-ratio: 1140 / 955; }
  .mq-hero-media:has(.rendered) .mq-compare-labels { top: 20px; left: 18px; right: 18px; gap: 4px; }
  .mq-compare-labels span { font-size: 11px; }
  .mq-hero-caption { margin-top: 12px; }
  .mq-use-case-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .mq-use-case h4 { min-height: 0; margin-bottom: 18px; }
  .mq-use-case-icon { margin-bottom: 20px; }
}
