@media (max-width: 768px) {
    .page {
        padding: 24px 16px;
    }

    .legal-page h1 {
        font-size: 28px;
    }

    .legal-page h2 {
        font-size: 22px;
    }

    .legal-page p, .legal-page li {
        font-size: 16px;
    }

    .hero {
        margin-top: 20px;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-logo {
        width: 120px;
    }

    .hero h1 {
        font-size: 22px;
        line-height: 1.3;
        padding: 0 8px;
        word-break: break-word;
    }

    .hero p {
        font-size: 16px;
        max-width: 100%;
    }

    .hero::before {
        width: 180px;
        height: 180px;
    }

    /* Search */
    .search-box {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }

    .search-box input {
        width: 100%;
        box-sizing: border-box;
        padding: 16px;
    }

    .search-box button {
        width: 100%;
        min-width: unset;
        height: 56px;
    }

    /* Error box */
    .search-error-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }

    /* Profile card */
    .profile-card {
        padding: 20px;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-header img {
        width: 90px;
    }

    /* Stories */
    .story-list {
        justify-content: center;
    }

    .story-thumb {
        width: 70px;
        height: 70px;
    }

    /* Info cards */
    .info {
        flex-direction: column;
        gap: 20px;
        margin-top: 50px;
    }

    .card {
        padding: 24px;
        min-height: auto;
    }

    .card h3 {
        font-size: 22px;
    }

    .card p {
        font-size: 16px;
    }

    /* FAQ */
    .faq {
        margin-top: 60px;
        padding-bottom: 40px;
    }

    .faq h2 {
        font-size: 28px;
    }

    .faq-item {
        padding: 22px 20px;
    }

    .faq-item h3 {
        font-size: 18px;
    }

    .faq-item p {
        font-size: 15px;
    }

    .section-divider {
        margin: 60px auto 40px;
    }

    .profile-page .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .stories-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }

    .story-modal .modal-inner {
        width: 100%;
        height: 100%;
    }

    .story-modal .nav-btn {
        top: 50%;
        transform: translateY(-50%);
    }
}
