


@media (max-width: 768px) {
    .kanban-board {
        /* Force columns to stack so text has full width */
        flex-direction: column;
        display: flex;
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }

    .column {
        width: 100% !important;
        min-width: unset !important;
    }

    /* Make cards feel like "List Items" on mobile */
    .task-card {
        padding: 16px;
        margin-bottom: 12px;
        border-radius: 12px; /* Smoother look for mobile */
    }
}

.task-title {
    /* Large enough to tap/read on mobile, but capped for desktop */
    font-size: 1.1rem; 
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 1rem 0;
}

.task-description {
    font-size: 0.7rem;
    color: #555;
}

/* --- THE MOBILE OVERHAUL --- */
@media screen and (max-width: 768px) {
    
    /* 1. Reset the main containers */
    #guest-view-content, .guest-content {
        padding: 15px !important;
        width: 100% !important;
        box-sizing: border-box;
        overflow-y: auto !important;
    }

    /* 2. Fix the Hero Section */
    .hero h1 {
        font-size: 1.6rem !important; /* Smaller but punchy */
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }

    .hero p {
        font-size: 1rem !important;
        line-height: 1.5;
    }

    /* 3. The Big Fix: Grid to List */
    /* Assuming your grid uses display: grid or display: flex */
    .explanation-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        padding: 0 !important;
    }

    /* 4. Make Info Cards legible */
 

    .info-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }

    .info-card p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 10px !important;
    }

    /* 5. CTA Section - No more squished text */
    .cta-section {
        padding: 40px 20px !important;
    }

    .cta-section h2 {
        font-size: 1.4rem !important;
    }

    /* 6. Typography Scale */
    body {
        font-size: 16px; /* Best for "potato" mobile devices to avoid input-zoom */
    }
}
