/* Download Page Styles */
.download {
    background: linear-gradient(135deg, #111827, #334155);
    color: #fff;
    padding: 28px 0;
}

.download .wrap {
    padding-top: 24px;
    padding-bottom: 24px;
}

.download h1 {
    color: #fff;
}

.download p.muted {
    color: #e6fffb;
}

/* Specificity boost */
.download a {
    color: #fff;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.tab {
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
    border-radius: 10px;
    background: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow .2s;
}

.tab.is-active {
    box-shadow: var(--shadow);
    border-color: #cbd5e1;
}

.tab-panel {
    display: none;
}

.tab-panel.is-active {
    display: block;
    animation: fadeIn .25s ease;
}

@keyframes fadeIn {
    from {
        opacity: .6;
        transform: translateY(2px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* Steps in Download */
.steps {
    list-style: decimal;
    list-style-position: outside;
    padding-left: 1.25rem;
    margin: 0;
}

.steps li {
    margin: .4rem 0;
    line-height: 1.55;
    color: #0f172a;
    /* Reset color since it's inside a white card usually */
}

/* If steps are inside dark bg, might need adjustment, but here they are in white panels/tabs? */
/* In descargar.njk, tab-panel is inside a .kard (white). So standard text color is fine. */

.steps li::marker {
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    color: #0ea5e9;
}

.steps .app-name {
    font-weight: 700;
    color: #0ea5e9;
}

/* Responsive Download */
@media (max-width: 980px) {
    .download .grid2 {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .download .checks {
        display: inline-block;
        text-align: left;
        margin-top: 24px !important;
    }


    .download .device {
        max-width: 280px;
        margin: 0 auto;
    }

    /* Ocultar pantalla de dispositivo si molesta en móvil, o ajustar */
    /* El usuario reportó un "punto molestoso", probablemente el .screen vacío o mal posicionado */
    .download .screen {
        display: none;
        /* Ocultamos el contenedor interno en móvil si es problemático */
    }

    /* Si queremos mostrar la imagen, deberíamos sacarla del .screen o ajustar .screen */
    /* Pero como el usuario pidió ocultarlo si no hace nada: */
}