/* A separate reading layout for phones. Desktop scenes remain unchanged. */
#mk-phone-story, .mp-integrations { display: none; }
.mp-tier-picker { display: none; }

@media (max-width: 767px) {
  :root {
    --mp-ink: var(--mk-light-text, #0A0E1A);
    --mp-paper: var(--mk-light-bg, #F7F5F0);
    --mp-night: var(--mk-close, #000000);
    --mp-line: rgba(255,255,255,.18);
    --mp-muted: rgba(255,255,255,.72);
  }
  .about-w, .mk-stats, .mk-fgrid, .mk-proof-desktop,
  #card-slider-top, #card-slider-bottom, .cs-mid-title,
  #makan-logo-scroll-section { display: none !important; }
  #mk-phone-story, .mp-integrations { display: block; position: relative; z-index: 4; }
  #mk-phone-story { background: url('./sky-about.avif') center top / auto 1800px repeat-y; }
  #mk-phone-story, .mp-integrations, #mk-tiers, #use-cases-dark {
    font-family: 'IBM Plex Sans', 'IBM Plex Sans Arabic', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-align: start;
  }
  #mk-phone-story *, .mp-integrations * { box-sizing: border-box; }
  #mk-phone-story :is(h2,h3,p,span,button,dt,dd,summary), .mp-integrations *,
  #mk-tiers :is(h2,h3,p,span,a,li,summary), #use-cases-dark :is(h2,p,label,input,textarea,select,button) {
    font-family: 'IBM Plex Sans', 'IBM Plex Sans Arabic', sans-serif !important;
  }
  .mp-past-hero .header { display: none !important; }
  #mk-phone-story :is(h2,h3,p,figure,ol,dl,dd), .mp-integrations :is(h2,figure) { margin: 0; }
  #mk-phone-story h2, .mp-integrations h2 {
    font: 500 clamp(32px, 8vw, 46px)/1.13 'IBM Plex Sans', 'IBM Plex Sans Arabic', sans-serif;
    letter-spacing: -.035em;
    text-wrap: balance;
    max-width: 18ch;
  }
  #mk-phone-story h3 { font: 600 22px/1.3 'IBM Plex Sans', 'IBM Plex Sans Arabic', sans-serif; letter-spacing: -.02em; }
  #mk-phone-story p { font-size: 16px; line-height: 1.65; }
  #mk-phone-story .mp-eyebrow { font-size: 12px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
  .mp-section { padding: 64px 24px; }
  .mp-intro { color: white; background: transparent; }
  #mk-phone-story .mp-intro h2 { margin-block: 20px 24px; }
  #mk-phone-story .mp-lead { color: var(--mp-muted); font-size: 18px; }
  #mk-phone-story .mp-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 40px; border-top: 1px solid var(--mp-line); }
  .mp-stats > div { display: flex; flex-direction: column; padding-block: 24px; border-bottom: 1px solid var(--mp-line); }
  .mp-stats dt { order: 2; color: var(--mp-muted); font-size: 14px; }
  .mp-stats dd { font-size: clamp(28px,8vw,40px); line-height: 1.2; letter-spacing: -.04em; text-align: start; }
  .mp-product { background: transparent; color: white; padding-top: 16px; }
  .mp-image-switch { display: flex; gap: 8px; margin-block: 28px 16px; }
  .mp-image-switch button { flex: 1; min-width: 0; min-height: 48px; padding: 10px; border: 1px solid white; border-radius: 8px; background: white; color: var(--mp-ink); font-size: 14px; font-weight: 500; line-height: 1.35; cursor: pointer; }
  .mp-image-switch button[aria-pressed="true"] { background: var(--mp-night); color: white; border-color: var(--mp-night); }
  #mk-phone-story .mp-map { margin-inline: -24px; position: relative; }
  .mp-map img { display: block; width: 100%; height: auto; aspect-ratio: 1.08; object-fit: cover; }
  .mp-map figcaption { position: absolute; inset-inline-start: 16px; bottom: 16px; padding: 5px 10px; border-radius: 4px; background: var(--mp-night); color: white; font-size: 12px; }
  .mp-answer { padding: 24px; margin-top: 20px; border-radius: 16px; background: white; color: var(--mp-ink); }
  #mk-phone-story .mp-question { margin-block: 12px 20px; font-size: 20px; line-height: 1.45; }
  #mk-phone-story .mp-result { padding-block: 16px; border-block: 1px solid var(--mk-light-line); font-weight: 600; }
  #mk-phone-story .mp-citations { color: var(--mk-light-text-dim); font: 12px/1.8 'IBM Plex Mono',monospace; margin-top: 14px; text-align: start; }
  .mp-workflow { background: transparent; color: var(--mp-ink); padding-top: 0; }
  #mk-phone-story .mp-workflow > h2 { color: white; }
  #mk-phone-story .mp-steps { list-style: none; padding: 0; margin-top: 36px; }
  .mp-steps li { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 12px; padding: 24px 20px; margin-bottom: 16px; border-radius: 16px; background: white; }
  .mp-step-number { font: 13px/1.6 'IBM Plex Mono',monospace; padding-top: 3px; }
  #mk-phone-story .mp-steps h3 { margin-block: 8px 12px; }
  .mp-steps p:not(.mp-eyebrow) { color: rgba(10,14,26,.76); }
  .mp-proof { background: var(--mp-night); color: white; }
  #mk-phone-story .mp-proof h2 { margin-top: 20px; }
  .mp-proof-list { margin-top: 36px; }
  .mp-proof-list article { border-top: 1px solid var(--mp-line); padding-block: 24px; }
  #mk-phone-story .mp-proof-list p { margin-top: 10px; color: var(--mp-muted); }
  .mp-applications { background: var(--mp-paper); color: var(--mp-ink); }
  .mp-usecases { margin-top: 28px; border-top: 1px solid rgba(10,14,26,.18); }
  .mp-usecases details { border-bottom: 1px solid rgba(10,14,26,.18); }
  .mp-usecases summary { display: grid; grid-template-columns: 26px minmax(0,1fr) 16px; gap: 12px; align-items: center; min-height: 76px; padding-block: 16px; cursor: pointer; font-size: 20px; font-weight: 500; line-height: 1.3; list-style: none; }
  .mp-case-number { font: 12px 'IBM Plex Mono',monospace; }
  .mp-usecases summary::after { content: '+'; font-size: 24px; font-weight: 400; }
  .mp-usecases details[open] summary::after { content: '−'; }
  .mp-usecases summary::-webkit-details-marker { display: none; }
  #mk-phone-story .mp-usecases p { padding: 0 0 24px 0; color: rgba(10,14,26,.78); }

  /* Present product options as editorial rows, not scaled desktop cards. */
  #mk-tiers { background: var(--mp-paper) !important; color: var(--mp-ink); padding: 12px 24px 64px !important; }
  #mk-tiers .mk-tiers-inner { padding: 0; }
  #mk-tiers .mk-tiers-eyebrow { color: var(--mp-ink); text-align: start; font-size: 12px; letter-spacing: .12em; }
  #mk-tiers h2.mk-tiers-title { color: var(--mp-ink); font-size: 36px !important; line-height: 1.15; text-align: start; margin: 16px 0 20px; }
  #mk-tiers .mk-tiers-sub { color: rgba(10,14,26,.78); font-size: 17px; text-align: start; margin-bottom: 32px; }
  #mk-tiers .mk-tiers-grid { display: flex; flex-direction: column; gap: 0; }
  #mk-tiers .mk-tier-card { padding: 32px 0; border: 0; border-top: 1px solid rgba(10,14,26,.2); border-radius: 0; box-shadow: none; background: transparent; opacity: 1 !important; transform: none !important; gap: 16px; }
  #mk-tiers .mk-tier-header, #mk-tiers .mk-tier-body { display: contents; }
  #mk-tiers .mk-tier-head-row { order: 0; }
  #mk-tiers .mk-tier-name { font-size: 18px; }
  #mk-tiers .mk-tier-headline { order: 1; font-size: 26px !important; line-height: 1.25; margin: 0; }
  #mk-tiers .mk-tier-desc { order: 2; font-size: 16px; line-height: 1.65; }
  #mk-tiers .mk-tier-details { order: 3; }
  #mk-tiers .mk-tier-details summary { display: flex; font-size: 16px; min-height: 48px; }
  #mk-tiers .mk-tier-list { margin-block: 12px; }
  #mk-tiers .mk-tier-list li { font-size: 16px !important; }
  #mk-tiers .mk-tier-cta { order: 4; width: 100%; min-height: 50px; margin: 0; background: var(--mp-ink) !important; color: white !important; font-size: 16px; border-radius: 8px; }
  .mp-integrations { background: var(--mp-night); color: white; }
  .mp-integrations summary { padding-block: 24px; cursor: pointer; font-size: 16px; }
  .mp-logo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 12px; }
  .mp-logo-grid figure { min-width: 0; text-align: center; }
  .mp-logo-grid img { display: block; width: 56px; height: 36px; margin: 0 auto 10px; object-fit: contain; filter: brightness(0) invert(1); }
  .mp-logo-grid figcaption { font-size: 12px; overflow-wrap: anywhere; }
  #use-cases-dark { background: var(--mp-night) !important; }
  #use-cases-dark .uc-spotlight-content { padding: 0 24px 28px !important; justify-content: flex-start; }
  #use-cases-dark .uc-spotlight-content h2 { color: white !important; width: 100%; padding: 0; text-align: start; font-size: 32px !important; line-height: 1.2; }
  #use-cases-dark .uc-header-content { width: calc(100% - 32px) !important; padding: 28px 20px !important; border-radius: 12px !important; }
  #use-cases-dark .mk-waitlist p { font-size: 16px !important; line-height: 1.6 !important; }
  #use-cases-dark .mk-waitlist label { font-size: 13px !important; letter-spacing: .04em !important; }
  #use-cases-dark .mk-waitlist h2 { font-size: 30px !important; }
  .cta { pointer-events: none; }
  .cta a { pointer-events: auto; }
  .cta.mp-form-visible { visibility: hidden !important; }
  [dir="rtl"] .mp-stats dd { text-align: end; }
}

/* Visual hierarchy adapted from 21st.dev's bento and feature-card patterns.
   Native HTML keeps the landing page's existing static architecture. */
@media (max-width: 767px) {
  .mp-section { padding-block: 44px; }
  .mp-intro { padding-bottom: 24px; }
  #mk-phone-story .mp-intro h2 { margin-block: 14px 16px; }
  #mk-phone-story .mp-stats { margin-top: 24px; }
  .mp-stats > div { padding-block: 16px; }
  .mp-product { padding-top: 12px; }
  #mk-phone-story .mp-product > h2 { display: none; }
  .mp-image-switch { margin-top: 0; }
  #mk-phone-story .mp-map { margin-inline: 0; overflow: hidden; border-radius: 18px; }
  .mp-map img { aspect-ratio: 1.05; }
  .mp-answer { margin-top: 12px; padding: 20px; }
  #mk-phone-story .mp-question { font-size: 20px; margin-block: 8px 12px; }
  #mk-phone-story .mp-citations { display: none; }
  #mk-phone-story .mp-result { border-bottom: 0; padding-bottom: 0; font-size: 16px; }
  .mp-bento { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 24px; align-items: start; }
  .mp-tile { background: white; color: var(--mp-ink); border-radius: 18px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.07); }
  .mp-tile-places { grid-column: 1 / -1; }
  .mp-tile summary { display: block; list-style: none; position: relative; padding: 18px; cursor: pointer; }
  .mp-tile summary::-webkit-details-marker { display: none; }
  #mk-phone-story .mp-tile summary > p { font-size: 12px; line-height: 1.4; color: var(--mk-light-text-dim); margin-block: 12px 6px; }
  #mk-phone-story .mp-tile h3 { font-size: 18px; line-height: 1.25; padding-inline-end: 8px; }
  .mp-tile-more { position: absolute; inset-inline-end: 12px; top: 12px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--mk-light-line); border-radius: 50%; background: white; font-size: 20px; }
  .mp-tile[open] .mp-tile-more { transform: rotate(45deg); }
  .mp-tile-detail { padding: 0 18px 18px; }
  #mk-phone-story .mp-tile-detail p { font-size: 15px; line-height: 1.5; }
  .mp-tile-map { height: 140px; margin: -18px -18px 16px; background: url('./before-satellite-phone.webp') 50% 45% / cover; }
  .mp-tile-map svg { width: 100%; height: 100%; }
  .mp-tile-map path { fill: rgba(255,255,255,.18); stroke: white; stroke-width: 2; stroke-dasharray: 5 4; }
  .mp-tile-chat { height: 86px; padding-top: 10px; position: relative; }
  .mp-tile-chat i { display: block; height: 12px; width: 75%; border-radius: 5px; background: var(--mk-light-line); margin: 6px 0; }
  .mp-tile-chat i:nth-child(2) { width: 90%; background: var(--mp-ink); opacity: .8; }
  .mp-tile-chat i:nth-child(3) { width: 55%; }
  .mp-tile-chat b { position: absolute; bottom: 0; inset-inline-end: 0; font-size: 24px; }
  .mp-layer-art { height: 86px; position: relative; }
  .mp-layer-art i { position: absolute; width: 62px; height: 46px; inset-inline-start: calc(50% - 31px); top: 25px; border: 1px solid rgba(10,14,26,.3); border-radius: 6px; background: var(--mp-paper); transform: rotate(-30deg) skew(18deg); }
  .mp-layer-art i:nth-child(2) { top: 15px; background: white; }
  .mp-layer-art i:nth-child(3) { top: 5px; background: var(--mp-ink); }
  .mp-tile-number { height: 86px; font-size: 64px; line-height: 1.3; letter-spacing: -.07em; }
  .mp-tile-number span { font-size: 22px; margin-inline-start: 10px; }
  .mp-tile-chart { height: 86px; display: flex; align-items: end; gap: 5px; padding-top: 16px; }
  .mp-tile-chart i { flex: 1; height: var(--bar); border-radius: 4px 4px 0 0; background: var(--mp-ink); opacity: .7; }
  .mp-tile-chart i:last-child { opacity: 1; }
  .mp-proof-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 24px; }
  .mp-proof-list details { background: var(--mk-ops-card); border: 1px solid var(--mk-ops-card-border); border-radius: 14px; padding: 16px; }
  .mp-proof-list summary { min-height: 74px; list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; }
  .mp-proof-list summary::-webkit-details-marker { display: none; }
  #mk-phone-story .mp-proof-list h3 { font-size: 17px; }
  #mk-phone-story .mp-proof-list p { font-size: 15px; }
  .mp-proof-list summary > span { font-size: 20px; }
  .mp-case-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 24px 18px; }
  .mp-case-controls button { min-height: 44px; padding: 10px 14px; font-size: 14px; background: white; color: var(--mp-ink); border: 1px solid var(--mk-light-line); border-radius: 999px; cursor: pointer; }
  .mp-case-controls button[aria-pressed="true"] { background: var(--mp-ink); color: white; }
  .mp-case-answer { padding: 20px; background: white; border-radius: 14px; min-height: 114px; }
  [data-phone-case-panel][hidden] { display: none !important; }
  #mk-tiers .mk-tiers-sub, #mk-tiers .mk-tier-desc { display: none; }
  .mp-tier-picker { display: flex; padding: 4px; gap: 4px; background: rgba(10,14,26,.06); border-radius: 12px; margin-bottom: 20px; }
  .mp-tier-picker button { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; color: var(--mp-ink); border-radius: 8px; font-size: 15px; cursor: pointer; }
  .mp-tier-picker button[aria-pressed="true"] { background: white; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
  #mk-tiers .mk-tier-card { padding: 24px; border-radius: 18px; background: white; border: 1px solid var(--mk-light-line); }
  #mk-tiers .mk-tier-card.mp-tier-inactive { display: none; }
  #mk-tiers .mk-tier-headline { font-size: 24px !important; }
  @media (max-width: 359px) {
    .mp-section { padding-inline: 16px; }
    .mp-tile summary { padding: 14px; }
    #mk-phone-story .mp-tile h3 { font-size: 16px; }
  }
}

/* Mobile spatial explorer: satellite planes, depth and a single feature story. */
@media (max-width: 767px) {
  .mp-spatial { margin-top: 24px; }
  .mp-scene { height: 320px; position: relative; perspective: 850px; overflow: hidden; }
  .mp-terrain { position: absolute; width: 230px; height: 230px; left: calc(50% - 115px); top: 30px; transform-style: preserve-3d; transform: rotateX(53deg) rotateZ(-28deg); transition: transform .8s ease; }
  .mp-plane { position: absolute; inset: 0; border-radius: 8px; transition: transform .8s ease, opacity .6s ease; }
  .mp-plane-base { background: #e4e9ed; transform: translateZ(-16px); box-shadow: 0 26px 38px #17364e55, 0 5px 0 #a3b5bf; }
  .mp-plane-image { background: url('./before-satellite-phone.webp') center / cover; border: 2px solid #fff; box-shadow: 0 5px 0 #b7c4c7; }
  .mp-plane-grid { transform: translateZ(3px); background: repeating-linear-gradient(0deg,transparent 0 37px,#ffffff55 38px 39px),repeating-linear-gradient(90deg,transparent 0 37px,#ffffff55 38px 39px); border: 1px solid #ffffffaa; }
  .mp-plane-marks { transform: translateZ(12px); }
  .mp-plane-marks i { position: absolute; width: 35px; height: 45px; left: 40px; top: 62px; border: 2px solid white; background: #ffffff30; box-shadow: 0 0 0 4px #ffffff20; }
  .mp-plane-marks i:nth-child(2) { left: 135px; top: 110px; width: 42px; height: 30px; }
  .mp-plane-marks i:nth-child(3) { left: 116px; top: 35px; width: 28px; height: 38px; }
  .mp-orbit { position: absolute; width: 290px; height: 115px; border: 1px solid #ffffff66; border-radius: 50%; left: calc(50% - 145px); top: 150px; transform: rotate(-15deg); }
  .mp-scene-coordinate { position: absolute; bottom: 10px; inset-inline: 0; text-align: center; font: 10px 'IBM Plex Mono', monospace; letter-spacing: .1em; color: white; opacity: .8; }
  .mp-scene-signal { position: absolute; top: 25px; right: 8px; width: 122px; padding: 18px; background: #ffffffdc; backdrop-filter: blur(12px); border: 1px solid white; box-shadow: 0 12px 30px #243e5722; border-radius: 14px; transform: translateY(15px) rotate(-6deg); opacity: 0; transition: opacity .6s, transform .6s; }
  .mp-scene-signal span { display: block; height: 5px; margin-block: 6px; background: #81919d; border-radius: 5px; }
  .mp-scene-signal span:nth-child(2) { width: 65%; background: #b6c3ca; }
  .mp-scene-signal span:nth-child(3) { width: 80%; background: #d1dce1; }
  [data-scene="1"] .mp-scene-signal { opacity: 1; transform: translateY(0) rotate(-6deg); }
  [data-scene="2"] .mp-plane-grid { transform: translateZ(62px); background-color: #d8eaff44; }
  [data-scene="2"] .mp-plane-marks { transform: translateZ(112px); }
  [data-scene="2"] .mp-terrain { transform: rotateX(58deg) rotateZ(-35deg) translateY(28px); }
  [data-scene="3"] .mp-plane-marks { transform: translateZ(42px); }
  [data-scene="3"] .mp-plane-marks i { background: #fff9; box-shadow: 0 0 0 9px #ffffff22, 0 16px 20px #0003; }
  [data-scene="4"] .mp-plane-grid { transform: translateZ(40px) translateX(18px); background: url('./after-makan-overlay-phone.webp') center / cover; opacity: .85; }
  [data-scene="4"] .mp-plane-marks { opacity: 0; }
  .mp-scene-controls { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; padding: 5px; border-block: 1px solid #ffffff60; }
  .mp-scene-controls button { flex: 1; padding: 12px 7px; min-height: 46px; border: 0; background: transparent; color: white; font-size: 12px; border-radius: 8px; cursor: pointer; }
  .mp-scene-controls button[aria-pressed="true"] { background: white; color: #17212a; box-shadow: 0 4px 12px #193b5622; }
  .mp-scene-copy { min-height: 155px; padding-top: 24px; color: white; }
  #mk-phone-story .mp-scene-copy h3 { font-size: 26px; }
  #mk-phone-story .mp-scene-copy p { font-size: 15px; line-height: 1.6; margin-top: 10px; color: #ffffffe0; }
  [data-scene-panel][hidden] { display: none !important; }
  .mp-proof { background: #f4f7f9; color: #17212a; border-radius: 32px 32px 0 0; }
  .mp-proof-list { display: block; }
  .mp-proof-list details { background: transparent; border: 0; border-bottom: 1px solid #17212a22; border-radius: 0; padding: 16px 0; }
  .mp-proof-list summary { min-height: 32px; align-items: center; }
  #mk-phone-story .mp-proof-list h3 { font-size: 18px; font-weight: 500; }
  #mk-phone-story .mp-proof-list p { color: #52616c; }
  .mp-applications, #mk-tiers { background: #f4f7f9 !important; }
  .mp-case-controls { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; }
  .mp-case-controls button { flex: 0 0 auto; scroll-snap-align: start; }
  .mp-case-answer { background: transparent; padding: 0; min-height: 80px; }
  #mk-tiers .mk-tier-card { background: transparent; border: 0; padding: 16px 0; }
  .mp-integrations { background: #e9f0f5; color: #17212a; }
  .mp-logo-grid img { filter: grayscale(1); }
  #use-cases-dark { background: linear-gradient(#e9f0f5,#fff) !important; color: #17212a !important; }
  #use-cases-dark .uc-spotlight-content h2 { color: #17212a !important; }
  #use-cases-dark .uc-header-content { background: white !important; color: #17212a !important; border: 1px solid #d7e0e6 !important; box-shadow: 0 12px 50px #32556f0d !important; }
  #use-cases-dark .mk-waitlist :is(h2,p,label) { color: #17212a !important; }
  #use-cases-dark .mk-waitlist :is(input,select,textarea) { color: #17212a !important; background: #f4f7f9 !important; border-color: #d7e0e6 !important; }
  #use-cases-dark .mk-waitlist :is(input,textarea)::placeholder { color: #6c7b86 !important; }
  #mk-phone-story :is(button,summary):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
}
@media (max-width: 359px) {
  .mp-scene { height: 290px; }
  .mp-terrain { width: 205px; height: 205px; left: calc(50% - 102.5px); }
  .mp-scene-controls button { font-size: 11px; padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .mp-terrain, .mp-plane, .mp-scene-signal { transition: none !important; }
}

/* One viewport-sized sky on phones; desktop backgrounds stay untouched. */
@media (max-width: 767px) {
  body { isolation: isolate; }
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    /* The cloud texture has transparent ends: crop into its cloudy center.
       Own the sky color here rather than leaking the body's browser tint. */
    background: #176ca8 url('./sky-about.avif') center 56% / auto 200% no-repeat;
  }
  #mk-phone-story, .mp-proof, #mk-tiers, .mp-integrations, #use-cases-dark {
    background: transparent !important;
  }
  .mp-proof, #mk-tiers, .mp-integrations, #use-cases-dark { color: #17212a; }
  .mp-proof { border-radius: 0; }
  .mp-proof-list { padding: 8px 20px; border: 1px solid #ffffffaa; background: #ffffffb8; border-radius: 18px; backdrop-filter: blur(8px); }
  #mk-tiers .mk-tier-card { padding: 24px; background: #ffffffc9; border: 1px solid #ffffffd9; border-radius: 18px; }
  .mp-tier-picker { background: #ffffff80; }
  #use-cases-dark .uc-header-content { background: #ffffffe8 !important; backdrop-filter: blur(10px); }
  #use-cases-dark .uc-spotlight-content { padding-top: 36px !important; }
  #use-cases-dark .mk-waitlist :is(label,p) { opacity: 1 !important; }
}

.mp-shift-timeline, .mp-shift-buildings { display: none; }
@media (max-width: 767px) {
  /* Each main story has room to occupy a phone viewport. */
  .mp-intro { min-height: 80svh; display: flex; flex-direction: column; justify-content: center; }
  .mp-product { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 56px 100px; }
  .mp-workflow { min-height: 100svh; padding-block: 48px 112px; }
  .mp-spatial { margin-top: 28px; }
  .mp-scene { height: clamp(300px,42svh,440px); }
  .mp-terrain { top: calc(50% - 125px); }
  .mp-scene-copy { min-height: 140px; }
  .mp-scene-controls { margin-top: 20px; }
  /* Only Layers uses the exploded plane illustration. */
  .mp-plane-grid { opacity: 0; }
  [data-scene="2"] .mp-plane-grid { opacity: 1; }
  [data-scene="4"] .mp-plane-grid { opacity: 0; }
  [data-scene="4"] .mp-terrain { transform: rotateX(54deg) rotateZ(-24deg); }
  [data-scene="4"] .mp-shift-buildings { display: block; position: absolute; inset: 0; transform-style: preserve-3d; }
  .mp-building { position: absolute; left: 40px; top: 62px; width: 35px; height: 45px; transform-style: preserve-3d; transform: scaleZ(1); transition: transform 1s ease; }
  .mp-building:nth-child(2) { left: 135px; top: 110px; width: 42px; height: 30px; }
  .mp-building:nth-child(3) { left: 116px; top: 35px; width: 28px; height: 38px; }
  .mp-building i { position: absolute; display: block; background: #e9edf0; border: 1px solid #fff; backface-visibility: visible; }
  .mp-building i:nth-child(1) { inset: 0; transform: translateZ(36px); background: repeating-linear-gradient(90deg,#e6e9e7 0 7px,#bdc9ce 8px 9px); }
  .mp-building i:nth-child(2) { left: 0; bottom: 0; width: 100%; height: 36px; transform-origin: bottom; transform: rotateX(-90deg); background: #9baeb9; }
  .mp-building i:nth-child(3) { right: 0; top: 0; height: 100%; width: 36px; transform-origin: right; transform: rotateY(90deg); background: #c1cdd3; }
  [data-pass="previous"] .mp-building { transform: scaleZ(.025); }
  [data-scene="4"] .mp-shift-timeline { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; color: white; margin-top: 12px; }
  .mp-shift-timeline button { min-height: 44px; padding: 10px 16px; border: 1px solid #ffffffa0; border-radius: 30px; background: transparent; color: white; font-size: 13px; cursor: pointer; }
  .mp-shift-timeline button[aria-pressed="true"] { background: white; color: #17212a; }
  .mp-shift-timeline small { flex-basis: 100%; text-align: center; font-size: 11px; opacity: .85; }
  #mk-tiers { padding: 56px 0 96px !important; min-height: 100svh; }
  #mk-tiers .mk-tiers-eyebrow, #mk-tiers .mk-tiers-title { margin-inline: 24px; }
  #mk-tiers .mk-tiers-grid { display: flex; flex-direction: row; gap: 16px; overflow-x: auto; padding: 20px 24px 32px; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #ffffffa0 transparent; align-items: stretch; }
  #mk-tiers .mk-tier-card { flex: 0 0 calc(100% - 16px); min-width: 0; min-height: 62svh; scroll-snap-align: start; scroll-snap-stop: always; border-radius: 28px; padding: 30px 26px; gap: 24px; box-shadow: 0 12px 36px #12395618; }
  #mk-tiers .mk-tier-card .mk-tier-desc { display: block; }
  #mk-tiers .mk-tier-headline { font-size: 30px !important; }
  #mk-tiers .mk-tier-cta { margin-top: auto; }
  #mk-tiers .mk-tier-name { font-size: 22px; }
  .mp-integrations { min-height: 60svh; display: flex; flex-direction: column; justify-content: center; padding-block: 80px; }
}
@media (prefers-reduced-motion: reduce) { .mp-building { transition: none; } }
@media (max-width: 767px) {
  #mk-tiers h2.mk-tiers-title { margin-inline: 24px; }
  .mp-workflow { padding-top: 36px; }
  .mp-workflow .mp-scene { height: clamp(270px,36svh,380px); }
  .mp-workflow .mp-scene-copy { min-height: 110px; }
}

/* Dissolve the whole mobile hero scene into the same sky beneath it. */
@media (max-width: 767px) {
  .sky-bg_about, .sky-bg_night { display: none !important; }
  .sky-bg_hero_grad-over { display: none !important; }
  #hero .hero-w_bg, .sky-bg_hero {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 57%, rgba(0,0,0,.98) 64%, rgba(0,0,0,.88) 72%, rgba(0,0,0,.64) 81%, rgba(0,0,0,.28) 91%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 57%, rgba(0,0,0,.98) 64%, rgba(0,0,0,.88) 72%, rgba(0,0,0,.64) 81%, rgba(0,0,0,.28) 91%, transparent 100%);
  }
  .sky-bg_hero .img-w .img { -webkit-mask-image: none !important; mask-image: none !important; }
  .hero-mobile-tagline { text-shadow: 0 2px 14px rgba(0,0,0,.4); }
}

/* Keep the mobile story concise and restore the shared moving logo strip. */
@media (max-width: 767px) {
  #mk-phone-story .mp-intro,
  [data-scene-panel="0"] > p,
  .mp-integrations { display: none !important; }
  #mk-tiers h2.mk-tiers-title,
  #mk-tiers .mk-tiers-eyebrow,
  #use-cases-dark .uc-spotlight-content h2 { color: #fff !important; }
  #makan-logo-scroll-section { display: block !important; padding: 64px 0 80px !important; background: transparent !important; overflow: hidden; }
  #makan-logo-scroll-section [data-i18n="integrations.title"] { color: #fff !important; font: 500 24px/1.3 'IBM Plex Sans', 'IBM Plex Sans Arabic', sans-serif !important; letter-spacing: -.02em !important; text-transform: none !important; }
  #makan-logo-scroll-section [style*="animation:makan-logo-scroll"] { gap: 32px !important; }
  #makan-logo-scroll-section img { height: 38px !important; max-width: 110px; object-fit: contain; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  #makan-logo-scroll-section [style*="animation:makan-logo-scroll"] { animation-play-state: paused !important; }
}

/* Final phone rhythm: generous reading space, consistent section handoffs. */
@media (max-width: 767px) {
  .mp-product { padding-block: 56px 72px; }
  .mp-workflow { padding-block: 48px 80px; }
  .mp-scene-copy { padding-top: 28px; }
  #mk-tiers { padding-bottom: 48px !important; }
  #mk-tiers .mk-tiers-grid { padding-top: 28px; }
  #makan-logo-scroll-section { padding-block: 56px 72px !important; }
  #use-cases-dark .uc-spotlight { background: transparent !important; padding-bottom: 64px !important; }
  #use-cases-dark .uc-spotlight-content { padding: 40px 24px 40px !important; }
  #use-cases-dark .uc-header-content { padding: 32px 24px !important; }
}

/* Native phone momentum, with no expensive blur surface following the scroll. */
@media (max-width: 767px) {
  html, html.lenis, html.lenis-smooth { scroll-behavior: auto !important; }
  #hero .hero-w_bg { transform: none !important; }
  body::before { transform: translateZ(0); }
  .cta *, #use-cases-dark .uc-header-content, .mp-scene-signal { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}

.mk-demo-phone { display: none; }
@media (max-width: 767px) {
  .cta .mk-demo-desktop { display: none; }
  .cta .mk-demo-phone { display: block; }
  .cta .btn-cta { gap: 5px; min-height: 44px; }
  .cta .btn-cta_btn { height: 36px !important; min-height: 36px; padding-inline: 16px !important; }
  .cta .btn-cta_btn-icon { height: 36px !important; width: 36px !important; min-height: 36px; }
  .cta .btn-cta_btn .t7 { font-size: 14px !important; }
}

/* A still hero and a direct comparison keep the phone experience light. */
@media (max-width: 767px) {
  #hero *, .sky-bg_hero * { animation: none !important; transition: none !important; }
  #hero .hero-w_bg, #hero .hero-s, .sky-bg_hero { transform: none !important; }
  #hero .hero-w_bg_window, #wab-star-particles { display: none !important; }
  #hero [data-wab-flicker] { opacity: 1 !important; visibility: visible !important; filter: none !important; }
  .mp-compare-labels { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 14px; color: white; font-size: 13px; font-weight: 500; }
  #mk-phone-story .mp-compare { aspect-ratio: 1; isolation: isolate; }
  .mp-compare img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
  .mp-compare-after { clip-path: inset(0 0 0 var(--reveal)); }
  .mp-compare-line { position: absolute; inset-block: 0; left: var(--reveal); width: 2px; background: white; pointer-events: none; }
  .mp-compare-line span { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: white; color: #17212a; box-shadow: 0 2px 12px #0003; font-size: 22px; }
  .mp-compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; direction: ltr; touch-action: pan-y; }
  .mp-compare:focus-within { outline: 2px solid white; outline-offset: 5px; }
  .mp-compare figcaption { pointer-events: none; font-size: 10px; }
  .mp-plane-marks, .mp-scene-coordinate { display: none !important; }
}

/* Approved, matching Pix4D survey views replace the decorative geometry. */
@media (max-width: 767px) {
  .mp-survey-scene { position: relative; height: clamp(250px, 36svh, 360px); display: grid; place-items: center; }
  .mp-survey-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
  .mp-survey-model { filter: url('#mp-survey-matte'); }
  .mp-survey-overhead { display: none; border-radius: 16px; }
  [data-survey-view="overhead"] .mp-survey-model { display: none; }
  [data-survey-view="overhead"] .mp-survey-overhead { display: block; }
  .mp-survey-scene figcaption { position: absolute; bottom: -22px; inset-inline: 0; text-align: center; color: #fff; font-size: 11px; }
  .mp-survey-views { display: flex; justify-content: center; gap: 6px; margin-block: 38px 26px; }
  .mp-survey-views button { min-height: 44px; padding: 10px 20px; border: 1px solid #ffffff70; border-radius: 24px; background: transparent; color: white; font-size: 13px; cursor: pointer; }
  .mp-survey-views button[aria-pressed="true"] { background: white; color: #17212a; }
  #mk-phone-story .mp-survey-compare { background: white; aspect-ratio: 1; }
  .mp-survey-compare > img { object-fit: contain; z-index: 0; }
  .mp-survey-compare .mp-compare-after { position: absolute; inset: 0; z-index: 1; background: #cee5f2 !important; }
  .mp-survey-compare .mp-compare-line { z-index: 2; }
  .mp-survey-compare .mp-compare-range { z-index: 3; }
  .mp-survey-compare figcaption { z-index: 4; }
  .mp-survey-compare .mp-compare-after img { object-fit: contain; filter: url('#mp-survey-matte'); }
  #mk-phone-story .mp-survey-credit { margin-top: 18px; text-align: center; font-size: 11px; color: white; }
  .mp-survey-credit a { color: inherit; text-underline-offset: 3px; }
}

@media (max-width: 767px) {
  .mp-workflow .mp-spatial { margin-top: 24px; }
  .mp-district { position: relative; height: clamp(350px, 52svh, 470px); margin-inline: -20px; touch-action: pan-y; outline: none; border-radius: 28px; background: radial-gradient(ellipse at 50% 48%, #edfaff35, #ffffff00 68%); }
  .mp-district:focus-visible { outline: 2px solid #ffffffbb; outline-offset: 2px; }
  .mp-district canvas, .mp-district > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .mp-district-topline { position: absolute; inset: 0 16px auto; display: flex; justify-content: space-between; align-items: center; color: #ffffffb8; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
  .mp-district-reset { pointer-events: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ffffff55; background: #ffffff12; color: white; font-size: 24px; cursor: pointer; }
  .mp-district-caption { position: absolute; bottom: 0; inset-inline: 12px; display: grid; gap: 6px; text-align: center; color: white; pointer-events: none; }
  .mp-district-status { font-size: 13px; letter-spacing: .01em; }
  .mp-district-caption small { font-size: 10px; color: #ffffffa0; }
  .mp-district-fallback { position: absolute; inset: 20% 0; width: 100%; height: 60%; object-fit: contain; filter: url('#mp-survey-matte'); }
  .mp-district[data-ready="true"] .mp-district-fallback { display: none; }
  .mp-district[data-ready="fallback"] canvas { display: none; }
  .mp-district[data-ready="fallback"] .mp-district-reset,
  .mp-district[data-ready="fallback"] .mp-district-caption small { display: none; }
  .mp-district-time { display: flex; justify-content: center; align-items: center; gap: 20px; color: white; margin-top: 18px; }
  .mp-district-time[hidden] { display: none; }
  .mp-district-time button { min-height: 44px; padding: 10px 22px; color: white; background: #ffffff10; border: 1px solid #ffffff80; border-radius: 24px; font-size: 13px; cursor: pointer; }
  .mp-district-time button[aria-pressed="true"] { color: #193c50; background: white; }
  .mp-workflow .mp-scene-controls { margin-top: 28px; }
  .mp-workflow .mp-scene-copy { min-height: 100px; padding-top: 24px; }
}

@media (max-width: 767px) {
  .mp-scan-credit { margin: 14px 0 0; text-align: center; font-size: 10px; color: #ffffffb8; }
  .mp-scan-credit a { color: inherit; text-underline-offset: 3px; }
  .mp-district-fallback { inset: 0; width: 100%; height: 100%; object-fit: contain; filter: none; }
  .mp-district-topline { font-size: 9px; letter-spacing: .04em; }
  .mp-district-time { gap: 10px; }
  .mp-district-time button { padding-inline: 16px; font-size: 12px; }
}
@media (max-width: 767px) {
  #mk-phone-story .mp-scan-credit { margin: 14px 0 0; font-size: 10px; font-weight: 400; }
}
@media(max-width:767px){
 .mp-layer-toggles{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:18px 0 0;}
 .mp-layer-toggles[hidden]{display:none;}
 .mp-layer-toggles button{display:flex;align-items:center;gap:7px;min-height:44px;padding:9px 12px;border:1px solid #ffffff70;border-radius:24px;background:#ffffff20;color:white;font-size:12px;cursor:pointer;}
 .mp-layer-toggles button::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--layer-color);box-shadow:0 0 0 2px #ffffff18;}
 .mp-layer-toggles button[aria-pressed=false]{opacity:.5;background:transparent;}
 .mp-layer-toggles button:focus-visible{outline:2px solid white;outline-offset:3px;}
}
@media(max-width:767px){
 .mp-shift-cases{display:flex;gap:7px;justify-content:center;flex-wrap:wrap;margin:18px 0 0;}
 .mp-shift-cases[hidden],.mp-shift-note[hidden]{display:none;}
 .mp-shift-cases button{min-height:44px;padding:9px 12px;border:1px solid #ffffff80;border-radius:24px;color:white;background:#ffffff15;font-size:12px;cursor:pointer;}
 .mp-shift-cases button[aria-pressed=true]{background:white;color:#183d53;}
 .mp-shift-cases button:focus-visible{outline:2px solid white;outline-offset:3px;}
 #mk-phone-story .mp-shift-note{font-size:10px;line-height:1.5;font-weight:400;text-align:center;color:#ffffffb8;margin:12px 12px 0;}
}
@media(max-width:767px){
 .mp-view-controls{position:absolute;top:46px;inset-inline:12px;z-index:2;display:flex;justify-content:center;gap:6px;}
 .mp-view-controls button{min-height:36px;padding:7px 13px;border:1px solid #ffffff80;border-radius:24px;font-size:11px;color:white;background:#ffffff12;cursor:pointer;}
 .mp-view-controls button[aria-pressed=true]{color:#173b51;background:#fff;}
 .mp-district[data-ready=fallback] .mp-view-controls{display:none;}
}
@media(max-width:767px){
 .mp-district-time{display:none!important;}
 .mp-tour-toggle{font-size:17px;}
 .mp-workflow .mp-scene-copy{min-height:130px;}
 .mp-district-status{max-width:95%;margin:auto;}
}
@media(max-width:767px){
 #mk-phone-story .mp-interaction-hint{margin:22px 0 8px;text-align:center;font-size:12px;line-height:1.5;font-weight:400;color:#ffffffd9;}
 .mp-workflow .mp-scene-controls{margin-top:10px;}
 .mp-original-compare{overflow:hidden;}
 .mp-original-compare .mp-compare-after{position:absolute;inset:0;}
 .mp-original-compare .mp-compare-after img{filter:none;object-fit:cover;}
 #mk-phone-story .mp-scene-copy p{display:block!important;font-size:14px;line-height:1.6;}
}
@media(max-width:767px){
 .mp-agent-chat{position:absolute;bottom:-8px;inset-inline:20px;z-index:2;display:grid;gap:9px;text-align:start;}
 .mp-agent-chat[hidden]{display:none;}
 .mp-agent-chat-label{font-size:9px;letter-spacing:.06em;text-transform:uppercase;color:#fff;}
 .mp-agent-question{justify-self:end;max-width:90%;padding:10px 14px;background:#ffffff2b;border:1px solid #ffffff70;border-radius:16px 16px 4px 16px;color:#fff;font-size:12px;line-height:1.5;}
 .mp-agent-answer{padding:12px 15px;border-radius:4px 16px 16px 16px;background:#f0f9ff;color:#173c51;box-shadow:0 8px 24px #00376614;}
 .mp-agent-answer strong{font-size:11px;letter-spacing:.02em;}
 #mk-phone-story .mp-agent-answer p{margin:5px 0 0;font-size:12px;line-height:1.5;font-weight:400;color:#173c51;}
 .mp-agent-prompts{display:flex;gap:7px;justify-content:center;}
 .mp-agent-prompts button{min-height:36px;padding:7px 11px;border:1px solid #ffffff80;border-radius:20px;color:#fff;background:transparent;font-size:11px;cursor:pointer;}
 .mp-agent-prompts button[aria-pressed=true]{background:#fff;color:#173c51;}

 .mp-district[data-mode="1"] canvas{height:55%;}
 .mp-district[data-mode="1"] .mp-district-caption{display:none;}
 .mp-district[data-mode="1"] .mp-agent-chat{animation:mp-chat-in .25s ease-out;}
 @keyframes mp-chat-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
}
@media(max-width:767px) and (prefers-reduced-motion:reduce){.mp-district[data-mode="1"] .mp-agent-chat{animation:none;}}

@media(max-width:767px){
 .mp-agent-chat{bottom:0;gap:7px;}
 .mp-agent-question{max-width:100%;padding:9px 12px;}
 .mp-agent-answer{padding:10px 13px;}
 .mp-agent-evidence{display:block;margin-top:8px;padding-top:7px;border-top:1px solid #173c5120;font-size:9px;color:#486679;line-height:1.5;}
}

@media(max-width:767px){
 .mp-district[data-mode="1"] canvas{height:100%;}
 .mp-agent-chat{top:28px;bottom:auto;inset-inline:20px;gap:4px;pointer-events:none;}
 .mp-agent-chat-label,.mp-agent-evidence{display:none;}
 .mp-agent-question{justify-self:end;width:auto;max-width:90%;padding:6px 10px;font-size:11px;line-height:1.4;}
 .mp-agent-answer{justify-self:end;width:auto;max-width:90%;padding:6px 10px;display:flex;align-items:baseline;gap:7px;border-radius:10px;}
 .mp-agent-answer strong{font-size:10px;}
 #mk-phone-story .mp-agent-answer p{margin:0;font-size:11px;line-height:1.4;}
}

@media(max-width:767px){
 .mp-agent-question,.mp-agent-answer{box-sizing:border-box;width:260px;max-width:100%;min-height:29px;}
 .mp-agent-question{height:29px;white-space:nowrap;}
 .mp-agent-answer{height:29px;}
 #mk-phone-story .mp-agent-answer p{white-space:nowrap;}
 .mp-agent-chat.is-typing .mp-agent-question::after{content:'▎';opacity:.65;}
}

@media(max-width:767px){
 #mk-phone-story .mp-district-caption,
 #mk-phone-story .mp-interaction-hint,
 #mk-phone-story .mp-scene-copy{display:none;}
}

@media(max-width:767px){
 #mk-phone-story .mp-scene-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border:0;padding:0;overflow:visible;}
 #mk-phone-story .mp-scene-controls button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:10px 14px;border:1px solid #ffffff80;background:#ffffff18;border-radius:24px;font-size:12px;transition:background .2s,transform .2s;}
 #mk-phone-story .mp-scene-controls button::after{content:'↗';font-size:15px;opacity:.8;}
 #mk-phone-story .mp-scene-controls button[aria-pressed=true]{background:#fff;color:#173c51;border-color:#fff;}
 #mk-phone-story .mp-scene-controls button[aria-pressed=true]::after{content:'•';}
 #mk-phone-story .mp-scene-controls button:active{transform:scale(.97);}
 #mk-phone-story .mp-scene-controls button:focus-visible{outline:2px solid #9ff;outline-offset:3px;}
 .mp-scene-benefit{position:absolute;top:28px;inset-inline:20px;z-index:2;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #ffffffb0;border-radius:14px;background:#fffffff0;color:#173c51;text-align:start;pointer-events:none;}
 .mp-scene-benefit[hidden]{display:none;}
 .mp-benefit-icon{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:8px;background:#e7f7f8;font-size:22px;}
 .mp-benefit-icon svg{width:18px;height:18px;}
 .mp-scene-benefit strong{font-size:12px;line-height:1.4;}
 #mk-phone-story .mp-scene-benefit p{margin:2px 0 0;font-size:11px;line-height:1.4;color:#486679;}
}

@media(max-width:767px){
 #mk-phone-story .mp-product{display:none;}
 .mp-product-overview{margin:0 0 32px;padding:22px 20px 20px;border:1px solid #ffffff55;border-radius:22px;background:linear-gradient(135deg,#ffffff20,#ffffff06);color:#fff;}
 .mp-overview-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;}
 .mp-overview-brand strong{font-size:19px;letter-spacing:-.6px;}
 .mp-overview-brand>span{font-size:10px;opacity:.8;}
 #mk-phone-story .mp-product-overview h2{margin:0 0 24px;font-size:25px;line-height:1.12;letter-spacing:-.8px;text-align:start;color:#fff;max-width:230px;}
 .mp-overview-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;position:relative;}
 .mp-overview-flow::before{content:'';position:absolute;top:17px;left:15%;right:15%;height:1px;background:#ffffff45;}
 .mp-overview-flow>div{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;z-index:1;}
 .mp-overview-glyph{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eaf8ff;color:#174d69;font-size:22px;margin-bottom:4px;}
 .mp-overview-flow strong{font-size:12px;font-weight:600;}
 .mp-overview-flow small{font-size:9px;color:#ffffffb0;line-height:1.3;}
 #mk-phone-story .mp-scene-controls{gap:6px;padding:5px;border:1px solid #ffffff45;border-radius:19px;background:#ffffff0c;}
 #mk-phone-story .mp-scene-controls button{border:0;background:transparent;border-radius:13px;min-height:44px;padding:10px 13px;font-size:12px;font-weight:500;}
 #mk-phone-story .mp-scene-controls button::after{content:'+';font-size:17px;font-weight:300;opacity:.65;}
 #mk-phone-story .mp-scene-controls button[aria-pressed=true]{background:#f4fbff;color:#173c51;box-shadow:0 2px 8px #123d5b20;}
 #mk-phone-story .mp-scene-controls button[aria-pressed=true]::after{content:'−';opacity:1;}
}

.mp-tier-pagination{display:none;}
@media(max-width:767px){
 .mp-overview-glyph svg{width:19px;height:19px;}
 #mk-tiers .mk-tiers-grid{gap:14px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;padding:18px 24px 28px;scroll-padding-inline:24px;align-items:stretch;}
 #mk-tiers .mk-tiers-grid::-webkit-scrollbar{display:none;width:0;height:0;}
 #mk-tiers .mk-tier-card{flex:0 0 calc(100% - 22px);height:auto;max-height:none;overflow:visible;scroll-snap-align:center;border:1px solid #ffffffb0;border-radius:24px;box-shadow:0 14px 28px #16385218;transition:box-shadow .3s,border-color .3s;background:linear-gradient(145deg,#ffffff,#f2f7fa);}
 #mk-tiers .mk-tier-card.mp-tier-active{border-color:#fff;box-shadow:0 16px 32px #16385230;}
 #mk-tiers .mk-tier-body,#mk-tiers .mk-tier-header{overflow:visible;max-height:none;}
 #mk-tiers .mk-tier-name>svg{width:34px;height:34px;padding:7px;box-sizing:border-box;border-radius:10px;background:#e7f0f4;stroke:#21465a;stroke-width:1.5;fill:none;}
 .mp-tier-pagination{display:flex;justify-content:center;gap:10px;margin:0 24px;}
 .mp-tier-pagination button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff60;border-radius:50%;background:#ffffff10;color:white;font-size:11px;font-family:inherit;cursor:pointer;transition:background .2s,color .2s;}
 .mp-tier-pagination button[aria-pressed=true]{background:white;color:#173c51;border-color:white;}
 .mp-tier-pagination button:focus-visible{outline:2px solid #bfffff;outline-offset:3px;}
}

/* Mobile spacing rhythm: generous content padding without stretching the scene. */
@media(max-width:767px){
 #mk-phone-story .mp-workflow{padding-block:64px 72px;}
 .mp-product-overview{padding:28px 24px;margin-bottom:48px;}
 .mp-overview-brand{margin-bottom:24px;}
 #mk-phone-story .mp-product-overview h2{margin-bottom:30px;line-height:1.2;}
 .mp-overview-flow{gap:12px;}
 .mp-overview-flow>div{gap:8px;}
 .mp-overview-flow small{line-height:1.5;}
 #mk-phone-story .mp-workflow .mp-spatial{margin-top:40px;}
 #mk-phone-story .mp-scene-controls{margin-top:24px;padding:8px;gap:10px;}
 #mk-phone-story .mp-scene-controls button{min-height:48px;padding:12px 14px;}
 .mp-scene-benefit{padding:14px 16px;gap:12px;}
 #mk-phone-story .mp-scene-benefit p{margin-top:5px;line-height:1.5;}
 #mk-tiers{padding-block:64px 80px !important;}
 #mk-tiers h2.mk-tiers-title{margin-top:20px;margin-bottom:32px;line-height:1.2;}
 #mk-tiers .mk-tiers-grid{gap:18px;padding-top:8px;padding-bottom:32px;}
 #mk-tiers .mk-tier-card{padding:32px 28px;gap:32px;min-height:560px;}
 #mk-tiers .mk-tier-header{gap:24px;}
 #mk-tiers .mk-tier-headline{font-size:28px !important;line-height:1.25;}
 #mk-tiers .mk-tier-desc{line-height:1.75;margin-bottom:28px;}
 #mk-tiers .mk-tier-details summary{padding-block:16px;}
 #mk-tiers .mk-tier-list{gap:14px;}
 #mk-tiers .mk-tier-cta{margin-top:24px;min-height:48px;}
 .mp-tier-pagination{gap:14px;margin-top:8px;}
}

@media(max-width:767px){
 .mp-district canvas{opacity:0;transition:opacity .35s ease;}
 .mp-district[data-ready="true"] canvas{opacity:1;}
 .mp-district .mp-district-fallback{opacity:1;transition:opacity .35s ease;pointer-events:none;}
 .mp-district[data-ready="true"] .mp-district-fallback{display:block;opacity:0;}
 .mp-district[data-ready="fallback"] .mp-district-fallback{opacity:1;}
}
@media(max-width:767px) and (prefers-reduced-motion:reduce){
 .mp-district canvas,.mp-district .mp-district-fallback{transition:none;}
}

/* Each mobile chapter gets a viewport, while expanded content can grow. */
@media(max-width:767px){
 #mk-phone-story .mp-workflow{padding-block:48px 0;}
 .mp-product-overview{min-height:0;display:flex;flex-direction:column;justify-content:flex-start;margin-bottom:40px;}
 .mp-overview-brand{margin-bottom:20px;}
 #mk-phone-story .mp-product-overview h2{font-size:clamp(27px,7vw,34px);max-width:17ch;margin-bottom:24px;}
 #mk-phone-story .mp-workflow .mp-spatial{min-height:0;margin-top:0;padding-block:12px 48px;display:flex;flex-direction:column;justify-content:flex-start;}
 .mp-district{flex:none;}
 #mk-tiers{min-height:100svh;padding-block:64px 72px !important;}
 .mp-integrations{min-height:100svh;padding-block:72px;display:flex;flex-direction:column;justify-content:center;}
}

@media(max-width:767px){
 :root{--mp-control-radius:12px;--mp-control-height:48px;--mp-control-ink:#173c51;--mp-control-line:#d7e0e6;}
 .mp-product-overview{background:#fff;border:1px solid #e2e8ec;color:#173c51;box-shadow:0 16px 40px #173c511a;border-radius:24px;padding-inline:20px;}
 .mp-overview-brand>span{color:#627582;opacity:1;}
 #mk-phone-story .mp-product-overview h2{color:#173c51;}
 .mp-dashboard-preview{position:relative;width:100%;aspect-ratio:1000/820;overflow:hidden;background:#f4f7f9;border:1px solid #e2e8ec;border-radius:12px;box-shadow:0 8px 24px #173c5112;}
 .mp-dashboard-preview iframe{position:absolute;inset:0;width:1600px;height:820px;border:0;transform:scale(var(--preview-scale, .3)) translateX(-600px);transform-origin:top left;pointer-events:none;}
 #mk-phone-story .mp-scene-controls button,#mk-tiers .mk-tier-cta,#use-cases-dark .mk-submit{min-height:var(--mp-control-height);border-radius:var(--mp-control-radius) !important;font-size:14px !important;font-weight:600;}
 #mk-tiers .mk-tier-cta{display:flex;justify-content:center;align-items:center;padding:12px 18px;line-height:1.4;}
 #use-cases-dark .mk-waitlist :is(input,select,textarea){box-sizing:border-box;width:100%;min-height:var(--mp-control-height);border:1px solid var(--mp-control-line) !important;border-radius:var(--mp-control-radius) !important;padding:12px 14px !important;font-size:16px !important;line-height:1.5;box-shadow:none;}
 #use-cases-dark .mk-waitlist textarea{min-height:128px;resize:vertical;}
 #use-cases-dark .mk-waitlist label{display:block;margin-bottom:8px;line-height:1.5;letter-spacing:0 !important;}
 #use-cases-dark .mk-waitlist :is(input,select,textarea):focus-visible{outline:2px solid #438b9c;outline-offset:2px;border-color:#438b9c !important;}
 #mk-tiers .mk-tier-cta:focus-visible,#mk-phone-story .mp-scene-controls button:focus-visible,#use-cases-dark .mk-submit:focus-visible{outline:2px solid #75dce3;outline-offset:3px;}
}

@media(max-width:767px){
 .mp-district{height:clamp(310px,45svh,380px);}
 #mk-phone-story .mp-scene-controls{margin-top:14px;}
 .mp-product-overview{padding-bottom:20px;}
}

@media(max-width:767px){
 .mp-mobile-product{display:grid;gap:16px;text-align:start;}
 .mp-preview-question{padding:14px 16px;border:1px solid #dde5e9;border-radius:14px;background:#f6f8fa;font-size:14px;line-height:1.5;color:#173c51;}
 .mp-preview-result{padding:18px 0 4px;border-top:1px solid #e7edef;}
 .mp-preview-result-label{display:block;font-size:11px;color:#637581;margin-bottom:10px;}
 .mp-preview-result>strong{display:block;font-size:19px;line-height:1.4;font-weight:500;max-width:22ch;}
 .mp-preview-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px;}
 .mp-preview-tags>span{padding:6px 9px;background:#edf5f5;color:#35636b;border-radius:7px;font-size:10px;line-height:1.4;}
}

@media(max-width:767px){
 .hero-mobile-tagline{display:none !important;}
 .hero-s_bot-mobile #makan-logo-scroll-section{width:100vw;margin-inline:calc(50% - 50vw);padding:20px 0 32px !important;min-height:0;}
 .hero-s_bot-mobile #makan-logo-scroll-section>div:first-child{margin-bottom:16px !important;}
 .hero-s_bot-mobile #makan-logo-scroll-section [data-i18n="integrations.title"]{font-size:20px !important;}
 .mp-product-overview{color:#14171b;}
 #mk-phone-story .mp-product-overview h2{color:#14171b;margin-bottom:0;}
 .mp-overview-brand>span{color:#666b70;}
 .cta .btn-cta{gap:0;background:#0a0e1a !important;border-radius:12px !important;min-height:44px;box-shadow:0 4px 16px #0002;padding:0 !important;}
 .cta .btn-cta_btn{height:44px !important;min-height:44px;border-radius:12px !important;background:#0a0e1a !important;color:#fff !important;padding:0 20px !important;}
 .cta .btn-cta_btn .t7{font-family:'IBM Plex Sans',sans-serif !important;font-weight:600 !important;color:#fff !important;}
 .cta .btn-cta_btn-icon{display:none !important;}
 .cta .btn-cta:focus-visible{outline:2px solid #75dce3;outline-offset:3px;}
}

@keyframes mp-logo-travel{to{transform:translateX(-50%);}}
@media(max-width:767px){
 .cta{display:none !important;}
 .hero-s_bot-mobile #makan-logo-scroll-section{padding:112px 0 12px !important;}
 .hero-s_bot-mobile #makan-logo-scroll-section>div:first-child{display:none !important;}
 #makan-logo-scroll-section .mp-logo-track{gap:0 !important;}
 .mp-logo-group{display:flex;align-items:center;gap:32px;padding-inline-end:32px;flex-shrink:0;}
}
@media(max-width:767px) and (prefers-reduced-motion:reduce){
 #makan-logo-scroll-section .mp-logo-track{animation-play-state:paused !important;}
}

/* One surface and control system for product options and the demo form. */
@media(max-width:767px){
 #mk-tiers .mk-tier-card,
 #use-cases-dark .uc-header .uc-header-content{background:#fff !important;border:1px solid #e4e7eb !important;border-radius:24px !important;box-shadow:0 12px 32px #12395618 !important;color:#14171b !important;}
 #use-cases-dark .uc-header .uc-header-content{width:calc(100% - 48px) !important;padding:32px 28px !important;max-height:none !important;overflow:visible !important;}
 #use-cases-dark .uc-header .uc-header-content h2{font-size:28px !important;line-height:1.25 !important;letter-spacing:-.025em !important;margin:12px 0 20px !important;}
 #use-cases-dark .uc-header .uc-header-content>p,#mk-tiers .mk-tier-desc{font-size:15px !important;line-height:1.7 !important;color:#62676d !important;}
 #use-cases-dark #mk-waitlist-form{gap:20px !important;}
 #use-cases-dark #mk-waitlist-form .mk-field>span{font-size:12px !important;letter-spacing:0 !important;text-transform:none !important;font-weight:500 !important;color:#41464c !important;}
 #use-cases-dark #mk-waitlist-form :is(input,select,textarea){background-color:#f7f8fa !important;color:#14171b !important;border:1px solid #dde1e6 !important;border-radius:12px !important;font-weight:400 !important;box-shadow:none !important;}
 #use-cases-dark #mk-waitlist-form .mk-actions .mk-submit,
 #mk-tiers .mk-tier-card .mk-tier-cta{height:auto !important;min-height:48px !important;border:1px solid #0a0e1a !important;border-radius:12px !important;background:#0a0e1a !important;color:#fff !important;padding:12px 18px !important;font-family:'IBM Plex Sans','IBM Plex Sans Arabic',sans-serif !important;font-size:14px !important;line-height:1.5 !important;font-weight:600 !important;letter-spacing:0 !important;box-shadow:none !important;}
 #use-cases-dark #mk-waitlist-form .mk-fineprint,#use-cases-dark #mk-waitlist-form .mk-fineprint span{color:#70757b !important;font-size:11px !important;line-height:1.5 !important;}
}

.mp-hero-brand{display:none;}
@media(max-width:767px){
 .header{display:none !important;}
 #hero{position:relative;}
 #hero .mp-hero-brand{position:absolute;top:50svh;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:10px;z-index:6;pointer-events:none;color:white;white-space:nowrap;}
 .mp-hero-brand img{width:28px;height:28px;object-fit:contain;}
 .mp-hero-brand span{font-family:'IBM Plex Sans',sans-serif;font-weight:700;font-size:26px;letter-spacing:.12em;line-height:1;}
}

/* Anchor the marquee to the bottom of the first screen, not the tagline flow. */
@media(max-width:767px){
 #hero>#makan-logo-scroll-section{position:absolute !important;top:calc(100svh - 96px - env(safe-area-inset-bottom, 0px));bottom:auto;left:0;right:0;width:100%;height:76px;min-height:0;margin:0 !important;padding:0 !important;z-index:7;display:flex !important;align-items:center;overflow:hidden;}
 #hero>#makan-logo-scroll-section>div:first-child{display:none !important;}
 #hero>#makan-logo-scroll-section>div:nth-child(2){padding:12px 0 !important;}
}

/* Breathing room after the hero logo strip; keep the product card unchanged. */
@media(max-width:767px){
 #mk-phone-story .mp-workflow{padding-top:144px;}
}

/* Match the map UI to the white product cards and black primary buttons. */
@media(max-width:767px){
 #mk-phone-story .mp-scene-controls{background:#fff;border:1px solid #e4e7eb;border-radius:20px;padding:8px;gap:8px;box-shadow:0 12px 32px #12395618;}
 #mk-phone-story .mp-scene-controls button{background:#f7f8fa;border:1px solid #e4e7eb;color:#41464c;box-shadow:none;font-size:13px !important;font-weight:500;}
 #mk-phone-story .mp-scene-controls button[aria-pressed=true]{background:#0a0e1a;color:#fff;border-color:#0a0e1a;box-shadow:none;}
 #mk-phone-story .mp-scene-controls button::after{content:none;}
 #mk-phone-story .mp-scene-controls button[aria-pressed=true]::after{content:none;}
 .mp-agent-chat{padding:8px 12px;background:#fff;border:1px solid #e4e7eb;border-radius:16px;box-shadow:0 8px 24px #12395618;gap:0;}
 .mp-agent-question,.mp-agent-answer{width:100%;max-width:100%;justify-self:stretch;background:transparent;box-shadow:none;border:0;border-radius:0;color:#14171b;height:29px;min-height:29px;padding:6px 0;}
 .mp-agent-question{border-bottom:1px solid #e8ebee;font-weight:500;}
 .mp-agent-answer{align-items:baseline;gap:8px;}
 .mp-agent-answer strong{color:#14171b;letter-spacing:0;}
 #mk-phone-story .mp-agent-answer p{color:#62676d;}
 .mp-scene-benefit{background:#fff;border-color:#e4e7eb;border-radius:16px;color:#14171b;box-shadow:0 8px 24px #12395618;}
 .mp-benefit-icon{background:#f2f3f5;color:#41464c;}
 #mk-phone-story .mp-scene-benefit p{color:#62676d;}
}

@media(max-width:767px){
 .mp-scene-benefit{inset-inline-start:20px;inset-inline-end:auto;width:max-content;max-width:calc(100% - 40px);padding:10px 12px;gap:9px;border-radius:14px;align-items:center;}
 .mp-scene-benefit:not([hidden]){animation:mp-notice-in .3s cubic-bezier(.2,.7,.2,1) both;}
 .mp-benefit-icon{flex-basis:26px;width:26px;height:26px;border-radius:8px;font-size:18px;}
 .mp-benefit-icon svg{width:16px;height:16px;}
 .mp-scene-benefit strong{font-size:11px;line-height:1.4;}
 #mk-phone-story .mp-scene-benefit p{font-size:10px;line-height:1.4;margin-top:2px;}
 .mp-agent-chat{inset-inline-start:auto;inset-inline-end:20px;width:280px;max-width:calc(100% - 40px);}
 @keyframes mp-notice-in{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
}
@media(max-width:767px) and (prefers-reduced-motion:reduce){.mp-scene-benefit:not([hidden]){animation:none;}}

@media(max-width:767px){
 #mk-phone-story .mp-scene-controls{display:flex;flex-wrap:wrap;justify-content:center;align-self:center;width:fit-content;max-width:100%;padding:0;gap:8px;border:0;background:transparent;box-shadow:none;border-radius:0;}
 #mk-phone-story .mp-scene-controls button{flex:0 0 auto;width:auto;min-height:40px;padding:9px 13px;font-size:12px !important;line-height:1.5;background:#fff;border:1px solid #e4e7eb;border-radius:12px !important;}
 #mk-phone-story .mp-scene-controls button[aria-pressed=true]{background:#0a0e1a;color:#fff;border-color:#0a0e1a;}
}

@media(max-width:767px){
 .mp-tier-pagination{gap:8px;}
 .mp-tier-pagination button{width:auto;min-width:40px;height:40px;padding:9px 13px;border:1px solid #e4e7eb;border-radius:12px;background:#fff;color:#41464c;font-size:12px;font-weight:500;line-height:1.5;box-shadow:none;}
 .mp-tier-pagination button[aria-pressed=true]{background:#0a0e1a;color:#fff;border-color:#0a0e1a;}
}

/* Keep mobile product choices concise; desktop retains the full feature lists. */
@media(max-width:767px){
 #mk-tiers{min-height:0;}
 #mk-tiers .mk-tier-card{min-height:0;padding:24px;gap:0;}
 #mk-tiers .mk-tier-body{display:none !important;}
 #mk-tiers .mk-tier-header{display:flex;flex-direction:column;align-items:flex-start;gap:20px;width:100%;}
 #mk-tiers .mk-tier-headline{font-size:24px !important;line-height:1.25;}
 #mk-tiers .mk-tier-card .mk-tier-cta{width:auto;align-self:flex-start;margin-top:4px;}
}
@media(max-width:767px){
 #mk-tiers .mk-tier-header{padding-bottom:0;border-bottom:0;}
}

/* Product context complements the interactive demo rather than repeating its tabs. */
@media(max-width:767px){
 :root{--mp-chapter-gap:96px;}
 #mk-phone-story .mp-workflow{padding-top:var(--mp-chapter-gap);padding-bottom:0;min-height:0;}
 #mk-phone-story .mp-product-overview{margin-bottom:24px;}
 .mp-page-cards{display:grid;gap:14px;margin:0;}
 .mp-page-card{min-width:0;padding:24px;border:1px solid #e2e8ec;border-radius:24px;background:#fff;color:#14171b;box-shadow:0 10px 24px #173c5110;}
 .mp-page-heading{display:flex;align-items:baseline;gap:14px;}
 .mp-page-number{font-size:11px;line-height:1.5;color:#969c98;font-variant-numeric:tabular-nums;}
 #mk-phone-story .mp-page-card h3{font-size:18px;line-height:1.35;font-weight:500;letter-spacing:-.025em;}
 #mk-phone-story .mp-page-card p{margin-top:10px;color:#6a706c;font-size:13px;line-height:1.6;}
 .mp-page-detail{display:flex;flex-wrap:wrap;gap:7px;margin-top:20px;}
 .mp-page-detail span{padding:5px 9px;border:1px solid #e8ebe7;border-radius:7px;background:#f7f8f6;color:#697269;font-size:10px;line-height:1.4;}
 .mp-page-evidence{display:flex;align-items:center;gap:10px;margin-top:20px;color:#788477;font-size:10px;line-height:1.4;}
 .mp-page-evidence i{height:1px;flex:1;background:#dfe5db;}
 #mk-phone-story .mp-workflow .mp-spatial{margin-top:var(--mp-chapter-gap);padding-block:0;}
 #mk-tiers{padding-block:var(--mp-chapter-gap) 0 !important;}
 #use-cases-dark .uc-spotlight-content{padding-block:var(--mp-chapter-gap) 40px !important;}
}

/* Brief explanations make the mobile product choices self-contained. */
.mk-tier-phone-summary{display:none;}
@media(max-width:767px){
 #mk-tiers .mk-tier-phone-summary{display:block;order:2;margin:0;color:#62676d;font-size:14px;line-height:1.6;}
}

/* Screen-sized mobile chapters, with natural growth on short screens. */
.mk-demo-phone-intro{display:none;}
@media(max-width:767px){
 #mk-phone-story .mp-workflow{padding-block:0;}
 .mp-product-chapter{display:flex;flex-direction:column;padding-block:96px 88px;}
 #mk-phone-story .mp-workflow .mp-spatial{min-height:0;margin:0;padding-block:88px;justify-content:center;}
 #mk-tiers{min-height:0;box-sizing:border-box;display:flex;flex-direction:column;padding-block:88px !important;}
 #use-cases-dark .uc-spotlight{min-height:0 !important;height:auto !important;box-sizing:border-box;display:flex !important;flex-direction:column;padding-block:88px !important;}
 #use-cases-dark .uc-spotlight-content{display:none !important;}
 #use-cases-dark .uc-header{width:100%;padding:0 !important;}
 #use-cases-dark .uc-header .uc-header-content{padding:24px !important;}
 #use-cases-dark .uc-header-content>.mk-eyebrow,#use-cases-dark .uc-header-content>p[data-i18n="waitlist.intro"]{display:none !important;}
 #use-cases-dark .uc-header .uc-header-content h2{font-size:26px !important;margin:0 0 8px !important;}
 #use-cases-dark .uc-header .uc-header-content>.mk-demo-phone-intro{display:block;font-size:14px !important;line-height:1.5 !important;margin:0 0 20px;}
 #use-cases-dark #mk-waitlist-form{gap:14px !important;margin-top:0;}
 #use-cases-dark #mk-waitlist-form .mk-row{gap:14px !important;}
 #use-cases-dark #mk-waitlist-form .mk-row:first-child{grid-template-columns:1fr;}
 #use-cases-dark #mk-waitlist-form .mk-row:nth-child(2){display:grid !important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;}
 #use-cases-dark #mk-waitlist-form .mk-field{min-width:0;gap:5px;}
 #use-cases-dark #mk-waitlist-form label{margin:0;}
 #use-cases-dark #mk-waitlist-form :is(input,select,textarea){padding:10px 12px !important;min-height:44px !important;}
 #use-cases-dark #mk-waitlist-form textarea{height:76px;min-height:76px !important;}
 #use-cases-dark #mk-waitlist-form .mk-actions{gap:10px;margin-top:4px;}
 #use-cases-dark #mk-waitlist-form .mk-fineprint{margin:0;}
}

/* Keep a complete card inside the viewport at every phone width. */
@media(max-width:767px){
 #mk-tiers .mk-tiers-inner{width:100%;max-width:100%;min-width:0;box-sizing:border-box;}
 #mk-tiers .mk-tiers-grid{width:100%;max-width:100%;min-width:0;box-sizing:border-box;gap:24px;}
 #mk-tiers .mk-tier-card{box-sizing:border-box;flex:0 0 100%;width:100%;min-width:0;max-width:100%;scroll-snap-align:center;}
 #mk-tiers .mk-tier-head-row{flex-wrap:wrap;gap:8px;max-width:100%;}
 #mk-tiers .mk-tier-header>*{max-width:100%;overflow-wrap:break-word;}
}
/* The white demo shortcut sharpens into view after leaving the hero. */
@media(max-width:767px){
 .cta{display:block !important;position:fixed !important;left:50% !important;right:auto !important;bottom:calc(20px + env(safe-area-inset-bottom,0px)) !important;width:auto !important;opacity:0 !important;visibility:hidden !important;transform:translateX(-50%) !important;filter:blur(8px) !important;transition:opacity .55s ease,filter .55s ease,visibility .55s ease !important;}
 .cta a{pointer-events:none !important;}
 .mp-past-hero .cta:not(.mp-form-visible){opacity:1 !important;filter:blur(0) !important;visibility:visible !important;}
 .mp-past-hero .cta:not(.mp-form-visible) a{pointer-events:auto !important;}
 .cta>.unit-36{display:none;}
 .cta :is(.container,.grid,.cta_c,.cta_list,.btn-cta_c,.btn-cta_magnet){display:block;position:static;width:auto;min-width:0;margin:0;padding:0;transform:none !important;}
 .cta .btn-cta{display:inline-flex;min-width:76px;min-height:44px;background:#fff !important;border:1px solid #e4e7eb;border-radius:999px !important;box-shadow:0 4px 16px #0002;}
 .cta .btn-cta_btn{height:44px !important;min-height:44px !important;padding:0 18px !important;background:#fff !important;border-radius:999px !important;color:#14171b !important;}
 .cta .btn-cta_btn .t7{font-size:13px !important;color:#14171b !important;}
}
@media(max-width:767px) and (prefers-reduced-motion:reduce){.cta{transition:none !important;filter:none !important;}}
/* Match the original two-part floating CTA, scaled down for phones. */
@media(max-width:767px){
 .cta .btn-cta{gap:6px;min-width:0;background:transparent !important;border:0;box-shadow:none;border-radius:0 !important;}
 .cta .btn-cta_btn{height:44px !important;min-height:44px !important;padding:0 18px !important;border:1px solid #e4e7eb;box-shadow:0 4px 16px #0002;}
 .cta .btn-cta_btn-icon{display:flex !important;align-items:center;justify-content:center;width:44px !important;height:44px !important;min-height:44px !important;border-radius:50% !important;background:#fff !important;color:#14171b !important;border:1px solid #e4e7eb;box-shadow:0 4px 16px #0002;}
 .cta .btn-cta_btn-icon_icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px;transform:none !important;}
 .cta .btn-cta_btn-icon .ico-20{width:16px;height:16px;}
}
/* Consistent product and form actions; clean white form controls. */
@media(max-width:767px){
 #mk-tiers .mk-tier-card .mk-tier-cta,
 #use-cases-dark #mk-waitlist-form .mk-actions .mk-submit{display:inline-flex !important;align-items:center;justify-content:center;width:fit-content !important;max-width:100%;min-height:44px !important;height:auto !important;padding:11px 18px !important;border-radius:12px !important;background:#0a0e1a !important;border:1px solid #0a0e1a !important;color:#fff !important;font-size:14px !important;line-height:1.5 !important;font-weight:600 !important;letter-spacing:0 !important;box-shadow:none !important;}
 #use-cases-dark #mk-waitlist-form .mk-actions{display:flex !important;flex-direction:column;align-items:flex-start !important;}
 #use-cases-dark #mk-waitlist-form :is(input,select,textarea){background:#fff !important;border:1px solid #e8eaed !important;border-radius:12px !important;box-shadow:none !important;}
 #use-cases-dark #mk-waitlist-form :is(input,textarea)::placeholder{color:#8a8f95 !important;}
 #use-cases-dark #mk-waitlist-form :is(input,select,textarea):focus-visible{outline:2px solid #424952 !important;outline-offset:2px;border-color:#aab0b6 !important;}
 #use-cases-dark #mk-waitlist-form .mk-fineprint{text-align:left !important;}
}

@media(max-width:767px){#use-cases-dark #mk-waitlist-form .mk-submit{margin:0 !important;}}

/* Restore the desktop-style translucent surround around both CTA pieces. */
@media(max-width:767px){
 .cta .btn-cta_c{padding:6px;border:1px solid rgba(255,255,255,.38);border-radius:999px;background:rgba(255,255,255,.12);box-shadow:0 4px 20px rgba(0,0,0,.08);}
}

/* Let the phone hero leave the viewport in normal document flow. */
@media (max-width: 767px) {
  #hero .hero-w, #hero .hero-s { position: relative !important; top: auto !important; }
  #hero .hero-w_bg { position: absolute !important; }
  .sky-bg_hero { position: absolute !important; top: 0 !important; }
  html, body { overflow-x: clip !important; }
}
@media (max-width: 767px) {
  .mp-district .mp-district-reset { position:absolute;top:12px;right:12px;z-index:8;background:white;color:#17212a;border:1px solid #d9e2e8;box-shadow:0 2px 8px #0001; }
}

#mk-desktop-spatial { display:none; }
.mp-scene-disclosure { margin:20px 0 0;font:12px/1.6 'IBM Plex Sans',sans-serif;text-align:center;color:#62676d; }
@media (min-width:768px) {
 #mk-desktop-spatial { display:block;position:relative;z-index:4;max-width:1200px;margin:64px auto 80px;padding:48px;background:#fff;color:#14171b;border:1px solid #e4e7eb;border-radius:28px;box-sizing:border-box; }
 #mk-desktop-spatial * { box-sizing:border-box; }
 #mk-desktop-spatial header { max-width:650px;margin-bottom:28px; }
 #mk-desktop-spatial .mp-eyebrow { font:500 12px/1.5 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.1em; }
 #mk-desktop-spatial h2 { font:500 clamp(30px,3.2vw,44px)/1.15 'IBM Plex Sans',sans-serif;margin:12px 0 16px;letter-spacing:-.03em; }
 #mk-desktop-spatial p { font:400 15px/1.6 'IBM Plex Sans',sans-serif;color:#62676d; }
 #mk-desktop-spatial .mp-spatial { display:grid;grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr);gap:20px 36px;align-items:start; }
 #mk-desktop-spatial .mp-district { grid-column:1;grid-row:1 / 5;position:relative;height:520px;touch-action:pan-y;border-radius:20px;background:#f5f7f8;overflow:hidden;cursor:grab; }
 #mk-desktop-spatial .mp-district:active { cursor:grabbing; }
 #mk-desktop-spatial canvas { position:absolute;inset:0;width:100%;height:100%; }
 #mk-desktop-spatial .mp-district-fallback { width:100%;height:100%;object-fit:contain; }
 #mk-desktop-spatial [data-ready=true] .mp-district-fallback { display:none; }
 #mk-desktop-spatial [data-ready=fallback] canvas { display:none; }
 #mk-desktop-spatial .mp-district-topline { position:absolute;top:16px;left:20px;font:500 11px/1.5 'IBM Plex Mono',monospace; }
 #mk-desktop-spatial .mp-district-caption { position:absolute;bottom:18px;left:20px;right:20px;display:grid;gap:4px;text-align:center;pointer-events:none;font:13px/1.5 'IBM Plex Sans',sans-serif; }
 #mk-desktop-spatial .mp-district-reset { position:absolute;top:12px;right:12px;z-index:8;width:40px;height:40px;border:1px solid #e4e7eb;border-radius:12px;background:white;color:#14171b;font-size:24px;cursor:pointer; }
 #mk-desktop-spatial .mp-interaction-hint { grid-column:2;margin:12px 0 0; }
 #mk-desktop-spatial .mp-scene-controls { grid-column:2;display:flex;flex-wrap:wrap;gap:8px; }
 #mk-desktop-spatial .mp-scene-controls button { min-height:40px;padding:9px 13px;border:1px solid #e4e7eb;border-radius:12px;background:#f7f8fa;color:#41464c;font:500 13px/1.5 'IBM Plex Sans',sans-serif;cursor:pointer; }
 #mk-desktop-spatial .mp-scene-controls button[aria-pressed=true] { background:#0a0e1a;color:white;border-color:#0a0e1a; }
 #mk-desktop-spatial .mp-scene-copy { grid-column:2;min-height:160px; }
 #mk-desktop-spatial h3 { font:500 24px/1.25 'IBM Plex Sans',sans-serif;margin:0 0 14px;letter-spacing:-.02em; }
 #mk-desktop-spatial .mp-scene-disclosure { grid-column:2;text-align:left;font-size:12px; }
 #mk-desktop-spatial .mp-agent-chat { position:absolute;top:52px;right:16px;max-width:calc(100% - 32px);width:290px;z-index:3;padding:12px 16px;background:#fffffff0;border:1px solid #e4e7eb;border-radius:14px;pointer-events:none;font:12px/1.5 'IBM Plex Sans',sans-serif; }
 #mk-desktop-spatial .mp-agent-chat-label,.mp-agent-evidence { display:none; }
 #mk-desktop-spatial .mp-agent-question { font-weight:500;padding-bottom:8px;border-bottom:1px solid #e4e7eb; }
 #mk-desktop-spatial .mp-agent-answer { display:flex;gap:8px;padding-top:8px; }
 #mk-desktop-spatial .mp-agent-answer p { margin:0;font-size:12px; }
 #mk-desktop-spatial .mp-scene-benefit { position:absolute;top:60px;left:16px;z-index:3;max-width:calc(100% - 32px);padding:12px 16px;background:white;border:1px solid #e4e7eb;border-radius:14px;pointer-events:none;font:12px/1.5 'IBM Plex Sans',sans-serif; }
 #mk-desktop-spatial .mp-benefit-icon { display:none; }
 #mk-desktop-spatial .mp-scene-benefit p { margin:4px 0 0;font-size:12px; }
 #mk-desktop-spatial [hidden] { display:none!important; }
 body:has(#mk-desktop-spatial) .mk-fgrid { display:none; }
}
@media (min-width:768px) and (max-width:1100px) {
 #mk-desktop-spatial { margin-inline:24px;padding:28px; }
 #mk-desktop-spatial .mp-spatial { grid-template-columns:minmax(0,1.4fr) minmax(220px,1fr);gap:20px; }
 #mk-desktop-spatial .mp-district { height:440px; }
}


/* Keep desktop exploration focused on the scan and its controls. */
@media (min-width:768px) {
 #mk-desktop-spatial header > p:not(.mp-eyebrow),
 #mk-desktop-spatial .mp-interaction-hint,
 #mk-desktop-spatial .mp-scene-copy,
 #mk-desktop-spatial .mp-district-caption { display:none; }
 #mk-desktop-spatial .mp-spatial { align-items:center; }
 #mk-desktop-spatial .mp-scene-controls { align-self:end; }
 #mk-desktop-spatial .mp-scene-disclosure { align-self:start;margin-top:0; }
}

/* Agent responses and feature notices sit beside the desktop survey. */
@media (min-width:768px) {
 #mk-desktop-spatial .mp-scene-messages { grid-column:2;grid-row:1;align-self:end;min-width:0; }
 #mk-desktop-spatial .mp-scene-messages .mp-agent-chat,
 #mk-desktop-spatial .mp-scene-messages .mp-scene-benefit { position:relative;inset:auto;width:100%;max-width:100%;margin:0;padding:18px;background:#f7f8fa;border:1px solid #e4e7eb;border-radius:16px; }
 #mk-desktop-spatial .mp-scene-controls { grid-row:2;align-self:start; }
 #mk-desktop-spatial .mp-scene-disclosure { grid-row:3; }
 #mk-desktop-spatial .mp-scene-messages .mp-agent-answer { flex-direction:column;gap:5px; }
 #mk-desktop-spatial .mp-scene-messages .mp-agent-question { min-height:44px;font-size:14px; }
 #mk-desktop-spatial .mp-scene-messages .mp-agent-answer p { min-height:36px;font-size:13px; }
}

/* A quieter white surface keeps attention on the scan and conversation. */
@media (min-width:768px) {
 #mk-desktop-spatial { background:#fff;box-shadow:none;border-color:#e9edef;padding:36px 40px; }
 #mk-desktop-spatial header { margin-bottom:18px; }
 #mk-desktop-spatial h2 { margin:0;font-size:28px;font-weight:500; }
 #mk-desktop-spatial .mp-district { background:#fff; }
 #mk-desktop-spatial .mp-scene-messages .mp-agent-chat,
 #mk-desktop-spatial .mp-scene-messages .mp-scene-benefit { background:#fff;border-color:#e9edef;box-shadow:0 4px 16px #0a0e1a06; }
 #mk-desktop-spatial .mp-scene-controls button { background:#fff; }
 #mk-desktop-spatial .mp-scene-controls button[aria-pressed=true] { background:#0a0e1a; }
 #mk-desktop-spatial .mp-district-topline { display:none; }
 #mk-desktop-spatial .mp-scene-disclosure { font-size:10px;color:#8a9095; }
}

.mk-motion-offscreen, .mk-motion-offscreen * { animation-play-state:paused !important; }

.mp-panel-heading { display:none; }
@media (min-width:768px) {
 #mk-desktop-spatial .mp-scene-messages { align-self:center;background:#fff;border:1px solid #e8ebee;border-radius:18px;padding:18px;box-shadow:0 8px 24px #0a0e1a06; }
 #mk-desktop-spatial .mp-panel-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #edf0f2;font:600 15px/1.4 'IBM Plex Sans',sans-serif; }
 #mk-desktop-spatial .mp-panel-heading small { font-size:10px;font-weight:400;color:#8a9095; }
 #mk-desktop-spatial .mp-scene-messages .mp-agent-chat { padding:0;border:0;border-radius:0;box-shadow:none;display:grid;gap:16px; }
 #mk-desktop-spatial .mp-agent-chat[hidden] { display:none!important; }
 #mk-desktop-spatial .mp-scene-messages .mp-agent-question { justify-self:end;width:92%;min-height:68px;padding:13px 15px;background:#0a0e1a;color:#fff;border:0;border-radius:14px 14px 4px 14px;font:400 13px/1.6 'IBM Plex Sans',sans-serif; }
 #mk-desktop-spatial .mp-scene-messages .mp-agent-answer { width:92%;padding:13px 15px;background:#f6f8f9;border:1px solid #edf0f2;border-radius:4px 14px 14px 14px;gap:7px; }
 #mk-desktop-spatial .mp-agent-answer strong { font-size:11px;font-weight:600;color:#14171b; }
 #mk-desktop-spatial .mp-scene-messages .mp-agent-answer p { font-size:13px;line-height:1.6;color:#62676d; }
 #mk-desktop-spatial .mp-scene-messages .mp-scene-benefit { padding:14px;background:#f6f8f9;border-color:#edf0f2;border-radius:14px;box-shadow:none; }
}

@media (min-width:768px) {
 #mk-desktop-spatial .mp-scene-messages .mp-agent-question { background:#fff;color:#14171b;border:1px solid #e4e7eb; }
 #mk-desktop-spatial .mp-scene-messages .mp-agent-answer { background:#fff;border-color:#edf0f2; }
}

@media (min-width:768px) {
 #mk-desktop-spatial .mp-scene-messages .mp-agent-question { background:#f0f3f5;color:#14171b;border-color:#e4e9ed; }
 #mk-desktop-spatial .mp-scene-messages .mp-agent-answer { background:#fff;border-color:#e8ecef; }
}

.mp-feature-diagram, .mp-feature-details { display:none; }
@media (min-width:768px) {
 #mk-desktop-spatial .mp-scene-messages { height:320px;align-self:center;overflow:hidden; }
 #mk-desktop-spatial .mp-scene-messages .mp-agent-chat { height:232px;align-content:start; }
 #mk-desktop-spatial .mp-scene-messages .mp-scene-benefit { height:232px;display:flex;flex-direction:column;gap:10px;padding:0;background:transparent;border:0; }
 #mk-desktop-spatial .mp-scene-benefit>div:first-of-type { flex:0 0 auto; }
 #mk-desktop-spatial .mp-feature-diagram { display:block;width:100%;height:70px;background:#f5f7f8;border:1px solid #e8ecef;border-radius:12px;color:#657078; }
 #mk-desktop-spatial .mp-feature-diagram svg { display:block;height:100%;width:100%; }
 #mk-desktop-spatial .mp-feature-details { display:grid;gap:6px;list-style:none;margin:0;padding:0;font:12px/1.5 'IBM Plex Sans',sans-serif;color:#62676d; }
 #mk-desktop-spatial .mp-feature-details li { padding-left:10px;border-left:2px solid #e4e9ed; }
}

/* Small projected labels stay attached to findings as the survey moves. */
.mp-spatial-labels{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:4;}
.mp-spatial-label{position:absolute;left:0;top:0;padding:7px 10px;background:rgba(255,255,255,.96);color:#243942;border:1px solid #b9dfe6;border-radius:8px;box-shadow:0 5px 18px #263c4820;font:500 11px/1.2 'IBM Plex Sans',sans-serif;white-space:nowrap;opacity:0;transition:opacity .65s ease;will-change:transform;}
.mp-spatial-label::after{content:'';position:absolute;bottom:-5px;left:calc(50% - 4px);width:7px;height:7px;background:#fff;border-right:1px solid #b9dfe6;border-bottom:1px solid #b9dfe6;transform:rotate(45deg);}
.mp-spatial-label.is-shift{border-color:#e9ce8a;color:#70521c;}
.mp-spatial-label.is-shift::after{border-color:#e9ce8a;}
@media(min-width:768px){
 #mk-desktop-spatial .mp-feature-details li{opacity:.35;transform:translateY(4px);transition:opacity .7s ease,transform .7s ease,border-color .7s ease;}
 #mk-desktop-spatial .mp-feature-details li.is-revealed{opacity:1;transform:none;border-color:#8fb6c1;}
 #mk-desktop-spatial [data-scene="4"] .mp-feature-details li.is-revealed{border-color:#c9a24d;}
 #mk-desktop-spatial [data-scene="3"] .mp-feature-diagram{background:linear-gradient(135deg,#f0f7f9,#fff);color:#6093a5;}
 #mk-desktop-spatial [data-scene="4"] .mp-feature-diagram{background:linear-gradient(135deg,#fbf6e9,#fff);color:#a78436;}
}
@media(prefers-reduced-motion:reduce){.mp-spatial-label,#mk-desktop-spatial .mp-feature-details li{transition:none;}}

/* Ask shares the quiet neutral surfaces; amber is reserved for the clearance warning. */
.mp-district{--mp-highlight:var(--mk-light-bg,#f7f5f0);--mp-ink:var(--mk-ops-base,#0a0e1a);--mp-alert:var(--mk-alert-light,#b87a10);--mp-label-border:#e4e7eb;}
.mp-spatial-label.is-agent{background:var(--mp-highlight);color:var(--mp-ink);border-color:var(--mp-label-border);}
.mp-spatial-label.is-agent::after{background:var(--mp-highlight);border-color:var(--mp-label-border);}
.mp-spatial-label.is-agent.is-warning{color:var(--mp-alert);border-color:var(--mp-alert);}
.mp-spatial-label.is-agent.is-warning::after{border-color:var(--mp-alert);}
.mp-car-count{display:inline-block;min-width:2ch;font-family:'IBM Plex Mono',monospace;font-size:22px;line-height:1.2;font-weight:500;color:var(--mk-ops-base,#0a0e1a);font-variant-numeric:tabular-nums;}

@media(min-width:768px){
 #mk-desktop-spatial .mp-answer-lead{display:block;color:var(--mk-ops-base,#0a0e1a);font-weight:500;}
 #mk-desktop-spatial .mp-answer-detail{display:block;margin-top:5px;font-size:12px;line-height:1.55;}
 #mk-desktop-spatial .mp-agent-answer p{white-space:pre-line;}
}

/* User-approved result blue; roads remain a separate neutral trace. */
.mp-district{--mp-result:#73ddff;--mp-route:#f7f5f0;}

/* Discovery targets use low profile dots and compact numbered labels. */
.mp-spatial-label.is-discovery{display:flex;align-items:center;gap:7px;padding:5px 9px 5px 5px;border:1px solid #e4e7eb;border-radius:9px;color:var(--mk-ops-base,#0a0e1a);box-shadow:0 3px 12px #0a0e1a12;}
.mp-spatial-label.is-discovery::after{display:none;}
.mp-discovery-number{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#e8f6fc;color:#24526a;font:500 9px/1 'IBM Plex Mono',monospace;}

#mk-desktop-spatial .mp-feature-details button{appearance:none;border:0;background:none;padding:0;color:inherit;font:inherit;text-align:left;cursor:pointer;}
#mk-desktop-spatial .mp-feature-details button:hover{color:var(--mp-ink);text-decoration:underline;text-underline-offset:3px;}
#mk-desktop-spatial .mp-feature-details button:focus-visible{outline:2px solid #8fb6c1;outline-offset:3px;border-radius:2px;}

/* Scene comparisons keep their controls and results away from the evidence. */
.mp-compare-ui{position:absolute;inset:0;pointer-events:none;z-index:6;}
.mp-compare-ui[hidden],.mp-object-outline[hidden]{display:none;}
.mp-compare-caption{position:absolute;top:14px;padding:5px 8px;background:#fffffff0;border:1px solid #e4e7eb;border-radius:7px;color:#25383e;font:500 11px/1.2 'IBM Plex Sans',sans-serif;}
.mp-compare-caption.is-before{left:14px;}.mp-compare-caption.is-after{right:68px;}
.mp-compare-divider{position:absolute;top:0;bottom:0;left:50%;width:1px;background:#ffffffdb;box-shadow:0 0 0 1px #173c5130;}
.mp-compare-handle{position:absolute;top:50%;left:0;transform:translate(-50%,-50%);width:34px;height:44px;border:1px solid #dbe3e8;border-radius:12px;background:white;color:#173c51;font-size:20px;cursor:ew-resize;pointer-events:auto;touch-action:none;box-shadow:0 3px 12px #173c5120;}
.mp-compare-handle:focus-visible{outline:2px solid #73ddff;outline-offset:3px;}
.mp-object-outline{position:absolute;pointer-events:none;z-index:3;background:linear-gradient(#73ddff,#73ddff) left top/10px 2px no-repeat,linear-gradient(#73ddff,#73ddff) left top/2px 10px no-repeat,linear-gradient(#73ddff,#73ddff) right top/10px 2px no-repeat,linear-gradient(#73ddff,#73ddff) right top/2px 10px no-repeat,linear-gradient(#73ddff,#73ddff) left bottom/10px 2px no-repeat,linear-gradient(#73ddff,#73ddff) left bottom/2px 10px no-repeat,linear-gradient(#73ddff,#73ddff) right bottom/10px 2px no-repeat,linear-gradient(#73ddff,#73ddff) right bottom/2px 10px no-repeat;}
@media(max-width:767px){
 #mk-phone-story .mp-spatial>.mp-agent-chat,#mk-phone-story .mp-spatial>.mp-scene-benefit{position:relative;inset:auto;flex:none;width:calc(100% - 40px);max-width:none;margin:12px 20px 8px;z-index:auto;pointer-events:auto;}
 #mk-phone-story .mp-spatial>.mp-scene-benefit{padding:10px 12px;min-height:56px;animation:none;}
 #mk-phone-story .mp-spatial>.mp-agent-chat{animation:none;}
}

@media(max-width:767px){
 #mk-phone-story .mp-spatial[data-scene="4"]>.mp-scene-benefit{display:grid;grid-template-columns:26px 1fr;}
 #mk-phone-story .mp-spatial[data-scene="4"] .mp-feature-details{display:flex;grid-column:1/-1;gap:6px;list-style:none;margin:4px 0 0;padding:0;}
 #mk-phone-story .mp-feature-details button{appearance:none;min-height:32px;padding:5px 10px;border:1px solid #e4e7eb;border-radius:8px;background:#f7f8fa;color:#243942;font:500 11px/1.2 'IBM Plex Sans',sans-serif;}
}

#mk-desktop-spatial [data-scene="4"] .mp-scene-benefit{height:auto;min-height:232px;gap:8px;}
@media(max-width:767px){#mk-phone-story .mp-spatial[data-scene="4"] .mp-feature-details{flex-wrap:wrap;}}

/* Shared feature navigation stays on one level at every size. */
#mk-desktop-spatial .mp-scene-controls,#mk-phone-story .mp-scene-controls{display:flex;flex-wrap:nowrap;align-items:stretch;gap:6px;width:100%;overflow:visible;}
#mk-desktop-spatial .mp-scene-controls button,#mk-phone-story .mp-scene-controls button{display:flex;flex:1 1 auto;align-items:center;justify-content:center;min-width:0;min-height:44px;height:44px;padding:8px 6px!important;font-size:11px!important;line-height:1.2;white-space:nowrap;box-sizing:border-box;}
#mk-desktop-spatial .mp-scene-controls button::after,#mk-phone-story .mp-scene-controls button::after{display:none;}
.mp-object-outline{background:none;border:1px solid #73ddff;border-radius:3px;box-sizing:border-box;}
/* Discovery findings use the same quiet surfaces as the agent panel. */
#mk-desktop-spatial [data-scene="3"] .mp-scene-benefit{height:auto;min-height:232px;align-items:stretch;gap:12px;}
#mk-desktop-spatial .mp-findings-list{display:grid!important;gap:7px!important;}
#mk-desktop-spatial .mp-findings-list li{border:0!important;padding:0!important;transform:none!important;opacity:1!important;}
.mp-finding-row{display:flex!important;align-items:center;gap:10px;width:100%;min-height:55px;padding:9px 11px!important;border:1px solid #e7eaee!important;border-radius:12px;background:#f7f8fa!important;color:#243942;font-family:'IBM Plex Sans',sans-serif;text-align:start;cursor:pointer;}
.mp-finding-row[aria-pressed="true"]{background:#eff7fa!important;border-color:#b6dce6!important;}
.mp-finding-row:hover{border-color:#b6dce6!important;text-decoration:none!important;}
.mp-finding-icon{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:8px;background:#fff;color:#49606a;}
.mp-finding-icon svg{width:19px;height:19px;}
.mp-finding-copy{display:grid;gap:2px;flex:1;min-width:0;}
.mp-finding-copy small{font:400 9px/1.2 'IBM Plex Sans',sans-serif;color:#78838b;}
.mp-finding-copy b{font:500 12px/1.3 'IBM Plex Sans',sans-serif;color:#1d303a;}
.mp-finding-count{font:500 12px/1 'IBM Plex Sans',sans-serif;color:#73818a;}
@media(max-width:767px){
 #mk-phone-story .mp-spatial[data-scene="3"]>.mp-scene-benefit{display:grid;grid-template-columns:1fr;}
 #mk-phone-story [data-scene="3"] .mp-benefit-icon{display:none;}
 #mk-phone-story .mp-findings-list{display:flex;gap:6px;list-style:none;margin:4px 0 0;padding:0;}
 #mk-phone-story .mp-findings-list li{flex:1;min-width:0;}
 #mk-phone-story .mp-finding-row{justify-content:center;gap:4px;min-height:42px;padding:5px 4px!important;}
 #mk-phone-story .mp-finding-icon,#mk-phone-story .mp-finding-copy small,#mk-phone-story .mp-finding-count{display:none;}
 #mk-phone-story .mp-finding-copy b{font-size:10px;text-align:center;}
}

/* Keep result text beside or below the scan, with quiet, thin controls. */
.mp-spatial-label.is-agent,.mp-spatial-label.is-discovery{padding:3px 5px;background:rgba(255,255,255,.88);border:0;border-radius:2px;box-shadow:none;font-size:10px;gap:4px;}
.mp-spatial-label.is-agent::after,.mp-spatial-label.is-discovery::after{display:none;}
.mp-district-reset svg,.mp-compare-handle svg{width:20px;height:20px;display:block;margin:auto;}
#mk-desktop-spatial .mp-scene-messages{height:auto;min-height:260px;padding:16px 0 16px 22px;border:0;border-left:1px solid #e8ecef;border-radius:0;box-shadow:none;background:transparent;overflow:visible;}
#mk-desktop-spatial .mp-scene-messages .mp-agent-chat{height:auto;min-height:190px;gap:12px;background:transparent;}
#mk-desktop-spatial .mp-scene-messages .mp-agent-question{justify-self:stretch;width:100%;height:auto;min-height:48px;padding:0 0 14px;border:0;border-bottom:1px solid #e8ecef;border-radius:0;background:transparent;white-space:normal;}
#mk-desktop-spatial .mp-scene-messages .mp-agent-answer{width:100%;height:auto;min-height:80px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;}
#mk-desktop-spatial .mp-scene-messages .mp-scene-benefit{height:auto;min-height:190px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;}
#mk-desktop-spatial [data-scene="3"] .mp-benefit-icon{display:none;}
#mk-desktop-spatial .mp-findings-list{gap:0!important;margin-top:4px;}
.mp-finding-row{min-height:42px;padding:10px 0!important;gap:9px;border:0!important;border-bottom:1px solid #e8ecef!important;border-radius:0;background:transparent!important;}
.mp-finding-row[aria-pressed="true"]{background:transparent!important;border-color:#e8ecef!important;color:#176e9a;}
.mp-finding-row:hover{background:transparent!important;border-color:#b6dce6!important;}
.mp-finding-icon{width:18px;height:20px;flex:0 0 18px;border-radius:0;background:transparent;}
.mp-finding-icon svg{width:17px;height:17px;}
.mp-finding-copy small{display:none;}
.mp-finding-copy b{font-weight:400;color:inherit;}
.mp-finding-row[aria-pressed="true"] .mp-finding-copy b{font-weight:500;}
.mp-finding-count{font-size:10px;color:#8b969d;}
@media(max-width:767px){
 #mk-phone-story .mp-spatial>.mp-agent-chat,#mk-phone-story .mp-spatial>.mp-scene-benefit{padding:12px 0;border:0;border-radius:0;background:transparent;box-shadow:none;}
 #mk-phone-story .mp-agent-question,#mk-phone-story .mp-agent-answer{width:100%;height:auto;min-height:30px;padding:6px 0;border:0;border-radius:0;background:transparent;box-shadow:none;white-space:normal;color:#243942;}
 #mk-phone-story .mp-agent-question{border-bottom:1px solid #e8ecef;}
 #mk-phone-story .mp-findings-list{gap:10px;}
 #mk-phone-story .mp-finding-row{padding:8px 0!important;}
 #mk-phone-story .mp-finding-row[aria-pressed="true"]{border-bottom-color:#228ab5!important;}
}

@media(max-width:767px){
 #mk-phone-story .mp-spatial>.mp-agent-chat,#mk-phone-story .mp-spatial>.mp-scene-benefit{padding:14px 16px;background:#fff;border-radius:8px;color:#243942;}
 #mk-phone-story .mp-finding-row{border-radius:0!important;}
}

/* Safari samples the page background for its status-bar tint and shows it
   on rubber-band overscroll. Solid black put black bands over the light
   sections too, so the backdrop is now zoned: black behind the hero at the
   very top, white behind the closing at the very bottom; the sky covers
   everything between. The status-bar tint itself follows scroll via the
   theme-color script in index.html. */
@media (max-width:767px){
 html,body,body.body{background:linear-gradient(180deg,#000 0%,#000 35%,#fff 65%,#fff 100%)!important;}
}

/* Explicit zoom controls replace the ambiguous reset glyph. */
.mp-district-zoom{position:absolute;top:12px;right:12px;z-index:8;display:flex;flex-direction:column;border:1px solid #e4e7eb;border-radius:12px;background:#fff;overflow:hidden;}
.mp-district-zoom button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;background:#fff;color:#14171b;cursor:pointer;}
.mp-district-zoom button+button{border-top:1px solid #e4e7eb;}
.mp-district-zoom button:hover{background:#f7f8fa;}
.mp-district-zoom svg{width:19px;height:19px;}
.mp-district-zoom button:focus-visible{outline:2px solid #14171b;outline-offset:-4px;}
@media(max-width:767px){.mp-district-zoom button{width:44px;height:44px;}}
