A Lightweight Two-Stage Intrusion Detection Framework Optimized for Edge-Based IoT Environments | Synapse