@media (min-width:992px){
  .menu-btn{display:none}
  .band{text-align:left;padding:3.5rem 340px 3.5rem 3.5rem}
  .band p{margin-left:0;margin-right:0}
  .band .d-flex{justify-content:flex-start!important}
}
@media (max-width:1199.98px){
  .fx{grid-template-columns:230px 1fr;gap:1.4rem}
  .fx-panel{padding:1.5rem}
}
@media (max-width:991.98px){
  .fgrid{grid-template-columns:repeat(2,1fr)}
  .stats{gap:.8rem}
  .stat b{font-size:2.6rem}
  .split-card{padding:2rem 1.5rem}
  .sticky-shot{position:static}
  .tick.tk1{left:-6px}.tick.tk2{left:-6px}

  /* feature explorer: swipeable icon rail instead of a vertical list */
  .fx{display:block}
  .fx-rail{position:relative;top:auto;flex-direction:row;gap:.7rem;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:.8rem;margin:0 -12px 1.2rem;border-radius:22px}
  .fx-rail::-webkit-scrollbar{display:none}
  .fx-tab{flex:0 0 108px;flex-direction:column;justify-content:center;text-align:center;gap:.5rem;padding:.9rem .5rem;min-height:112px;scroll-snap-align:center;border:1px solid var(--line);background:var(--bg2)}
  .fx-tab .fx-ico{width:46px;height:46px;font-size:1.35rem}
  .fx-name{font-size:.82rem}
  .fx-tab.on{transform:translateY(-4px) scale(1.04);border-color:var(--navy);box-shadow:0 12px 24px rgba(9,35,64,.25)}
  .fx-dots{display:flex;justify-content:center;gap:.35rem;margin:-.4rem 0 1rem}
  .fx-dots i{width:6px;height:6px;border-radius:50%;background:var(--line);transition:.3s}
  .fx-dots i.on{width:22px;border-radius:6px;background:var(--teal)}
}
@media (max-width:767.98px){
  .fgrid{grid-template-columns:1fr}
  .band{padding:2rem 1.4rem 2.6rem;border-radius:26px}
  .tick.tk1,.tick.tk2{display:none}
  .cmp th,.cmp td{padding:.7rem .8rem;font-size:15px}
  .fx-panel{padding:1.2rem;border-radius:22px}
  .fx-head h2{font-size:1.35rem}
  .fx-head .mchip{margin-left:0}
  .mode-card{padding:.9rem}
}
@media (max-width:575.98px){
  .stats{grid-template-columns:1fr}
  .stats.two{grid-template-columns:1fr 1fr}
  .tab-btn{padding:.5rem 1rem;font-size:.95rem}
  .legal-links a{display:inline-block;margin:0 .5rem .3rem}
  .mode-switch{gap:.6rem}
  .mode-card{flex-direction:column;text-align:center;gap:.5rem;padding:1rem .6rem}
  .mode-card b{font-size:1rem}
  .mode-card small{font-size:.8rem}
.ld-stage{height:190px}
}
/* active page underline inside the slide-in menu (same as desktop) */
@media (max-width:991.98px){
  .navbar .nav-link.active{color:var(--teal-dk)!important;text-decoration:underline;text-decoration-color:var(--teal);text-decoration-thickness:3px;text-underline-offset:7px;background:none}
}
@media (max-width:767.98px){
  .hero{border-radius:0 0 34px 34px}
  .hero::before{width:380px;height:380px;top:-120px;right:-120px}
  .hero::after{width:340px;height:340px}
  .page-banner{border-radius:0 0 28px 28px}
  .page-banner::after{width:50%}
  .section.highlight .mini{padding:1.5rem 1rem}
}

@media (max-width: 991.98px) {
  .otype-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .demo-side {
    padding: 2.2rem 1.6rem;
  }
  .demo .cform {
    padding: 1.8rem;
  }
}
@media (max-width: 575.98px) {
  .otype-grid {
    gap: 0.8rem;
  }
  .otype {
    padding: 1.4rem 0.6rem 1.2rem;
  }
  .otype svg {
    width: 64px;
    height: 64px;
  }
  .otype h3 {
    font-size: 1rem;
  }
  .otype p {
    font-size: 13px;
  }
  .ld-logo {
    height: 64px;
  }
}

/* v5.3 – "How it works" on tablets and phones */
@media (max-width: 991.98px) {
  .flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1rem;
  }
  .flow::after {
    display: none;
  }
}
@media (max-width: 575.98px) {
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow .flow-ico {
    width: 76px;
    height: 76px;
  }
  .flow .flow-ico svg {
    width: 40px;
    height: 40px;
  }
}
