/* CC mobile finishing pass 2026-10-25.
   Homepage only: scale native 3D appropriately and turn the existing
   interactive demo into a truly readable mobile CRM preview. */
@media(max-width:820px){
  /* The 3D object is the hero. More visual area, less dead space. */
  .cc-final-v2 .cc-3d-home-frame.cc-3d-native{
    height:auto!important;min-height:0!important;
    overflow:visible!important;max-width:100%;
  }
  .cc-final-v2 .cc-3d-stage{
    height:auto!important;min-height:0!important;overflow:visible!important;
  }
  .cc-final-v2 .cc-3d-canvas{
    position:relative!important;inset:auto!important;
    height:clamp(310px,76vw,410px)!important;
    min-height:clamp(310px,76vw,410px)!important;
    overflow:hidden!important;max-width:100%;
  }
  .cc-final-v2 .cc-3d-canvas canvas{width:100%!important;height:100%!important;display:block}
  .cc-final-v2 .cc-3d-orbit{top:12px;right:12px}
  .cc-final-v2 .cc-3d-card{
    width:100%!important;position:relative!important;inset:auto!important;
    margin:0 0 12px!important;padding:13px 16px!important;
    display:block!important;border-radius:14px;
    background:linear-gradient(160deg,#112e4c,#0c223e);
  }
  .cc-final-v2 .cc-3d-card h2{font-size:19px!important;margin:4px 0 5px!important}
  .cc-final-v2 .cc-3d-card p{
    font-size:13px!important;line-height:1.55!important;
    margin:0 0 6px!important;
  }
  .cc-final-v2 .cc-3d-card a{
    min-height:38px;display:inline-flex;align-items:center;
    font-size:12px!important;
  }
  .cc-final-v2 .cc-3d-modulebar{
    width:100%!important;max-width:100%!important;
    margin:0 auto 9px!important;padding:6px!important;
    gap:5px!important;flex-wrap:wrap!important;
  }
  .cc-final-v2 .cc-3d-modulebar button{
    font-size:12px!important;min-height:44px!important;
    padding:11px 12px!important;flex:1 1 auto;
  }
  .cc-final-v2 .cc-3d-home-caption{
    font-size:11px!important;line-height:1.5!important;
    text-align:center;
  }
  /* The existing interactive product preview should use a mobile layout,
     not a 520px desktop screenshot inside an overflow window. */
  .cc-final-v2 .cc-v2-product .cc-immersive-product-proof{
    padding:16px!important;margin:24px auto 30px!important;
    border-radius:18px;
  }
  .cc-final-v2 .cc-v2-product .cc-immersive-product-proof .portal-demo-shell{
    max-width:100%!important;width:100%!important;
    overflow:visible!important;padding:12px 0 8px;
  }
  .cc-final-v2 .cc-v2-product .cc-immersive-product-proof .portal-demo-browser{
    width:100%!important;max-width:100%!important;
    min-width:0!important;box-sizing:border-box;transform:none!important;
    border-radius:14px;overflow:hidden!important;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-body{
    grid-template-columns:minmax(0,1fr)!important;min-height:0!important;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-side{display:none!important}
  .cc-final-v2 .cc-v2-product .portal-demo-main{
    min-width:0!important;width:100%;box-sizing:border-box;
    padding:14px!important;background:#f6f9fb;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-topbar{
    grid-template-columns:1fr auto!important;
    gap:10px;min-height:48px;padding:0 13px;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-brand{font-size:11px}
  .cc-final-v2 .cc-v2-product .portal-demo-brand img{width:23px;height:23px}
  .cc-final-v2 .cc-v2-product .portal-demo-search{display:none!important}
  .cc-final-v2 .cc-v2-product .portal-demo-user{width:29px;height:29px;font-size:10px}
  .cc-final-v2 .cc-v2-product .portal-demo-head h2{
    font-size:23px!important;line-height:1.12;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-head small{font-size:9px}
  .cc-final-v2 .cc-v2-product .portal-demo-live{font-size:9px;padding:6px 8px}
  .cc-final-v2 .cc-v2-product .portal-demo-tabs{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
    gap:4px;margin:14px 0 12px;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-tabs button{
    min-width:0;min-height:44px;font-size:11px!important;
    padding:8px 6px;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-stats{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-stats>div{
    display:block!important;min-width:0;padding:12px!important;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-stats span{font-size:10px!important;color:#617486}
  .cc-final-v2 .cc-v2-product .portal-demo-stats strong{
    font-size:24px!important;margin:6px 0 3px;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-stats small{font-size:9px!important}
  .cc-final-v2 .cc-v2-product .portal-demo-table{overflow:hidden!important}
  .cc-final-v2 .cc-v2-product .portal-demo-row-head{display:none!important}
  .cc-final-v2 .cc-v2-product .portal-demo-row{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    gap:3px 12px!important;min-height:74px!important;
    padding:11px 12px!important;align-items:center;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-row>span{min-width:0}
  .cc-final-v2 .cc-v2-product .portal-demo-row span b{
    font-size:12px!important;line-height:1.35!important;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-row span small{
    font-size:10px!important;margin-top:3px;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-row em{
    font-size:10px!important;padding:6px 8px;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-row>strong{
    display:block!important;grid-column:1/-1;
    font-size:10px!important;color:#3e7189!important;
    font-weight:650;margin-top:5px;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-panel{
    min-width:0;overflow:visible;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-actionbar{
    display:flex;flex-wrap:wrap;gap:5px;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-actionbar strong{font-size:13px}
  .cc-final-v2 .cc-v2-product .portal-demo-actionbar span{font-size:10px}
  .cc-final-v2 .cc-v2-product .portal-demo-week{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px;min-width:0!important;min-height:0!important;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-week>div{min-width:0;padding:11px}
  .cc-final-v2 .cc-v2-product .portal-demo-week span{font-size:10px}
  .cc-final-v2 .cc-v2-product .portal-demo-week article{
    font-size:11px;line-height:1.45;margin:7px 0;padding:8px;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-week>div:last-child:nth-child(odd){
    grid-column:1/-1;
  }
  .cc-final-v2 .cc-immersive-product-proof:after{display:none!important}
}
@media(max-width:540px){
  .cc-final-v2 .cc-immersive-hero .compact-hero-inner{
    padding-bottom:24px!important;
  }
  .cc-final-v2 .cc-3d-canvas{
    height:clamp(300px,85vw,360px)!important;
    min-height:clamp(300px,85vw,360px)!important;
  }
  .cc-final-v2 .cc-3d-modulebar button{font-size:11px!important;padding:10px 9px!important}
  .cc-final-v2 .cc-v2-product .cc-immersive-product-proof{
    padding:12px!important;
  }
  .cc-final-v2 .cc-v2-product .portal-demo-main{padding:12px!important}
  .cc-final-v2 .cc-v2-product .portal-demo-live{font-size:8px!important}
  .cc-final-v2 .cc-v2-product .portal-demo-tabs button{font-size:10px!important}
  .cc-final-v2 .cc-v2-product .portal-demo-week{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){
  .cc-final-v2 .cc-3d-modulebar button{transition:none!important}
}

/* Mobile video sign-off: recognizable brand where it fits, shorter optional FAQ. */
@media(min-width:390px) and (max-width:600px){
  .cc-final-v2 .site-header .nav .brand{gap:5px;min-width:0}
  .cc-final-v2 .site-header .nav .brand span{
    display:inline!important;max-width:none!important;color:#0b2344;
    font-size:11px!important;font-weight:800;letter-spacing:-.045em;
  }
}
@media(max-width:600px){
  .cc-final-v2 .compact-faq-list.cc-faq-collapsible:not(.cc-faq-expanded)>details:nth-of-type(n+6){display:none!important}
  .cc-final-v2 .cc-faq-expand{
    display:block;width:100%;min-height:46px;margin-top:10px;
    border:1px solid #d9e6ed;border-radius:12px;background:#fff;
    color:#087f96;font-family:inherit;font-size:13px;line-height:1.35;
    font-weight:700;cursor:pointer;padding:12px;
  }
  .cc-final-v2 .cc-faq-expand:focus-visible{outline:3px solid #4ab4ec;outline-offset:2px}
}
@media(min-width:601px){.cc-final-v2 .cc-faq-expand{display:none!important}}

/* Mobile finishing: the conversion CTA immediately above the footer is the
   sole final action. Keep all footer contact, navigation and legal links. */
@media(max-width:600px){
  .cc-final-v2 .cc-footer .cc-footer-cta{display:none!important}
  .cc-final-v2 .cc-footer{padding:44px 0 22px!important}
  .cc-final-v2 .cc-footer .cc-footer-columns{margin-top:27px;gap:22px}
  .cc-final-v2 .cc-footer .cc-footer-group{gap:8px}
  .cc-final-v2 .cc-footer .cc-footer-bottom{margin-top:29px;padding-top:18px}
}
