@media (max-width: 1080px) {
    nav {
        flex-wrap: wrap;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-proof {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body {
        font-size: 15px;
    }

    nav {
        justify-content: center;
    }

    .nav-links,
    .nav-buttons iframe {
        display: none;
    }

    .hero {
        padding-top: 48px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 12vw, 3.1rem);
    }

    .hero-summary,
    .hero-secondary,
    .section-header p:not(.section-kicker) {
        font-size: 1rem;
    }

    .hero-buttons,
    .footer-layout,
    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-primary,
    .btn-secondary,
    .cta-button,
    .demo-button {
        width: 100%;
    }

    .arch-diagram,
    .arch-canvas,
    .feature-card,
    .step-card,
    .stat-item,
    .code-block {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
