/* ============================================================
   Responsive — kidsmode-ff
   ============================================================ */

@media (max-width: 1199px) {
    .hero-title { font-size: 54px; }
}

@media (max-width: 991px) {
    /* Tablet */
    .container { padding: 0 20px; }

    .site-mobile-logo {
        display: flex;
        align-items: center;
    }
    .site-mobile-logo img { display: block; height: 36px; width: auto; }
    .site-mobile-logo .sticky-logo { display: none; }
    .site-logo { display: none; }

    .header-inner { justify-content: space-between; }

    .site-nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        max-width: 88vw;
        height: 100vh;
        background: var(--surface);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 24px 24px 32px;
        gap: 6px;
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
        transition: right 0.3s ease;
        z-index: 1060;
        overflow-y: auto;
    }
    html.sidebar-open .site-nav { right: 0; }

    .mask-overlay {
        position: fixed;
        inset: 0;
        background: rgba(26, 34, 48, 0.45);
        z-index: 1045;
    }
    .mask-overlay ~ .mask-overlay { display: none; }
    html.no-scroll,
    html.sidebar-open { overflow: hidden; }

    .close-menu {
        display: flex;
        align-self: flex-end;
        align-items: center;
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 18px;
        color: var(--text);
        cursor: pointer;
        padding: 4px 10px;
        margin-bottom: 12px;
    }

    .menu-wrapper {
        flex: 0 0 auto;
        width: 100%;
        padding-top: 0 !important;
    }
    .site-main-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }
    .site-main-menu li {
        list-style: none;
        border-bottom: 1px dashed var(--border);
    }
    .site-main-menu li:last-child { border-bottom: none; }
    .site-main-menu a {
        display: block;
        padding: 14px 4px;
        font-size: 17px;
        font-weight: 600;
        color: var(--text);
    }

    .site-nav > .btn {
        margin-top: 18px;
        align-self: stretch;
        padding: 16px 24px;
        font-size: 16px;
        text-align: center;
    }

    .toggle-menu {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 10px;
        z-index: 1061;
    }
    .toggle-menu .bar {
        width: 26px;
        height: 2.5px;
        background: var(--text);
        border-radius: 2px;
    }

    .hero { padding-top: 110px; }
    .hero-title { font-size: 46px; }
    .hero-subtitle { font-size: 17px; }

    .hiw { padding: 80px 0 100px; }
    .hiw-title,
    .features-title,
    .bottom-cta-title { font-size: 34px; }
    .hiw-steps { grid-template-columns: 1fr; gap: 32px; }

    .features { padding: 80px 0; }
    .features-grid { grid-template-columns: 1fr; }

    .footer-wrapper { gap: 28px; }
}

@media (max-width: 767px) {
    /* Mobile landscape */
    .hero { padding-top: 100px; }
    .hero-title { font-size: 38px; }
    .hero-subtitle { font-size: 16px; }
    .hero-inner { padding-bottom: 110px; }

    .browser-mock { max-width: 100%; }
    .browser-mock-row { padding: 10px 16px; }
    .browser-mock-divider { margin: 6px 16px; }

    .hiw-title,
    .features-title,
    .bottom-cta-title { font-size: 28px; }

    .hero-cloud--l { width: 90px; }
    .hero-cloud--r { width: 120px; }
    .hero-cloud--c { width: 70px; }

    .feature-card { flex-direction: column; gap: 14px; padding: 24px; }

    .bottom-cta { padding-top: 80px; }
    .bottom-cta-inner { padding-bottom: 110px; }
}

@media (max-width: 575px) {
    /* Mobile portrait */
    .container { padding: 0 18px; }
    .hero { padding-top: 90px; }
    .hero-title { font-size: 32px; }
    .hero-eyebrow { font-size: 12px; padding: 5px 12px; }
    .hero-cta-note { font-size: 12px; }

    .hiw { padding: 64px 0 80px; }
    .features { padding: 64px 0; }
    .bottom-cta { padding-top: 64px; }

    .hiw-step { padding: 32px 22px 26px; }
    .hiw-step-title { font-size: 19px; }
    .feature-card-title { font-size: 18px; }

    .inner-page { padding: 130px 0 70px; }
    .inner-page .title { font-size: 32px; }
    .terms-section { padding: 130px 0 70px; }
    .terms-privacy { padding: 24px 18px; }

    .footer-wrapper { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .hiw-title,
    .features-title,
    .bottom-cta-title { font-size: 24px; }
    .btn,
    .btn_main,
    .pix-btn { padding: 12px 20px; font-size: 14px; }
    .browser-mock-row-title { font-size: 14px; }
    .browser-mock-row-desc { font-size: 12px; }
}
