@media (max-width: 900px) {
    .split-section {
        grid-template-columns: 1fr;
    }

    .split-section img {
        order: -1;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
    }

    .nav-toggle {
        display: block;
        order: 2;
        margin-left: auto;
    }

    .brand {
        order: 1;
        flex: 1 1 0;
        gap: 0.5rem;
    }

    .brand-logo {
        max-height: 40px;
        max-width: 50px;
    }

    .brand-title {
        font-size: 0.85rem;
    }

    .brand-sub {
        font-size: 0.6rem;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(13, 40, 51, 0.98);
        border-bottom: 1px solid rgba(56, 189, 248, 0.2);
        padding: 0.5rem 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease;
    }

    .site-header.nav-open .site-nav {
        max-height: 280px;
        opacity: 1;
    }

    .site-nav a {
        padding: 0.85rem 1.25rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(56, 189, 248, 0.08);
    }

    .hero {
        padding: 3rem 1.25rem 3.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .content {
        padding: 2rem 1.25rem 3rem;
    }

    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .header-inner {
        padding: 0.4rem 0.75rem;
        gap: 0.5rem;
    }

    .brand-logo {
        max-height: 36px;
        max-width: 44px;
    }

    .brand-title {
        font-size: 0.75rem;
    }
}
